コード例 #1
0
        /// <summary>
        /// 启动程序
        /// </summary>
        public static void Main()
        {
            FrmSplash frmSplash = new FrmSplash(Init);

            winfromMain = frmSplash as ILoading;
            System.Windows.Forms.Application.Run(frmSplash);
        }
コード例 #2
0
ファイル: WinformGlobal.cs プロジェクト: hongfagj/efwplus
        /// <summary>
        /// 启动程序
        /// </summary>
        public static void Main()
        {
            AppGlobal.AppRootPath = System.Windows.Forms.Application.StartupPath + "\\";
            AppGlobal.appType     = AppType.Winform;
            AppGlobal.IsSaas      = System.Configuration.ConfigurationManager.AppSettings["IsSaas"] == "true" ? true : false;
            FrmSplash frmSplash = new FrmSplash(Init);

            winfromMain = frmSplash as ILoading;
            System.Windows.Forms.Application.Run(frmSplash);
        }