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(); }
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(); }