20 private object result = new object(); |
20 private object result = new object(); |
21 private Boolean main = false; |
21 private Boolean main = false; |
22 |
22 |
23 public String Name; |
23 public String Name; |
24 public List<Window> Windows = new List<Window>(); |
24 public List<Window> Windows = new List<Window>(); |
25 public ApplicationMenu AppMenu = new ApplicationMenu(); |
25 public ApplicationMenu Menu = new ApplicationMenu(); |
|
26 public MainToolBar ToolBar = new MainToolBar(); |
26 |
27 |
27 private Application() : base() |
28 private Application() : base() |
28 { |
29 { |
29 thread = new Thread(() => Run()); |
30 thread = new Thread(() => Run()); |
30 thread.SetApartmentState(ApartmentState.STA); |
31 thread.SetApartmentState(ApartmentState.STA); |