我没有收到 EventToCommand。我的组装如下
<Window x:Class="EfesBetGUI.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vmMainWindow="clr-namespace:EfesBetGUI.ViewModel"
xmlns:DateTimeUC="clr-namespace:EfesBetGUI.View.UserControls"
xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
xmlns:ei="clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions"
xmlns:cmd="clr-namespace:GalaSoft.MvvmLight;assembly=GalaSoft.MvvmLight.WPF4"
xmlns:mvvmgalasoftCommand="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.WPF4"
xmlns:LightCmd="http://www.galasoft.ch/mvvmlight"
xmlns:util="clr-namespace:EfesBetGUI.Util"
Title="MainWindow" >
但尽管如此,我也没有得到 EventToCommand 。我想提一下我正在使用框架 4.0 和 Visual Studio 12。欢迎任何帮助。谢谢,