private void Application_Startup(object sender, StartupEventArgs e) { SplitArgs Args = new SplitArgs(Environment.GetCommandLineArgs()); TraceFactory.AddTraceDefaultLogFilename(); ApplicationInfo.ApplicationStart(); }
static void Main(string[] args) { SplitArgs Args = new SplitArgs(args); //TraceFactory.AddTraceConsole(); TraceFactory.AddTraceDefaultLogFilename(); ApplicationInfo.ApplicationStart(); Test(); ConsoleExtension.Pause(); ApplicationInfo.ApplicationStop(); }