diff --git a/Crypto Notepad/AboutFrom.Designer.cs b/Crypto Notepad/AboutFrom.Designer.cs
index 59cfd67..53c2fa6 100644
--- a/Crypto Notepad/AboutFrom.Designer.cs
+++ b/Crypto Notepad/AboutFrom.Designer.cs
@@ -37,7 +37,6 @@ private void InitializeComponent()
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
- this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
@@ -45,7 +44,12 @@ private void InitializeComponent()
this.label13 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.label15 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
+ this.customRichTextBox1 = new Crypto_Notepad.CustomRichTextBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ this.panel1.SuspendLayout();
this.SuspendLayout();
//
// label1
@@ -63,13 +67,12 @@ private void InitializeComponent()
//
this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
- this.pictureBox1.Location = new System.Drawing.Point(219, 9);
+ this.pictureBox1.Location = new System.Drawing.Point(220, 9);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(77, 68);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 1;
this.pictureBox1.TabStop = false;
- this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
//
// label2
//
@@ -88,11 +91,12 @@ private void InitializeComponent()
this.label3.Cursor = System.Windows.Forms.Cursors.Hand;
this.label3.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label3.ForeColor = System.Drawing.Color.White;
- this.label3.Location = new System.Drawing.Point(6, 51);
+ this.label3.Location = new System.Drawing.Point(6, 67);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(109, 13);
this.label3.TabIndex = 3;
this.label3.Text = "Licence Agreement";
+ this.toolTip1.SetToolTip(this.label3, "https://github.com/Sigmanor/Crypto-Notepad/blob/master/LICENSE");
this.label3.Click += new System.EventHandler(this.label3_Click);
//
// label4
@@ -101,11 +105,12 @@ private void InitializeComponent()
this.label4.Cursor = System.Windows.Forms.Cursors.Hand;
this.label4.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label4.ForeColor = System.Drawing.Color.White;
- this.label4.Location = new System.Drawing.Point(6, 74);
+ this.label4.Location = new System.Drawing.Point(6, 85);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(85, 13);
this.label4.TabIndex = 3;
this.label4.Text = "Release Notes";
+ this.toolTip1.SetToolTip(this.label4, "https://github.com/Sigmanor/Crypto-Notepad/wiki/Release-Notes");
this.label4.Click += new System.EventHandler(this.label4_Click);
//
// label5
@@ -113,42 +118,32 @@ private void InitializeComponent()
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label5.ForeColor = System.Drawing.Color.White;
- this.label5.Location = new System.Drawing.Point(6, 132);
+ this.label5.Location = new System.Drawing.Point(6, 109);
this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(224, 15);
+ this.label5.Size = new System.Drawing.Size(182, 15);
this.label5.TabIndex = 4;
- this.label5.Text = "External materials / libraries:";
+ this.label5.Text = "Third-party developments:";
//
// label6
//
this.label6.AutoSize = true;
- this.label6.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+ this.label6.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.label6.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label6.ForeColor = System.Drawing.Color.White;
- this.label6.Location = new System.Drawing.Point(6, 103);
+ this.label6.Location = new System.Drawing.Point(6, 50);
this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(55, 13);
+ this.label6.Size = new System.Drawing.Size(49, 13);
this.label6.TabIndex = 5;
- this.label6.Text = "WebSite:";
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.Cursor = System.Windows.Forms.Cursors.Hand;
- this.label7.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
- this.label7.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label7.Location = new System.Drawing.Point(59, 103);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(235, 13);
- this.label7.TabIndex = 3;
- this.label7.Text = "https://github.com/Sigmanor/EncryptPad";
- this.label7.Click += new System.EventHandler(this.label7_Click);
+ this.label6.Text = "WebSite";
+ this.toolTip1.SetToolTip(this.label6, "https://github.com/Sigmanor/Crypto-Notepad");
+ this.label6.Click += new System.EventHandler(this.label6_Click);
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label8.ForeColor = System.Drawing.Color.White;
- this.label8.Location = new System.Drawing.Point(6, 160);
+ this.label8.Location = new System.Drawing.Point(6, 35);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(145, 13);
this.label8.TabIndex = 5;
@@ -157,43 +152,43 @@ private void InitializeComponent()
// label9
//
this.label9.AutoEllipsis = true;
+ this.label9.AutoSize = true;
this.label9.Cursor = System.Windows.Forms.Cursors.Hand;
this.label9.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label9.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label9.Location = new System.Drawing.Point(148, 160);
+ this.label9.Location = new System.Drawing.Point(148, 35);
this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(155, 13);
+ this.label9.Size = new System.Drawing.Size(469, 13);
this.label9.TabIndex = 3;
this.label9.Text = "http://www.codeproject.com/Articles/20917/Creating-a-Custom-Settings-Provider";
- this.toolTip1.SetToolTip(this.label9, "http://www.codeproject.com/Articles/20917/Creating-a-Custom-Settings-Provider");
this.label9.Click += new System.EventHandler(this.label9_Click);
//
// label11
//
this.label11.AutoEllipsis = true;
+ this.label11.AutoSize = true;
this.label11.Cursor = System.Windows.Forms.Cursors.Hand;
this.label11.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label11.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label11.Location = new System.Drawing.Point(35, 182);
+ this.label11.Location = new System.Drawing.Point(35, 57);
this.label11.Name = "label11";
- this.label11.Size = new System.Drawing.Size(265, 13);
+ this.label11.Size = new System.Drawing.Size(421, 13);
this.label11.TabIndex = 3;
this.label11.Text = "http://easylab.net.ua/net-c-windows-forms/c-algoritm-shifrovaniya-aes";
- this.toolTip1.SetToolTip(this.label11, "http://easylab.net.ua/net-c-windows-forms/c-algoritm-shifrovaniya-aes");
this.label11.Click += new System.EventHandler(this.label11_Click);
//
// label13
//
this.label13.AutoEllipsis = true;
+ this.label13.AutoSize = true;
this.label13.Cursor = System.Windows.Forms.Cursors.Hand;
this.label13.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label13.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label13.Location = new System.Drawing.Point(117, 206);
+ this.label13.Location = new System.Drawing.Point(117, 81);
this.label13.Name = "label13";
- this.label13.Size = new System.Drawing.Size(184, 13);
+ this.label13.Size = new System.Drawing.Size(487, 13);
this.label13.TabIndex = 3;
this.label13.Text = "https://code.msdn.microsoft.com/windowsdesktop/How-to-find-the-text-and-e92b8d78";
- this.toolTip1.SetToolTip(this.label13, "https://code.msdn.microsoft.com/windowsdesktop/How-to-find-the-text-and-e92b8d78");
this.label13.Click += new System.EventHandler(this.label13_Click);
//
// label10
@@ -201,7 +196,7 @@ private void InitializeComponent()
this.label10.AutoSize = true;
this.label10.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label10.ForeColor = System.Drawing.Color.White;
- this.label10.Location = new System.Drawing.Point(6, 182);
+ this.label10.Location = new System.Drawing.Point(6, 57);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(31, 13);
this.label10.TabIndex = 5;
@@ -212,32 +207,87 @@ private void InitializeComponent()
this.label12.AutoSize = true;
this.label12.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label12.ForeColor = System.Drawing.Color.White;
- this.label12.Location = new System.Drawing.Point(6, 206);
+ this.label12.Location = new System.Drawing.Point(6, 81);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(115, 13);
this.label12.TabIndex = 5;
this.label12.Text = "CustomRichTextBox:";
//
+ // panel1
+ //
+ this.panel1.AutoScroll = true;
+ this.panel1.Controls.Add(this.label15);
+ this.panel1.Controls.Add(this.label12);
+ this.panel1.Controls.Add(this.label14);
+ this.panel1.Controls.Add(this.label10);
+ this.panel1.Controls.Add(this.label9);
+ this.panel1.Controls.Add(this.label8);
+ this.panel1.Controls.Add(this.label11);
+ this.panel1.Controls.Add(this.label13);
+ this.panel1.Location = new System.Drawing.Point(622, 9);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(138, 97);
+ this.panel1.TabIndex = 6;
+ //
+ // label15
+ //
+ this.label15.AutoSize = true;
+ this.label15.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+ this.label15.ForeColor = System.Drawing.Color.White;
+ this.label15.Location = new System.Drawing.Point(6, 106);
+ this.label15.Name = "label15";
+ this.label15.Size = new System.Drawing.Size(121, 13);
+ this.label15.TabIndex = 5;
+ this.label15.Text = "MsgBoxCenterParent:";
+ //
+ // label14
+ //
+ this.label14.AutoEllipsis = true;
+ this.label14.AutoSize = true;
+ this.label14.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.label14.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+ this.label14.ForeColor = System.Drawing.Color.CornflowerBlue;
+ this.label14.Location = new System.Drawing.Point(125, 106);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(259, 13);
+ this.label14.TabIndex = 3;
+ this.label14.Text = "http://stackoverflow.com/a/2576220/4430027";
+ this.label14.Click += new System.EventHandler(this.label14_Click);
+ //
+ // customRichTextBox1
+ //
+ this.customRichTextBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(50)))));
+ this.customRichTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ this.customRichTextBox1.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+ this.customRichTextBox1.ForeColor = System.Drawing.Color.White;
+ this.customRichTextBox1.Location = new System.Drawing.Point(0, 130);
+ this.customRichTextBox1.Name = "customRichTextBox1";
+ this.customRichTextBox1.ReadOnly = true;
+ this.customRichTextBox1.RightMargin = 600;
+ this.customRichTextBox1.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Horizontal;
+ this.customRichTextBox1.ShowSelectionMargin = true;
+ this.customRichTextBox1.Size = new System.Drawing.Size(298, 77);
+ this.customRichTextBox1.TabIndex = 8;
+ this.customRichTextBox1.TabStop = false;
+ this.customRichTextBox1.Text = resources.GetString("customRichTextBox1.Text");
+ this.customRichTextBox1.WordWrap = false;
+ this.customRichTextBox1.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.customRichTextBox1_LinkClicked);
+ //
// AboutFrom
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(67)))), ((int)(((byte)(92)))));
- this.ClientSize = new System.Drawing.Size(300, 227);
- this.Controls.Add(this.label12);
- this.Controls.Add(this.label10);
- this.Controls.Add(this.label8);
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(50)))));
+ this.ClientSize = new System.Drawing.Size(298, 207);
+ this.Controls.Add(this.customRichTextBox1);
this.Controls.Add(this.label6);
- this.Controls.Add(this.label5);
- this.Controls.Add(this.label13);
- this.Controls.Add(this.label11);
- this.Controls.Add(this.label9);
- this.Controls.Add(this.label7);
+ this.Controls.Add(this.panel1);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.label1);
+ this.Controls.Add(this.label5);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
@@ -245,7 +295,10 @@ private void InitializeComponent()
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "About";
this.Load += new System.EventHandler(this.AboutWindow_Load);
+ this.Click += new System.EventHandler(this.AboutFrom_Click);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@@ -260,7 +313,6 @@ private void InitializeComponent()
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
- private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.ToolTip toolTip1;
@@ -268,5 +320,9 @@ private void InitializeComponent()
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Label label15;
+ private System.Windows.Forms.Label label14;
+ private CustomRichTextBox customRichTextBox1;
}
}
\ No newline at end of file
diff --git a/Crypto Notepad/AboutFrom.cs b/Crypto Notepad/AboutFrom.cs
index 133985a..8a176b7 100644
--- a/Crypto Notepad/AboutFrom.cs
+++ b/Crypto Notepad/AboutFrom.cs
@@ -14,12 +14,12 @@ public AboutFrom()
private void label3_Click(object sender, EventArgs e)
{
- Process.Start("https://github.com/Sigmanor/EncryptPad/blob/master/LICENSE");
+ Process.Start("https://github.com/Sigmanor/Crypto-Notepad/blob/master/LICENSE");
}
private void label7_Click(object sender, EventArgs e)
{
- Process.Start("https://github.com/Sigmanor/EncryptPad");
+ Process.Start("https://github.com/Sigmanor/Crypto-Notepad");
}
private void label9_Click(object sender, EventArgs e)
@@ -45,27 +45,28 @@ private void AboutWindow_Load(object sender, EventArgs e)
private void label4_Click(object sender, EventArgs e)
{
- Process.Start("https://github.com/Sigmanor/EncryptPad/wiki/Release-Notes");
+ Process.Start("https://github.com/Sigmanor/Crypto-Notepad/wiki/Release-Notes");
}
- private void pictureBox1_Click(object sender, EventArgs e)
+ private void label14_Click(object sender, EventArgs e)
{
- if (this.BackColor == Color.FromArgb(64, 64, 64))
- {
- this.BackColor = Color.FromArgb(36, 67, 92);
- }
+ Process.Start("http://stackoverflow.com/a/2576220/4430027");
- else if (this.BackColor == Color.FromArgb(36, 67, 92))
- {
- this.BackColor = Color.FromArgb(90, 36, 119);
- }
+ }
- else if (this.BackColor == Color.FromArgb(90, 36, 119))
- {
- this.BackColor = Color.FromArgb(64, 64, 64);
- }
+ private void label6_Click(object sender, EventArgs e)
+ {
+ Process.Start("https://github.com/Sigmanor/Crypto-Notepad");
+ }
-
+ private void customRichTextBox1_LinkClicked(object sender, LinkClickedEventArgs e)
+ {
+ Process.Start(e.LinkText);
+ }
+
+ private void AboutFrom_Click(object sender, EventArgs e)
+ {
+ pictureBox1.Focus();
}
}
}
diff --git a/Crypto Notepad/AboutFrom.resx b/Crypto Notepad/AboutFrom.resx
index dc76ff4..94bcee3 100644
--- a/Crypto Notepad/AboutFrom.resx
+++ b/Crypto Notepad/AboutFrom.resx
@@ -151,4 +151,13 @@
17, 17
+
+ CustomSettingsProvider: http://www.codeproject.com/Articles/20917/Settings-Provider
+AES: http://easylab.net.ua/net-c-windows-forms/c-algoritm-shifrovaniya-aes
+CustomRichTextBox: https://code.msdn.microsoft.com/windowsdesktop/How-to-find-the-text-and-e92b8d78
+MsgBoxCenterParent: http://stackoverflow.com/a/2576220/4430027
+
+
+ 44
+
\ No newline at end of file