protected override void OnExit(ExitEventArgs e) { base.OnExit(e); ConsoleLogHelper.CloseConsole(); }
private void Button_Click_error(object sender, RoutedEventArgs e) { Excute((i) => { ConsoleLogHelper.WriteLineError($"error-->{i.ToString()}"); }); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); ConsoleLogHelper.OpenConsole(); }