public void Initialize(object options, bool wasCreatedFromOptions) { if (options is Xml.Settings.General.Options) { _options = (Xml.Settings.General.Options)options; _uiTargets.DataSource = _options.NuGetOptions.Targets; } }
public void Initialize(object options, bool wasCreatedFromOptions) { if (options is Xml.Settings.General.Options) { _options = (Xml.Settings.General.Options)options; _uiMsBuilds.DataSource = _options.MsBuildOptions.ExePaths; } }
public void Initialize(object options, bool wasCreatedFromOptions) { if (options is Xml.Settings.General.Options) { _options = (Xml.Settings.General.Options)options; _uiNuGetServers.DataSource = _options.NuGetOptions.Servers; _blockEvents = true; _uiNuGetServerUsage.DataSource = _serverUsageNames.Values.ToList(); _uiNuGetExePath.Text = _options.NuGetOptions.ExePath; _blockEvents = false; _uiNuGetServerUsage.SelectedItem = _serverUsageNames[_options.NuGetOptions.ServerUsage]; } }