void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainControl = ((beRemote.GUI.Controls.beTreeView)(target)); return; case 2: #line 195 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EvaluateCanAddFolder); #line default #line hidden #line 195 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AddFolder); #line default #line hidden return; case 3: #line 196 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EvaluateCanAddConnection); #line default #line hidden #line 196 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AddConnection); #line default #line hidden return; case 4: #line 197 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EvaluateCanDelete); #line default #line hidden #line 197 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.DeleteFolder); #line default #line hidden return; case 5: #line 200 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EvaluateCanEdit); #line default #line hidden #line 200 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.EditItem); #line default #line hidden return; case 6: #line 201 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EvaluateCanSortUp); #line default #line hidden #line 201 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SortUpItem); #line default #line hidden return; case 7: #line 202 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EvaluateCanSortDown); #line default #line hidden #line 202 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SortDownItem); #line default #line hidden return; case 8: #line 203 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EvaluateCanAddToFav); #line default #line hidden #line 203 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AddToFavItem); #line default #line hidden return; case 9: #line 204 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EvaluateCanDefaultProtocol); #line default #line hidden #line 204 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SetDefaultProtocol); #line default #line hidden return; case 10: #line 205 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EvaluateCanDefaultFolder); #line default #line hidden #line 205 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SetDefaultFolder); #line default #line hidden return; case 11: #line 206 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EvaluateCanConnectWithoutCredentials); #line default #line hidden #line 206 "..\..\..\..\..\Controls\TreeView\beTreeView.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ConnectWithoutCredentialsItem); #line default #line hidden return; case 12: this.tvMain = ((beRemote.GUI.Controls.ConnectionTree)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.beRemote = ((beRemote.GUI.MainWindow)(target)); #line 28 "..\..\..\MainWindow.xaml" this.beRemote.SizeChanged += new System.Windows.SizeChangedEventHandler(this.beRemote_SizeChanged); #line default #line hidden #line 29 "..\..\..\MainWindow.xaml" this.beRemote.LocationChanged += new System.EventHandler(this.beRemote_LocationChanged); #line default #line hidden return; case 2: this.viewModel = ((beRemote.GUI.ViewModel.ViewModelMain)(target)); return; case 3: this.spLogin = ((System.Windows.Controls.StackPanel)(target)); return; case 4: this.tbPleaseLogin = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.tbLoginUsername = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.tbLoginPassword = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.pbLoginPassword = ((System.Windows.Controls.PasswordBox)(target)); return; case 8: this.grdChangePw = ((System.Windows.Controls.Grid)(target)); return; case 9: this.pbOld = ((System.Windows.Controls.PasswordBox)(target)); return; case 10: this.pbNew1 = ((System.Windows.Controls.PasswordBox)(target)); return; case 11: this.pbNew2 = ((System.Windows.Controls.PasswordBox)(target)); return; case 12: this.lblOldPw = ((System.Windows.Controls.Label)(target)); return; case 13: this.lblNewPw = ((System.Windows.Controls.Label)(target)); return; case 14: this.lblNewPwRep = ((System.Windows.Controls.Label)(target)); return; case 15: this.btnSave = ((System.Windows.Controls.Button)(target)); return; case 16: this.btnCancel = ((System.Windows.Controls.Button)(target)); return; case 17: this.grdCreateAccount = ((System.Windows.Controls.Grid)(target)); return; case 18: this.txtCreateAccountUsername = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.txtCreateAccountDisplayname = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.pbCreateAccountPassword = ((System.Windows.Controls.PasswordBox)(target)); #line 247 "..\..\..\MainWindow.xaml" this.pbCreateAccountPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.pbCreateAccountPassword_PasswordChanged); #line default #line hidden return; case 21: this.pbCreateAccountPassword2 = ((System.Windows.Controls.PasswordBox)(target)); #line 250 "..\..\..\MainWindow.xaml" this.pbCreateAccountPassword2.PasswordChanged += new System.Windows.RoutedEventHandler(this.pbCreateAccountPassword2_PasswordChanged); #line default #line hidden return; case 22: this.tabGroupFilter = ((Fluent.RibbonContextualTabGroup)(target)); return; case 23: this.tabGroupVpn = ((Fluent.RibbonContextualTabGroup)(target)); return; case 24: this.adMainDock = ((Xceed.Wpf.AvalonDock.DockingManager)(target)); return; case 25: this.tvConList = ((beRemote.GUI.Controls.beTreeView)(target)); return; case 26: this.cmbFilter = ((System.Windows.Controls.ComboBox)(target)); return; case 27: this.txtQuickConnect = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.lblQuickConnect = ((System.Windows.Controls.Border)(target)); return; case 29: this.cmbQuickConnect = ((System.Windows.Controls.ComboBox)(target)); return; } this._contentLoaded = true; }