示例#1
0
        private void btnTicketTemplate_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = IsActive(typeof(FrmTicketTemplate));

            if (frm == null)
            {
                var f = new FrmTicketTemplate();
                f.MdiParent = this;
                f.Show();
            }
            else
            {
                frm.Activate();
            }
        }
示例#2
0
        private void btnTicketTemplate_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form frm = IsActive(typeof(FrmTicketTemplate));

            if (frm == null)
            {
                var forms = new FrmTicketTemplate();
                forms.MdiParent = this;
                forms.Show();
            }
            else
            {
                frm.Activate();
            }
        }
示例#3
0
        private void btTemplate_Click(object sender, EventArgs e)
        {
            var f = new FrmTicketTemplate();

            f.ShowDialog();
        }