void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.aMainWindow = ((FolderMonitor.MainWindow)(target)); #line 8 "..\..\MainWindow.xaml" this.aMainWindow.Loaded += new System.Windows.RoutedEventHandler(this.AppLoaded); #line default #line hidden #line 9 "..\..\MainWindow.xaml" this.aMainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.AppClosing); #line default #line hidden return; case 2: #line 12 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseApp); #line default #line hidden return; case 3: this.FoldersList = ((System.Windows.Controls.ListView)(target)); return; case 5: this.SourceBox = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.SourceBtn = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\MainWindow.xaml" this.SourceBtn.Click += new System.Windows.RoutedEventHandler(this.OpenFileBrowser); #line default #line hidden return; case 7: this.DestBox = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.DestBtn = ((System.Windows.Controls.Button)(target)); #line 57 "..\..\MainWindow.xaml" this.DestBtn.Click += new System.Windows.RoutedEventHandler(this.OpenFileBrowser); #line default #line hidden return; case 9: #line 59 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddSource); #line default #line hidden return; case 10: this.CloseToTray = ((System.Windows.Controls.CheckBox)(target)); #line 66 "..\..\MainWindow.xaml" this.CloseToTray.Click += new System.Windows.RoutedEventHandler(this.CloseToTray_Click); #line default #line hidden return; case 11: this.RunOnStartup = ((System.Windows.Controls.CheckBox)(target)); #line 67 "..\..\MainWindow.xaml" this.RunOnStartup.Click += new System.Windows.RoutedEventHandler(this.RunOnStartup_Click); #line default #line hidden return; case 12: this.IntegrateXBMC = ((System.Windows.Controls.CheckBox)(target)); #line 68 "..\..\MainWindow.xaml" this.IntegrateXBMC.Click += new System.Windows.RoutedEventHandler(this.IntegrateXBMC_Click); #line default #line hidden return; case 13: this.XBMCConnectionInfo = ((System.Windows.Controls.Grid)(target)); return; case 14: this.XBMCPort = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.XBMCUser = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.XBMCPassword = ((System.Windows.Controls.TextBox)(target)); return; case 17: #line 90 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveXBMCSettings); #line default #line hidden return; case 18: this.FilterDataTypes = ((System.Windows.Controls.TextBox)(target)); return; case 19: #line 99 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveFilterDataTypes); #line default #line hidden return; case 20: this.ErrorList = ((System.Windows.Controls.ListView)(target)); return; case 23: this.WindowStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target)); return; case 24: this.XBMCConnectionStatus = ((System.Windows.Controls.StackPanel)(target)); return; case 25: this.XBMCConnectionStatusImage = ((System.Windows.Controls.Image)(target)); return; case 26: this.XBMCConnectionMenuHeader = ((System.Windows.Controls.MenuItem)(target)); return; case 27: this.XBMCConnectionStatusText = ((System.Windows.Controls.TextBlock)(target)); return; case 28: this.NotifyIcon = ((Hardcodet.Wpf.TaskbarNotification.TaskbarIcon)(target)); return; case 29: #line 153 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseApp); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.aMainWindow = ((FolderMonitor.MainWindow)(target)); #line 8 "..\..\MainWindow.xaml" this.aMainWindow.Loaded += new System.Windows.RoutedEventHandler(this.AppLoaded); #line default #line hidden #line 9 "..\..\MainWindow.xaml" this.aMainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.AppClosing); #line default #line hidden return; case 2: #line 12 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseApp); #line default #line hidden return; case 3: this.FoldersList = ((System.Windows.Controls.ListView)(target)); return; case 5: this.SourceBox = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.SourceBtn = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\MainWindow.xaml" this.SourceBtn.Click += new System.Windows.RoutedEventHandler(this.OpenFileBrowser); #line default #line hidden return; case 7: this.DestBox = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.DestBtn = ((System.Windows.Controls.Button)(target)); #line 57 "..\..\MainWindow.xaml" this.DestBtn.Click += new System.Windows.RoutedEventHandler(this.OpenFileBrowser); #line default #line hidden return; case 9: #line 59 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddSource); #line default #line hidden return; case 10: this.CloseToTray = ((System.Windows.Controls.CheckBox)(target)); #line 66 "..\..\MainWindow.xaml" this.CloseToTray.Click += new System.Windows.RoutedEventHandler(this.CloseToTray_Click); #line default #line hidden return; case 11: this.RunOnStartup = ((System.Windows.Controls.CheckBox)(target)); #line 67 "..\..\MainWindow.xaml" this.RunOnStartup.Click += new System.Windows.RoutedEventHandler(this.RunOnStartup_Click); #line default #line hidden return; case 12: this.IntegrateXBMC = ((System.Windows.Controls.CheckBox)(target)); #line 68 "..\..\MainWindow.xaml" this.IntegrateXBMC.Click += new System.Windows.RoutedEventHandler(this.IntegrateXBMC_Click); #line default #line hidden return; case 13: this.XBMCConnectionInfo = ((System.Windows.Controls.Grid)(target)); return; case 14: this.XBMCPort = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.XBMCUser = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.XBMCPassword = ((System.Windows.Controls.TextBox)(target)); return; case 17: #line 90 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveXBMCSettings); #line default #line hidden return; case 18: this.FilterDataTypes = ((System.Windows.Controls.TextBox)(target)); return; case 19: #line 99 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveFilterDataTypes); #line default #line hidden return; case 20: this.ErrorList = ((System.Windows.Controls.ListView)(target)); return; case 23: this.WindowStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target)); return; case 24: this.XBMCConnectionStatus = ((System.Windows.Controls.StackPanel)(target)); return; case 25: this.XBMCConnectionStatusImage = ((System.Windows.Controls.Image)(target)); return; case 26: this.XBMCConnectionMenuHeader = ((System.Windows.Controls.MenuItem)(target)); return; case 27: this.XBMCConnectionStatusText = ((System.Windows.Controls.TextBlock)(target)); return; case 28: this.NotifyIcon = ((Hardcodet.Wpf.TaskbarNotification.TaskbarIcon)(target)); return; case 29: #line 153 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseApp); #line default #line hidden return; } this._contentLoaded = true; }