| | |
| | | using HMI.Base; |
| | | using HMI.Core.Api; |
| | | using Microsoft.DwayneNeed.Interop; |
| | | using Panuon.WPF.UI; |
| | | using System.Collections.Generic; |
| | | using System.Collections.ObjectModel; |
| | |
| | | using System.Windows; |
| | | using System.Windows.Controls; |
| | | using System.Windows.Data; |
| | | using System.Windows.Forms.Integration; |
| | | using System.Windows.Media; |
| | | using WPFProject.UI; |
| | | |
| | | namespace WPFProject.Controls |
| | | { |
| | |
| | | private WinFormHolder winFormHolder; |
| | | public MainTabControl() |
| | | { |
| | | IPlugin plugin = new WorkControl(); |
| | | MenuItems = new ObservableCollection<PluginInfo>(PluginLoader.GetLoader().Menus); |
| | | SubMenuItems = MenuItems[0].Children; |
| | | this.DataContext = this; |