Ejemplo n.º 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();
            }
        }
Ejemplo n.º 2
0
 private void barButtonItem14_ItemClick_1(object sender, ItemClickEventArgs e)
 {
     var frm = new ShiftCode();
     frm.ShowDialog();
     barButtonItem14.Caption = "Shitf Code = " + new BLSales().GetShiftCode();
 }