예제 #1
0
 public static GearVarNameUsageInventoryForm GetInstance(GearInventoryForm parentForm)
 {
     if (_instance == null)
     {
         _instance = new GearVarNameUsageInventoryForm(parentForm);
     }
     return(_instance);
 }
예제 #2
0
 private void OnFormClosed(object sender, FormClosedEventArgs e)
 {
     _instance = null;
     global.SaveFormSettings(this);
 }