예제 #1
0
        public static bool ShowCloseApplicationMessageBox()
        {
            var messageBox = new MahAppsMessageBox();

            return(messageBox.Show(MessagesResources.CloseApplicationQuestion, ApplicationResources.ApplicationName, MessageBoxButton.YesNo) == MessageBoxResult.Yes);
        }
예제 #2
0
        public static bool ShowDeleteMessageBox()
        {
            var messageBox = new MahAppsMessageBox();

            return(messageBox.Show(MessagesResources.DeleteSelectedItem, ApplicationResources.ApplicationName, MessageBoxButton.YesNo) == MessageBoxResult.Yes);
        }
예제 #3
0
        public static void ShowUpdateComplete()
        {
            var messageBox = new MahAppsMessageBox();

            messageBox.Show(MessagesResources.UpdateComplete, ApplicationResources.ApplicationName, MessageBoxButton.OK);
        }