Exemple #1
0
        private void btnBack_Click_1(object sender, EventArgs e)
        {
            LogInScreen f = new LogInScreen();

            f.Show();
            this.Close();
        }
Exemple #2
0
 private void btnKayitOl_Click(object sender, EventArgs e)
 {
     sqlData = new SqlData();
     if (sqlData.NewUser(txtEmail.Text, txtPassword.Text, txtAd.Text, txtSurname.Text, Convert.ToInt32(txtPhone.Text)))
     {
         MessageBox.Show("Basarili bir sekilde kayit olundu");
         LogInScreen f = new LogInScreen();
         f.Show();
         this.Close();
     }
     else
     {
         MessageBox.Show("Kayit sirasinda bir hata meydana geldi.");
     }
 }