Пример #1
0
        private void picMusteriFirmaKayit_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmMusteriKayit frmMusteriKayit = new frmMusteriKayit();

            frmMusteriKayit.FormClosed += FrmMusteriKayit_FormClosed;
            frmMusteriKayit.Show();
        }
        private void btnMusteriAra_Click(object sender, EventArgs e)
        {
            frmMusteriKayit frmMusteriKayit = new frmMusteriKayit();

            if (frmMusteriKayit.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                txtMusteriAdSoyad.Text  = frmMusteriKayit.MusteriAdSoyad;
                txtTelefonNoCep.Text    = frmMusteriKayit.MusteriTelefon;
                txtPlakaNo.Text         = frmMusteriKayit.AracPlakaNo;
                txtAracMarkaModel.Text  = frmMusteriKayit.AracMarkaModel;
                txtAracSasiMotorNo.Text = frmMusteriKayit.AracSasiMotorNo;
                musteriId = Convert.ToInt32(frmMusteriKayit.MusteriId);
            }
        }