public MainWindow() { InitializeComponent(); Diagnostics diagnostics = new Diagnostics(); diagnostics.Show(); }