Esempio n. 1
0
 public static void Main(string[] args)
 {
     Application.Initialize();
     var win = new MainWindow();
     win.Show();
     Application.Run();
     win.Dispose();
 }
Esempio n. 2
0
 public ToolSelector(MainWindow parent)
     : base()
 {
     _buttons = new List<Button>();
     _parent = parent;
     CreateButton("T", false);
     CreateButton("S");
     CreateButton("A");
     CreateButton("M");
     CreateButton("O");
     this.VerticalPlacement = WidgetPlacement.Start;
 }