Esempio n. 1
0
		public override void LoadPanelContents()
		{
			InitializeHelper();
			
			StringListEditor editor = new StringListEditor();
			editor.BrowseForDirectory = true;
			editor.ListCaption = StringParser.Parse("&${res:Dialog.ProjectOptions.ReferencePaths}:");
			editor.TitleText = StringParser.Parse("&${res:Global.Folder}:");
			editor.AddButtonText = StringParser.Parse("${res:Dialog.ProjectOptions.ReferencePaths.AddPath}");
			editor.ListChanged += delegate { IsDirty = true; };
			SemicolonSeparatedStringListBinding b = new SemicolonSeparatedStringListBinding(editor);
			helper.AddBinding("ReferencePath", b);
			this.Controls.Add(editor);
			b.CreateLocationButton(editor);
			
			helper.AddConfigurationSelector(this);
		}
Esempio n. 2
0
        public override void LoadPanelContents()
        {
            InitializeHelper();

            StringListEditor editor = new StringListEditor();

            editor.BrowseForDirectory = true;
            editor.ListCaption        = StringParser.Parse("&${res:Dialog.ProjectOptions.ReferencePaths}:");
            editor.TitleText          = StringParser.Parse("&${res:Dialog.ExportProjectToHtml.FolderLabel}");
            editor.AddButtonText      = StringParser.Parse("${res:Dialog.ProjectOptions.ReferencePaths.AddPath}");
            editor.ListChanged       += delegate { IsDirty = true; };
            SemicolonSeparatedStringListBinding b = new SemicolonSeparatedStringListBinding(editor);

            helper.AddBinding("ReferencePath", b);
            this.Controls.Add(editor);
            b.CreateLocationButton(editor);

            helper.AddConfigurationSelector(this);
        }