Esempio n. 1
0
        private void btnRestart_Click(object sender, RoutedEventArgs e)
        {
            TVMUtility.PlayClick();

            var result = MessageBoxOperations.ShowMessage("RESTART", "Are you sure you want to Restart the TVM?", MessageBoxButtonSet.YesNo);

            if (result == Custom.MessageBoxResult.OK)
            {
                TVMUtility.RestartSystem();
            }
        }