예제 #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);
        }
예제 #2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(MainWin.GetInstance());
 }