예제 #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (_singleInstanceForm == null)
     {
         _singleInstanceForm = new SingleInstance_MainForm();
         _singleInstanceForm.Disposed += new EventHandler(_singleInstanceForm_Disposed);
     }
     _singleInstanceForm.Show();
 }
예제 #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (_singleInstanceForm == null)
     {
         _singleInstanceForm           = new SingleInstance_MainForm();
         _singleInstanceForm.Disposed += new EventHandler(_singleInstanceForm_Disposed);
     }
     _singleInstanceForm.Show();
 }
예제 #3
0
 void _singleInstanceForm_Disposed(object sender, EventArgs e)
 {
     _singleInstanceForm = null;
 }
예제 #4
0
 void _singleInstanceForm_Disposed(object sender, EventArgs e)
 {
     _singleInstanceForm = null;
 }