public static void Main(string[] args) { Application.Initialize(); var win = new MainWindow(); win.Show(); Application.Run(); win.Dispose(); }
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; }