public void AddScintilla(string fileName) { ScintillaEditor sce = new ScintillaEditor(); if (fileName != null && fileName != "") { sce.LoadFile(fileName); } sce.Show(DockConatiner, DockState.Document); sce.ControlChanged += editor_ControlChanged; sce.FormClosing += DockFormClosing; FormRefresh(); }
public void AddScintilla(string fileName) { ScintillaEditor sce = new ScintillaEditor(); if (fileName != null && fileName != "") sce.LoadFile(fileName); sce.Show(DockConatiner, DockState.Document); sce.ControlChanged += editor_ControlChanged; sce.FormClosing += DockFormClosing; FormRefresh(); }