private KryptonPage BuildOneKetiReadmePage(string ketiID, string ketiName)
        {
            KryptonPage kp = new KryptonPage();

            kp.Name = ketiID;
            kp.Text = ketiName;
            kp.Tag  = "KeTiDynamic";

            KeTiDetailEditor rtfTextEditor = new KeTiDetailEditor();

            rtfTextEditor.TitleLabelText = "课题(" + ketiName + ")详细内容";
            rtfTextEditor.Dock           = DockStyle.Fill;
            rtfTextEditor.BackColor      = Color.White;

            rtfTextEditor.RTFFileFirstName = "keti_" + rtfTextEditor.RTFFileFirstName;
            rtfTextEditor.Name             = rtfTextEditor.RTFEditorNameKey + ketiID;
            rtfTextEditor.RefreshView();
            rtfTextEditor.NextEvent += RtfTextEditor_NextEvent;

            kp.Controls.Add(rtfTextEditor);

            //插入到课题关系之后
            ParentNavigator.Pages.Add(kp);
            return(kp);
        }
        private void RtfTextEditor_NextEvent(object sender, EventArgs args)
        {
            KeTiDetailEditor textEditor = (KeTiDetailEditor)sender;

            #region 保存过程
            ProjectReporter.Forms.UIDoWorkProcessForm upf = new Forms.UIDoWorkProcessForm();
            upf.EnabledDisplayProgress = false;
            upf.LabalText = "正在保存,请等待...";
            upf.ShowProgress();

            try
            {
                //保存
                textEditor.OnSaveEvent();
            }
            catch (Exception ex)
            {
                MessageBox.Show("保存失败!Ex:" + ex.ToString());
            }
            finally
            {
                upf.Close();
            }
            #endregion

            if (textEditor.DetailTabs.Pages.Count - 1 == textEditor.DetailTabs.SelectedIndex)
            {
                if (ParentNavigator.Pages.Count - 1 == ParentNavigator.SelectedIndex)
                {
                    //切换到下一页
                    MainForm.Instance.SwitchToNextPage(MainForm.Instance.EditorMaps["feUI7"]);
                }
                else
                {
                    ParentNavigator.SelectedIndex += 1;
                }
            }
            else
            {
                textEditor.DetailTabs.SelectedIndex += 1;
            }
        }