示例#1
0
        private void dgvDonanim_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            YeniDonanimForm = new YENI_DONANIM(Convert.ToInt32(dgvDonanim.CurrentRow.Cells["DonanimId"].Value), dgvDonanim.CurrentRow.Cells["FİRMA"].Value.ToString(), dgvDonanim.CurrentRow.Cells["TÜR"].Value.ToString());
            YeniDonanimForm.ShowDialog();

            dtDonanim             = Donanimlar.DonanimlariGetir(0);
            dgvDonanim.DataSource = dtDonanim;

            btnDonanimSil.Enabled            = false;
            btnDonanimAyrintiDuzenle.Enabled = false;
        }
示例#2
0
        //////////////////////////////////////////////////////
        ///////////////// DONANIM ////////////////////////////

        private void btnYeniDonanim_Click(object sender, EventArgs e)
        {
            YeniDonanimForm = new YENI_DONANIM(0, "", "");
            YeniDonanimForm.ShowDialog();

            dtDonanim             = Donanimlar.DonanimlariGetir(0);
            dgvDonanim.DataSource = dtDonanim;

            btnDonanimSil.Enabled            = false;
            btnDonanimAyrintiDuzenle.Enabled = false;
        }