private void btnRendererOptions_Click(object Sender, EventArgs E) { if (_CachedConfigForm == null) { IRenderer Renderer = RendererManager.Instance().InstantiateRenderer((_SelectedRenderer).RendererName); _CachedConfigForm = Renderer.ConfigurationForm; } if (_CachedConfigForm == null) { MessageBox.Show(". does not have an advanced configuration.", "No Advanced Configuration", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { _CachedConfigForm.ConfigStrings = _RenderingConfig.AdvancedRenderOptions; _CachedConfigForm.ShowDialog(this); _RenderingConfig.AdvancedRenderOptions = _CachedConfigForm.ConfigStrings; QueuePreview(); } }
private void cbRenderer_SelectedIndexChanged(object Sender, EventArgs E) { _SelectedRenderer = (RendererListEntry)cbRenderer.SelectedItem; _CachedConfigForm = null; }