private void btnKullanıcıEkle_Click(object sender, EventArgs e) { FormAyarDegistirme ayarDegistirme = new FormAyarDegistirme(); ayarDegistirme.istek = FormAyarDegistirme.İstek.KullaniciEkle; ayarDegistirme.lblAyarlar.Text = "Kullanıcı Ekle"; ayarDegistirme.ShowDialog(); }
private void btnKullanıcıSil_Click(object sender, EventArgs e) { FormAyarDegistirme ayarDegistirme = new FormAyarDegistirme(); ayarDegistirme.istek = FormAyarDegistirme.İstek.KullaniciSil; ayarDegistirme.lblAyarlar.Text = "Kullanıcı Sil"; ayarDegistirme.txtAyarTekrarŞifre.Visible = false; ayarDegistirme.lblTekrar.Visible = false; ayarDegistirme.ShowDialog(); }
private void btnKullanıcıDeğiştir_Click(object sender, EventArgs e) { this.Hide(); FormAyarDegistirme ayarDegistirme = new FormAyarDegistirme(); ayarDegistirme.istek = FormAyarDegistirme.İstek.KullaniciDegistir; ayarDegistirme.lblAyarlar.Text = "Kullanıcı Degistir"; ayarDegistirme.txtAyarTekrarŞifre.Visible = false; ayarDegistirme.lblTekrar.Visible = false; ayarDegistirme.ShowDialog(); this.Close(); }