Пример #1
0
        private void btnYeniMusteri_Click(object sender, EventArgs e)
        {
            MusteriEkleme frm = new MusteriEkleme();

            cGenel._musteriEkleme          = 1;
            frm.btnMusteriGuncelle.Visible = false;
            frm.btnEkle.Visible            = true;
            frm.label8.Visible             = false;
            this.Close();
            frm.Show();
        }
Пример #2
0
 private void btnMusteriGuncelle_Click(object sender, EventArgs e)
 {
     if (lvMusteriler.SelectedItems.Count > 0)
     {
         MusteriEkleme frm = new MusteriEkleme();
         cGenel._musteriEkleme          = 1;
         cGenel._musteriId              = Convert.ToInt32(lvMusteriler.SelectedItems[0].SubItems[0].Text);
         frm.btnEkle.Visible            = false;
         frm.btnMusteriGuncelle.Visible = true;
         frm.label6.Visible             = false;
         this.Close();
         frm.Show();
     }
 }