Esempio 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();
        }
Esempio 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();
        }
Esempio 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();
 }
Esempio 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();
 }