Esempio n. 1
0
        ///-------------------------------------------------------------------------------------------------
        /// \fn public static MainWin GetInstance()
        ///
        /// \brief Gets the instance
        ///
        /// \return The instance.
        ///-------------------------------------------------------------------------------------------------

        public static MainWin GetInstance()
        {
            if (mInstance == null)
            {
                mInstance = new MainWin();
            }
            return(mInstance);
        }
Esempio n. 2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(MainWin.GetInstance());
 }