void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainForm = ((WinDroid_Universal_HTC_Toolkit.MainWindow)(target)); #line 5 "..\..\MainWindow.xaml" this.MainForm.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.GetSuperCIDButton = ((System.Windows.Controls.Button)(target)); #line 12 "..\..\MainWindow.xaml" this.GetSuperCIDButton.Click += new System.Windows.RoutedEventHandler(this.GetSuperCIDButton_Click); #line default #line hidden return; case 3: #line 13 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GetTokenIDButton); #line default #line hidden return; case 4: #line 14 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UnlockBootloaderButton); #line default #line hidden return; case 5: this.DeviceTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.PhoneFlyout = ((MahApps.Metro.Controls.Flyout)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainForm = ((WinDroid_Universal_HTC_Toolkit.MainWindow)(target)); #line 5 "..\..\MainWindow.xaml" this.MainForm.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.gainSuperCIDButton = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\MainWindow.xaml" this.gainSuperCIDButton.Click += new System.Windows.RoutedEventHandler(this.GetSuperCIDButton_Click); #line default #line hidden return; case 3: this.getTokenIDButton = ((System.Windows.Controls.Button)(target)); #line 21 "..\..\MainWindow.xaml" this.getTokenIDButton.Click += new System.Windows.RoutedEventHandler(this.GetTokenIDButton); #line default #line hidden return; case 4: this.unlockBootloaderButton = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\MainWindow.xaml" this.unlockBootloaderButton.Click += new System.Windows.RoutedEventHandler(this.UnlockBootloaderButton); #line default #line hidden return; case 5: this.recoveryOption1 = ((System.Windows.Controls.Button)(target)); return; case 6: this.recoveryOption2 = ((System.Windows.Controls.Button)(target)); return; case 7: this.recoveryOption3 = ((System.Windows.Controls.Button)(target)); return; case 8: this.statusEllipse = ((System.Windows.Shapes.Ellipse)(target)); return; case 9: this.statusLabel = ((System.Windows.Controls.Label)(target)); return; case 10: this.refreshButton = ((System.Windows.Controls.Button)(target)); #line 73 "..\..\MainWindow.xaml" this.refreshButton.Click += new System.Windows.RoutedEventHandler(this.refreshButton_Click); #line default #line hidden return; case 11: this.refreshSpinner = ((MahApps.Metro.Controls.ProgressRing)(target)); return; case 12: #line 86 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.TogglePhoneCommand_Executed); #line default #line hidden return; case 13: this.phoneListBox = ((System.Windows.Controls.ListBox)(target)); #line 93 "..\..\MainWindow.xaml" this.phoneListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.phoneListBox_SelectionChanged); #line default #line hidden return; case 14: this.PhoneTextBox = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }