예제 #1
0
파일: PopupForm.cs 프로젝트: kduy410/QLKS
 protected internal static PopupForm Intance()
 {
     if (_instance == null)
     {
         _instance = new PopupForm();
     }
     return(_instance);
 }
예제 #2
0
파일: LsItemForm.cs 프로젝트: kduy410/QLKS
        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();
        }