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();
        }
示例#2
0
 private void BtnSeller_Click(object sender, RoutedEventArgs e)
 {
     Inventory.SellerWindow n = new Inventory.SellerWindow();
     n.ShowDialog();
 }