void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((Orange.Preferences)(target)); #line 12 "..\..\..\..\Main\DialogUserControls\Preferences.xaml" this.UserControl.Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); #line 14 "..\..\..\..\Main\DialogUserControls\Preferences.xaml" this.LayoutRoot.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LayoutRoot_MouseDown); #line default #line hidden return; case 3: this.TopmostToggleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target)); return; case 4: this.TrayToggleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target)); return; case 5: this.LanguageCombobox = ((System.Windows.Controls.ComboBox)(target)); #line 22 "..\..\..\..\Main\DialogUserControls\Preferences.xaml" this.LanguageCombobox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LanguageCombobox_SelectionChanged); #line default #line hidden return; case 6: this.English = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 7: this.Korean = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 8: this.japanese = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 9: this.french = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 10: this.confirmBtn = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\..\..\Main\DialogUserControls\Preferences.xaml" this.confirmBtn.Click += new System.Windows.RoutedEventHandler(this.confirmBtn_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((Orange.Preferences)(target)); #line 12 "..\..\..\..\Main\DialogUserControls\Preferences.xaml" this.UserControl.Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); #line 14 "..\..\..\..\Main\DialogUserControls\Preferences.xaml" this.LayoutRoot.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LayoutRoot_MouseDown); #line default #line hidden return; case 3: this.TopmostToggleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target)); return; case 4: this.TrayToggleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target)); return; case 5: this.LanguageCombobox = ((System.Windows.Controls.ComboBox)(target)); #line 22 "..\..\..\..\Main\DialogUserControls\Preferences.xaml" this.LanguageCombobox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LanguageCombobox_SelectionChanged); #line default #line hidden return; case 6: this.English = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 7: this.Korean = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 8: this.japanese = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 9: this.french = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 10: this.confirmBtn = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\..\..\Main\DialogUserControls\Preferences.xaml" this.confirmBtn.Click += new System.Windows.RoutedEventHandler(this.confirmBtn_Click); #line default #line hidden return; } this._contentLoaded = true; }