Пример #1
0
        private void Ok()
        {
            if (Amount > 0)
            {
                PopupService?.Close(this);

                if (Amount > 0)
                {
                    DateTime date = SelectedDate ?? DateTime.Now;
                    _okAction?.Invoke(Amount, IsCollectingVoucher, date);
                }
            }
        }
 private void Ok()
 {
     PopupService?.Close(this);
     _okAction(Name, Email);
 }
Пример #3
0
 private void Cancel()
 {
     PopupService?.Close(this);
 }
 private void SaveArticle()
 {
     PopupService?.Close(this);
     _saveArticleAction(this);
 }