Example #1
0
        private void btnSearch_Click(object sender, EventArgs e)
        {
            frmSubcategoryList frm_SubcategoryList = new frmSubcategoryList();

            frm_SubcategoryList.ShowDialog();

            if (!String.IsNullOrEmpty(GlobalClass.GlobalSubcategoryId))
            {
                func_Retrieve_Subcategory_Details();
                func_Get_Category_Id();
            }
        }
Example #2
0
        private void btnFind_Click(object sender, EventArgs e)
        {
            frmSubcategoryList frm_Subcategories = new frmSubcategoryList();

            frm_Subcategories.ShowDialog();

            if (!String.IsNullOrEmpty(GlobalClass.GlobalSubcategoryId))
            {
                func_Retrieve_Subcategory_Details();
            }
            else
            {
                txtSubCatName.Text   = "";
                txtCategoryName.Text = "";
            }
        }