コード例 #1
0
        private void TextBlock_MouseLeftButtonDown_5(object sender, MouseButtonEventArgs e)
        {
            //purchase/selling
            HomePurchaseSelling x = new HomePurchaseSelling();

            UserPages.Children.Clear();
            UserPages.Children.Add(x);
        }
コード例 #2
0
        private void ButtonPurchaseSelling_Click(object sender, RoutedEventArgs e)
        {
            this.mainscrollviewer.Visibility = Visibility.Collapsed;
            this.topgrid.Visibility          = Visibility.Collapsed;
            this.homePopupBox.Visibility     = Visibility.Collapsed;

            HomePurchaseSelling x = new HomePurchaseSelling();

            UserPages.Children.Clear();
            UserPages.Children.Add(x);
        }