Exemple #1
0
        private void tarifeEkleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fiyatEkle s = new fiyatEkle();

            this.Visible = false;
            s.ShowDialog();
            this.Visible                  = true;
            Main_Grid.DataSource          = db.tarifeIslem.tarifeleriGetir();
            Main_Grid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;

            ara            = "tarifeler";
            tb_ara.Enabled = true;
        }
Exemple #2
0
        private void ucretEkle_Click(object sender, EventArgs e)
        {
            fiyatEkle s = new fiyatEkle();

            this.Visible = false;
            s.ShowDialog();
            this.Visible                  = true;
            Main_Grid.DataSource          = db.ucretIslem.ucretleriGetir();
            Main_Grid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;

            ara                = "ucretler";
            tb_ara.Enabled     = true;
            lbl_ara.Visible    = true;
            lblRapor.Visible   = false;
            cbRaporlar.Visible = false;
        }
Exemple #3
0
        private void btnTarifeEkle_Click(object sender, EventArgs e)
        {
            fiyatEkle s = new fiyatEkle();

            this.Visible = false;
            s.ShowDialog();
            this.Visible                  = true;
            Main_Grid.DataSource          = db.tarifeIslem.tarifeleriGetir();
            Main_Grid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;

            ara                        = "tarifeler";
            tb_ara.Enabled             = true;
            lbl_ara.Visible            = true;
            lblRapor.Visible           = false;
            cbRaporlar.Visible         = false;
            Main_Grid.ContextMenuStrip = contextMenuStripTarifeler;
            label1.Enabled             = false;
            dtpGiris.Enabled           = false;
            dtpCikis.Enabled           = false;
            lblTarihAraligi.Enabled    = false;
        }