Exemple #1
0
        public static OpenStringListEditorEvent <ControlType> SymbolsEditor(XmlUserControl parent, string controlId)
        {
            OpenStringListEditorEvent <ControlType> editor = new OpenStringListEditorEvent <ControlType>(parent, controlId);

            editor.ShowBrowseButton = false;
            editor.TitleText        = StringParser.Parse("${res:ICSharpCode.CppBinding.ProjectOptions.SymbolLabel}:");
            return(editor);
        }
Exemple #2
0
        public static OpenStringListEditorEvent <ControlType> DirectoriesEditor(XmlUserControl parent, string controlId)
        {
            OpenStringListEditorEvent <ControlType> editor = new OpenStringListEditorEvent <ControlType>(parent, controlId);

            editor.ShowBrowseButton = true;
            editor.TitleText        = StringParser.Parse("${res:Dialog.ExportProjectToHtml.FolderLabel}");
            return(editor);
        }
        public static OpenStringListEditorEvent <ControlType> DirectoriesEditor(XmlUserControl parent, string controlId)
        {
            OpenStringListEditorEvent <ControlType> editor = new OpenStringListEditorEvent <ControlType>(parent, controlId);

            editor.ShowBrowseButton = true;
            editor.TitleText        = StringParser.Parse("${res:Global.Folder}:");
            return(editor);
        }
Exemple #4
0
 public OpenStringListEditorEvent(XmlUserControl parent, string controlId)
 {
     this.sourceControl    = parent.Get <ControlType>(controlId);
     this.listCaption      = parent.Get <Label>(controlId).Text;
     this.ShowBrowseButton = false;
 }