Exemplo n.º 1
0
 public static AllSpeciesForm GetInstance(MainForm parent)
 {
     if (_instance == null)
     {
         _instance = new AllSpeciesForm(parent);
     }
     return(_instance);
 }
Exemplo n.º 2
0
 private void OnFormClosing(object sender, FormClosingEventArgs e)
 {
     global.SaveFormSettings(this);
     _instance = null;
 }