Beispiel #1
0
        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();
        }
Beispiel #2
0
 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();
 }