private void openLogWindow_Click(object sender, RoutedEventArgs e) { var window = new LogWindow(); window.Show(); }