zhouxianguang 6 년 전
부모
커밋
cbb3c5ba9d
5개의 변경된 파일22개의 추가작업 그리고 8개의 파일을 삭제
  1. 8 8
      WinBox/CloseForm.Designer.cs
  2. 10 0
      WinBox/Properties/Resources.Designer.cs
  3. 3 0
      WinBox/Properties/Resources.resx
  4. BIN
      WinBox/Resources/quitApp1.jpg
  5. 1 0
      WinBox/WinBox.csproj

+ 8 - 8
WinBox/CloseForm.Designer.cs

@@ -35,9 +35,7 @@
             // 
             // button1
             // 
-            this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
-            | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
+            this.button1.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
             this.button1.AutoSize = true;
             this.button1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
             this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(247)))), ((int)(((byte)(111)))));
@@ -45,7 +43,7 @@
             this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
             this.button1.Font = new System.Drawing.Font("微软雅黑", 22.125F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.button1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(99)))), ((int)(((byte)(62)))));
-            this.button1.Location = new System.Drawing.Point(1340, 865);
+            this.button1.Location = new System.Drawing.Point(1196, 617);
             this.button1.Name = "button1";
             this.button1.Size = new System.Drawing.Size(333, 88);
             this.button1.TabIndex = 0;
@@ -55,13 +53,14 @@
             // 
             // button2
             // 
+            this.button2.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
             this.button2.AutoSize = true;
             this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(199)))), ((int)(((byte)(240)))));
             this.button2.FlatAppearance.BorderSize = 0;
             this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
             this.button2.Font = new System.Drawing.Font("微软雅黑", 22.125F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.button2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(235)))), ((int)(((byte)(205)))));
-            this.button2.Location = new System.Drawing.Point(1840, 865);
+            this.button2.Location = new System.Drawing.Point(1652, 617);
             this.button2.Name = "button2";
             this.button2.Size = new System.Drawing.Size(333, 88);
             this.button2.TabIndex = 1;
@@ -74,9 +73,9 @@
             this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.AutoSize = true;
-            this.BackgroundImage = global::WinBox.Properties.Resources.quitApp;
-            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
-            this.ClientSize = new System.Drawing.Size(1796, 1054);
+            this.BackgroundImage = global::WinBox.Properties.Resources.quitApp1;
+            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+            this.ClientSize = new System.Drawing.Size(2078, 1058);
             this.Controls.Add(this.button2);
             this.Controls.Add(this.button1);
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
@@ -85,6 +84,7 @@
             this.Name = "CloseForm";
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
             this.Text = "领教云课堂";
+            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
             this.Load += new System.EventHandler(this.CloseForm_Load);
             this.ResumeLayout(false);
             this.PerformLayout();

+ 10 - 0
WinBox/Properties/Resources.Designer.cs

@@ -69,5 +69,15 @@ namespace WinBox.Properties {
                 return ((System.Drawing.Bitmap)(obj));
             }
         }
+        
+        /// <summary>
+        ///   查找 System.Drawing.Bitmap 类型的本地化资源。
+        /// </summary>
+        internal static System.Drawing.Bitmap quitApp1 {
+            get {
+                object obj = ResourceManager.GetObject("quitApp1", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
     }
 }

+ 3 - 0
WinBox/Properties/Resources.resx

@@ -121,4 +121,7 @@
   <data name="quitApp" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\Resources\quitApp.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
+  <data name="quitApp1" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\quitApp1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
 </root>

BIN
WinBox/Resources/quitApp1.jpg


+ 1 - 0
WinBox/WinBox.csproj

@@ -147,6 +147,7 @@
     <Content Include="ico_angelbell.ico" />
     <Content Include="img\quitApp.jpg" />
     <None Include="Resources\quitApp.jpg" />
+    <None Include="Resources\quitApp1.jpg" />
     <Content Include="shuangshi.ico" />
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />