Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
 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();
 }