Пример #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            FrmKayıtForm fr = new FrmKayıtForm();

            fr.Show();
            this.Hide();
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text == "admin" && textBox2.Text == "12345")
            {
                FrmKayıtForm fr = new FrmKayıtForm();
                fr.Show();
                this.Hide();
            }
            else
            {
                MessageBox.Show("Hatalı giriş yaptınız.Lütfen tekrar deneyiniz.");
            }

            textBox2.Clear();
        }