Ejemplo n.º 1
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            Form1 f = new Form1();

            f.Close();
            EczaDeposu1 err = new EczaDeposu1();

            err.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
        private void depogbtn_Click(object sender, EventArgs e)
        {
            string a = textBox1.Text;
            string b = textBox2.Text;
            bool   s = baglan(a, b);

            if (s == true)
            {
                EczaDeposu1 cs = new EczaDeposu1();
                this.Hide();
                cs.ShowDialog();
                this.Close();
            }
            else
            {
                MessageBox.Show("Kullanıcı adı yada şifre yanlış", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }