コード例 #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();
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: NikolayIT/NStudio
 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();
 }