32 public static Label Space(Container container) |
32 public static Label Space(Container container) |
33 { |
33 { |
34 return Application.GetInstance().Exec<Label>(() => Controls.CreateLabel(container, null, HorizontalAlignment.Center)); |
34 return Application.GetInstance().Exec<Label>(() => Controls.CreateLabel(container, null, HorizontalAlignment.Center)); |
35 } |
35 } |
36 |
36 |
|
37 public static Separator Separator(Container container) |
|
38 { |
|
39 return Application.GetInstance().Exec<Separator>(() => Controls.CreateSeparator(container)); |
|
40 } |
|
41 |
37 public static Button CreateButton(Container container, String label, RoutedEventHandler e) |
42 public static Button CreateButton(Container container, String label, RoutedEventHandler e) |
38 { |
43 { |
39 Button button = new Button(); |
44 Button button = new Button(); |
40 button.Content = label; |
45 button.Content = label; |
41 container.Add(button, false); |
46 container.Add(button, false); |