void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 12 "..\..\..\Dialogs\PopupDialog.xaml" ((Mania.Launcher.Dialogs.PopupDialog)(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.closeBtn = ((System.Windows.Controls.Button)(target)); #line 55 "..\..\..\Dialogs\PopupDialog.xaml" this.closeBtn.Click += new System.Windows.RoutedEventHandler(this.closeBtn_Click); #line default #line hidden return; case 4: this.deleteBtn = ((System.Windows.Controls.Button)(target)); #line 73 "..\..\..\Dialogs\PopupDialog.xaml" this.deleteBtn.Click += new System.Windows.RoutedEventHandler(this.deleteBtn_Click); #line default #line hidden return; case 5: this.cancelBtn = ((System.Windows.Controls.Button)(target)); #line 77 "..\..\..\Dialogs\PopupDialog.xaml" this.cancelBtn.Click += new System.Windows.RoutedEventHandler(this.cancelBtn_Click); #line default #line hidden return; case 6: this.popupMessage = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 12 "..\..\SettingsWindow.xaml" ((Mania.Launcher.SettingsWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 13 "..\..\SettingsWindow.xaml" ((Mania.Launcher.SettingsWindow)(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.Settings = ((System.Windows.Controls.TabControl)(target)); return; case 4: this.generalSet = ((System.Windows.Controls.TabItem)(target)); return; case 5: this.tabMenu = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.labelGeneral = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.appLang = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.changeLang = ((System.Windows.Controls.ComboBox)(target)); #line 106 "..\..\SettingsWindow.xaml" this.changeLang.Loaded += new System.Windows.RoutedEventHandler(this.changeLang_Loaded); #line default #line hidden return; case 9: this.ptBR = ((System.Windows.Controls.ComboBoxItem)(target)); #line 109 "..\..\SettingsWindow.xaml" this.ptBR.Selected += new System.Windows.RoutedEventHandler(this.ComboBoxItem_Selected); #line default #line hidden return; case 10: this.enUS = ((System.Windows.Controls.ComboBoxItem)(target)); #line 112 "..\..\SettingsWindow.xaml" this.enUS.Selected += new System.Windows.RoutedEventHandler(this.ComboBoxItem_Selected); #line default #line hidden return; case 11: this.copyApp = ((System.Windows.Controls.CheckBox)(target)); #line 125 "..\..\SettingsWindow.xaml" this.copyApp.Loaded += new System.Windows.RoutedEventHandler(this.copyApp_Loaded); #line default #line hidden return; case 12: this.confTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.openGameSetBtn = ((System.Windows.Controls.Button)(target)); #line 142 "..\..\SettingsWindow.xaml" this.openGameSetBtn.Click += new System.Windows.RoutedEventHandler(this.openGameSetBtn_Click); #line default #line hidden return; case 14: this.userSet = ((System.Windows.Controls.TabItem)(target)); return; case 15: this.tabMenu1 = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.exitBtn = ((System.Windows.Controls.Button)(target)); #line 182 "..\..\SettingsWindow.xaml" this.exitBtn.Click += new System.Windows.RoutedEventHandler(this.exitBtn_Click); #line default #line hidden return; case 17: this.labelAutoLogin = ((System.Windows.Controls.TextBlock)(target)); return; case 18: this.settingsLabelTooltip2 = ((System.Windows.Controls.TextBlock)(target)); return; case 19: this.EnterLogin = ((System.Windows.Controls.TextBlock)(target)); return; case 20: this.EnterPass = ((System.Windows.Controls.TextBlock)(target)); return; case 21: this.textBoxLogin = ((System.Windows.Controls.TextBox)(target)); #line 231 "..\..\SettingsWindow.xaml" this.textBoxLogin.GotFocus += new System.Windows.RoutedEventHandler(this.textBoxLogin_GotFocus); #line default #line hidden return; case 22: this.passwordBox = ((System.Windows.Controls.PasswordBox)(target)); #line 243 "..\..\SettingsWindow.xaml" this.passwordBox.GotFocus += new System.Windows.RoutedEventHandler(this.passwordBox_GotFocus); #line default #line hidden #line 244 "..\..\SettingsWindow.xaml" this.passwordBox.PasswordChanged += new System.Windows.RoutedEventHandler(this.passwordBox_PasswordChanged); #line default #line hidden return; case 23: this.result = ((System.Windows.Controls.TextBlock)(target)); return; case 24: this.settingsLabelTooltip = ((System.Windows.Controls.Label)(target)); return; case 25: this.gameLoc = ((System.Windows.Controls.TabItem)(target)); return; case 26: this.tabMenu2 = ((System.Windows.Controls.TextBlock)(target)); return; case 27: this.labelGame = ((System.Windows.Controls.TextBlock)(target)); return; case 28: this.location1 = ((System.Windows.Controls.TextBox)(target)); #line 317 "..\..\SettingsWindow.xaml" this.location1.GotFocus += new System.Windows.RoutedEventHandler(this.location1_GotFocus); #line default #line hidden return; case 29: this.game1 = ((System.Windows.Controls.TextBlock)(target)); return; case 30: this.client1Btn = ((System.Windows.Controls.Button)(target)); #line 334 "..\..\SettingsWindow.xaml" this.client1Btn.Click += new System.Windows.RoutedEventHandler(this.client1Btn_Click); #line default #line hidden return; case 31: this.saveSettingsButton = ((System.Windows.Controls.Button)(target)); #line 357 "..\..\SettingsWindow.xaml" this.saveSettingsButton.Click += new System.Windows.RoutedEventHandler(this.SaveSettingsButton_Click); #line default #line hidden return; case 32: this.closeButtonSettings = ((System.Windows.Controls.Button)(target)); #line 373 "..\..\SettingsWindow.xaml" this.closeButtonSettings.Click += new System.Windows.RoutedEventHandler(this.closeButtonSettings_Click); #line default #line hidden return; case 33: this.SettingsLabel = ((System.Windows.Controls.TextBlock)(target)); return; case 34: this.clearSetting = ((System.Windows.Controls.Button)(target)); #line 397 "..\..\SettingsWindow.xaml" this.clearSetting.Click += new System.Windows.RoutedEventHandler(this.clearSetting_Click); #line default #line hidden 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; }