private void btnYeniProje_Click(object sender, EventArgs e)
        {
            ProjeEkleDuzenle pED = new ProjeEkleDuzenle();

            if (pED.ShowDialog() == DialogResult.OK)
            {
                projeEntity = pED.getProje();
                if (!new ProjeDAO().existingControl(projeEntity))
                {
                    projeEntity.Active  = true;
                    projeEntity.InsDate = DateTime.Now;
                    try
                    {
                        new ProjeDAOBase().Save(projeEntity);
                        MessageBox.Show("Kaydedildi");
                        gridDoldur();
                    }
                    catch (Exception) { }
                }
                else
                {
                    MessageBox.Show("Mevcut proje");
                }
            }
        }
        private void duzenle()
        {
            ProjeEkleDuzenle pED = new ProjeEkleDuzenle();

            gridToEntity();
            pED.setProje(projeEntity);
            pED.setState = "Düzenle";
            if (pED.ShowDialog() == DialogResult.OK)
            {
                if (!new ProjeDAO().existingControl(projeEntity))
                {
                    try
                    {
                        new ProjeDAOBase().Save(projeEntity);
                        MessageBox.Show("Duzenlendi");
                        gridDoldur();
                    }
                    catch (Exception) { }
                }
                else
                {
                    MessageBox.Show("Mevcut proje");
                }
            }
        }