public GameMiddleWindowView(int id, int level, IField field) { InitializeComponent(); GameWindowViewModel vm = new GameWindowViewModel(id, level, field); this.DataContext = vm; }
public GameWindowView(int id, int level) { InitializeComponent(); GameWindowViewModel vm = new GameWindowViewModel(id, level); this.DataContext = vm; }