Пример #1
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     if (this.guid == Guid.Empty || this.guid == null)
     {
         return;
     }
     UI.Forms.BaseDataManage.Form_Photo frm = new BaseDataManage.Form_Photo(1104, this.guid);
     if (!this.button1.Visible)
     {
         SetControls.SetControlReadonly(frm, true);
     }
     frm.ShowDialog();
 }
Пример #2
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     if (this.MmedicalInstitutionPermit == null)
     {
         return;
     }
     UI.Forms.BaseDataManage.Form_Photo frm = new BaseDataManage.Form_Photo(1110, this.MmedicalInstitutionPermit.Id);
     if (!this.button1.Visible)
     {
         SetControls.SetControlReadonly(frm, true);
     }
     frm.ShowDialog();
 }