void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\..\MainWindow.xaml" ((NetworkMonitorApplication.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed); #line default #line hidden #line 9 "..\..\..\MainWindow.xaml" ((NetworkMonitorApplication.MainWindow)(target)).StateChanged += new System.EventHandler(this.Window_StateChanged); #line default #line hidden return; case 2: this.btnStart = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\..\MainWindow.xaml" this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click); #line default #line hidden return; case 3: this.btnPause = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\..\MainWindow.xaml" this.btnPause.Click += new System.Windows.RoutedEventHandler(this.btnPause_Click); #line default #line hidden return; case 4: this.btnExit = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\..\MainWindow.xaml" this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click); #line default #line hidden return; case 5: this.tabItemPackets = ((System.Windows.Controls.TabItem)(target)); return; case 6: this.mainContainer = ((System.Windows.Controls.DockPanel)(target)); return; case 7: this.dataGridPackets = ((System.Windows.Controls.DataGrid)(target)); #line 50 "..\..\..\MainWindow.xaml" this.dataGridPackets.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.dataGridPackets_MouseDown); #line default #line hidden return; case 8: this.panelPacketInformation = ((System.Windows.Controls.GroupBox)(target)); return; case 9: this.comboProtocols = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.comboDirection = ((System.Windows.Controls.ComboBox)(target)); return; case 11: this.txtHost = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.btnFilter = ((System.Windows.Controls.Button)(target)); #line 124 "..\..\..\MainWindow.xaml" this.btnFilter.Click += new System.Windows.RoutedEventHandler(this.btnFilter_Click); #line default #line hidden return; case 13: this.progressBarFiltering = ((NetworkMonitorApplication.CircularProgressBar)(target)); return; case 14: this.lblFoundPackets = ((System.Windows.Controls.Label)(target)); return; case 15: this.tabItemTrafficStatistics = ((System.Windows.Controls.TabItem)(target)); return; case 16: this.comboTimeRange = ((System.Windows.Controls.ComboBox)(target)); return; case 17: this.btnShowStatistics = ((System.Windows.Controls.Button)(target)); #line 152 "..\..\..\MainWindow.xaml" this.btnShowStatistics.Click += new System.Windows.RoutedEventHandler(this.btnShowStatistics_Click); #line default #line hidden return; case 18: this.progressBarStatistics = ((NetworkMonitorApplication.CircularProgressBar)(target)); return; case 19: this.chartTraffic = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target)); return; case 20: this.lblTimeValue = ((System.Windows.Controls.Label)(target)); return; case 21: this.tabItemApplicationStatistics = ((System.Windows.Controls.TabItem)(target)); return; case 22: this.btnShowAppStatistics = ((System.Windows.Controls.Button)(target)); #line 179 "..\..\..\MainWindow.xaml" this.btnShowAppStatistics.Click += new System.Windows.RoutedEventHandler(this.btnShowAppStatistics_Click); #line default #line hidden return; case 23: this.progressBarAppStatistics = ((NetworkMonitorApplication.CircularProgressBar)(target)); return; case 24: this.chartApplications = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target)); return; case 25: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 190 "..\..\..\MainWindow.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 26: this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target)); return; case 27: this.lblStatus = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\..\MainWindow.xaml" ((NetworkMonitorApplication.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed); #line default #line hidden #line 9 "..\..\..\MainWindow.xaml" ((NetworkMonitorApplication.MainWindow)(target)).StateChanged += new System.EventHandler(this.Window_StateChanged); #line default #line hidden return; case 2: this.btnStart = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\..\MainWindow.xaml" this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click); #line default #line hidden return; case 3: this.btnPause = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\..\MainWindow.xaml" this.btnPause.Click += new System.Windows.RoutedEventHandler(this.btnPause_Click); #line default #line hidden return; case 4: this.btnExit = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\..\MainWindow.xaml" this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click); #line default #line hidden return; case 5: this.tabItemPackets = ((System.Windows.Controls.TabItem)(target)); return; case 6: this.mainContainer = ((System.Windows.Controls.DockPanel)(target)); return; case 7: this.dataGridPackets = ((System.Windows.Controls.DataGrid)(target)); #line 50 "..\..\..\MainWindow.xaml" this.dataGridPackets.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.dataGridPackets_MouseDown); #line default #line hidden return; case 8: this.panelPacketInformation = ((System.Windows.Controls.GroupBox)(target)); return; case 9: this.comboProtocols = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.comboDirection = ((System.Windows.Controls.ComboBox)(target)); return; case 11: this.txtHost = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.btnFilter = ((System.Windows.Controls.Button)(target)); #line 124 "..\..\..\MainWindow.xaml" this.btnFilter.Click += new System.Windows.RoutedEventHandler(this.btnFilter_Click); #line default #line hidden return; case 13: this.progressBarFiltering = ((NetworkMonitorApplication.CircularProgressBar)(target)); return; case 14: this.lblFoundPackets = ((System.Windows.Controls.Label)(target)); return; case 15: this.tabItemTrafficStatistics = ((System.Windows.Controls.TabItem)(target)); return; case 16: this.comboTimeRange = ((System.Windows.Controls.ComboBox)(target)); return; case 17: this.btnShowStatistics = ((System.Windows.Controls.Button)(target)); #line 152 "..\..\..\MainWindow.xaml" this.btnShowStatistics.Click += new System.Windows.RoutedEventHandler(this.btnShowStatistics_Click); #line default #line hidden return; case 18: this.progressBarStatistics = ((NetworkMonitorApplication.CircularProgressBar)(target)); return; case 19: this.chartTraffic = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target)); return; case 20: this.lblTimeValue = ((System.Windows.Controls.Label)(target)); return; case 21: this.tabItemApplicationStatistics = ((System.Windows.Controls.TabItem)(target)); return; case 22: this.btnShowAppStatistics = ((System.Windows.Controls.Button)(target)); #line 179 "..\..\..\MainWindow.xaml" this.btnShowAppStatistics.Click += new System.Windows.RoutedEventHandler(this.btnShowAppStatistics_Click); #line default #line hidden return; case 23: this.progressBarAppStatistics = ((NetworkMonitorApplication.CircularProgressBar)(target)); return; case 24: this.chartApplications = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target)); return; case 25: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 190 "..\..\..\MainWindow.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 26: this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target)); return; case 27: this.lblStatus = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }