void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.NewsControl = ((Mania.Launcher.Controls.NewsTab)(target)); #line 10 "..\..\..\Controls\NewsTab.xaml" this.NewsControl.Loaded += new System.Windows.RoutedEventHandler(this.NewsControl_Loaded); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.NewsGrid = ((System.Windows.Controls.Grid)(target)); return; case 4: this.GridContent = ((System.Windows.Controls.Grid)(target)); return; case 5: this.changeRealms = ((System.Windows.Controls.Grid)(target)); return; case 6: this.hoverBorder = ((System.Windows.Controls.Border)(target)); return; case 7: this.reloadNewsList = ((System.Windows.Controls.Button)(target)); #line 95 "..\..\..\Controls\NewsTab.xaml" this.reloadNewsList.Click += new System.Windows.RoutedEventHandler(this.NewsControl_Loaded); #line default #line hidden return; case 8: this.cbNews = ((System.Windows.Controls.ComboBox)(target)); #line 108 "..\..\..\Controls\NewsTab.xaml" this.cbNews.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Loaded); #line default #line hidden #line 109 "..\..\..\Controls\NewsTab.xaml" this.cbNews.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged); #line default #line hidden return; case 9: this.newsListGrid = ((System.Windows.Controls.Grid)(target)); return; case 10: this.charList = ((System.Windows.Controls.ListBox)(target)); return; case 11: this.newsContent = ((System.Windows.Controls.ScrollViewer)(target)); return; case 12: this.realmName = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.newsHeader = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.realmDate = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.newsImage = ((System.Windows.Controls.Image)(target)); return; case 16: this.newsBody = ((System.Windows.Controls.TextBlock)(target)); return; case 17: this.initIndicator = ((Mania.Launcher.Animation.LoaderSpinner)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 19 "..\..\MainWindow.xaml" ((Mania.Launcher.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 20 "..\..\MainWindow.xaml" ((Mania.Launcher.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown); #line default #line hidden return; case 2: this.tb = ((Samples.libs.TaskbarIcon)(target)); return; case 3: this.bg = ((System.Windows.Controls.Image)(target)); return; case 4: this.NewsTab = ((Mania.Launcher.Controls.NewsTab)(target)); return; case 5: this.gameGrid = ((System.Windows.Controls.Grid)(target)); return; case 6: this.WelcomeBlock = ((Mania.Launcher.Controls.WelcomeBlock)(target)); return; case 7: this.playButton = ((System.Windows.Controls.Button)(target)); #line 103 "..\..\MainWindow.xaml" this.playButton.Click += new System.Windows.RoutedEventHandler(this.PlayButton_Click); #line default #line hidden return; case 8: this.ProgressBar1 = ((Mania.Utils.ProgressBar.ProgressBar)(target)); return; case 9: this.newsAvailible = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.bannersLoader = ((Mania.Launcher.Controls.NewsRotator)(target)); return; case 11: this.hotNewsGrid1 = ((System.Windows.Controls.Grid)(target)); return; case 12: this.hotNewsLabel = ((System.Windows.Controls.Label)(target)); return; case 13: this.hotNewsTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.infoDownload = ((System.Windows.Controls.Label)(target)); return; case 15: this.minimizeButton = ((System.Windows.Controls.Button)(target)); #line 227 "..\..\MainWindow.xaml" this.minimizeButton.Click += new System.Windows.RoutedEventHandler(this.MinimizeButton_OnClick); #line default #line hidden return; case 16: this.closeButton = ((System.Windows.Controls.Button)(target)); #line 244 "..\..\MainWindow.xaml" this.closeButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_OnClick); #line default #line hidden return; case 17: this.gamesBtn = ((System.Windows.Controls.RadioButton)(target)); #line 263 "..\..\MainWindow.xaml" this.gamesBtn.Click += new System.Windows.RoutedEventHandler(this.gamesBtn_Click); #line default #line hidden return; case 18: this.newsBtn = ((System.Windows.Controls.RadioButton)(target)); #line 275 "..\..\MainWindow.xaml" this.newsBtn.Click += new System.Windows.RoutedEventHandler(this.newsBtn_Click); #line default #line hidden return; case 19: this.forumBtn = ((System.Windows.Controls.Button)(target)); #line 289 "..\..\MainWindow.xaml" this.forumBtn.Click += new System.Windows.RoutedEventHandler(this.forumBtn_Click); #line default #line hidden return; case 20: this.shopBtn = ((System.Windows.Controls.Button)(target)); #line 300 "..\..\MainWindow.xaml" this.shopBtn.Click += new System.Windows.RoutedEventHandler(this.shopBtn_Click); #line default #line hidden return; case 21: this.settingsBtn = ((System.Windows.Controls.Button)(target)); #line 308 "..\..\MainWindow.xaml" this.settingsBtn.Click += new System.Windows.RoutedEventHandler(this.settingsBtn_Click); #line default #line hidden return; case 22: this.initIndicator = ((Mania.Launcher.Animation.LoaderSpinner)(target)); return; case 23: this.logo = ((System.Windows.Controls.Image)(target)); #line 326 "..\..\MainWindow.xaml" this.logo.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.logo_MouseLeftButtonDown); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 13 "..\..\LoginDialog.xaml" ((Mania.Launcher.LoginForm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 14 "..\..\LoginDialog.xaml" ((Mania.Launcher.LoginForm)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown); #line default #line hidden return; case 2: this.tb = ((Samples.libs.TaskbarIcon)(target)); return; case 3: this.loginBG = ((System.Windows.Controls.Image)(target)); return; case 4: this.loginBox = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.passwordBox = ((System.Windows.Controls.PasswordBox)(target)); #line 71 "..\..\LoginDialog.xaml" this.passwordBox.PasswordChanged += new System.Windows.RoutedEventHandler(this.passwordBox_PasswordChanged); #line default #line hidden #line 72 "..\..\LoginDialog.xaml" this.passwordBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.passwordBox_PreviewKeyDown); #line default #line hidden return; case 6: this.loginBtn = ((System.Windows.Controls.Button)(target)); #line 83 "..\..\LoginDialog.xaml" this.loginBtn.Click += new System.Windows.RoutedEventHandler(this.loginBtn_Click); #line default #line hidden return; case 7: this.forgotPassBtn = ((System.Windows.Controls.Button)(target)); #line 97 "..\..\LoginDialog.xaml" this.forgotPassBtn.Click += new System.Windows.RoutedEventHandler(this.forgotBtn_Click); #line default #line hidden return; case 8: this.regBtn = ((System.Windows.Controls.Button)(target)); #line 116 "..\..\LoginDialog.xaml" this.regBtn.Click += new System.Windows.RoutedEventHandler(this.registrBtn_Click); #line default #line hidden return; case 9: this.remember = ((System.Windows.Controls.CheckBox)(target)); return; case 10: this.initIndicator = ((Mania.Launcher.Animation.LoaderSpinner)(target)); return; case 11: this.closeButton = ((System.Windows.Controls.Button)(target)); #line 145 "..\..\LoginDialog.xaml" this.closeButton.Click += new System.Windows.RoutedEventHandler(this.closeButton_Click); #line default #line hidden return; case 12: this.logo = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }