public static void ShowTabbedOptions(string dialogTitle, AddInTreeNode node) { TabbedOptions o = new TabbedOptions(dialogTitle, node); o.Width = 450; o.Height = 425; o.FormBorderStyle = FormBorderStyle.FixedDialog; o.ShowDialog(ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.MainForm); o.Dispose(); }
public OptionTabPage(TabbedOptions options, IOptionPanelDescriptor descriptor) { this.options = options; this.descriptor = descriptor; string title = StringParser.Parse(descriptor.Label); this.Header = title; placeholder = new TextBlock { Text = title }; placeholder.IsVisibleChanged += placeholder_IsVisibleChanged; this.Content = placeholder; }
public OptionTabPage(TabbedOptions options, IOptionPanelDescriptor descriptor) { this.options = options; this.descriptor = descriptor; string title = StringParser.Parse(descriptor.Label); this.Header = title; placeholder = new TextBlock { Text = title }; placeholder.IsVisibleChanged += placeholder_IsVisibleChanged; this.Content = placeholder; }