alielie
2025-06-12 c1c3772a11b1f3fbad8846cc714120771d85fa53
WPFProject/Controls/MainTabControl.xaml.cs
@@ -1,6 +1,5 @@
using HMI.Base;
using HMI.Core.Api;
using Microsoft.DwayneNeed.Interop;
using Panuon.WPF.UI;
using System.Collections.Generic;
using System.Collections.ObjectModel;
@@ -9,9 +8,6 @@
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
{
@@ -42,7 +38,6 @@
        private WinFormHolder winFormHolder;
        public MainTabControl()
        {
            IPlugin plugin = new WorkControl();
            MenuItems = new ObservableCollection<PluginInfo>(PluginLoader.GetLoader().Menus);
            SubMenuItems = MenuItems[0].Children;
            this.DataContext = this;