Пример #1
0
        private void btnHomePage_Click(object sender, EventArgs e)
        {
            string pageTitle = (sender as ToolStripItem).Text;

            if (!cJiaTabControl1.isExistPage(pageTitle))
            {
                UI.MyPatientHandelView uc = new UI.MyPatientHandelView();
                cJiaTabControl1.ShowPage(pageTitle, uc);
            }
        }
Пример #2
0
        private void btnHomePage_Click(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            string pageTitle = e.Item.Caption;

            if (!cJiaTabControl1.isExistPage(pageTitle))
            {
                UI.MyPatientHandelView uc = new UI.MyPatientHandelView();
                cJiaTabControl1.ShowPage(pageTitle, uc);
            }
        }