private void pictureBox5_Click(object sender, EventArgs e)
        {
            Close();
            var a = new FrmAdminMenu();

            a.Visible = true;
        }
        private void AdminGirisB_Click(object sender, EventArgs e)
        {
            using (OracleCommand cmd = con.CreateCommand())
            {
                try
                {
                    con.Open();
                    cmd.CommandText = "SELECT * FROM admin WHERE AdminKullanici=:AdminKullanici AND AdminSifre=:AdminSifre";
                    cmd.Parameters.Add(new OracleParameter("AdminKullanici", textBox2.Text));
                    cmd.Parameters.Add(new OracleParameter("AdminSifre", AdminSifreTB.Text));

                    OracleDataReader reader2 = cmd.ExecuteReader();

                    if (reader2.Read())
                    {
                        Close();
                        var c = new FrmAdminMenu();
                        c.Visible = true;
                    }
                    else
                    {
                        MessageBox.Show("Hatalı şifre veya kullanici adi girildi!");
                        textBox2.Clear();
                        AdminSifreTB.Clear();
                        textBox2.Focus();
                    }

                    reader2.Dispose();
                }
                catch (Exception ex)
                {
                    Console.WriteLine(ex.Message);
                }
                con.Close();
            }
        }