Пример #1
0
        private void yenPersonelEkleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            personelEkle s = new personelEkle();

            this.Visible = false;
            s.ShowDialog();
            this.Visible = true;
        }
Пример #2
0
        private void cms_personelEkle_Click(object sender, EventArgs e)
        {
            ara = "personeller";
            personelEkle s = new personelEkle();

            this.Visible = false;
            s.ShowDialog();
            this.Visible                  = true;
            Main_Grid.DataSource          = db.personelIslemleri.PersonelleriGetir();
            Main_Grid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
        }
Пример #3
0
        private void btnPersonelEkle_Click(object sender, EventArgs e)
        {
            personelEkle s = new personelEkle();

            this.Visible = false;
            s.ShowDialog();
            this.Visible                  = true;
            Main_Grid.DataSource          = db.personelIslemleri.PersonelleriGetir();
            Main_Grid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            Main_Grid.ContextMenuStrip    = contextMenuStripOtoparklar;
            ara                     = "personeller";
            tb_ara.Enabled          = true;
            lbl_ara.Visible         = true;
            lblRapor.Visible        = false;
            cbRaporlar.Visible      = false;
            label1.Enabled          = false;
            dtpGiris.Enabled        = false;
            dtpCikis.Enabled        = false;
            lblTarihAraligi.Enabled = false;
        }