public EventCommandTest() { DataContext = new EventCommandTestViewModel(); InitializeComponent(); //new Button().Click += new RoutedEventHandler(EventCommandTest_Click); //new Button().MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(EventCommandTest_MouseDoubleClick); }