diff --git a/Crypto Notepad/Crypto Notepad.csproj b/Crypto Notepad/Crypto Notepad.csproj index c8de363..cea71f0 100644 --- a/Crypto Notepad/Crypto Notepad.csproj +++ b/Crypto Notepad/Crypto Notepad.csproj @@ -132,12 +132,6 @@ SettingsForm.cs - - Form - - - WarningMsgBox.cs - AboutFrom.cs @@ -158,9 +152,6 @@ SettingsForm.cs - - WarningMsgBox.cs - SettingsSingleFileGenerator Settings.Designer.cs diff --git a/Crypto Notepad/WarningMsgBox.Designer.cs b/Crypto Notepad/WarningMsgBox.Designer.cs deleted file mode 100644 index 803b7ae..0000000 --- a/Crypto Notepad/WarningMsgBox.Designer.cs +++ /dev/null @@ -1,119 +0,0 @@ -namespace Crypto_Notepad -{ - partial class WarningMsgBox - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.button1 = new System.Windows.Forms.Button(); - this.panel1 = new System.Windows.Forms.Panel(); - this.label1 = new System.Windows.Forms.Label(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.checkBox1 = new System.Windows.Forms.CheckBox(); - this.panel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.SuspendLayout(); - // - // button1 - // - this.button1.Location = new System.Drawing.Point(209, 98); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(75, 23); - this.button1.TabIndex = 0; - this.button1.Text = "OK"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // panel1 - // - this.panel1.BackColor = System.Drawing.Color.White; - this.panel1.Controls.Add(this.label1); - this.panel1.Controls.Add(this.pictureBox1); - this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(294, 87); - this.panel1.TabIndex = 1; - // - // label1 - // - this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); - this.label1.Location = new System.Drawing.Point(84, 7); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(206, 69); - this.label1.TabIndex = 1; - this.label1.Text = "If you change settings in this tab, decrypt the previously encrypted files will n" + - "ot be possible."; - // - // pictureBox1 - // - this.pictureBox1.Image = global::Crypto_Notepad.Properties.Resources.Warning_icon_hi; - this.pictureBox1.Location = new System.Drawing.Point(7, 7); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(71, 69); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; - this.pictureBox1.TabIndex = 0; - this.pictureBox1.TabStop = false; - // - // checkBox1 - // - this.checkBox1.AutoSize = true; - this.checkBox1.Location = new System.Drawing.Point(12, 101); - this.checkBox1.Name = "checkBox1"; - this.checkBox1.Size = new System.Drawing.Size(172, 17); - this.checkBox1.TabIndex = 2; - this.checkBox1.Text = "Don\'t show this message again"; - this.checkBox1.UseVisualStyleBackColor = true; - // - // WarningMsgBox - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(294, 130); - this.Controls.Add(this.checkBox1); - this.Controls.Add(this.panel1); - this.Controls.Add(this.button1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "WarningMsgBox"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Warning"; - this.panel1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Button button1; - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.CheckBox checkBox1; - private System.Windows.Forms.PictureBox pictureBox1; - private System.Windows.Forms.Label label1; - } -} \ No newline at end of file diff --git a/Crypto Notepad/WarningMsgBox.cs b/Crypto Notepad/WarningMsgBox.cs deleted file mode 100644 index 923caa2..0000000 --- a/Crypto Notepad/WarningMsgBox.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Windows.Forms; - -namespace Crypto_Notepad -{ - public partial class WarningMsgBox : Form - { - Properties.Settings ps = Properties.Settings.Default; - - public WarningMsgBox() - { - InitializeComponent(); - } - - private void button1_Click(object sender, EventArgs e) - { - if (checkBox1.Checked == true) - { - ps.WarningMsg = true; - ps.Save(); - } - this.Close(); - } - } -} diff --git a/Crypto Notepad/WarningMsgBox.resx b/Crypto Notepad/WarningMsgBox.resx deleted file mode 100644 index 1af7de1..0000000 --- a/Crypto Notepad/WarningMsgBox.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file