Exemplo n.º 1
0
        public static bool ShowCloseApplicationMessageBox()
        {
            var messageBox = new MahAppsMessageBox();

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

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

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