void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\MainWindow.xaml" ((RubikDemo.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.HandleKeyDown); #line default #line hidden return; case 2: this.view1 = ((HelixToolkit.HelixView3D)(target)); return; case 3: this.cube1 = ((RubikDemo.RubikCube)(target)); return; case 4: this.info = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }