void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SrvWindow = ((WpfApp4.MainWindow)(target)); #line 8 "..\..\MainWindow.xaml" this.SrvWindow.Closed += new System.EventHandler(this.Window_Closed); #line default #line hidden return; case 2: this.Start = ((System.Windows.Controls.Button)(target)); #line 10 "..\..\MainWindow.xaml" this.Start.Click += new System.Windows.RoutedEventHandler(this.Start_Click); #line default #line hidden return; case 3: this.lbLog = ((System.Windows.Controls.ListBox)(target)); return; case 4: this.tbPort = ((System.Windows.Controls.TextBox)(target)); #line 13 "..\..\MainWindow.xaml" this.tbPort.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.wind = ((WpfApp4.MainWindow)(target)); return; case 2: this.bg = ((System.Windows.Media.ImageBrush)(target)); return; case 3: this.parent = ((System.Windows.Controls.Grid)(target)); return; case 4: this.over_screen = ((System.Windows.Controls.Grid)(target)); return; case 5: this.over_gif = ((System.Windows.Controls.MediaElement)(target)); return; case 6: this.main = ((System.Windows.Controls.Grid)(target)); return; case 7: this.border1 = ((System.Windows.Controls.Border)(target)); return; case 8: this.intro2 = ((System.Windows.Media.ImageBrush)(target)); return; case 9: this.st1 = ((System.Windows.Controls.StackPanel)(target)); return; case 10: this.player1_hp = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.player1 = ((System.Windows.Controls.ProgressBar)(target)); return; case 12: this.intro = ((System.Windows.Media.ImageBrush)(target)); return; case 13: this.st2 = ((System.Windows.Controls.StackPanel)(target)); return; case 14: this.player2_hp = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.player2 = ((System.Windows.Controls.ProgressBar)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.clearbutton = ((WpfApp4.MainWindow)(target)); return; case 2: this.Button1 = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\MainWindow.xaml" this.Button1.Click += new System.Windows.RoutedEventHandler(this.Button1_Click); #line default #line hidden return; case 3: this.Button2 = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\MainWindow.xaml" this.Button2.Click += new System.Windows.RoutedEventHandler(this.Button2_Click); #line default #line hidden return; case 4: this.Button3 = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\MainWindow.xaml" this.Button3.Click += new System.Windows.RoutedEventHandler(this.Button3_Click); #line default #line hidden return; case 5: this.Button4 = ((System.Windows.Controls.Button)(target)); #line 57 "..\..\MainWindow.xaml" this.Button4.Click += new System.Windows.RoutedEventHandler(this.Button4_Click); #line default #line hidden return; case 6: this.Button6 = ((System.Windows.Controls.Button)(target)); #line 71 "..\..\MainWindow.xaml" this.Button6.Click += new System.Windows.RoutedEventHandler(this.Button6_Click); #line default #line hidden return; case 7: this.Button5 = ((System.Windows.Controls.Button)(target)); #line 79 "..\..\MainWindow.xaml" this.Button5.Click += new System.Windows.RoutedEventHandler(this.Button5_Click); #line default #line hidden return; case 8: this.Button7 = ((System.Windows.Controls.Button)(target)); #line 87 "..\..\MainWindow.xaml" this.Button7.Click += new System.Windows.RoutedEventHandler(this.Button7_Click); #line default #line hidden return; case 9: this.Button8 = ((System.Windows.Controls.Button)(target)); #line 95 "..\..\MainWindow.xaml" this.Button8.Click += new System.Windows.RoutedEventHandler(this.Button8_Click); #line default #line hidden return; case 10: this.Button10 = ((System.Windows.Controls.Button)(target)); #line 103 "..\..\MainWindow.xaml" this.Button10.Click += new System.Windows.RoutedEventHandler(this.Button10_Click); #line default #line hidden return; case 11: this.Button9 = ((System.Windows.Controls.Button)(target)); #line 111 "..\..\MainWindow.xaml" this.Button9.Click += new System.Windows.RoutedEventHandler(this.Button9_Click); #line default #line hidden return; case 12: this.Button11 = ((System.Windows.Controls.Button)(target)); #line 119 "..\..\MainWindow.xaml" this.Button11.Click += new System.Windows.RoutedEventHandler(this.Button11_Click); #line default #line hidden return; case 13: this.Button12 = ((System.Windows.Controls.Button)(target)); #line 127 "..\..\MainWindow.xaml" this.Button12.Click += new System.Windows.RoutedEventHandler(this.Button12_Click); #line default #line hidden return; case 14: this.Button14 = ((System.Windows.Controls.Button)(target)); #line 135 "..\..\MainWindow.xaml" this.Button14.Click += new System.Windows.RoutedEventHandler(this.Button14_Click); #line default #line hidden return; case 15: this.Button13 = ((System.Windows.Controls.Button)(target)); #line 143 "..\..\MainWindow.xaml" this.Button13.Click += new System.Windows.RoutedEventHandler(this.Button13_Click); #line default #line hidden return; case 16: this.Button15 = ((System.Windows.Controls.Button)(target)); #line 151 "..\..\MainWindow.xaml" this.Button15.Click += new System.Windows.RoutedEventHandler(this.Button15_Click); #line default #line hidden return; case 17: this.Button16 = ((System.Windows.Controls.Button)(target)); #line 159 "..\..\MainWindow.xaml" this.Button16.Click += new System.Windows.RoutedEventHandler(this.Button16_Click); #line default #line hidden return; case 18: this.label = ((System.Windows.Controls.Label)(target)); return; case 19: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 20: this.kolvo = ((System.Windows.Controls.Label)(target)); return; case 21: this.StartLabel = ((System.Windows.Controls.Label)(target)); return; case 22: this.SB = ((System.Windows.Controls.Button)(target)); #line 171 "..\..\MainWindow.xaml" this.SB.Click += new System.Windows.RoutedEventHandler(this.Click_Start); #line default #line hidden return; } this._contentLoaded = true; }
public Muerte(MainWindow p) { InitializeComponent(); principal = p; }