Example #1
0
 protected internal static PopupForm Intance()
 {
     if (_instance == null)
     {
         _instance = new PopupForm();
     }
     return(_instance);
 }
Example #2
0
        private void listViewSV_DoubleClick(object sender, EventArgs e)
        {
            PopupForm pf = PopupForm.Intance();

            pf.lblID.Text     = listViewSV.SelectedItems[0].Text;
            pf.txtNumber.Text = listViewSV.SelectedItems[0].SubItems[3].Text;
            pf.lblForm.Text   = this.ToString();
            pf.ShowDialog();
        }