コード例 #1
0
        private void addBtn_Click(object sender, RoutedEventArgs e)
        {
            BuyerConfig config = new BuyerConfig();

            config.Show();
            this.Hide();
        }
コード例 #2
0
        private void OnHyperlinkClick(object sender, RoutedEventArgs e)
        {
            Hyperlink   button = sender as Hyperlink;
            BuyerList   buyer  = button.DataContext as BuyerList;
            BuyerConfig config = new BuyerConfig();

            config.id = buyer.id;
            config.Show();
            this.Hide();
        }