///------------------------------------------------------------------------------------------------- /// \fn public static MainWin GetInstance() /// /// \brief Gets the instance /// /// \return The instance. ///------------------------------------------------------------------------------------------------- public static MainWin GetInstance() { if (mInstance == null) { mInstance = new MainWin(); } return(mInstance); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(MainWin.GetInstance()); }