示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.AWS_Monitor = ((AWSMonitor.MainWindow)(target));
     return;
     case 2:
     this.EC2EventScanButton = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\AWSMonMain.xaml"
     this.EC2EventScanButton.Click += new System.Windows.RoutedEventHandler(this.EC2EventScanButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.AWSTrycorder = ((AWSMonitor.MainWindow)(target));
     
     #line 4 "..\..\MainWindow.xaml"
     this.AWSTrycorder.Closing += new System.ComponentModel.CancelEventHandler(this.EC2Event_Monitor_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainUIGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.EC2EventScanButton = ((System.Windows.Controls.Button)(target));
     
     #line 11 "..\..\MainWindow.xaml"
     this.EC2EventScanButton.Click += new System.Windows.RoutedEventHandler(this.EC2EventScanButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ProgressBar1 = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 5:
     this.MainMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 6:
     this.FileMenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 7:
     this.ExportExcel = ((System.Windows.Controls.MenuItem)(target));
     
     #line 15 "..\..\MainWindow.xaml"
     this.ExportExcel.Click += new System.Windows.RoutedEventHandler(this.ExportAll_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.LoadCred = ((System.Windows.Controls.MenuItem)(target));
     
     #line 16 "..\..\MainWindow.xaml"
     this.LoadCred.Click += new System.Windows.RoutedEventHandler(this.LoadCred_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.ProfilesMI = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 10:
     this.CKAllPMI = ((System.Windows.Controls.MenuItem)(target));
     
     #line 19 "..\..\MainWindow.xaml"
     this.CKAllPMI.Click += new System.Windows.RoutedEventHandler(this.CKAllPMI_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.UCKAllPMI = ((System.Windows.Controls.MenuItem)(target));
     
     #line 20 "..\..\MainWindow.xaml"
     this.UCKAllPMI.Click += new System.Windows.RoutedEventHandler(this.UCKAllPMI_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.RegionMI = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 13:
     this.CkAllRMI = ((System.Windows.Controls.MenuItem)(target));
     
     #line 24 "..\..\MainWindow.xaml"
     this.CkAllRMI.Click += new System.Windows.RoutedEventHandler(this.CkAllRMI_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.UCkAllRMI = ((System.Windows.Controls.MenuItem)(target));
     
     #line 25 "..\..\MainWindow.xaml"
     this.UCkAllRMI.Click += new System.Windows.RoutedEventHandler(this.UCkAllRMI_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.Ec2ColumnsMI = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 16:
     this.CkAllCMI = ((System.Windows.Controls.MenuItem)(target));
     
     #line 28 "..\..\MainWindow.xaml"
     this.CkAllCMI.Click += new System.Windows.RoutedEventHandler(this.CkAllCMI_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.UCkAllCMI = ((System.Windows.Controls.MenuItem)(target));
     
     #line 29 "..\..\MainWindow.xaml"
     this.UCkAllCMI.Click += new System.Windows.RoutedEventHandler(this.UCkAllCMI_Checked);
     
     #line default
     #line hidden
     return;
     case 18:
     this.UserColumnsMI = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 19:
     this.CkAllUserCMI = ((System.Windows.Controls.MenuItem)(target));
     
     #line 32 "..\..\MainWindow.xaml"
     this.CkAllUserCMI.Click += new System.Windows.RoutedEventHandler(this.CkAllUserCMI_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.UCkAllUserCMI = ((System.Windows.Controls.MenuItem)(target));
     
     #line 33 "..\..\MainWindow.xaml"
     this.UCkAllUserCMI.Click += new System.Windows.RoutedEventHandler(this.UCkAllUserCMI_Checked);
     
     #line default
     #line hidden
     return;
     case 21:
     this.About_Menu_Item = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 22:
     this.ProcessingLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.TabControl = ((System.Windows.Controls.TabControl)(target));
     
     #line 39 "..\..\MainWindow.xaml"
     this.TabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 24:
     this.EC2Tab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 25:
     this.DaGrid = ((System.Windows.Controls.DataGrid)(target));
     
     #line 48 "..\..\MainWindow.xaml"
     this.DaGrid.Loaded += new System.Windows.RoutedEventHandler(this.DaGrid_Loaded);
     
     #line default
     #line hidden
     
     #line 48 "..\..\MainWindow.xaml"
     this.DaGrid.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DaGrid_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 26:
     this.ColumnCombo = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 27:
     this.FilterTagText = ((System.Windows.Controls.TextBox)(target));
     
     #line 55 "..\..\MainWindow.xaml"
     this.FilterTagText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FilterTagText_TextChanged);
     
     #line default
     #line hidden
     return;
     case 28:
     this.TagFilterCombo = ((System.Windows.Controls.ComboBox)(target));
     
     #line 57 "..\..\MainWindow.xaml"
     this.TagFilterCombo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TagFilterCombo_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 29:
     this.TagFilterLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.DoFilterButton = ((System.Windows.Controls.Button)(target));
     
     #line 59 "..\..\MainWindow.xaml"
     this.DoFilterButton.Click += new System.Windows.RoutedEventHandler(this.DoFilterButton_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.ClearFilters = ((System.Windows.Controls.Button)(target));
     
     #line 60 "..\..\MainWindow.xaml"
     this.ClearFilters.Click += new System.Windows.RoutedEventHandler(this.ClearFilters_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.UserTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 33:
     this.UserGridLayout = ((System.Windows.Controls.Grid)(target));
     return;
     case 34:
     this.UserGrid = ((System.Windows.Controls.DataGrid)(target));
     
     #line 65 "..\..\MainWindow.xaml"
     this.UserGrid.Loaded += new System.Windows.RoutedEventHandler(this.UserGrid_Loaded);
     
     #line default
     #line hidden
     return;
     case 35:
     this.ClearFilters_Copy = ((System.Windows.Controls.Button)(target));
     
     #line 66 "..\..\MainWindow.xaml"
     this.ClearFilters_Copy.Click += new System.Windows.RoutedEventHandler(this.ClearFilters_Copy_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.UserFilterFieldCombo = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 37:
     this.UserFilterString = ((System.Windows.Controls.TextBox)(target));
     
     #line 69 "..\..\MainWindow.xaml"
     this.UserFilterString.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FilterTagText_TextChanged);
     
     #line default
     #line hidden
     return;
     case 38:
     this.S3 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 39:
     this.S3UIGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 40:
     this.S3DataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 41:
     this.MiscTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 42:
     this.MiscGrid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 43:
     this.LocalFileTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 44:
     this.EC2dirtoCopytoTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 45:
     this.FilepickerButton = ((System.Windows.Controls.Button)(target));
     
     #line 87 "..\..\MainWindow.xaml"
     this.FilepickerButton.Click += new System.Windows.RoutedEventHandler(this.FilepickerButton_Click);
     
     #line default
     #line hidden
     return;
     case 46:
     this.FileCopyButton = ((System.Windows.Controls.Button)(target));
     
     #line 88 "..\..\MainWindow.xaml"
     this.FileCopyButton.Click += new System.Windows.RoutedEventHandler(this.FileCopyButton_Click);
     
     #line default
     #line hidden
     return;
     case 47:
     this.Warning = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }