private void btnSerach1_Click(object sender, EventArgs e) { frmAllReferanceGroup objfrm = new frmAllReferanceGroup(); objfrm.lngVtype = 9999; objfrm.onAddAllButtonClickedFG = new frmAllReferanceGroup.AddAllClickFG(DisplayVoucherListFG); objfrm.Show(); objfrm.MdiParent = this.MdiParent; }
private void btnSerach1_Click(object sender, EventArgs e) { if (m_action == (int)Utility.ACTION_MODE_ENUM.EDIT_MODE) { MessageBox.Show("Sorry! You Cannot Change this batch from edit Mode"); uctxtBatch1.Focus(); return; } frmAllReferanceGroup objfrm = new frmAllReferanceGroup(); objfrm.lngVtype = 8888; objfrm.onAddAllButtonClickedFG = new frmAllReferanceGroup.AddAllClickFG(DisplayVoucherListFG); objfrm.Show(); objfrm.MdiParent = this.MdiParent; //uctxtBatchNo.Focus(); }