예제 #1
0
 public static FormDownloadCore GetForm()
 {
     if (_instant == null || _instant.IsDisposed)
     {
         _instant = new FormDownloadCore();
     }
     return(_instant);
 }
예제 #2
0
 public static FormDownloadCore ShowForm()
 {
     if (_instant == null || _instant.IsDisposed)
     {
         VgcApis.Misc.UI.Invoke(() =>
         {
             _instant = new FormDownloadCore();
         });
     }
     VgcApis.Misc.UI.Invoke(() => _instant.Show());
     return(_instant);
 }