예제 #1
0
        private void aktifleştirToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int selected = dgvKullanicilar.SelectedRows.Count;

            if (selected > 0)
            {
                KullaniciAl();
                try
                {
                    _kullaniciBLL.KullaniciAktiflestir(kullanici);
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.Message);
                }
            }
            else
            {
                MessageBox.Show("Lütfen bir kullanıcı seçiniz.");
            }
        }