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

            _instance = null;
        }