Beispiel #1
0
        private void _syncStartControl1_RepositoryChosen(object sender, SyncStartArgs args)
        {
            _syncStartControl.Visible = false;
            _syncControl.Visible      = true;
            Height = _syncControl.DesiredHeight;
            ResumeLayout(true);
#if MONO
            _syncControl.Refresh();
#endif
            _syncControl.Model.SyncOptions.RepositorySourcesToTry.Clear();
            _syncControl.Model.SyncOptions.RepositorySourcesToTry.Add(args.Address);
            if (!string.IsNullOrEmpty(args.CommitMessage))
            {
                _syncControl.Model.SyncOptions.CheckinDescription += " " + args.CommitMessage;
            }
            _syncControl.Synchronize(true);
        }
Beispiel #2
0
 private void _syncStartControl1_RepositoryChosen(object sender, SyncStartArgs args)
 {
     _syncStartControl.Visible = false;
     _syncControl.Visible = true;
     Height = _syncControl.DesiredHeight;
     ResumeLayout(true);
     #if MONO
     _syncControl.Refresh();
     #endif
     _syncControl.Model.SyncOptions.RepositorySourcesToTry.Clear();
     _syncControl.Model.SyncOptions.RepositorySourcesToTry.Add(args.Address);
     if(!string.IsNullOrEmpty(args.CommitMessage))
     {
         _syncControl.Model.SyncOptions.CheckinDescription += " "+ args.CommitMessage;
     }
     _syncControl.Synchronize(true);
 }