Exemplo n.º 1
0
        public void LoadTextInEditor(string aText)
        {
            ICSharpCodeEditor editor = new ICSharpCodeEditor();

            editor.SetText(aText);
            editor.Show(DockConatiner, DockState.Document);
            editor.ControlChanged += editor_ControlChanged;
            FormRefresh();
        }
Exemplo n.º 2
0
        public void AddICSharpEditor(string fileName)
        {
            ICSharpCodeEditor editor = new ICSharpCodeEditor();

            if (fileName != null && fileName != "")
            {
                editor.LoadFile(fileName);
            }
            editor.Show(DockConatiner, DockState.Document);
            editor.ControlChanged += editor_ControlChanged;
            editor.FormClosing    += DockFormClosing;
            FormRefresh();
        }
Exemplo n.º 3
0
 public void LoadTextInEditor(string aText)
 {
     ICSharpCodeEditor editor = new ICSharpCodeEditor();
     editor.SetText(aText);
     editor.Show(DockConatiner, DockState.Document);
     editor.ControlChanged += editor_ControlChanged;
     FormRefresh();
 }
Exemplo n.º 4
0
 public void AddICSharpEditor(string fileName)
 {
     ICSharpCodeEditor editor = new ICSharpCodeEditor();
     if (fileName != null && fileName != "") editor.LoadFile(fileName);
     editor.Show(DockConatiner, DockState.Document);
     editor.ControlChanged += editor_ControlChanged;
     editor.FormClosing += DockFormClosing;
     FormRefresh();
 }