public void InitializeTab(TabControl tabControl)
        {
            _control = new StateChainsPluginControl(GlueCommands);
            _tab = new PluginTab();
            _tabControl = tabControl;

            _tab.ClosedByUser += TabClosedByUser;

            _tab.Text = @"  State Chains";
            _tab.Controls.Add(_control);
            _control.Dock = DockStyle.Fill;

            _tabControl.Controls.Add(_tab);
        }
        public void InitializeTab(TabControl tabControl)
        {
            _control    = new StateChainsPluginControl(GlueCommands);
            _tab        = new PluginTab();
            _tabControl = tabControl;

            _tab.ClosedByUser += TabClosedByUser;

            _tab.Text = @"  State Chains";
            _tab.Controls.Add(_control);
            _control.Dock = DockStyle.Fill;

            _tabControl.Controls.Add(_tab);
        }