Example #1
0
 private void UcMerger_DoubleClick(object sender, EventArgs e)
 {
     if (!this.IsQualityAlert)
     {//不是质控提醒进入
         if (!Flag)
         {
             Class_Record_Monitor_View q = (Class_Record_Monitor_View)this.Tag;
             frmHint f;
             if (IsVisDoctor)
             {
                 f = new frmHint(false, q, Name, true, img_yel, img_red);
             }
             else
             {
                 f = new frmHint(q, Name, true, img_yel, img_red);
             }
             f.ShowDialog();
         }
         else
         {
             if (this.Parent.Parent.Parent.GetType().Name.Contains("frmHint"))
             {
                 frmHint frmhint = this.Parent.Parent.Parent as frmHint;
                 frmhint.uc_DoubleClick(lblDocName.Text);
             }
         }
     }
 }
Example #2
0
 private void UcLight_DoubleClick(object sender, EventArgs e)
 {
     if (!IsQualityAlert)
     {//质控提醒界面进入
         if (!Flag)
         {
             Class_Record_Monitor_View q = (Class_Record_Monitor_View)this.Tag;
             if (q.PV != 3)
             {
                 frmHint f = new frmHint(q, Name, img_light);
                 f.ShowDialog();
             }
             else
             {
                 frmHint f = new frmHint(q, Name, img_light, IsVisDoctor);
                 f.ShowDialog();
             }
         }
         else
         {
             if (this.Parent.Parent.Parent.GetType().Name.Contains("frmHint"))
             {
                 frmHint frmhint = this.Parent.Parent.Parent as frmHint;
                 frmhint.uc_DoubleClick(lblDocName.Text);
             }
         }
     }
 }