Exemplo n.º 1
0
        private void cmsOtoparkEkle_Click(object sender, EventArgs e)
        {
            ara = "otoparklar";
            otoparkEkle s = new otoparkEkle();

            this.Visible = false;
            s.ShowDialog();
            this.Visible                  = true;
            Main_Grid.DataSource          = db.otoparkIslem.otoparklariGetir();
            Main_Grid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
        }
Exemplo n.º 2
0
        private void btnOtoparkEkle_Click(object sender, EventArgs e)
        {
            otoparkEkle s = new otoparkEkle();

            this.Visible = false;
            s.ShowDialog();
            this.Visible                  = true;
            Main_Grid.DataSource          = db.otoparkIslem.otoparklariGetir();
            Main_Grid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            Main_Grid.ContextMenuStrip    = contextMenuStripOtoparklar;
            tb_ara.Enabled                = true;
            lbl_ara.Visible               = true;
            lblRapor.Visible              = false;
            cbRaporlar.Visible            = false;

            ara = "otoparklar";

            label1.Enabled          = false;
            dtpGiris.Enabled        = false;
            dtpCikis.Enabled        = false;
            lblTarihAraligi.Enabled = false;
        }