示例#1
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            zoomweb zoomweb = new zoomweb(); //this is the change, code for redirect

            zoomweb.ShowDialog();
        }
示例#2
0
        public async void checkBox1_CheckedChanged(object sender, EventArgs e)
        {
            if (checkBox1.Checked == true)
            {
                textBox2.Hide();
                textBox3.Hide();
                label2.Hide();
                label3.Hide();
                textBox5.Show();
                label5.Show();
            }
            else
            {
                hideadds();
                showadds();
            }
            for (; ;)
            {
                if (isbuttonclicked == true && checkBox1.Checked == true)
                {
                    camefromsch = true;
                    int lmeettime = Convert.ToInt32(textBox1.Text);
                    schurl = textBox5.Text;
                    timertillmeet();
                    lmeettime = lmeettime * 60;
                    lmeettime = lmeettime * 1000;
                    await Task.Delay(lmeettime);

                    this.Hide();
                    zoomweb zoomweb = new zoomweb(); //this is the change, code for redirect
                    zoomweb.ShowDialog();
                }
                else
                {
                    await Task.Delay(50);
                }
            }
        }