示例#1
0
        private void barButtonItem5_ItemClick(object sender, ItemClickEventArgs e)
        {
                         opentab = 0;

            ShiftCode frm = null;
            if ((frm = (ShiftCode)IsFormAlreadyOpen(typeof(ShiftCode))) == null)
            {
                frm = new ShiftCode();
                frm.MdiParent = this;
                frm.Show();
            }
            else
            {
                frm.Select();
            }
        }
示例#2
0
 private void barButtonItem14_ItemClick_1(object sender, ItemClickEventArgs e)
 {
     var frm = new ShiftCode();
     frm.ShowDialog();
     barButtonItem14.Caption = "Shitf Code = " + new BLSales().GetShiftCode();
 }