Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            UcusAra ucus = new UcusAra(this);

            ucus.Show();
            this.Hide();
        }
Exemplo n.º 2
0
        private void btnGiris_Click(object sender, EventArgs e)
        {
            if (db.Kullanicilar.FirstOrDefault(x => x.KullaniciAdi == txtKullaniciAdi.Text && x.Parola == txtParola.Text) != null)
            {
                UcusAra ucusAra = new UcusAra(this);
                ucusAra.Show();
                this.Hide();
            }
            else
            {
                MessageBox.Show("Kullanıcı adı veya şifreyi yanlış girdiniz. Lütfen tekrar deneyiniz!");
            }

            txtKullaniciAdi.Text = txtParola.Text = "";
        }
Exemplo n.º 3
0
 public Biletler(UcusAra ucus)
 {
     anaForm = ucus;
     InitializeComponent();
 }