Пример #1
0
        private void OpenDlg(string s1)
        {
            popup = new frmGSHOP12_Pop01();
            //popup.Owner = this;

            if (s1 == "1")
            {
                popup.pURL = txtPic_Url1.Text;
            }
            else if (s1 == "2")
            {
                popup.pURL = txtPic_Url2.Text;
            }
            else if (s1 == "3")
            {
                popup.pURL = txtPic_Url3.Text;
            }
            else if (s1 == "4")
            {
                popup.pURL = txtPic_Url4.Text;
            }
            else if (s1 == "5")
            {
                popup.pURL = txtPic_Url5.Text;
            }

            popup.FormClosed += popup_FormClosed;
            popup.ShowDialog();
        }
Пример #2
0
        private void popup_FormClosed(object sender, FormClosedEventArgs e)
        {
            popup.FormClosed -= popup_FormClosed;

            //OpenTag(gfloorInfo.FLR, "LDT");
            popup = null;
        }
Пример #3
0
        private void OpenDlg()
        {
            popup = new frmGSHOP12_Pop01();
            //popup.Owner = this;

            popup.pURL = txtURL.EditValue.ToString();


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