void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.frmCalc = ((WpfApp4.MainWindow)(target)); return; case 2: this.grd = ((System.Windows.Controls.Grid)(target)); return; case 3: this.txt = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.pnl1 = ((System.Windows.Controls.StackPanel)(target)); return; case 5: this.btn1 = ((System.Windows.Controls.Button)(target)); return; case 6: this.btn2 = ((System.Windows.Controls.Button)(target)); return; case 7: this.btn3 = ((System.Windows.Controls.Button)(target)); return; case 8: this.btn4 = ((System.Windows.Controls.Button)(target)); return; case 9: this.btn5 = ((System.Windows.Controls.Button)(target)); return; case 10: this.btn6 = ((System.Windows.Controls.Button)(target)); return; case 11: this.btn7 = ((System.Windows.Controls.Button)(target)); return; case 12: this.btn8 = ((System.Windows.Controls.Button)(target)); return; case 13: this.btn9 = ((System.Windows.Controls.Button)(target)); return; case 14: this.btn0 = ((System.Windows.Controls.Button)(target)); return; case 15: this.btn00 = ((System.Windows.Controls.Button)(target)); return; case 16: this.pnl2 = ((System.Windows.Controls.StackPanel)(target)); return; case 17: this.btnMinus = ((System.Windows.Controls.Button)(target)); return; case 18: this.btnTimes = ((System.Windows.Controls.Button)(target)); return; case 19: this.btnDevide = ((System.Windows.Controls.Button)(target)); return; case 20: this.btnEqual = ((System.Windows.Controls.Button)(target)); return; case 21: this.btnPlus = ((System.Windows.Controls.Button)(target)); return; case 22: this.btnPoint = ((System.Windows.Controls.Button)(target)); return; case 23: this.pnl3 = ((System.Windows.Controls.StackPanel)(target)); return; case 24: this.btnC = ((System.Windows.Controls.Button)(target)); return; case 25: this.btnCA = ((System.Windows.Controls.Button)(target)); return; case 26: this.btnOff = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.frmCalc = ((WpfApp4.MainWindow)(target)); return; case 2: this.grd = ((System.Windows.Controls.Grid)(target)); return; case 3: this.txtInput = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.pnl1 = ((System.Windows.Controls.StackPanel)(target)); return; case 5: this.btn1 = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\MainWindow.xaml" this.btn1.Click += new System.Windows.RoutedEventHandler(this.Btn_Click); #line default #line hidden return; case 6: this.btn2 = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\MainWindow.xaml" this.btn2.Click += new System.Windows.RoutedEventHandler(this.Btn_Click); #line default #line hidden return; case 7: this.btn3 = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\MainWindow.xaml" this.btn3.Click += new System.Windows.RoutedEventHandler(this.Btn_Click); #line default #line hidden return; case 8: this.btn4 = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\MainWindow.xaml" this.btn4.Click += new System.Windows.RoutedEventHandler(this.Btn_Click); #line default #line hidden return; case 9: this.btn5 = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\MainWindow.xaml" this.btn5.Click += new System.Windows.RoutedEventHandler(this.Btn_Click); #line default #line hidden return; case 10: this.btn6 = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\MainWindow.xaml" this.btn6.Click += new System.Windows.RoutedEventHandler(this.Btn_Click); #line default #line hidden return; case 11: this.btn7 = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\MainWindow.xaml" this.btn7.Click += new System.Windows.RoutedEventHandler(this.Btn_Click); #line default #line hidden return; case 12: this.btn8 = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\MainWindow.xaml" this.btn8.Click += new System.Windows.RoutedEventHandler(this.Btn_Click); #line default #line hidden return; case 13: this.btn9 = ((System.Windows.Controls.Button)(target)); #line 21 "..\..\MainWindow.xaml" this.btn9.Click += new System.Windows.RoutedEventHandler(this.Btn_Click); #line default #line hidden return; case 14: this.btn0 = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\MainWindow.xaml" this.btn0.Click += new System.Windows.RoutedEventHandler(this.Btn_Click); #line default #line hidden return; case 15: this.btn00 = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\MainWindow.xaml" this.btn00.Click += new System.Windows.RoutedEventHandler(this.Btn_Click); #line default #line hidden return; case 16: this.pnl2 = ((System.Windows.Controls.StackPanel)(target)); return; case 17: this.btnMinus = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\MainWindow.xaml" this.btnMinus.Click += new System.Windows.RoutedEventHandler(this.Operation_Click); #line default #line hidden return; case 18: this.btnTimes = ((System.Windows.Controls.Button)(target)); #line 30 "..\..\MainWindow.xaml" this.btnTimes.Click += new System.Windows.RoutedEventHandler(this.Operation_Click); #line default #line hidden return; case 19: this.btnDevide = ((System.Windows.Controls.Button)(target)); #line 31 "..\..\MainWindow.xaml" this.btnDevide.Click += new System.Windows.RoutedEventHandler(this.Operation_Click); #line default #line hidden return; case 20: this.btnEqual = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\MainWindow.xaml" this.btnEqual.Click += new System.Windows.RoutedEventHandler(this.BtnEqual_Click); #line default #line hidden return; case 21: this.btnPlus = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\MainWindow.xaml" this.btnPlus.Click += new System.Windows.RoutedEventHandler(this.Operation_Click); #line default #line hidden return; case 22: this.btnPoint = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\MainWindow.xaml" this.btnPoint.Click += new System.Windows.RoutedEventHandler(this.Btn_Click); #line default #line hidden return; case 23: this.pnl3 = ((System.Windows.Controls.StackPanel)(target)); return; case 24: this.btnC = ((System.Windows.Controls.Button)(target)); #line 41 "..\..\MainWindow.xaml" this.btnC.Click += new System.Windows.RoutedEventHandler(this.Clear_Click); #line default #line hidden return; case 25: this.btnCA = ((System.Windows.Controls.Button)(target)); return; case 26: this.btnOff = ((System.Windows.Controls.Button)(target)); #line 44 "..\..\MainWindow.xaml" this.btnOff.Click += new System.Windows.RoutedEventHandler(this.BtnOff_Click); #line default #line hidden return; } this._contentLoaded = true; }