Exemple #1
0
 public static void ClearInstance()
 {
     if (_instance != null)
     {
         _instance.Close();
         _instance.Dispose();
         _instance = null;
     }
 }
Exemple #2
0
        public static FrmNavigator GetInstance()
        {
            if (_instance == null)
            {
                _instance = new FrmNavigator();
            }

            return(_instance);
        }