private void btnYeni_Click(object sender, EventArgs e)
        {
            KullaniciEkleDuzenle kED    = new KullaniciEkleDuzenle();
            DialogResult         result = kED.ShowDialog();

            if (result.CompareTo(DialogResult.OK) == 0)
            {
                Entity = kED.getEntity();
                if (!new KullaniciDAO().existingControl(Entity))
                {
                    Entity.Active       = true;
                    Entity.InsDate      = DateTime.Now;
                    Entity.AdminStajyer = calisanStajyer;
                    try
                    {
                        kDAO.Save(Entity);
                        MessageBox.Show("Eklendi");
                        gridDoldur();
                    }
                    catch (Exception)
                    {
                        MessageBox.Show("Başarısız");
                    }
                }
                else
                {
                    MessageBox.Show("Mevcut kullanici");
                }
            }
        }
        private void duzenle()
        {
            gridToEntity();
            Kullanici            TempEntity = Entity;
            KullaniciEkleDuzenle kED        = new KullaniciEkleDuzenle();

            kED.setState("Düzenle");
            kED.setEntity(Entity);
            DialogResult result = kED.ShowDialog();

            if (result.CompareTo(DialogResult.OK) == 0)
            {
                Entity = kED.getEntity();
                if (!new KullaniciDAO().existingControl(Entity))
                {
                    Entity.AdminStajyer = calisanStajyer;
                    try
                    {
                        kDAO.Save(Entity);
                        MessageBox.Show("Düzenlendi");
                        gridDoldur();
                    }
                    catch (Exception)
                    {
                        MessageBox.Show("Başarısız");
                    }
                }
                else
                {
                    MessageBox.Show("Mevcut kullanici");
                }
            }
        }