Наследование: System.Windows.Forms.UserControl
Пример #1
0
        public bool ShutDown(PluginShutDownReason shutDownReason)
        {
            if (mTab != null)
            {
                mTabControl.Controls.Remove(mTab);
            }
            mTabControl = null;
            mTab        = null;
            mControl    = null;

            return(true);
        }
Пример #2
0
        public bool ShutDown(PluginShutDownReason shutDownReason)
        {
            if (mTab != null)
            {
                mTabControl.Controls.Remove(mTab);
            }
            mTabControl = null;
            mTab = null;
            mControl = null;

            return true;
        }
Пример #3
0
        public void InitializeTab(TabControl tabControl)
        {
            mControl    = new ucBookmark();
            mTab        = new PluginTab();
            mTabControl = tabControl;

            mTab.ClosedByUser += new PluginTab.ClosedByUserDelegate(mTab_ClosedByUser);

            mTab.Text = "  Bookmarks";
            mTab.Controls.Add(mControl);
            mControl.Dock = DockStyle.Fill;

            mTabControl.Controls.Add(mTab);
        }
Пример #4
0
        public void InitializeTab(TabControl tabControl)
        {
            mControl = new ucBookmark();
            mTab = new PluginTab();
            mTabControl = tabControl;

            mTab.ClosedByUser += new PluginTab.ClosedByUserDelegate(mTab_ClosedByUser);

            mTab.Text = "  Bookmarks";
            mTab.Controls.Add(mControl);
            mControl.Dock = DockStyle.Fill;

            mTabControl.Controls.Add(mTab);
        }