예제 #1
0
        private void btnKaydet_Click(object sender, EventArgs e)
        {
            a.AddressName = txtAdresAdi.Text;
            a.Firstname   = txtAliciAdi.Text;
            a.Lastname    = txtAliciSoyadi.Text;
            a.City        = txtil.Text;
            a.Town        = txtilce.Text;
            a.PostalCode  = Convert.ToInt32(txtPostaKodu.Text);
            a.Address     = txtAdres.Text;
            string cevap = BLLAdres.Duzenle(a);

            MessageBox.Show(cevap);
            frmAdresListele f = Application.OpenForms["frmAdresListele"] as frmAdresListele;

            f.Doldur();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            frmAdresListele f = new frmAdresListele();

            f.Show();
        }