void AddPackageSourceAndCloseDialog() { if (viewModel.CanAddPackageSource) { viewModel.AddPackageSource(); Close(); } }
void AddButtonClicked(object sender, EventArgs e) { viewModel.AddPackageSource(); UpdateEnabledButtons(); }
void AddPackageSourceAndCloseDialog() { if (viewModel.CanAddPackageSource) { viewModel.AddPackageSource(); Close(); } }
void AddButtonClicked(object sender, EventArgs e) { viewModel.AddPackageSource(); UpdateEnabledButtons(); }