private MessageBoxViewModel AddAndShowMessageBoxViewModel(MessageBoxViewModel messageBoxViewModel) { _messages.Push(messageBoxViewModel); RaisePropertyChanged("IsVisible"); RaisePropertyChanged("CurrentMessage"); return(messageBoxViewModel); }
private MessageBoxViewModel CreateAndShowMessageBox(string title, string message, long interval, long timeout, MessageBoxButtons messageBoxButtons) { var messageBoxViewModel = new MessageBoxViewModel(title, message, interval, timeout, messageBoxButtons); return(AddAndShowMessageBoxViewModel(messageBoxViewModel)); }
private MessageBoxViewModel CreateAndShowMessageBox(string title, string message, MessageBoxButtons messageBoxButtons) { var messageBoxViewModel = new MessageBoxViewModel(title, message, messageBoxButtons); return(AddAndShowMessageBoxViewModel(messageBoxViewModel)); }