public override bool Configure() { var dialog = new BasicAppConfigurationDialog((SdkApplication)(int)Application); if (dialog.ShowDialog() != System.Windows.Forms.DialogResult.OK) { return(false); } Application = (SDKApplication)(int)dialog.SelectedApplication; return(true); }
public override bool Configure() { var dialog = new BasicAppConfigurationDialog(application); if (dialog.ShowDialog() != System.Windows.Forms.DialogResult.OK) { return(false); } application = dialog.SelectedApplication; UpdateInfo(); return(true); }
public IAppInfoFactory Configure() { var dialog = new BasicAppConfigurationDialog(Application); return(dialog.ShowDialog() == DialogResult.OK ? new BasicAppFactory(dialog.SelectedApplication) : null); }