311 lines
18 KiB
C#
311 lines
18 KiB
C#
using System;
|
||
|
||
namespace Katteker
|
||
{
|
||
/// <summary>
|
||
/// Shows the Update Window.
|
||
/// </summary>
|
||
sealed partial class UpdateWindow
|
||
{
|
||
/// <summary>
|
||
/// Required designer variable.
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
#region Windows Form Designer generated code
|
||
|
||
/// <summary>
|
||
/// Required method for Designer support - do not modify
|
||
/// the contents of this method with the code editor.
|
||
/// </summary>
|
||
[STAThread]
|
||
private void InitializeComponent()
|
||
{
|
||
this.mainSplitContainer = new System.Windows.Forms.SplitContainer();
|
||
this.titleLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
|
||
this.closeWindowBtn = new System.Windows.Forms.Button();
|
||
this.maximizeBtn = new System.Windows.Forms.Button();
|
||
this.titlebar = new System.Windows.Forms.Label();
|
||
this.minimizeBtn = new System.Windows.Forms.Button();
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
|
||
this.changelogBrowser = new System.Windows.Forms.WebBrowser();
|
||
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||
this.closeBtn = new System.Windows.Forms.Button();
|
||
this.updBtn = new System.Windows.Forms.Button();
|
||
this.panel1 = new System.Windows.Forms.Panel();
|
||
((System.ComponentModel.ISupportInitialize)(this.mainSplitContainer)).BeginInit();
|
||
this.mainSplitContainer.Panel1.SuspendLayout();
|
||
this.mainSplitContainer.Panel2.SuspendLayout();
|
||
this.mainSplitContainer.SuspendLayout();
|
||
this.titleLayoutPanel.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
|
||
this.splitContainer3.Panel1.SuspendLayout();
|
||
this.splitContainer3.Panel2.SuspendLayout();
|
||
this.splitContainer3.SuspendLayout();
|
||
this.panel1.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// mainSplitContainer
|
||
//
|
||
this.mainSplitContainer.BackColor = System.Drawing.SystemColors.Control;
|
||
this.mainSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.mainSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||
this.mainSplitContainer.IsSplitterFixed = true;
|
||
this.mainSplitContainer.Location = new System.Drawing.Point(1, 1);
|
||
this.mainSplitContainer.Name = "mainSplitContainer";
|
||
this.mainSplitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||
//
|
||
// mainSplitContainer.Panel1
|
||
//
|
||
this.mainSplitContainer.Panel1.Controls.Add(this.titleLayoutPanel);
|
||
this.mainSplitContainer.Panel1MinSize = 30;
|
||
//
|
||
// mainSplitContainer.Panel2
|
||
//
|
||
this.mainSplitContainer.Panel2.Controls.Add(this.splitContainer3);
|
||
this.mainSplitContainer.Size = new System.Drawing.Size(698, 438);
|
||
this.mainSplitContainer.SplitterDistance = 30;
|
||
this.mainSplitContainer.TabIndex = 7;
|
||
this.mainSplitContainer.TabStop = false;
|
||
//
|
||
// titleLayoutPanel
|
||
//
|
||
this.titleLayoutPanel.BackColor = System.Drawing.SystemColors.ControlDarkDark;
|
||
this.titleLayoutPanel.ColumnCount = 5;
|
||
this.titleLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
|
||
this.titleLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||
this.titleLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F));
|
||
this.titleLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F));
|
||
this.titleLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F));
|
||
this.titleLayoutPanel.Controls.Add(this.closeWindowBtn, 4, 0);
|
||
this.titleLayoutPanel.Controls.Add(this.maximizeBtn, 3, 0);
|
||
this.titleLayoutPanel.Controls.Add(this.titlebar, 1, 0);
|
||
this.titleLayoutPanel.Controls.Add(this.minimizeBtn, 2, 0);
|
||
this.titleLayoutPanel.Controls.Add(this.label1, 0, 0);
|
||
this.titleLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.titleLayoutPanel.ForeColor = System.Drawing.SystemColors.Control;
|
||
this.titleLayoutPanel.Location = new System.Drawing.Point(0, 0);
|
||
this.titleLayoutPanel.Name = "titleLayoutPanel";
|
||
this.titleLayoutPanel.RowCount = 1;
|
||
this.titleLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||
this.titleLayoutPanel.Size = new System.Drawing.Size(698, 30);
|
||
this.titleLayoutPanel.TabIndex = 0;
|
||
this.titleLayoutPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Titlebar_MouseDown);
|
||
//
|
||
// closeWindowBtn
|
||
//
|
||
this.closeWindowBtn.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.closeWindowBtn.FlatAppearance.BorderSize = 0;
|
||
this.closeWindowBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
||
this.closeWindowBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Red;
|
||
this.closeWindowBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||
this.closeWindowBtn.Font = new System.Drawing.Font("Segoe UI Symbol", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
this.closeWindowBtn.Location = new System.Drawing.Point(658, 0);
|
||
this.closeWindowBtn.Margin = new System.Windows.Forms.Padding(0);
|
||
this.closeWindowBtn.Name = "closeWindowBtn";
|
||
this.closeWindowBtn.Size = new System.Drawing.Size(40, 30);
|
||
this.closeWindowBtn.TabIndex = 3;
|
||
this.closeWindowBtn.TabStop = false;
|
||
this.closeWindowBtn.Text = "╳";
|
||
this.closeWindowBtn.UseVisualStyleBackColor = true;
|
||
this.closeWindowBtn.Click += new System.EventHandler(this.CloseBtn_Click);
|
||
//
|
||
// maximizeBtn
|
||
//
|
||
this.maximizeBtn.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.maximizeBtn.FlatAppearance.BorderSize = 0;
|
||
this.maximizeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||
this.maximizeBtn.Font = new System.Drawing.Font("Segoe UI Symbol", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
this.maximizeBtn.Location = new System.Drawing.Point(618, 0);
|
||
this.maximizeBtn.Margin = new System.Windows.Forms.Padding(0);
|
||
this.maximizeBtn.Name = "maximizeBtn";
|
||
this.maximizeBtn.Size = new System.Drawing.Size(40, 30);
|
||
this.maximizeBtn.TabIndex = 2;
|
||
this.maximizeBtn.TabStop = false;
|
||
this.maximizeBtn.Text = "□";
|
||
this.maximizeBtn.UseVisualStyleBackColor = true;
|
||
this.maximizeBtn.Click += new System.EventHandler(this.MaximizeBtn_Click);
|
||
//
|
||
// titlebar
|
||
//
|
||
this.titlebar.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.titlebar.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
this.titlebar.Location = new System.Drawing.Point(123, 0);
|
||
this.titlebar.Name = "titlebar";
|
||
this.titlebar.Size = new System.Drawing.Size(452, 30);
|
||
this.titlebar.TabIndex = 0;
|
||
this.titlebar.Text = "Updater";
|
||
this.titlebar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||
this.titlebar.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Titlebar_MouseDown);
|
||
//
|
||
// minimizeBtn
|
||
//
|
||
this.minimizeBtn.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.minimizeBtn.FlatAppearance.BorderSize = 0;
|
||
this.minimizeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||
this.minimizeBtn.Font = new System.Drawing.Font("Segoe UI Symbol", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
this.minimizeBtn.Location = new System.Drawing.Point(578, 0);
|
||
this.minimizeBtn.Margin = new System.Windows.Forms.Padding(0);
|
||
this.minimizeBtn.Name = "minimizeBtn";
|
||
this.minimizeBtn.Size = new System.Drawing.Size(40, 30);
|
||
this.minimizeBtn.TabIndex = 1;
|
||
this.minimizeBtn.TabStop = false;
|
||
this.minimizeBtn.Text = "—";
|
||
this.minimizeBtn.UseVisualStyleBackColor = true;
|
||
this.minimizeBtn.Click += new System.EventHandler(this.MinimizeBtn_Click);
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.label1.Font = new System.Drawing.Font("Segoe UI Symbol", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
this.label1.Location = new System.Drawing.Point(3, 0);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(114, 30);
|
||
this.label1.TabIndex = 4;
|
||
this.label1.Text = "⛽";
|
||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||
//
|
||
// splitContainer3
|
||
//
|
||
this.splitContainer3.BackColor = System.Drawing.SystemColors.Control;
|
||
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
|
||
this.splitContainer3.IsSplitterFixed = true;
|
||
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
|
||
this.splitContainer3.Name = "splitContainer3";
|
||
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||
//
|
||
// splitContainer3.Panel1
|
||
//
|
||
this.splitContainer3.Panel1.Controls.Add(this.changelogBrowser);
|
||
//
|
||
// splitContainer3.Panel2
|
||
//
|
||
this.splitContainer3.Panel2.Controls.Add(this.progressBar1);
|
||
this.splitContainer3.Panel2.Controls.Add(this.closeBtn);
|
||
this.splitContainer3.Panel2.Controls.Add(this.updBtn);
|
||
this.splitContainer3.Size = new System.Drawing.Size(698, 404);
|
||
this.splitContainer3.SplitterDistance = 344;
|
||
this.splitContainer3.TabIndex = 7;
|
||
this.splitContainer3.TabStop = false;
|
||
//
|
||
// changelogBrowser
|
||
//
|
||
this.changelogBrowser.AllowNavigation = false;
|
||
this.changelogBrowser.AllowWebBrowserDrop = false;
|
||
this.changelogBrowser.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.changelogBrowser.IsWebBrowserContextMenuEnabled = false;
|
||
this.changelogBrowser.Location = new System.Drawing.Point(0, 0);
|
||
this.changelogBrowser.MinimumSize = new System.Drawing.Size(19, 18);
|
||
this.changelogBrowser.Name = "changelogBrowser";
|
||
this.changelogBrowser.ScriptErrorsSuppressed = true;
|
||
this.changelogBrowser.Size = new System.Drawing.Size(698, 344);
|
||
this.changelogBrowser.TabIndex = 7;
|
||
this.changelogBrowser.TabStop = false;
|
||
this.changelogBrowser.WebBrowserShortcutsEnabled = false;
|
||
//
|
||
// progressBar1
|
||
//
|
||
this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||
this.progressBar1.Location = new System.Drawing.Point(12, 14);
|
||
this.progressBar1.Name = "progressBar1";
|
||
this.progressBar1.Size = new System.Drawing.Size(487, 30);
|
||
this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
|
||
this.progressBar1.TabIndex = 4;
|
||
this.progressBar1.Visible = false;
|
||
//
|
||
// closeBtn
|
||
//
|
||
this.closeBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||
this.closeBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(253)))));
|
||
this.closeBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||
this.closeBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
|
||
this.closeBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(192)))), ((int)(((byte)(224)))));
|
||
this.closeBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(230)))), ((int)(((byte)(247)))));
|
||
this.closeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||
this.closeBtn.ForeColor = System.Drawing.SystemColors.ControlText;
|
||
this.closeBtn.Location = new System.Drawing.Point(507, 14);
|
||
this.closeBtn.Name = "closeBtn";
|
||
this.closeBtn.Size = new System.Drawing.Size(179, 30);
|
||
this.closeBtn.TabIndex = 7;
|
||
this.closeBtn.Text = "Close";
|
||
this.closeBtn.UseVisualStyleBackColor = false;
|
||
//
|
||
// updBtn
|
||
//
|
||
this.updBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||
this.updBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(253)))));
|
||
this.updBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
|
||
this.updBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(192)))), ((int)(((byte)(224)))));
|
||
this.updBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(230)))), ((int)(((byte)(247)))));
|
||
this.updBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||
this.updBtn.Location = new System.Drawing.Point(13, 14);
|
||
this.updBtn.Name = "updBtn";
|
||
this.updBtn.Size = new System.Drawing.Size(486, 30);
|
||
this.updBtn.TabIndex = 5;
|
||
this.updBtn.Text = "Update";
|
||
this.updBtn.UseVisualStyleBackColor = false;
|
||
this.updBtn.Visible = false;
|
||
this.updBtn.Click += new System.EventHandler(this.UpdBtn_Click);
|
||
//
|
||
// panel1
|
||
//
|
||
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(131)))), ((int)(((byte)(131)))));
|
||
this.panel1.Controls.Add(this.mainSplitContainer);
|
||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||
this.panel1.Margin = new System.Windows.Forms.Padding(10);
|
||
this.panel1.Name = "panel1";
|
||
this.panel1.Padding = new System.Windows.Forms.Padding(1);
|
||
this.panel1.Size = new System.Drawing.Size(700, 440);
|
||
this.panel1.TabIndex = 8;
|
||
//
|
||
// UpdateWindow
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(700, 440);
|
||
this.ControlBox = false;
|
||
this.Controls.Add(this.panel1);
|
||
this.DoubleBuffered = true;
|
||
this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||
this.MaximizeBox = false;
|
||
this.MinimizeBox = false;
|
||
this.Name = "UpdateWindow";
|
||
this.ShowIcon = false;
|
||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||
this.Activated += new System.EventHandler(this.UpdateWindow_Activated);
|
||
this.Deactivate += new System.EventHandler(this.UpdateWindow_Deactivate);
|
||
this.Load += new System.EventHandler(this.UpdateWindow_Load);
|
||
this.mainSplitContainer.Panel1.ResumeLayout(false);
|
||
this.mainSplitContainer.Panel2.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)(this.mainSplitContainer)).EndInit();
|
||
this.mainSplitContainer.ResumeLayout(false);
|
||
this.titleLayoutPanel.ResumeLayout(false);
|
||
this.splitContainer3.Panel1.ResumeLayout(false);
|
||
this.splitContainer3.Panel2.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
|
||
this.splitContainer3.ResumeLayout(false);
|
||
this.panel1.ResumeLayout(false);
|
||
this.ResumeLayout(false);
|
||
|
||
}
|
||
|
||
#endregion
|
||
private System.Windows.Forms.SplitContainer mainSplitContainer;
|
||
private System.Windows.Forms.SplitContainer splitContainer3;
|
||
private System.Windows.Forms.WebBrowser changelogBrowser;
|
||
private System.Windows.Forms.Button closeBtn;
|
||
private System.Windows.Forms.Button updBtn;
|
||
private System.Windows.Forms.ProgressBar progressBar1;
|
||
private System.Windows.Forms.TableLayoutPanel titleLayoutPanel;
|
||
private System.Windows.Forms.Label titlebar;
|
||
private System.Windows.Forms.Button closeWindowBtn;
|
||
private System.Windows.Forms.Button maximizeBtn;
|
||
private System.Windows.Forms.Button minimizeBtn;
|
||
private System.Windows.Forms.Panel panel1;
|
||
private System.Windows.Forms.Label label1;
|
||
}
|
||
} |