/// <summary> /// 最新章节点击 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Lab_Update_Chapter_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (Lab_Update_Chapter.Tag != null) { if (this.OwnedForms.Count() > 0) { (this.OwnedForms[0] as Frm_Fiction_Chapter_Content).Tcl_Now = new tb_chapter_list() { col_chapter_url = Lab_Update_Chapter.Tag.ToString(), col_chapter_name = Lab_Update_Chapter.Text }; (this.OwnedForms[0] as Frm_Fiction_Chapter_Content).I_Index = _tfdi_All_Info._ltcl_Chapter.Count - 1; } else { _3_UIL.Frm_Fiction_Chapter_Content _ffcc = new Frm_Fiction_Chapter_Content( new tb_chapter_list() { col_chapter_url = Lab_Update_Chapter.Tag.ToString(), col_chapter_name = Lab_Update_Chapter.Text } , _tfdi_All_Info._ltcl_Chapter.Count() - 1); _ffcc.Text = Lab_Fiction_Name.Text; _ffcc.Owner = this; _ffcc.Show(); } } }
/// <summary> /// 双击预览 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Lv_Chapter_List_MouseDoubleClick(object sender, MouseEventArgs e) { if (Lv_Chapter_List.SelectedItems.Count > 0) { if (this.OwnedForms.Count() > 0) { (this.OwnedForms[0] as Frm_Fiction_Chapter_Content).Tcl_Now = Lv_Chapter_List.SelectedItems[0].Tag as tb_chapter_list; (this.OwnedForms[0] as Frm_Fiction_Chapter_Content).I_Index = Lv_Chapter_List.SelectedItems[0].Index; } else { _3_UIL.Frm_Fiction_Chapter_Content _ffcc = new Frm_Fiction_Chapter_Content(Lv_Chapter_List.SelectedItems[0].Tag as tb_chapter_list, Lv_Chapter_List.SelectedItems[0].Index); _ffcc.Text = Lab_Fiction_Name.Text; _ffcc.Owner = this; _ffcc.Show(); } } }