private void LaunchProgram(object sender, RoutedEventArgs e)
{
MenuItem item = (MenuItem)sender;
try
{
System.Diagnostics.Process.Start(item.CommandParameter.ToString());
}
catch
{
CairoMessage.Show("The file could not be found. If you just removed this program, try removing it from the App Grabber to make the icon go away.", "Oops!", MessageBoxButton.OK, MessageBoxImage.Error);
}
}