private void simpleButton1_Click(object sender, System.EventArgs e) { myPOS.POSLockerAction = ACMSLogic.POS.LockerAction.Extend; ACMS.ACMSPOS2.FormExtendLocker frm = new FormExtendLocker(myPOS); this.Close(); frm.ShowDialog(); }