public void TabRequested(object sender, MainTabEventArgs e)
 {
     CreateNewTab(this, e);
 }
示例#2
0
        private void TabRequested(object sender, MainTabEventArgs e)
        {
            switch (e.TabStyle)
            {
                case MainTabEventArgs.TabType.Business:
                    {
                        ShowBusiness(e.Index);
                        break;
                    }

                case MainTabEventArgs.TabType.PCS:
                    {
                        ShowPCS(e.Index);
                        break;
                    }

                case MainTabEventArgs.TabType.DEV:
                    {
                        ShowDEV(e.Index);
                        break;
                    }
            }
        }