Beispiel #1
0
 private void btnShowPic_Click(object sender, EventArgs e)
 {
     try
     {
         this.fun_getPatientImageByIDTableAdapter.Fill(dentistDataSet.fun_getPatientImageByID, int.Parse(GlobalVariable._Pat_id));
         int rotateOrder = int.Parse(this.fun_getPatientImageByIDTableAdapter.GetData(int.Parse(GlobalVariable._Pat_id)).Rows[0]["pat_image_order"].ToString());
         for (int i = 0; i < rotateOrder; i++)
         {
             GlobalMethod.rotateimage(pictureBox1);
         }
     }
     catch (Exception t)
     {
         GlobalMethod.HandleException("frm_patient_detail + btnShowPic_Click :" + t.Message + t.StackTrace);
     }
 }