예제 #1
0
        public Form2(kisiler k1)
        {
            InitializeComponent();
            k2 = k1;
            string ilksifre = k1.sifre;
            string İlkemail = k1.email;

            tbGirisEmail.Text = k2.email;
            tbGirisSifre.Text = k2.sifre;
        }
예제 #2
0
 public Form1()
 {
     InitializeComponent();
     m1              = new Musteriler();
     k1              = new kisiler();
     k1.email        = tbEmail.Text;
     k1.sifre        = tbSifre.Text;
     k2              = new kisiler();
     k2.kullaniciAdi = tbEmail.Text;
     k2.sifre        = tbSifre.Text;
     k1.Soyisim      = textBox2.Text;
     k1.isim         = textBox1.Text;
     m1.isim         = textBox1.Text;
     m1.soyisim      = textBox2.Text;
     m1.sifre        = tbSifre.Text;
     m1.email        = tbEmail.Text;
 }