Beispiel #1
0
        private void dgvLisans_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            YeniLisansForm = new YENI_LISANS(Convert.ToInt32(dgvLisans.CurrentRow.Cells["LisansId"].Value), dgvLisans.CurrentRow.Cells["YAZILIM ADI"].Value.ToString(), dgvLisans.CurrentRow.Cells["TİP ADI"].Value.ToString(), dgvLisans.CurrentRow.Cells["LİSANS KEY"].Value.ToString(), dgvLisans.CurrentRow.Cells["LİSANS NO"].Value.ToString(), dgvLisans.CurrentRow.Cells["LİSANS ADI"].Value.ToString(), Convert.ToInt32(dgvLisans.CurrentRow.Cells["LİSANS SAYISI"].Value));
            YeniLisansForm.ShowDialog();

            dtLisans             = Lisanslar.LisanslariGetir(0);
            dgvLisans.DataSource = dtLisans;

            btnLisansSil.Enabled            = false;
            btnLisansAyrintiDuzenle.Enabled = false;
        }
Beispiel #2
0
        //////////////////////////////////////////////////////
        ////////////////// LİSANS ////////////////////////////

        private void btnYeniLisans_Click(object sender, EventArgs e)
        {
            YeniLisansForm = new YENI_LISANS(0, "", "", "", "", "", 0);
            YeniLisansForm.ShowDialog();

            dtLisans             = Lisanslar.LisanslariGetir(0);
            dgvLisans.DataSource = dtLisans;

            btnLisansSil.Enabled            = false;
            btnLisansAyrintiDuzenle.Enabled = false;
        }