private void popup_FormClosed(object sender, FormClosedEventArgs e) { popup.FormClosed -= popup_FormClosed; //OpenTag(gfloorInfo.FLR, "LDT"); popup = null; }
private void OpenDlg(string s1) { popup = new frmDT02_Pop02(); //popup.Owner = this; if (s1 == "1") { if (txtTab3_imgpath.EditValue.ToString() == "") { txtTab3_imgpath.EditValue = "http://media.domalife.net:8080/files/product/donutbiz/mori_00000009/2019101884241596.jpg"; } else { popup.pURL = txtTab3_imgpath.EditValue.ToString(); } } popup.FormClosed += popup_FormClosed; popup.ShowDialog(); }