void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((Activity_Simulator.MainWindow)(target)); return; case 2: this.grdMain = ((System.Windows.Controls.Grid)(target)); return; case 3: this.tabMenu = ((System.Windows.Controls.TabControl)(target)); return; case 4: this.txtCurrentTime = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.txtCurrentRoom = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.txtCurrentActivity = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.txtCurrentPatterSts = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.btnStartSimulation = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\MainWindow.xaml" this.btnStartSimulation.Click += new System.Windows.RoutedEventHandler(this.btnStartSimulation_Click); #line default #line hidden return; case 9: #line 30 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4); #line default #line hidden return; case 10: #line 31 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 11: #line 32 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 12: this.cmbDataset = ((System.Windows.Controls.ComboBox)(target)); #line 35 "..\..\MainWindow.xaml" this.cmbDataset.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbDataset_SelectionChanged); #line default #line hidden return; case 13: this.txtDatasetStartTime = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.txtDatasetEndTime = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.btnNextActivity = ((System.Windows.Controls.Button)(target)); #line 41 "..\..\MainWindow.xaml" this.btnNextActivity.Click += new System.Windows.RoutedEventHandler(this.btnNextActivity_Click); #line default #line hidden return; case 16: this.rdbRealTime = ((System.Windows.Controls.RadioButton)(target)); #line 42 "..\..\MainWindow.xaml" this.rdbRealTime.Checked += new System.Windows.RoutedEventHandler(this.rdbRealTime_Checked); #line default #line hidden return; case 17: this.rdbFastMode = ((System.Windows.Controls.RadioButton)(target)); #line 43 "..\..\MainWindow.xaml" this.rdbFastMode.Checked += new System.Windows.RoutedEventHandler(this.rdbFastMode_Checked); #line default #line hidden return; case 18: this.lblNextActivity = ((System.Windows.Controls.Label)(target)); return; case 19: this.lblNextActivity_Copy = ((System.Windows.Controls.Label)(target)); return; case 20: this.btnPreviousActivity = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\MainWindow.xaml" this.btnPreviousActivity.Click += new System.Windows.RoutedEventHandler(this.btnPreviousActivity_Click); #line default #line hidden return; case 21: this.btnImport = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\MainWindow.xaml" this.btnImport.Click += new System.Windows.RoutedEventHandler(this.btnImport_Click); #line default #line hidden return; case 22: this.btnExport = ((System.Windows.Controls.Button)(target)); #line 54 "..\..\MainWindow.xaml" this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click); #line default #line hidden return; case 23: #line 63 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3); #line default #line hidden return; case 24: this.txtNewStartTime = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.txtNewEndTime = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.btnAddSequence = ((System.Windows.Controls.Button)(target)); #line 66 "..\..\MainWindow.xaml" this.btnAddSequence.Click += new System.Windows.RoutedEventHandler(this.btnAddSequence_Click); #line default #line hidden return; case 27: this.txtNewStartDate = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.txtNewEndDate = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.cmbRoom = ((System.Windows.Controls.ComboBox)(target)); #line 73 "..\..\MainWindow.xaml" this.cmbRoom.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbRoom_SelectionChanged); #line default #line hidden return; case 30: this.cmbActivity = ((System.Windows.Controls.ComboBox)(target)); return; case 31: this.txtBedCoords = ((System.Windows.Controls.TextBox)(target)); return; case 32: this.txtToiletCoords = ((System.Windows.Controls.TextBox)(target)); return; case 33: this.txtShowerCoords = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.txtDiningCoords = ((System.Windows.Controls.TextBox)(target)); return; case 35: this.txtBasinCoords = ((System.Windows.Controls.TextBox)(target)); return; case 36: this.txtSofaCoords = ((System.Windows.Controls.TextBox)(target)); return; case 37: this.txtEntranceCoords = ((System.Windows.Controls.TextBox)(target)); return; case 38: this.chckConfigEdit = ((System.Windows.Controls.CheckBox)(target)); return; case 39: this.txtDoorsCoords = ((System.Windows.Controls.TextBox)(target)); return; case 40: this.btnSaveConfig = ((System.Windows.Controls.Button)(target)); #line 110 "..\..\MainWindow.xaml" this.btnSaveConfig.Click += new System.Windows.RoutedEventHandler(this.btnSaveConfig_Click); #line default #line hidden return; case 41: this.canvasDrawing = ((System.Windows.Controls.Canvas)(target)); #line 116 "..\..\MainWindow.xaml" this.canvasDrawing.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.canvasDrawing_MouseDown); #line default #line hidden return; case 42: this.lblKitchen = ((System.Windows.Controls.Label)(target)); return; case 43: this.lblKitchen_Copy = ((System.Windows.Controls.Label)(target)); return; case 44: this.lblKitchen_Copy1 = ((System.Windows.Controls.Label)(target)); return; case 45: this.lblKitchen_Copy2 = ((System.Windows.Controls.Label)(target)); return; case 46: this.KitchenDiningTable = ((System.Windows.Shapes.Rectangle)(target)); return; case 47: this.ellipsePerson_Copy = ((System.Windows.Shapes.Ellipse)(target)); return; case 48: this.ellipsePerson_Copy1 = ((System.Windows.Shapes.Ellipse)(target)); return; case 49: this.ellipsePerson_Copy2 = ((System.Windows.Shapes.Ellipse)(target)); return; case 50: this.ellipsePerson_Copy3 = ((System.Windows.Shapes.Ellipse)(target)); return; case 51: this.LivingRoomSofa = ((System.Windows.Shapes.Rectangle)(target)); return; case 52: this.lblKitchen_Copy3 = ((System.Windows.Controls.Label)(target)); return; case 53: this.BedroomBed = ((System.Windows.Shapes.Rectangle)(target)); return; case 54: this.BathroomToilet = ((System.Windows.Shapes.Ellipse)(target)); return; case 55: this.lblKitchen_Copy4 = ((System.Windows.Controls.Label)(target)); return; case 56: this.lblKitchen_Copy5 = ((System.Windows.Controls.Label)(target)); return; case 57: this.lblKitchen_Copy6 = ((System.Windows.Controls.Label)(target)); return; case 58: this.lblKitchen_Copy7 = ((System.Windows.Controls.Label)(target)); return; case 59: this.lblKitchen_Copy8 = ((System.Windows.Controls.Label)(target)); return; case 60: this.lblKitchen_Copy9 = ((System.Windows.Controls.Label)(target)); return; case 61: this.BathroomShower = ((System.Windows.Shapes.Rectangle)(target)); return; case 62: this.lblKitchen_Copy10 = ((System.Windows.Controls.Label)(target)); return; case 63: this.lblKitchen_Copy11 = ((System.Windows.Controls.Label)(target)); return; case 64: this.lblKitchen_Copy12 = ((System.Windows.Controls.Label)(target)); return; case 65: this.ellipsePerson = ((System.Windows.Shapes.Ellipse)(target)); return; } this._contentLoaded = true; }
public static void ShowMessageBox(string msg, string caption) { MainWindow.ShowMessageBox(msg, caption); }