protected internal static PopUpFormAdvance Intance() { if (_instance == null) { _instance = new PopUpFormAdvance(); } return(_instance); }
private void listViewSV_DoubleClick(object sender, EventArgs e) { PopUpFormAdvance pop = PopUpFormAdvance.Intance(); pop.lblID.Text = listViewSV.SelectedItems[0].Text; pop.txtNumber.Text = listViewSV.SelectedItems[0].SubItems[3].Text; pop.lblForm.Text = this.ToString(); pop.ShowDialog(); }