private void addBtn_Click(object sender, RoutedEventArgs e) { BuyerConfig config = new BuyerConfig(); config.Show(); this.Hide(); }
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(); }