136:1df2fb3d079c | 137:c9b8b9e0cfe8 |
---|---|
3 using System.Linq; | 3 using System.Linq; |
4 using System.Text; | 4 using System.Text; |
5 using System.Threading.Tasks; | 5 using System.Threading.Tasks; |
6 using System.Windows; | 6 using System.Windows; |
7 using System.Windows.Controls; | 7 using System.Windows.Controls; |
8 using System.Windows.Media; | |
8 | 9 |
9 namespace UI | 10 namespace UI |
10 { | 11 { |
11 public class MainToolBar | 12 public class MainToolBar |
12 { | 13 { |
37 } | 38 } |
38 | 39 |
39 public ToolBarTray CreateToolBarTray(IntPtr objptr) | 40 public ToolBarTray CreateToolBarTray(IntPtr objptr) |
40 { | 41 { |
41 ToolBarTray tray = new ToolBarTray(); | 42 ToolBarTray tray = new ToolBarTray(); |
42 | |
43 ToolBar toolbar = new ToolBar(); | 43 ToolBar toolbar = new ToolBar(); |
44 tray.ToolBars.Add(toolbar); | 44 tray.ToolBars.Add(toolbar); |
45 foreach(string s in Defaults) | 45 foreach(string s in Defaults) |
46 { | 46 { |
47 IToolItem item = Items[s]; | 47 IToolItem item = Items[s]; |