コード例 #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);
        }