Пример #1
0
		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();
		}
Пример #2
0
			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;
			}
Пример #3
0
            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;
            }