private void sBtnNew_ExtendLocker_Click(object sender, System.EventArgs e) { // if (myPOS.ReceiptItemsTable.Rows.Count > 0) // { // MessageBox.Show(this, "Only one action is allow per receipt."); // return; // } myPOS.POSLockerAction = ACMSLogic.POS.LockerAction.New; ACMS.ACMSPOS2.FormNewLocker frm = new FormNewLocker(myPOS); this.Close(); frm.ShowDialog(); }