external/rx/Rx/NET/Samples/HOL/CS/Excercise8/Start/Program.cs
raw| 1 | using System; |
| 2 | using System.Reactive.Linq; |
| 3 | using System.Windows.Forms; |
| 4 | using System.Reactive.Disposables; |
| 5 | |
| 6 | namespace Excercise8 |
| 7 | { |
| 8 | class Program |
| 9 | { |
| 10 | static void Main() |
| 11 | { |
| 12 | var txt = new TextBox(); |
| 13 | |
| 14 | var frm = new Form() |
| 15 | { |
| 16 | Controls = { txt } |
| 17 | }; |
| 18 | |
| 19 | Application.Run(frm); |
| 20 | |
| 21 | } |
| 22 | } |
| 23 | } |