Mercurial > pub > ImplabNet
diff Implab.Fx.Test/Sample/MainForm.cs @ 5:f2559580b481
implemented overlay helpers and some animation heplers improvments
author | cin |
---|---|
date | Tue, 24 Sep 2013 03:31:24 +0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Implab.Fx.Test/Sample/MainForm.cs Tue Sep 24 03:31:24 2013 +0400 @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace Implab.Fx.Test.Sample +{ + public partial class MainForm : Form + { + public event EventHandler ButtonEvent; + + public MainForm() + { + InitializeComponent(); + } + + private void button1_Click(object sender, EventArgs e) + { + EventHandler temp = ButtonEvent; + if (temp != null) + { + temp(this,new EventArgs()); + } + } + } +}