Browse Source

add copyright declaration

gaoshipeng 3 years ago
parent
commit
d18aa0a5dc
2 changed files with 12 additions and 8 deletions
  1. 10 7
      OTSIncAMeasureApp/About.Designer.cs
  2. 2 1
      OTSIncAMeasureApp/About.cs

+ 10 - 7
OTSIncAMeasureApp/About.Designer.cs

@@ -35,9 +35,10 @@ namespace OTSMeasureApp
             // 
             // button_OK
             // 
-            this.button_OK.Location = new System.Drawing.Point(444, 109);
+            this.button_OK.Location = new System.Drawing.Point(135, 98);
+            this.button_OK.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.button_OK.Name = "button_OK";
-            this.button_OK.Size = new System.Drawing.Size(115, 38);
+            this.button_OK.Size = new System.Drawing.Size(77, 25);
             this.button_OK.TabIndex = 0;
             this.button_OK.Text = "OK";
             this.button_OK.UseVisualStyleBackColor = true;
@@ -48,23 +49,25 @@ namespace OTSMeasureApp
             this.richTextBox1.BackColor = System.Drawing.SystemColors.Menu;
             this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
             this.richTextBox1.Cursor = System.Windows.Forms.Cursors.No;
-            this.richTextBox1.Font = new System.Drawing.Font("幼圆", 14F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.richTextBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.richTextBox1.ForeColor = System.Drawing.SystemColors.HotTrack;
-            this.richTextBox1.Location = new System.Drawing.Point(22, 33);
+            this.richTextBox1.Location = new System.Drawing.Point(15, 11);
+            this.richTextBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.richTextBox1.Name = "richTextBox1";
-            this.richTextBox1.Size = new System.Drawing.Size(496, 61);
+            this.richTextBox1.Size = new System.Drawing.Size(331, 69);
             this.richTextBox1.TabIndex = 1;
             this.richTextBox1.Text = "";
             // 
             // About
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
-            this.ClientSize = new System.Drawing.Size(565, 160);
+            this.ClientSize = new System.Drawing.Size(377, 143);
             this.Controls.Add(this.richTextBox1);
             this.Controls.Add(this.button_OK);
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
+            this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.MaximizeBox = false;
             this.MinimizeBox = false;
             this.Name = "About";

+ 2 - 1
OTSIncAMeasureApp/About.cs

@@ -20,7 +20,8 @@ namespace OTSMeasureApp
         private void About_Load(object sender, EventArgs e)
         {
 
-            richTextBox1.Text = "Version : 2.4";
+            richTextBox1.Text = "Version : 2.4\n";
+            richTextBox1.Text += "Opton Copyright © 2022";
             richTextBox1.Select(0, richTextBox1.Text.Length);
             //richTextBox1.SelectionColor = Color.DarkBlue;
             richTextBox1.SelectionAlignment = HorizontalAlignment.Center;