void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.flyoutsDemo = ((MetroDemo.ExampleWindows.FlyoutDemo)(target)); return; case 2: this.flyoutsControl = ((MahApps.Metro.Controls.FlyoutsControl)(target)); return; case 3: this.settingsFlyout = ((MahApps.Metro.Controls.Flyout)(target)); return; case 4: this.firstTB = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.flyoutSettingsComboboxDownloadlanguage = ((System.Windows.Controls.ComboBox)(target)); return; case 6: this.flyoutSettingsButtonSave = ((System.Windows.Controls.Button)(target)); return; case 7: #line 229 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowSettingsLeft); #line default #line hidden return; case 8: #line 233 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowSettingsRight); #line default #line hidden return; case 9: #line 342 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowSecond); #line default #line hidden return; case 10: #line 345 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowThird); #line default #line hidden return; case 11: #line 348 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAccent); #line default #line hidden return; case 12: #line 351 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowInverse); #line default #line hidden return; case 13: #line 354 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAdapt); #line default #line hidden return; case 14: #line 357 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowSettings); #line default #line hidden return; case 15: #line 360 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowModal); #line default #line hidden return; case 16: #line 363 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAppBar); #line default #line hidden return; case 17: #line 366 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowDynamicFlyout); #line default #line hidden return; case 18: #line 464 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowLeft); #line default #line hidden return; case 19: #line 467 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowTop); #line default #line hidden return; case 20: #line 470 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowBottom); #line default #line hidden return; case 21: #line 473 "..\..\..\..\Windows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseMe); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.flyoutsDemo = ((MetroDemo.ExampleWindows.FlyoutDemo)(target)); return; case 2: this.flyoutsControl = ((MahApps.Metro.Controls.FlyoutsControl)(target)); return; case 3: this.settingsFlyout = ((MahApps.Metro.Controls.Flyout)(target)); return; case 4: this.firstTB = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.flyoutSettingsComboboxDownloadlanguage = ((System.Windows.Controls.ComboBox)(target)); return; case 6: this.flyoutSettingsButtonSave = ((System.Windows.Controls.Button)(target)); return; case 7: #line 229 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowSettingsLeft); #line default #line hidden return; case 8: #line 233 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowSettingsRight); #line default #line hidden return; case 9: #line 342 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowSecond); #line default #line hidden return; case 10: #line 345 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowThird); #line default #line hidden return; case 11: #line 348 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAccent); #line default #line hidden return; case 12: #line 351 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowInverse); #line default #line hidden return; case 13: #line 354 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAdapt); #line default #line hidden return; case 14: #line 357 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowSettings); #line default #line hidden return; case 15: #line 360 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowModal); #line default #line hidden return; case 16: #line 363 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAppBar); #line default #line hidden return; case 17: #line 366 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowDynamicFlyout); #line default #line hidden return; case 18: #line 464 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowLeft); #line default #line hidden return; case 19: #line 467 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowTop); #line default #line hidden return; case 20: #line 470 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowBottom); #line default #line hidden return; case 21: #line 473 "..\..\..\..\ExampleWindows\FlyoutDemo.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseMe); #line default #line hidden return; } this._contentLoaded = true; }