Exemplo n.º 1
0
 public static TXTDebugWindow CreateInstance(string filepath = null)
 {
     if (_instance == null)
     {
         _instance = new TXTDebugWindow(filepath);
     }
     else
     {
         _instance.path = filepath;
         _instance.Activate();
     }
     return(_instance);
 }
Exemplo n.º 2
0
 private void TXTDebugWindow_Closed(object sender, EventArgs e)
 {
     _instance = null;
 }