void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DlgMenusManager = ((PNotes.NET.WndMenusManager)(target)); #line 15 "..\..\WndMenusManager.xaml" this.DlgMenusManager.Loaded += new System.Windows.RoutedEventHandler(this.DlgMenusManager_Loaded); #line default #line hidden #line 16 "..\..\WndMenusManager.xaml" this.DlgMenusManager.Closed += new System.EventHandler(this.DlgMenusManager_Closed); #line default #line hidden return; case 2: this.tabMenus = ((System.Windows.Controls.TabControl)(target)); #line 27 "..\..\WndMenusManager.xaml" this.tabMenus.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabMenus_SelectionChanged); #line default #line hidden return; case 3: this.tbpMain = ((System.Windows.Controls.TabItem)(target)); return; case 4: this.tvwMain = ((System.Windows.Controls.TreeView)(target)); #line 29 "..\..\WndMenusManager.xaml" this.tvwMain.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.treeView_SelectedItemChanged); #line default #line hidden return; case 5: this.tbpNote = ((System.Windows.Controls.TabItem)(target)); return; case 6: this.tvwNote = ((System.Windows.Controls.TreeView)(target)); #line 32 "..\..\WndMenusManager.xaml" this.tvwNote.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.treeView_SelectedItemChanged); #line default #line hidden return; case 7: this.tbpEdit = ((System.Windows.Controls.TabItem)(target)); return; case 8: this.tvwEdit = ((System.Windows.Controls.TreeView)(target)); #line 35 "..\..\WndMenusManager.xaml" this.tvwEdit.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.treeView_SelectedItemChanged); #line default #line hidden return; case 9: this.tbpCP = ((System.Windows.Controls.TabItem)(target)); return; case 10: this.tvwCP = ((System.Windows.Controls.TreeView)(target)); #line 38 "..\..\WndMenusManager.xaml" this.tvwCP.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.treeView_SelectedItemChanged); #line default #line hidden return; case 11: this.cmdUp = ((System.Windows.Controls.Primitives.RepeatButton)(target)); #line 42 "..\..\WndMenusManager.xaml" this.cmdUp.Click += new System.Windows.RoutedEventHandler(this.cmdUp_Click); #line default #line hidden return; case 12: this.cmdDown = ((System.Windows.Controls.Primitives.RepeatButton)(target)); #line 43 "..\..\WndMenusManager.xaml" this.cmdDown.Click += new System.Windows.RoutedEventHandler(this.cmdDown_Click); #line default #line hidden return; case 13: this.cmdRestoreOrder = ((System.Windows.Controls.Button)(target)); #line 44 "..\..\WndMenusManager.xaml" this.cmdRestoreOrder.Click += new System.Windows.RoutedEventHandler(this.cmdRestoreOrder_Click); #line default #line hidden return; case 14: this.cmdResetAll = ((System.Windows.Controls.Button)(target)); #line 54 "..\..\WndMenusManager.xaml" this.cmdResetAll.Click += new System.Windows.RoutedEventHandler(this.cmdResetAll_Click); #line default #line hidden return; case 15: this.cmdResetCurrent = ((System.Windows.Controls.Button)(target)); #line 55 "..\..\WndMenusManager.xaml" this.cmdResetCurrent.Click += new System.Windows.RoutedEventHandler(this.cmdResetCurrent_Click); #line default #line hidden return; case 16: this.cmdOK = ((System.Windows.Controls.Button)(target)); #line 56 "..\..\WndMenusManager.xaml" this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click); #line default #line hidden return; case 17: this.cmdCancel = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }