public void Edit(string id) { addon365.UI.ViewModel.Inventory.SellerViewModel ViewModel = new addon365.UI.ViewModel.Inventory.SellerViewModel(id); SellerWindow en = new SellerWindow(); en.DataContext = ViewModel; en.ShowDialog(); }
private void BtnSeller_Click(object sender, RoutedEventArgs e) { Inventory.SellerWindow n = new Inventory.SellerWindow(); n.ShowDialog(); }