Exemplo n.º 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();
        }
Exemplo n.º 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();
 }