예제 #1
0
파일: MainForm.cs 프로젝트: whuacn/CJia
        private void btnPrintApply_Click(object sender, EventArgs e)
        {
            string pageTitle = (sender as ToolStripItem).Text;

            if (!cJiaTabControl1.isExistPage(pageTitle))
            {
                UI.PrintApplyView image = new UI.PrintApplyView();
                cJiaTabControl1.ShowPage(pageTitle, image);
            }
        }
예제 #2
0
        private void btnPrintApply_Click(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            string pageTitle = e.Item.Caption;

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