Debian Codegraph @

external/rx/Rx/NET/Samples/HOL/CS/Excercise8/Step01/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 var lst = new ListBox { Top = txt.Height + 10 };
14
15 var frm = new Form()
16 {
17 Controls = { txt, lst }
18 };
19
20 Application.Run(frm);
21
22 }
23 }
24 }