Exemplo n.º 1
0
        private void popup_FormClosed(object sender, FormClosedEventArgs e)
        {
            popup.FormClosed -= popup_FormClosed;

            //if (popup.DialogResult == DialogResult.OK)
            //{
            //    this.txtX.EditValue = popup.nX;
            //    this.txtY.EditValue = popup.nY;
            //}

            //OpenTag(gfloorInfo.FLR, "LDT");
            popup = null;
        }
Exemplo n.º 2
0
        private void OpenDlg(string s1)
        {
            popup = new frmDN17_Pop01();
            //popup.Owner = this;

            if (s1 == "1")
            {
                popup.pURL = lblpic1.Text;
            }
            else if (s1 == "2")
            {
                popup.pURL = lblpic2.Text;
            }
            else if (s1 == "3")
            {
                popup.pURL = lblpic3.Text;
            }

            popup.FormClosed += popup_FormClosed;
            popup.ShowDialog();
        }