From f3ee1151b6468fc613b6e3a42233bc1dff3eb7ff Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 4 Jan 2019 13:48:39 +0200 Subject: [PATCH] Minor design changes --- Crypto Notepad/SettingsForm.Designer.cs | 296 ++++++++++++------------ 1 file changed, 149 insertions(+), 147 deletions(-) diff --git a/Crypto Notepad/SettingsForm.Designer.cs b/Crypto Notepad/SettingsForm.Designer.cs index 0a568e5..3c29ee8 100644 --- a/Crypto Notepad/SettingsForm.Designer.cs +++ b/Crypto Notepad/SettingsForm.Designer.cs @@ -44,6 +44,17 @@ private void InitializeComponent() this.BackgroundColorPanel = new System.Windows.Forms.Panel(); this.FontColorPanel = new System.Windows.Forms.Panel(); this.FontNameComboBox = new System.Windows.Forms.ComboBox(); + this.ApplicationTabPage = new System.Windows.Forms.TabPage(); + this.ToolbarColorCheckBox = new System.Windows.Forms.CheckBox(); + this.MenuIconsCheckBox = new System.Windows.Forms.CheckBox(); + this.ToolbarCheckBox = new System.Windows.Forms.CheckBox(); + this.AutoSaveCheckBox = new System.Windows.Forms.CheckBox(); + this.UpdatesCheckBox = new System.Windows.Forms.CheckBox(); + this.AutoLockCheckBox = new System.Windows.Forms.CheckBox(); + this.IntegrationTabPage = new System.Windows.Forms.TabPage(); + this.IntegrateCheckBox = new System.Windows.Forms.CheckBox(); + this.AssociateCheckBox = new System.Windows.Forms.CheckBox(); + this.SendToCheckBox = new System.Windows.Forms.CheckBox(); this.EncryptionTabPage = new System.Windows.Forms.TabPage(); this.PwdIterationsTextBox = new System.Windows.Forms.TextBox(); this.HashComboBox = new System.Windows.Forms.ComboBox(); @@ -53,24 +64,13 @@ private void InitializeComponent() this.SaltLabel = new System.Windows.Forms.Label(); this.KeySizeLabel = new System.Windows.Forms.Label(); this.HashLabel = new System.Windows.Forms.Label(); - this.ApplicationTabPage = new System.Windows.Forms.TabPage(); - this.IntegrateCheckBox = new System.Windows.Forms.CheckBox(); - this.ToolbarCheckBox = new System.Windows.Forms.CheckBox(); - this.SendToCheckBox = new System.Windows.Forms.CheckBox(); - this.AutoSaveCheckBox = new System.Windows.Forms.CheckBox(); - this.AssociateCheckBox = new System.Windows.Forms.CheckBox(); - this.UpdatesCheckBox = new System.Windows.Forms.CheckBox(); - this.AutoLockCheckBox = new System.Windows.Forms.CheckBox(); this.ResetSettingsButton = new System.Windows.Forms.Button(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); - this.MenuIconsCheckBox = new System.Windows.Forms.CheckBox(); - this.IntegrationTabPage = new System.Windows.Forms.TabPage(); - this.ToolbarColorCheckBox = new System.Windows.Forms.CheckBox(); this.SettingsTabControl.SuspendLayout(); this.EditorTabPage.SuspendLayout(); - this.EncryptionTabPage.SuspendLayout(); this.ApplicationTabPage.SuspendLayout(); this.IntegrationTabPage.SuspendLayout(); + this.EncryptionTabPage.SuspendLayout(); this.SuspendLayout(); // // FontColorLabel @@ -89,12 +89,13 @@ private void InitializeComponent() // // SaveSettingsButton // - this.SaveSettingsButton.Location = new System.Drawing.Point(162, 268); + this.SaveSettingsButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.SaveSettingsButton.Location = new System.Drawing.Point(196, 268); this.SaveSettingsButton.Name = "SaveSettingsButton"; - this.SaveSettingsButton.Size = new System.Drawing.Size(98, 23); + this.SaveSettingsButton.Size = new System.Drawing.Size(64, 23); this.SaveSettingsButton.TabIndex = 4; this.SaveSettingsButton.TabStop = false; - this.SaveSettingsButton.Text = "Save && Close"; + this.SaveSettingsButton.Text = "Save"; this.SaveSettingsButton.UseVisualStyleBackColor = true; this.SaveSettingsButton.Click += new System.EventHandler(this.SaveSettingsButton_Click); // @@ -135,10 +136,10 @@ private void InitializeComponent() this.EditorTabPage.Controls.Add(this.FontNameComboBox); this.EditorTabPage.Controls.Add(this.FontNameLabel); this.EditorTabPage.Controls.Add(this.FontColorLabel); - this.EditorTabPage.Location = new System.Drawing.Point(4, 22); + this.EditorTabPage.Location = new System.Drawing.Point(4, 24); this.EditorTabPage.Name = "EditorTabPage"; this.EditorTabPage.Padding = new System.Windows.Forms.Padding(3); - this.EditorTabPage.Size = new System.Drawing.Size(256, 238); + this.EditorTabPage.Size = new System.Drawing.Size(256, 236); this.EditorTabPage.TabIndex = 0; this.EditorTabPage.Text = "Editor"; // @@ -232,6 +233,128 @@ private void InitializeComponent() this.FontNameComboBox.Size = new System.Drawing.Size(100, 23); this.FontNameComboBox.TabIndex = 5; // + // ApplicationTabPage + // + this.ApplicationTabPage.BackColor = System.Drawing.SystemColors.Window; + this.ApplicationTabPage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.ApplicationTabPage.Controls.Add(this.ToolbarColorCheckBox); + this.ApplicationTabPage.Controls.Add(this.MenuIconsCheckBox); + this.ApplicationTabPage.Controls.Add(this.ToolbarCheckBox); + this.ApplicationTabPage.Controls.Add(this.AutoSaveCheckBox); + this.ApplicationTabPage.Controls.Add(this.UpdatesCheckBox); + this.ApplicationTabPage.Controls.Add(this.AutoLockCheckBox); + this.ApplicationTabPage.Location = new System.Drawing.Point(4, 24); + this.ApplicationTabPage.Name = "ApplicationTabPage"; + this.ApplicationTabPage.Padding = new System.Windows.Forms.Padding(3); + this.ApplicationTabPage.Size = new System.Drawing.Size(256, 236); + this.ApplicationTabPage.TabIndex = 2; + this.ApplicationTabPage.Text = "Application"; + // + // ToolbarColorCheckBox + // + this.ToolbarColorCheckBox.AutoSize = true; + this.ToolbarColorCheckBox.Location = new System.Drawing.Point(7, 82); + this.ToolbarColorCheckBox.Name = "ToolbarColorCheckBox"; + this.ToolbarColorCheckBox.Size = new System.Drawing.Size(131, 19); + this.ToolbarColorCheckBox.TabIndex = 8; + this.ToolbarColorCheckBox.Text = "Chameleon toolbar"; + this.ToolbarColorCheckBox.UseVisualStyleBackColor = true; + // + // MenuIconsCheckBox + // + this.MenuIconsCheckBox.AutoSize = true; + this.MenuIconsCheckBox.Location = new System.Drawing.Point(7, 128); + this.MenuIconsCheckBox.Name = "MenuIconsCheckBox"; + this.MenuIconsCheckBox.Size = new System.Drawing.Size(90, 19); + this.MenuIconsCheckBox.TabIndex = 7; + this.MenuIconsCheckBox.Text = "Menu icons"; + this.MenuIconsCheckBox.UseVisualStyleBackColor = true; + // + // ToolbarCheckBox + // + this.ToolbarCheckBox.AutoSize = true; + this.ToolbarCheckBox.Location = new System.Drawing.Point(7, 105); + this.ToolbarCheckBox.Name = "ToolbarCheckBox"; + this.ToolbarCheckBox.Size = new System.Drawing.Size(98, 19); + this.ToolbarCheckBox.TabIndex = 2; + this.ToolbarCheckBox.Text = "Show toolbar"; + this.ToolbarCheckBox.UseVisualStyleBackColor = true; + this.ToolbarCheckBox.CheckedChanged += new System.EventHandler(this.ToolbarCheckBox_CheckedChanged); + // + // AutoSaveCheckBox + // + this.AutoSaveCheckBox.AutoSize = true; + this.AutoSaveCheckBox.Location = new System.Drawing.Point(7, 59); + this.AutoSaveCheckBox.Name = "AutoSaveCheckBox"; + this.AutoSaveCheckBox.Size = new System.Drawing.Size(120, 19); + this.AutoSaveCheckBox.TabIndex = 4; + this.AutoSaveCheckBox.Text = "Auto save on lock"; + this.AutoSaveCheckBox.UseVisualStyleBackColor = true; + // + // UpdatesCheckBox + // + this.UpdatesCheckBox.AutoSize = true; + this.UpdatesCheckBox.Location = new System.Drawing.Point(7, 36); + this.UpdatesCheckBox.Name = "UpdatesCheckBox"; + this.UpdatesCheckBox.Size = new System.Drawing.Size(132, 19); + this.UpdatesCheckBox.TabIndex = 1; + this.UpdatesCheckBox.Text = "Auto check updates"; + this.UpdatesCheckBox.UseVisualStyleBackColor = true; + // + // AutoLockCheckBox + // + this.AutoLockCheckBox.AutoSize = true; + this.AutoLockCheckBox.Location = new System.Drawing.Point(7, 13); + this.AutoLockCheckBox.Name = "AutoLockCheckBox"; + this.AutoLockCheckBox.Size = new System.Drawing.Size(146, 19); + this.AutoLockCheckBox.TabIndex = 3; + this.AutoLockCheckBox.Text = "Auto lock on minimize"; + this.AutoLockCheckBox.UseVisualStyleBackColor = true; + // + // IntegrationTabPage + // + this.IntegrationTabPage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.IntegrationTabPage.Controls.Add(this.IntegrateCheckBox); + this.IntegrationTabPage.Controls.Add(this.AssociateCheckBox); + this.IntegrationTabPage.Controls.Add(this.SendToCheckBox); + this.IntegrationTabPage.Location = new System.Drawing.Point(4, 24); + this.IntegrationTabPage.Name = "IntegrationTabPage"; + this.IntegrationTabPage.Padding = new System.Windows.Forms.Padding(3); + this.IntegrationTabPage.Size = new System.Drawing.Size(256, 236); + this.IntegrationTabPage.TabIndex = 3; + this.IntegrationTabPage.Text = "Integration"; + this.IntegrationTabPage.UseVisualStyleBackColor = true; + // + // IntegrateCheckBox + // + this.IntegrateCheckBox.AutoSize = true; + this.IntegrateCheckBox.Location = new System.Drawing.Point(7, 13); + this.IntegrateCheckBox.Name = "IntegrateCheckBox"; + this.IntegrateCheckBox.Size = new System.Drawing.Size(227, 19); + this.IntegrateCheckBox.TabIndex = 6; + this.IntegrateCheckBox.Text = "Integrate with windows context menu"; + this.IntegrateCheckBox.UseVisualStyleBackColor = true; + // + // AssociateCheckBox + // + this.AssociateCheckBox.AutoSize = true; + this.AssociateCheckBox.Location = new System.Drawing.Point(7, 36); + this.AssociateCheckBox.Name = "AssociateCheckBox"; + this.AssociateCheckBox.Size = new System.Drawing.Size(159, 19); + this.AssociateCheckBox.TabIndex = 0; + this.AssociateCheckBox.Text = "Associate with *.cnp files"; + this.AssociateCheckBox.UseVisualStyleBackColor = true; + // + // SendToCheckBox + // + this.SendToCheckBox.AutoSize = true; + this.SendToCheckBox.Location = new System.Drawing.Point(7, 59); + this.SendToCheckBox.Name = "SendToCheckBox"; + this.SendToCheckBox.Size = new System.Drawing.Size(158, 19); + this.SendToCheckBox.TabIndex = 5; + this.SendToCheckBox.Text = "Show in \"Send to\" menu"; + this.SendToCheckBox.UseVisualStyleBackColor = true; + // // EncryptionTabPage // this.EncryptionTabPage.BackColor = System.Drawing.SystemColors.Window; @@ -244,10 +367,10 @@ private void InitializeComponent() this.EncryptionTabPage.Controls.Add(this.SaltLabel); this.EncryptionTabPage.Controls.Add(this.KeySizeLabel); this.EncryptionTabPage.Controls.Add(this.HashLabel); - this.EncryptionTabPage.Location = new System.Drawing.Point(4, 22); + this.EncryptionTabPage.Location = new System.Drawing.Point(4, 24); this.EncryptionTabPage.Name = "EncryptionTabPage"; this.EncryptionTabPage.Padding = new System.Windows.Forms.Padding(3); - this.EncryptionTabPage.Size = new System.Drawing.Size(256, 238); + this.EncryptionTabPage.Size = new System.Drawing.Size(256, 236); this.EncryptionTabPage.TabIndex = 1; this.EncryptionTabPage.Text = "Encryption"; // @@ -334,143 +457,22 @@ private void InitializeComponent() this.HashLabel.TabIndex = 0; this.HashLabel.Text = "Hash algorithm "; // - // ApplicationTabPage - // - this.ApplicationTabPage.BackColor = System.Drawing.SystemColors.Window; - this.ApplicationTabPage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ApplicationTabPage.Controls.Add(this.ToolbarColorCheckBox); - this.ApplicationTabPage.Controls.Add(this.MenuIconsCheckBox); - this.ApplicationTabPage.Controls.Add(this.ToolbarCheckBox); - this.ApplicationTabPage.Controls.Add(this.AutoSaveCheckBox); - this.ApplicationTabPage.Controls.Add(this.UpdatesCheckBox); - this.ApplicationTabPage.Controls.Add(this.AutoLockCheckBox); - this.ApplicationTabPage.Location = new System.Drawing.Point(4, 24); - this.ApplicationTabPage.Name = "ApplicationTabPage"; - this.ApplicationTabPage.Padding = new System.Windows.Forms.Padding(3); - this.ApplicationTabPage.Size = new System.Drawing.Size(256, 236); - this.ApplicationTabPage.TabIndex = 2; - this.ApplicationTabPage.Text = "Application"; - // - // IntegrateCheckBox - // - this.IntegrateCheckBox.AutoSize = true; - this.IntegrateCheckBox.Location = new System.Drawing.Point(7, 13); - this.IntegrateCheckBox.Name = "IntegrateCheckBox"; - this.IntegrateCheckBox.Size = new System.Drawing.Size(227, 19); - this.IntegrateCheckBox.TabIndex = 6; - this.IntegrateCheckBox.Text = "Integrate with windows context menu"; - this.IntegrateCheckBox.UseVisualStyleBackColor = true; - // - // ToolbarCheckBox - // - this.ToolbarCheckBox.AutoSize = true; - this.ToolbarCheckBox.Location = new System.Drawing.Point(7, 105); - this.ToolbarCheckBox.Name = "ToolbarCheckBox"; - this.ToolbarCheckBox.Size = new System.Drawing.Size(98, 19); - this.ToolbarCheckBox.TabIndex = 2; - this.ToolbarCheckBox.Text = "Show toolbar"; - this.ToolbarCheckBox.UseVisualStyleBackColor = true; - this.ToolbarCheckBox.CheckedChanged += new System.EventHandler(this.ToolbarCheckBox_CheckedChanged); - // - // SendToCheckBox - // - this.SendToCheckBox.AutoSize = true; - this.SendToCheckBox.Location = new System.Drawing.Point(7, 59); - this.SendToCheckBox.Name = "SendToCheckBox"; - this.SendToCheckBox.Size = new System.Drawing.Size(158, 19); - this.SendToCheckBox.TabIndex = 5; - this.SendToCheckBox.Text = "Show in \"Send to\" menu"; - this.SendToCheckBox.UseVisualStyleBackColor = true; - // - // AutoSaveCheckBox - // - this.AutoSaveCheckBox.AutoSize = true; - this.AutoSaveCheckBox.Location = new System.Drawing.Point(7, 59); - this.AutoSaveCheckBox.Name = "AutoSaveCheckBox"; - this.AutoSaveCheckBox.Size = new System.Drawing.Size(120, 19); - this.AutoSaveCheckBox.TabIndex = 4; - this.AutoSaveCheckBox.Text = "Auto save on lock"; - this.AutoSaveCheckBox.UseVisualStyleBackColor = true; - // - // AssociateCheckBox - // - this.AssociateCheckBox.AutoSize = true; - this.AssociateCheckBox.Location = new System.Drawing.Point(7, 36); - this.AssociateCheckBox.Name = "AssociateCheckBox"; - this.AssociateCheckBox.Size = new System.Drawing.Size(159, 19); - this.AssociateCheckBox.TabIndex = 0; - this.AssociateCheckBox.Text = "Associate with *.cnp files"; - this.AssociateCheckBox.UseVisualStyleBackColor = true; - // - // UpdatesCheckBox - // - this.UpdatesCheckBox.AutoSize = true; - this.UpdatesCheckBox.Location = new System.Drawing.Point(7, 36); - this.UpdatesCheckBox.Name = "UpdatesCheckBox"; - this.UpdatesCheckBox.Size = new System.Drawing.Size(132, 19); - this.UpdatesCheckBox.TabIndex = 1; - this.UpdatesCheckBox.Text = "Auto check updates"; - this.UpdatesCheckBox.UseVisualStyleBackColor = true; - // - // AutoLockCheckBox - // - this.AutoLockCheckBox.AutoSize = true; - this.AutoLockCheckBox.Location = new System.Drawing.Point(7, 13); - this.AutoLockCheckBox.Name = "AutoLockCheckBox"; - this.AutoLockCheckBox.Size = new System.Drawing.Size(146, 19); - this.AutoLockCheckBox.TabIndex = 3; - this.AutoLockCheckBox.Text = "Auto lock on minimize"; - this.AutoLockCheckBox.UseVisualStyleBackColor = true; - // // ResetSettingsButton // - this.ResetSettingsButton.Location = new System.Drawing.Point(4, 268); + this.ResetSettingsButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.ResetSettingsButton.Location = new System.Drawing.Point(123, 268); this.ResetSettingsButton.Name = "ResetSettingsButton"; - this.ResetSettingsButton.Size = new System.Drawing.Size(98, 23); + this.ResetSettingsButton.Size = new System.Drawing.Size(64, 23); this.ResetSettingsButton.TabIndex = 5; - this.ResetSettingsButton.Text = "Reset to Default"; + this.ResetSettingsButton.Text = "Reset"; this.ResetSettingsButton.UseVisualStyleBackColor = true; this.ResetSettingsButton.Click += new System.EventHandler(this.ResetSettingsButton_Click); // - // MenuIconsCheckBox - // - this.MenuIconsCheckBox.AutoSize = true; - this.MenuIconsCheckBox.Location = new System.Drawing.Point(7, 128); - this.MenuIconsCheckBox.Name = "MenuIconsCheckBox"; - this.MenuIconsCheckBox.Size = new System.Drawing.Size(90, 19); - this.MenuIconsCheckBox.TabIndex = 7; - this.MenuIconsCheckBox.Text = "Menu icons"; - this.MenuIconsCheckBox.UseVisualStyleBackColor = true; - // - // IntegrationTabPage - // - this.IntegrationTabPage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.IntegrationTabPage.Controls.Add(this.IntegrateCheckBox); - this.IntegrationTabPage.Controls.Add(this.AssociateCheckBox); - this.IntegrationTabPage.Controls.Add(this.SendToCheckBox); - this.IntegrationTabPage.Location = new System.Drawing.Point(4, 24); - this.IntegrationTabPage.Name = "IntegrationTabPage"; - this.IntegrationTabPage.Padding = new System.Windows.Forms.Padding(3); - this.IntegrationTabPage.Size = new System.Drawing.Size(256, 236); - this.IntegrationTabPage.TabIndex = 3; - this.IntegrationTabPage.Text = "Integration"; - this.IntegrationTabPage.UseVisualStyleBackColor = true; - // - // ToolbarColorCheckBox - // - this.ToolbarColorCheckBox.AutoSize = true; - this.ToolbarColorCheckBox.Location = new System.Drawing.Point(7, 82); - this.ToolbarColorCheckBox.Name = "ToolbarColorCheckBox"; - this.ToolbarColorCheckBox.Size = new System.Drawing.Size(131, 19); - this.ToolbarColorCheckBox.TabIndex = 8; - this.ToolbarColorCheckBox.Text = "Chameleon toolbar"; - this.ToolbarColorCheckBox.UseVisualStyleBackColor = true; - // // SettingsForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(264, 294); + this.ClientSize = new System.Drawing.Size(264, 296); this.Controls.Add(this.SaveSettingsButton); this.Controls.Add(this.ResetSettingsButton); this.Controls.Add(this.SettingsTabControl); @@ -485,12 +487,12 @@ private void InitializeComponent() this.SettingsTabControl.ResumeLayout(false); this.EditorTabPage.ResumeLayout(false); this.EditorTabPage.PerformLayout(); - this.EncryptionTabPage.ResumeLayout(false); - this.EncryptionTabPage.PerformLayout(); this.ApplicationTabPage.ResumeLayout(false); this.ApplicationTabPage.PerformLayout(); this.IntegrationTabPage.ResumeLayout(false); this.IntegrationTabPage.PerformLayout(); + this.EncryptionTabPage.ResumeLayout(false); + this.EncryptionTabPage.PerformLayout(); this.ResumeLayout(false); }