Exemple #1
0
        public void AddRTE(string fileName)
        {
            RTE rte = new RTE();

            if (fileName != null && fileName != "")
            {
                rte.LoadFile(fileName);
            }
            rte.Show(DockConatiner, DockState.Document);
            rte.ControlChanged += editor_ControlChanged;
            rte.FormClosing    += DockFormClosing;
            FormRefresh();
        }
Exemple #2
0
 public void AddRTE(string fileName)
 {
     RTE rte = new RTE();
     if (fileName != null && fileName != "") rte.LoadFile(fileName);
     rte.Show(DockConatiner, DockState.Document);
     rte.ControlChanged += editor_ControlChanged;
     rte.FormClosing += DockFormClosing;
     FormRefresh();
 }