예제 #1
0
 public static OnProgressForm GetInstance(object args)
 {
     if (_instance == null)
     {
         _instance = new OnProgressForm();
     }
     _instance.Focus();
     return(_instance);
 }
예제 #2
0
        protected override void OnClosed(EventArgs e)
        {
            base.OnClosed(e);

            _instance = null;
        }