Esempio n. 1
0
        /// <summary>
        /// 打开窗口进行章节操作
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void operChapterBtn_Click(object sender, EventArgs e)
        {
            if (nidTxt.Text == "")
            {
                statusLabel.Text = "请先连接数据库,获取小说基本信息再进行章节操作";
                return;
            }
            ChapterForm cForm = new ChapterForm(int.Parse(baseIdTxt.Text), nidTxt.Text, nameTxt.Text, chapterEveryPageCount);

            cForm.ShowDialog();
        }
Esempio n. 2
0
 /// <summary>
 /// 打开窗口进行章节操作
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void operChapterBtn_Click(object sender, EventArgs e)
 {
     if (nidTxt.Text == "")
     {
         statusLabel.Text = "请先连接数据库,获取小说基本信息再进行章节操作";
         return;
     }
     ChapterForm cForm = new ChapterForm(int.Parse(baseIdTxt.Text), nidTxt.Text, nameTxt.Text,chapterEveryPageCount);
     cForm.ShowDialog();
 }