private void Button_Click(object sender, RoutedEventArgs e) { UyeMainWindow uyeMainWindow = new UyeMainWindow(); uyeMainWindow.Show(); this.Close(); }
//GirisYapButonu private void Button_Click_1(object sender, RoutedEventArgs e) { if (service.Server.GirisKontrol(TelNo.Text, Parola.Password)) { MessageBox.Show("Giris Yapıldı"); UyeMainWindow uyeMainWindowOrn = new UyeMainWindow(); uyeMainWindowOrn.Show(); this.Close(); } else { MessageBox.Show("Kullanıcı adı veya parola hatalı "); } }