//Displays MainWindow after clicking on TaskIcon public void Execute(object parameter) { ShowClass.ShowMain(); }
private void TaskIcon_TrayBalloonTipClicked(object sender, RoutedEventArgs e) { ShowClass.ShowMain(); }