private void chapterdatagridview_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (chapterdatagridview.Rows.Count >= 1)
     {
         if (e.ColumnIndex == 3)
         {
             this.Hide();
             NovelChapterReaderForm f1 = new NovelChapterReaderForm(_title, chapterdatagridview.CurrentRow.Cells["Link"].Value.ToString(), _sourcesite);
             f1.Closed += (s, args) => this.Close();
             f1.ShowDialog();
         }
     }
 }
        private void guna2Button3_Click(object sender, EventArgs e)
        {
            var data = DatabaseAccess.ContinueReading(_title, _sourcesite);

            if (!string.IsNullOrEmpty(data.chapterlink))
            {
                foreach (Control ctrl in this.Controls)
                {
                    ctrl.Dispose();
                    GC.Collect();
                    GC.WaitForPendingFinalizers();
                    GC.Collect();
                }
                this.Hide();
                NovelChapterReaderForm f1 = new NovelChapterReaderForm(_title, data.chapterlink, data.sourcesite);
                f1.Closed += (s, args) => this.Dispose();
                f1.ShowDialog();
            }
        }