예제 #1
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (intSaleReturnId == 0)
     {
         MessageBox.Show("กรุณาเลือกรายการก่อนค่ะ");
     }
     else
     {
         SaleReturn.frmEditSaleReturn frm = new frmEditSaleReturn();
         frm.setSaleReturnId = intSaleReturnId.ToString();
         frm.ShowDialog();
     }
 }
예제 #2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     SaleReturn.frmEditSaleReturn frm = new frmEditSaleReturn();
     frm.setSaleReturnId = lblSaleReturnId.Text.Trim();
     frm.ShowDialog();
 }