示例#1
0
 public KiralamaEkrani(ArabaDetay araba, Context context, int uye, string gelenSasiNo)
 {
     sasiNo     = gelenSasiNo;
     uyeId      = uye;
     arabaDetay = araba;
     db         = context;
     InitializeComponent();
 }
示例#2
0
 private void dgvArabaListesi_SelectionChanged(object sender, EventArgs e)
 {
     if (dgvArabaListesi != null && dgvArabaListesi.SelectedRows.Count > 0)
     {
         DataGridViewRow satir = dgvArabaListesi.SelectedRows[0];
         if (satir != null)
         {
             secilenId = Convert.ToInt32(satir.Cells[0].Value);
             ArabaDetay arabaDetay = new ArabaDetay(this, db, secilenId, uyeId);
             Hide();
             arabaDetay.Show();
         }
     }
 }