Пример #1
0
 protected override object CreateControlCore()
 {
     var codeEditor = new SmartVisualStudio(os, this.Value);
     editor = codeEditor;
     codeEditor.OnValueChanged += CodeEditor_OnValueChanged;
     ControlBindingProperty = "Code";
     return codeEditor;
 }
Пример #2
0
        protected override object CreateControlCore()
        {
            var codeEditor = new SmartVisualStudio(os, this.Value, SwitchProjectController.CurrentProject);

            editor = codeEditor;
            codeEditor.OnValueChanged += CodeEditor_OnValueChanged;
            ControlBindingProperty     = "Code";
            return(codeEditor);
        }