private void AracGeriAlma_FormClosed(object sender, FormClosedEventArgs e)
        {
            baglanti.Open();
            muhasebe muha = new muhasebe();

            string         vericek = "select * from tblArac where kiraDurumu='true'";
            SqlDataAdapter da      = new SqlDataAdapter(vericek, baglanti);
            DataTable      dt      = new DataTable();

            da.Fill(dt);
            muha.dataGridView1.DataSource = dt;
            muha.Show();
            baglanti.Close();
        }
Esempio n. 2
0
        private void button3_Click(object sender, EventArgs e)
        {
            muhasebe muhasebe = new muhasebe();

            muhasebe.Show();
        }