Mercurial > pub > ImplabNet
annotate Implab.Fx.Test/Sample/MainForm.cs @ 122:0c8685c8b56b v2
minor fixes and improvements of AsyncQueue, additional tests
author | cin |
---|---|
date | Mon, 12 Jan 2015 22:20:45 +0300 |
parents | f2559580b481 |
children |
rev | line source |
---|---|
5
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
1 using System; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
2 using System.Collections.Generic; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
3 using System.ComponentModel; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
4 using System.Data; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
5 using System.Drawing; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
6 using System.Linq; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
7 using System.Text; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
8 using System.Windows.Forms; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
9 |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
10 namespace Implab.Fx.Test.Sample |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
11 { |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
12 public partial class MainForm : Form |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
13 { |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
14 public event EventHandler ButtonEvent; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
15 |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
16 public MainForm() |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
17 { |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
18 InitializeComponent(); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
19 } |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
20 |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
21 private void button1_Click(object sender, EventArgs e) |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
22 { |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
23 EventHandler temp = ButtonEvent; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
24 if (temp != null) |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
25 { |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
26 temp(this,new EventArgs()); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
27 } |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
28 } |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
29 } |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
30 } |