Esempio n. 1
0
        private void OnCommitted(CommitResultEventArgs e)
        {
            var message = e.CommitResult.Message;

            if (!string.IsNullOrWhiteSpace(message))
            {
                PopupsStack.PushNotification(new PlainTextNotificationContent(message)
                {
                    Text = Resources.StrCommit
                });
            }
        }
Esempio n. 2
0
 private void OnCommitted(object sender, CommitResultEventArgs e)
 {
     if (_guiProvider.Environment.InvokeRequired)
     {
         try
         {
             _guiProvider.Environment.BeginInvoke(
                 new Action <CommitResultEventArgs>(OnCommitted), new object[] { e });
         }
         catch (ObjectDisposedException)
         {
         }
     }
     else
     {
         OnCommitted(e);
     }
 }