예제 #1
0
 private void btnSearch_Click(object sender, EventArgs e)
 {
     try
     {
         var frm = new frmSelectProduct(cls?.AppSerial);
         if (frm.ShowDialog() != DialogResult.OK)
         {
             return;
         }
         var list = frm.PrdList;
         var code = "";
         foreach (var item in list)
         {
             code += item.Code;
         }
         txtAppSerial.Text = code;
     }
     catch (Exception ex)
     {
         WebErrorLog.ErrorInstence.StartErrorLog(ex);
     }
 }
예제 #2
0
        private void btnAddProduct_Click(object sender, EventArgs e)
        {
            frmSelectProduct selProduct = new frmSelectProduct();

            selProduct.ShowDialog();
        }