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