void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainPage = ((ES.UI.MainWindow)(target)); #line 13 "..\..\..\MainWindow.xaml" this.MainPage.SourceInitialized += new System.EventHandler(this.Window_SourceInitialized); #line default #line hidden #line 14 "..\..\..\MainWindow.xaml" this.MainPage.Loaded += new System.Windows.RoutedEventHandler(this.MainPage_Loaded); #line default #line hidden return; case 2: this.ShellHeader = ((System.Windows.Controls.Grid)(target)); return; case 3: this.WindowHeader = ((System.Windows.Controls.Grid)(target)); return; case 4: this.WindowTitle = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.UserName = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.TodayDate = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.MinimizeButton = ((System.Windows.Controls.Button)(target)); #line 119 "..\..\..\MainWindow.xaml" this.MinimizeButton.Click += new System.Windows.RoutedEventHandler(this.MinimizeButton_Click); #line default #line hidden return; case 8: this.CloseButton = ((System.Windows.Controls.Button)(target)); #line 129 "..\..\..\MainWindow.xaml" this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click); #line default #line hidden return; case 9: this.Ribbon = ((System.Windows.Controls.Grid)(target)); return; case 10: this.RibbonControl = ((ES.UI.CommonControls.RibbonControl)(target)); return; case 11: this.MainContainer = ((System.Windows.Controls.ContentControl)(target)); return; } this._contentLoaded = true; }