public PackageUsedInfoWindow(PackageUsedInfoWindowViewModel viewModel) { InitializeComponent(); DataContext = _vm = viewModel; }
public PackageUsedInfoWindow() { InitializeComponent(); _vm = DataContext as PackageUsedInfoWindowViewModel; }