Example #1
0
 protected void Application_Start(object sender, EventArgs e)
 {
     // 应用程序启动时创建PaoApplication
     AppPublic.StartApplication(AppPublic.DefaultConfigFileName
                                , Settings.Default.ConfigStart ? (Func <PaoApplication>)null : RemoteOperationWeb.AppConfig.CreateApplication
                                , PrepareAppliation);
 }
Example #2
0
 private void Application_Startup(object sender, StartupEventArgs e)
 {
     // 应用程序启动时创建PaoApplication
     AppPublic.StartApplication(AppPublic.DefaultConfigFileName
                                , Settings.Default.ConfigStart? (Func <PaoApplication>)null : AppConfig.CreateApplication
                                , PrepareAppliation);
 }
Example #3
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     // 应用程序启动时创建PaoApplication
     AppPublic.StartApplication(Settings.Default.ConfigStart
                                , AppPublic.DefaultConfigFileName
                                , CreateApplication
                                , PrepareAppliation);
 }