private void btnCariBul_Click(object sender, EventArgs e)
 {
     frmCariSorgulama frm = new frmCariSorgulama();
     frm.ShowDialog();
     txtCariAdSoyad.Text = cGenel.CariAdi;
     txtCariNo.Text = Convert.ToString(cGenel.CariNo);
     btnEkstreGetir.Enabled = true;
 }
 private void btnCariAdaGore_Click(object sender, EventArgs e)
 {
     frmCariSorgulama frm = new frmCariSorgulama();
     frm.ShowDialog();
     txtCariAdaGore.Text = cGenel.CariAdi;
     txtCariNo.Text = cGenel.CariNo.ToString();
 }
        private void cbIslemTurleri_SelectedIndexChanged(object sender, EventArgs e)
        {
            txtIslemTuru.Text = cbIslemTurleri.SelectedItem.ToString();
            if (txtIslemTuru.Text == "Tahsilat")
            {
                cGenel.CariTipi = "Alici";
                txtGiren.ReadOnly = false;
                txtCikan.ReadOnly = true;
            }
            else if (txtIslemTuru.Text == "Ödeme")
            {
                cGenel.CariTipi = "Satici";
                txtGiren.ReadOnly = true;
                txtCikan.ReadOnly = false;
            }

            frmCariSorgulama frm = new frmCariSorgulama();
            frm.ShowDialog();
            txtCariNo.Text = cGenel.CariNo.ToString();
            txtCari.Text = cGenel.CariAdi;
            txtBelge.Focus();
        }
 private void btnCariBul_Click(object sender, EventArgs e)
 {
     frmCariSorgulama frm = new frmCariSorgulama();
     frm.ShowDialog();
     txtCari.Text = cGenel.CariAdi;
     txtPlaka.Text = cGenel.Plaka;
 }