ui/wpf/UIcore/Application.cs

changeset 89
9a7e4a335b2b
parent 81
5eb765a7a793
child 135
b9dc9cdfa23a
equal deleted inserted replaced
88:04c81be1c5a0 89:9a7e4a335b2b
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);

mercurial