private void btnAccountNoSearch_Click(object sender, EventArgs e)
        {
            //frmCustomerSearch obj = new frmCustomerSearch((Int64)bllUtility.GlobalEnum.AccountHolderType.Supplier);
            //obj.ShowDialog();
            //this.txtAccountName.Text = bllUtility.ReturnSearchedAccountHolderInfo.returnSearchedAccountHolderInfo.AccHolderName; //test code rasel
            //this.txtAccountNo.Text = bllUtility.ReturnSearchedAccountHolderInfo.returnSearchedAccountHolderInfo.AccountNo;

            ////clearing global search object.
            //bllUtility.ReturnSearchedAccountHolderInfo.returnSearchedAccountHolderInfo = null;
            frmGlobalSearch obj = new frmGlobalSearch("[load_all_acc_list]", "All Account Holder");

            obj.ShowDialog();
            if (bllUtility.GlobalSearchValue.Code != null)
            {
                this.txtAccountNo.Text   = bllUtility.GlobalSearchValue.Code;
                this.txtAccountName.Text = bllUtility.GlobalSearchValue.Description;
            }
        }
예제 #2
0
        private void PopulateSearchGrid(string SP, string FormTitle)
        {
            frmGlobalSearch obj = new frmGlobalSearch(SP, FormTitle);

            obj.ShowDialog();
        }