Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();
            //Load Plugins
            WispControl.InitwispPlugManager(new WindowInteropHelper(this).Handle);
            wispManager = WispControl.wispPlugManager;

            this.DataContext = wispManager;

            int count = 0;

            foreach (UserControl temp in wispManager.GetUIList())
            {
                this.RootContainer.Children.Add(temp);
                Grid.SetRow(temp, count);
                count++;
            }
        }
Esempio n. 2
0
 public static void InitwispPlugManager(IntPtr winPtr)
 {
     wispPlugManager = new WispPlugManager(winPtr);
 }