Exemplo n.º 1
0
 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");
     }
 }
Exemplo n.º 2
0
        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");
            }
        }