protected override void Run ()
		{
			try {
				ManagePackagesViewModel2 viewModel = CreateViewModel ();
				IPackageManagementEvents packageEvents = PackageManagementServices.PackageManagementEvents;
				var dialog = new ManagePackagesDialog2 (viewModel, packageEvents);
				MessageService.ShowCustomDialog (dialog);
			} catch (Exception ex) {
				MessageService.ShowException (ex);
			}
		}
Ejemplo n.º 2
0
 protected override void Run()
 {
     try {
         ManagePackagesViewModel2 viewModel     = CreateViewModel();
         IPackageManagementEvents packageEvents = PackageManagementServices.PackageManagementEvents;
         var dialog = new ManagePackagesDialog2(viewModel, packageEvents);
         MessageService.ShowCustomDialog(dialog);
     } catch (Exception ex) {
         MessageService.ShowException(ex);
     }
 }