private void btnShutDown_Click(object sender, RoutedEventArgs e) { TVMUtility.PlayClick(); var result = MessageBoxOperations.ShowMessage("SHUTDOWN", "Are you sure you want to Shutdown the TVM?", MessageBoxButtonSet.YesNo); if (result == Custom.MessageBoxResult.OK) { TVMUtility.ShutDownSystem(); } }