public async Task InitializeAsync()
        {
            using (var session = _performanceProfiler.CreateSession())
            {
                await RestoreAppearanceAsync();

                LogConsole.Initialize();
                session.LogWithPerformance("Application started");
            }
        }
Beispiel #2
0
 /// <summary>
 /// Called when the mainform is ready
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MainForm_Shown(object sender, EventArgs e)
 {
     LogConsole.Initialize();
     this.FocusInputField();
 }