public VendingMachineGameEditorControl(VendingMachineGameCommand command) { InitializeComponent(); this.existingCommand = command; this.viewModel = new VendingMachineGameEditorControlViewModel(command); }
public VendingMachineGameEditorControl(CurrencyModel currency) { InitializeComponent(); this.viewModel = new VendingMachineGameEditorControlViewModel(currency); }