Example #1
0
        private void btnEkle_Click(object sender, EventArgs e)
        {
            FrmUserTanim fust = new FrmUserTanim();

            fust.Text = "Yeni Kullanıcı Oluşturma";
            fust.btnGuncelleKaydet.Visible = false;
            fust.TopMost = true;
            fust.Show();
        }
Example #2
0
        private void btnGuncelle_Click(object sender, EventArgs e)
        {
            FrmUserTanim fust1 = new FrmUserTanim();

            fust1.Text = "Kullanıcı Bilgilerini Güncelleme";

            fust1.btnYeniKaydet.Visible = false;
            fust1.TopMost           = true;
            fust1.ID.Text           = ID.Text;
            fust1.ID.ReadOnly       = true;
            fust1.KullaniciAdi.Text = KullaniciAdi.Text;


            fust1.Yetki.Text = Yetki.Text;

            fust1.Show();
        }
Example #3
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            FrmUserTanim fut = new FrmUserTanim();

            fut.Text = "Kullanıcı Bilgilerini Görüntüleme";
            fut.btnYeniKaydet.Visible     = false;
            fut.btnGuncelleKaydet.Visible = false;
            fut.ID.Text               = ID.Text;
            fut.ID.ReadOnly           = true;
            fut.KullaniciAdi.Text     = KullaniciAdi.Text;
            fut.KullaniciAdi.ReadOnly = true;
            fut.Sifre.ReadOnly        = true;

            fut.GuvenlikSoru.Enabled  = false;
            fut.GuvenlikCevap.Enabled = false;
            fut.Yetki.Text            = Yetki.Text;
            fut.Yetki.Enabled         = false;
            fut.Show();
            fut.TopMost = true;
        }