예제 #1
0
        private void barBtnPrintBill_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmPrintBill frm = new frmPrintBill();

            frm.MdiParent = this;
            frm.Show();
        }
예제 #2
0
        private void barBtnPrintBill_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            foreach (Form item in this.MdiChildren)
            {
                if (item.Name == "frmPrintBill")
                {
                    item.Dispose();
                    break;
                }
            }
            frmPrintBill frm = new frmPrintBill();

            frm.MdiParent = this;
            frm.Show();
        }