//DİLEKÇELER
        private void btnPeti_Click(object sender, EventArgs e)
        {
            depCtrl = 3;
            grid.Columns.Clear();
            grid.DataSource = db.Dilekcelers.ToList();
            grid.Columns.RemoveAt(0);
            FormKFunctions.gridHeaderChange(grid, 3);

            gbFilterW.Visible     = false;
            gbFilterVac.Visible   = false;
            gbFilterDil.Visible   = true;
            gbFilterApp.Visible   = false;
            gbDepartments.Visible = false;
            btnIzin.Visible       = false;
            btnDilekce.Visible    = true;
            label19.Visible       = false;
        }
        private void btnWork_Click(object sender, EventArgs e)
        {
            grid.Columns.Clear();
            kaynakC         = db.Calisanlars.ToList();
            grid.DataSource = kaynakC;
            grid.Columns.RemoveAt(0);
            FormKFunctions.gridHeaderChange(grid, 1);

            gbFilterW.Visible     = true;
            gbFilterVac.Visible   = false;
            gbFilterDil.Visible   = false;
            gbFilterApp.Visible   = false;
            gbDepartments.Visible = true;
            btnIzin.Visible       = true;
            btnDilekce.Visible    = false;
            depCtrl         = 1;
            label19.Visible = true;
        }
        //BAŞVURULAR
        private void btnApply_Click(object sender, EventArgs e)
        {
            depCtrl = 4;
            grid.Columns.Clear();
            grid.DataSource = db.Basvurulars.ToList();
            grid.Columns.RemoveAt(0);
            FormKFunctions.gridHeaderChange(grid, 4);

            gbFilterW.Visible     = false;
            gbFilterVac.Visible   = false;
            gbFilterDil.Visible   = false;
            gbFilterApp.Visible   = true;
            gbDepartments.Visible = false;
            btnIzin.Visible       = false;
            btnDilekce.Visible    = false;
            label19.Visible       = false;

            lblUni.Visible        = false;
            cbAppMU.Visible       = false;
            btnFilterApp.Location = new Point(6, 260);
            gbFilterApp.Height    = 325;
        }