Exemplo n.º 1
0
        private void btnSearch_Click(object sender, EventArgs e)
        {
            frmArticleList frm_ArticleList = new frmArticleList();

            frm_ArticleList.ShowDialog();

            if (!String.IsNullOrEmpty(GlobalClass.GlobalArticleId))
            {
                func_Retrieve_Article_Details();
                Subcategory_Id_Org = GlobalClass.GlobalSubcategoryId;
                ArticleName        = txtArticleName.Text;
                ArticleCode        = txtArticleCode.Text;
            }
        }
Exemplo n.º 2
0
        private void btnFind_Click(object sender, EventArgs e)
        {
            GlobalClass.GlobalArticleId = "";
            txtArticle.Text             = "";
            txtCategory.Text            = "";
            txtSubcategory.Text         = "";

            frmArticleList frm_ArticleList = new frmArticleList();

            frm_ArticleList.ShowDialog();

            if (!String.IsNullOrEmpty(GlobalClass.GlobalArticleId))
            {
                func_Retrieve_Article_Details();
            }
        }