void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.main = ((Util.Controls.WPFTest.MainWindow)(target)); return; case 2: this.PageContext = ((System.Windows.Controls.Frame)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.main = ((Util.Controls.WPFTest.MainWindow)(target)); return; case 2: this.dp = ((System.Windows.Controls.DockPanel)(target)); return; case 3: this.num = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.pass = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.btn_Login = ((System.Windows.Controls.Button)(target)); #line 70 "..\..\..\MainWindow.xaml" this.btn_Login.Click += new System.Windows.RoutedEventHandler(this.button_click1); #line default #line hidden return; case 6: this.btn_Cancel = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\..\MainWindow.xaml" this.btn_Cancel.Click += new System.Windows.RoutedEventHandler(this.button_click2); #line default #line hidden return; } this._contentLoaded = true; }