Exemple #1
0
        private void favoriekle2_Click(object sender, RoutedEventArgs e)
        {
            uyegirisi  uygrs = new uyegirisi();
            sepeteekle main  = new sepeteekle();

            if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
            {
                MessageBox.Show("Ürün favorilerinize eklenmiştir.");
            }
            else
            {
                uygrs.Show();
                this.Close();
            }
        }
 private void kullanımsart_Click(object sender, RoutedEventArgs e)
 {
     uyegirisi uygrs = new uyegirisi();
     Page1 main = new Page1();
     if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
     {
         main.uyeyerigrid.Visibility = Visibility.Hidden;
         main.uyeyeri44.Visibility = Visibility.Visible;
         main.Show();
         this.Close();
     }
     else
     {
         main.Show();
         this.Close();
     }
 }
 private void yenisezonkadin_Click(object sender, RoutedEventArgs e)
 {
     uyegirisi uygrs = new uyegirisi();
     YeniSezon main = new YeniSezon();
     if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
     {
         main.uyeyerigrid.Visibility = Visibility.Hidden;
         main.uyeyeri44.Visibility = Visibility.Visible;
         main.Show();
         this.Close();
     }
     else
     {
         main.Show();
         this.Close();
     }
 }
 private void siparistakip_Click_(object sender, RoutedEventArgs e)
 {
     uyegirisi uygrs = new uyegirisi();
     sepeteekle main = new sepeteekle();
     if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
     {
         main.uyeyerigrid.Visibility = Visibility.Hidden;
         main.uyeyeri44.Visibility = Visibility.Visible;
         main.Show();
         this.Close();
     }
     else
     {
         main.Show();
         this.Close();
     }
 }
 private void alisverissepetim_Click(object sender, RoutedEventArgs e)
 {
     uyegirisi uygrs = new uyegirisi();
     sepetim main = new sepetim();
     if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
     {
         main.uyeyerigrid.Visibility = Visibility.Hidden;
         main.uyeyeri44.Visibility = Visibility.Visible;
         main.Show();
         this.Close();
     }
     else
     {
         main.Show();
         this.Close();
     }
 }
 private void islemrehberi_Click(object sender, RoutedEventArgs e)
 {
     uyegirisi uygrs = new uyegirisi();
     islemrehberi main = new islemrehberi();
     if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
     {
         main.uyeyerigrid.Visibility = Visibility.Hidden;
         main.uyeyeri44.Visibility = Visibility.Visible;
         main.Show();
         this.Close();
     }
     else
     {
         main.Show();
         this.Close();
     }
 }
 private void iptaliadekosul_Click(object sender, RoutedEventArgs e)
 {
     uyegirisi uygrs = new uyegirisi();
     iptalveiade main = new iptalveiade();
     if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
     {
         main.uyeyerigrid.Visibility = Visibility.Hidden;
         main.uyeyeri44.Visibility = Visibility.Visible;
         main.Show();
         this.Close();
     }
     else
     {
         main.Show();
         this.Close();
     }
 }
 private void gizlilikguven_Click(object sender, RoutedEventArgs e)
 {
     uyegirisi uygrs = new uyegirisi();
     gizlilikguvenlik main = new gizlilikguvenlik();
     if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
     {
         main.uyeyerigrid.Visibility = Visibility.Hidden;
         main.uyeyeri44.Visibility = Visibility.Visible;
         main.Show();
         this.Close();
     }
     else
     {
         main.Show();
         this.Close();
     }
 }
Exemple #9
0
        private void anasayfa_Click(object sender, RoutedEventArgs e)
        {
            uyegirisi  uygrs = new uyegirisi();
            MainWindow main  = new MainWindow();

            if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
            {
                main.uyeyerigrid.Visibility = Visibility.Hidden;
                main.uyeyeri44.Visibility   = Visibility.Visible;
                main.Show();
                this.Close();
            }
            else
            {
                main.Show();
                this.Close();
            }
        }