void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 2: this.lst = ((System.Windows.Controls.ItemsControl)(target)); return; case 3: #line 65 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CreateNewGameBtnClick); #line default #line hidden return; case 4: this.WidthInput = ((GameOfLifeProject.CustomInput)(target)); return; case 5: this.HeightInput = ((GameOfLifeProject.CustomInput)(target)); return; case 6: this.DegreeInput = ((GameOfLifeProject.CustomInput)(target)); return; case 7: this.SampleTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.StartBtn = ((System.Windows.Controls.Button)(target)); #line 109 "..\..\MainWindow.xaml" this.StartBtn.Click += new System.Windows.RoutedEventHandler(this.StartBtnClick); #line default #line hidden return; case 9: this.StopBtn = ((System.Windows.Controls.Button)(target)); #line 117 "..\..\MainWindow.xaml" this.StopBtn.Click += new System.Windows.RoutedEventHandler(this.StopBtnClick); #line default #line hidden return; case 10: this.NextStateBtn = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.customInput = ((GameOfLifeProject.CustomInput)(target)); return; case 2: this.txtBox = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }