상속: MonoDevelop.VersionControl.VersionControlTask
예제 #1
0
		protected override void Run()
		{
			SelectRepositoryDialog del = new SelectRepositoryDialog (SelectRepositoryMode.Checkout);
			try {
				if (MessageService.RunCustomDialog (del) == (int) Gtk.ResponseType.Ok && del.Repository != null) {
					CheckoutWorker w = new CheckoutWorker (del.Repository, del.TargetPath);
					w.Start ();
				}
			} finally {
				del.Destroy ();
			}
		}
예제 #2
0
        protected override void Run()
        {
            SelectRepositoryDialog del = new SelectRepositoryDialog(SelectRepositoryMode.Checkout);

            try {
                if (MessageService.RunCustomDialog(del) == (int)Gtk.ResponseType.Ok && del.Repository != null)
                {
                    CheckoutWorker w = new CheckoutWorker(del.Repository, del.TargetPath);
                    w.Start();
                }
            } finally {
                del.Destroy();
            }
        }