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

            _instance = null;
        }