private void btnTransfer_Click(object sender, System.EventArgs e) { if (GridViewLocker.RowCount > 0) { DataRow dr = GridViewLocker.GetDataRow(this.GridViewLocker.FocusedRowHandle); ACMSLogic.User oUser = new User(); myTMForm = new ACMS.ACMSBranch.BranchTransaction.frmTransferLocker(Convert.ToInt32(dr["nLockerNo"]), dr["strMembershipID"].ToString(), oUser.StrBranchCode()); myTMForm.initData(oUser); myTMForm.ShowDialog(); myTMForm.Dispose(); initLockerMaintenance(); } }
private void btnTransfer_Click(object sender, System.EventArgs e) { if (GridViewLocker.RowCount > 0) { DataRow dr = GridViewLocker.GetDataRow(this.GridViewLocker.FocusedRowHandle); ACMSLogic.User oUser = new User(); myTMForm = new ACMS.ACMSBranch.BranchTransaction.frmTransferLocker(Convert.ToInt32(dr["nLockerNo"]),dr["strMembershipID"].ToString(),oUser.StrBranchCode()); myTMForm.initData(oUser); myTMForm.ShowDialog(); myTMForm.Dispose(); initLockerMaintenance(); } }