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();
            }
        }
Beispiel #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();
            }
        }
Beispiel #3
0
        private void btTemplate_Click(object sender, EventArgs e)
        {
            var f = new FrmTicketTemplate();

            f.ShowDialog();
        }