コード例 #1
0
        private void sepeteeklee9_Click(object sender, RoutedEventArgs e)
        {
            urunusepeteekle urunusepet = new urunusepeteekle();

            urunusepet.butonrengi.Content = "BEYAZ";
            urunusepet.image0.Source      = image451.Source;
            urunusepet.image2.Source      = image451.Source;
            BitmapImage bitmapImage = new BitmapImage();

            bitmapImage.BeginInit();
            bitmapImage.UriSource = new Uri(@"/images/beyaz-bot-k0536410009-b0fd.jpg", UriKind.RelativeOrAbsolute);
            bitmapImage.EndInit();
            urunusepet.image1.Source = bitmapImage;
            urunusepet.labe1.Content = "BAMBİ";
            urunusepet.labe2.Content = "BEYAZ KADIN BOT K0536410009";
            urunusepet.labe3.Text    = label9.Content.ToString();
            urunusepet.texblock.Text = sepetfiyati9.Text;
            if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
            {
                urunusepet.uyeyerigrid.Visibility = Visibility.Hidden;
                urunusepet.uyeyeri44.Visibility   = Visibility.Visible;
                urunusepet.Show();
                this.Close();
            }
            else
            {
                urunusepet.Show();
                this.Close();
            }
            this.Close();
        }
コード例 #2
0
        private void sepeteeklee10_Click(object sender, RoutedEventArgs e)
        {
            urunusepeteekle urunusepet = new urunusepeteekle();

            urunusepet.butonrengi.Content = "SİYAH";
            urunusepet.image0.Source      = image452.Source;
            urunusepet.image2.Source      = image452.Source;
            BitmapImage bitmapImage = new BitmapImage();

            bitmapImage.BeginInit();
            bitmapImage.UriSource = new Uri(@"/images/siyah-cizme-k0721050509-f6f0.jpg", UriKind.RelativeOrAbsolute);
            bitmapImage.EndInit();
            urunusepet.image1.Source = bitmapImage;
            urunusepet.labe1.Content = "BAMBİ";
            urunusepet.labe2.Content = "SIYAH KADIN ÇİZME K0721050509";
            urunusepet.labe3.Text    = label10.Content.ToString();
            urunusepet.texblock.Text = sepetfiyati10.Text;
            if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
            {
                urunusepet.uyeyerigrid.Visibility = Visibility.Hidden;
                urunusepet.uyeyeri44.Visibility   = Visibility.Visible;
                urunusepet.Show();
                this.Close();
            }
            else
            {
                urunusepet.Show();
                this.Close();
            }
            this.Close();
        }
コード例 #3
0
        private void sepeteeklee7_Click(object sender, RoutedEventArgs e)
        {
            urunusepeteekle urunusepet = new urunusepeteekle();

            urunusepet.butonrengi.Content = "SİYAH";
            urunusepet.image0.Source      = image450.Source;
            urunusepet.image2.Source      = image450.Source;
            BitmapImage bitmapImage = new BitmapImage();

            bitmapImage.BeginInit();
            bitmapImage.UriSource = new Uri(@"/images/black-kadin-bot-k0777042303-08d9.jpg", UriKind.RelativeOrAbsolute);
            bitmapImage.EndInit();
            urunusepet.image1.Source = bitmapImage;
            urunusepet.labe1.Content = "BAMBİ";
            urunusepet.labe2.Content = "BLACK BAYAN BOT K0777042303";
            urunusepet.labe3.Text    = label7.Content.ToString();
            urunusepet.texblock.Text = sepetfiyati7.Text;
            if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
            {
                urunusepet.uyeyerigrid.Visibility = Visibility.Hidden;
                urunusepet.uyeyeri44.Visibility   = Visibility.Visible;
                urunusepet.Show();
                this.Close();
            }
            else
            {
                urunusepet.Show();
                this.Close();
            }
            this.Close();
        }
コード例 #4
0
        private void sepeteeklee6_Click(object sender, RoutedEventArgs e)
        {
            urunusepeteekle urunusepet = new urunusepeteekle();

            urunusepet.butonrengi.Content = "CHOCOLATE";
            urunusepet.image0.Source      = image449.Source;
            urunusepet.image2.Source      = image449.Source;
            BitmapImage bitmapImage = new BitmapImage();

            bitmapImage.BeginInit();
            bitmapImage.UriSource = new Uri(@"/images/caterpillar-chocolate-bot-k0111000101-c329.jpg", UriKind.RelativeOrAbsolute);
            bitmapImage.EndInit();
            urunusepet.image1.Source = bitmapImage;
            urunusepet.labe1.Content = "CHOCOLATE";
            urunusepet.labe2.Content = "CHOCOLATE BAYAN BOT K0111000101";
            urunusepet.labe3.Text    = label6.Content.ToString();
            urunusepet.texblock.Text = sepetfiyati6.Text;
            if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
            {
                urunusepet.uyeyerigrid.Visibility = Visibility.Hidden;
                urunusepet.uyeyeri44.Visibility   = Visibility.Visible;
                urunusepet.Show();
                this.Close();
            }
            else
            {
                urunusepet.Show();
                this.Close();
            }
            this.Close();
        }
コード例 #5
0
        private void sepeteeklee5_Click(object sender, RoutedEventArgs e)
        {
            urunusepeteekle urunusepet = new urunusepeteekle();

            urunusepet.butonrengi.Content = "SUNDANCE";
            urunusepet.image0.Source      = image448.Source;
            urunusepet.image2.Source      = image448.Source;
            BitmapImage bitmapImage = new BitmapImage();

            bitmapImage.BeginInit();
            bitmapImage.UriSource = new Uri(@"/images/caterpillar-sundance-bot-k0111000101-93ec.jpg", UriKind.RelativeOrAbsolute);
            bitmapImage.EndInit();
            urunusepet.image1.Source = bitmapImage;
            urunusepet.labe1.Content = "SUNDANCE";
            urunusepet.labe2.Content = "SUNDANCE BAYAN BOT K0111000101";
            urunusepet.labe3.Text    = label5.Content.ToString();
            urunusepet.texblock.Text = sepetfiyati5.Text;
            UrunOzellikleri ozellik = new UrunOzellikleri();

            if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
            {
                urunusepet.uyeyerigrid.Visibility = Visibility.Hidden;
                urunusepet.uyeyeri44.Visibility   = Visibility.Visible;
                urunusepet.Show();
                this.Close();
            }
            else
            {
                urunusepet.Show();
                this.Close();
            }
            this.Close();
        }
コード例 #6
0
        private void sepeteeklee2_Click(object sender, RoutedEventArgs e)
        {
            urunusepeteekle urunusepet = new urunusepeteekle();

            urunusepet.butonrengi.Content = "PUDRA";
            urunusepet.image0.Source      = image445.Source;
            urunusepet.image2.Source      = image445.Source;
            BitmapImage bitmapImage = new BitmapImage();

            bitmapImage.BeginInit();
            bitmapImage.UriSource = new Uri(@"/images/pudra-kadin-ayakkabi-l0503721009-2.jpg", UriKind.RelativeOrAbsolute);
            bitmapImage.EndInit();
            urunusepet.image1.Source = bitmapImage;
            urunusepet.labe1.Content = "BAMBİ";
            urunusepet.labe2.Content = "Pudra Kadin Ayakkabi l0503721009";
            urunusepet.labe3.Text    = label2.Content.ToString();
            urunusepet.texblock.Text = sepetfiyati2.Text;
            if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
            {
                urunusepet.uyeyerigrid.Visibility = Visibility.Hidden;
                urunusepet.uyeyeri44.Visibility   = Visibility.Visible;
                urunusepet.Show();
                this.Close();
            }
            else
            {
                urunusepet.Show();
                this.Close();
            }
            this.Close();
        }
コード例 #7
0
        private void sepeteeklee_Click(object sender, RoutedEventArgs e)
        {
            urunusepeteekle urunusepet = new urunusepeteekle();

            urunusepet.butonrengi.Content = "SİYAH";
            urunusepet.image0.Source      = image444.Source;
            urunusepet.image2.Source      = image444.Source;
            BitmapImage bitmapImage = new BitmapImage();

            bitmapImage.BeginInit();
            bitmapImage.UriSource = new Uri(@"/images/onizleme/siyah-kadin-acik-ayakkabi-l0501802165-2dfa.jpg", UriKind.RelativeOrAbsolute);
            bitmapImage.EndInit();
            urunusepet.image1.Source = bitmapImage;
            urunusepet.labe1.Content = "BAMBİ";
            urunusepet.labe2.Content = "SIYAH KADIN AÇIK AYAKKABI L0501802165";
            urunusepet.labe3.Text    = label1.Content.ToString();
            urunusepet.texblock.Text = sepetfiyati1.Text;
            if (uyeyeri44.Visibility == Visibility.Visible && uyeyerigrid.Visibility == Visibility.Hidden)
            {
                urunusepet.uyeyerigrid.Visibility = Visibility.Hidden;
                urunusepet.uyeyeri44.Visibility   = Visibility.Visible;
                urunusepet.Show();
                this.Close();
            }
            else
            {
                urunusepet.Show();
                this.Close();
            }
            this.Close();
        }