예제 #1
0
 private void btnViewImg_Click(object sender, EventArgs e)
 {
     try
     {
         Frm_ImgDoc a = new Frm_ImgDoc(DocID, "Report");
         a.ShowDialog();
     }
     catch (Exception) { }
 }
예제 #2
0
 private void btnImageView_Click(object sender, EventArgs e)
 {
     if (txtID.Text.Equals(""))
     {
         MessageBox.Show("الرجاء اختيار مستند محدد");
     }
     else
     {
         try
         {
             Frm_ImgDoc a = new Frm_ImgDoc(txtID.Text, "Management");
             a.ShowDialog();
         }
         catch (Exception) { }
     }
 }