public void LoadTextInEditor(string aText) { ICSharpCodeEditor editor = new ICSharpCodeEditor(); editor.SetText(aText); editor.Show(DockConatiner, DockState.Document); editor.ControlChanged += editor_ControlChanged; FormRefresh(); }
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(); }
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(); }