Ejemplo n.º 1
0
 public Control GetRawEditor()
 {
     if (null == this._rawControl)
     {
         var richTextBox  = new CSharpEditor();
         var folderPrefix = this.FileName.Contains(".obj.") ? "DomainModel" : "Nodes";
         this._rawControl = richTextBox.CreateTab($@"E:\Projects\BWMT\BWM\DesktopClient\SigningModel\{folderPrefix}\{FileName}");
     }
     return(_rawControl);
 }
Ejemplo n.º 2
0
        public DesignEditor(EditorType type = EditorType.Action)
        {
            InitializeComponent();
            this.type = type;
            initializeEditorByType();
            this.classes = new List <ClassDef>();
            var csharpEditor = new CSharpEditor();

            this.tab = csharpEditor.CreateTab(null);
            this.groupBoxAction.Controls.Add(this.tab);
            BindData();
            DomainObjects_SelectedIndexChanged(this, EventArgs.Empty);
        }