private void ContinueReadButton_Click(object sender, EventArgs e) { if (IsInternetAvailable()) { this.Hide(); Read_Interface readInter = new Read_Interface(bookURL); readInter.ShowDialog(); this.Show(); } else { MessageBox.Show("Please check your network"); } }
private void BeginReadButton_Click(object sender, EventArgs e) { if (IsInternetAvailable()) { if (TotalChapNo > 0) { ContinueReadButton.Visible = true; this.Hide(); Read_Interface.pageNumber = 1; Read_Interface readInter = new Read_Interface(bookURL); readInter.ShowDialog(); this.Show(); } else { MessageBox.Show("Sorry,The contents haven't been put on now"); } } else { MessageBox.Show("Please check your network"); } }