Browse Source

测试winform窗体带阴影

yuzhengyang 8 years ago
parent
commit
c0372c95be

+ 1 - 0
Fork.Net/Test/Y.Test/Views/MainForm.Designer.cs

@@ -109,6 +109,7 @@
             this.Controls.Add(this.ChineseCalendarForm);
             this.Controls.Add(this.ChineseCalendarForm);
             this.Name = "MainForm";
             this.Name = "MainForm";
             this.Text = "MainForm";
             this.Text = "MainForm";
+            this.Load += new System.EventHandler(this.MainForm_Load);
             this.ResumeLayout(false);
             this.ResumeLayout(false);
 
 
         }
         }

+ 4 - 0
Fork.Net/Test/Y.Test/Views/MainForm.cs

@@ -46,5 +46,9 @@ namespace Y.Test.Views
         {
         {
             R.Forms.GetUnique<TestShadowForm>().Show();
             R.Forms.GetUnique<TestShadowForm>().Show();
         }
         }
+
+        private void MainForm_Load(object sender, EventArgs e)
+        {
+        }
     }
     }
 }
 }