예제 #1
0
        private void ShowFrmCategoryAddOrModify(HandleStatus status, CategoryInfo category)
        {
            this.Hide();
            FrmCategoryAddOrModify fcam = FrmCategoryAddOrModify.Single(status, category);

            fcam.FormClosed += fcam_FormClosed;
            fcam.Show();
        }
        private void ShowFrmCategoryAddOrModify(int temp, CategoryInfo c)
        {
            this.Hide();
            FrmCategoryAddOrModify fcam = FrmCategoryAddOrModify.Single(temp, c);

            fcam.FormClosed += new FormClosedEventHandler(fcam_FormClosed);
            fcam.Show();//显示商品类别信息新增或者修改的窗体
        }