示例#1
0
 /// <summary>
 /// 전역에 선언한 변수들을 생성자의 파라미터로 전달
 /// 작성자: 최현호 / 작성일: 210210
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void newBtns_btnUpdate_Event(object sender, EventArgs e)
 {
     try
     {
         string headerName         = "품목 수정";
         frmProductManagePopUp frm = new frmProductManagePopUp(headerName, product_id, product_name, product_type, product_unit, w_name, product_lorder_count, product_safety_count, company_name, product_exam, company_id, w_id, product_stnd, product_comment, product_deleted);
         frm.Show();
     }
     catch (Exception err)
     {
         MessageBox.Show(err.Message);
     }
 }
示例#2
0
 /// <summary>
 /// 팝업폼의 제목이 될 HeaderName을 생성자의 파라미터로 전달
 /// 작성자: 최현호 / 작성일: 210210
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void newBtns_btnCreate_Event(object sender, EventArgs e)
 {
     try
     {
         string headerName         = "품목 등록";
         frmProductManagePopUp frm = new frmProductManagePopUp(headerName);
         frm.Show();
     }
     catch (Exception err)
     {
         MessageBox.Show(err.Message);
     }
 }