예제 #1
0
 private void itemLog_Click(object sender, EventArgs e)
 {
     if (frmLog.Instance != null)
     {
         frmLog.Instance.Show();
     }
     else
     {
         frmLog fLog = new frmLog();
         fLog.Owner = this;
         fLog.Show(this);
     }
 }
예제 #2
0
 protected override void OnClosed(EventArgs e)
 {
     base.OnClosed(e);
     instance = null;
 }
예제 #3
0
 protected override void OnShown(EventArgs e)
 {
     base.OnShown(e);
     instance = this;
 }