void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.windowMain = ((FileSyncGui.MainWindow)(target)); return; case 2: this.menuMain = ((System.Windows.Controls.Menu)(target)); return; case 3: this.menuApplication = ((System.Windows.Controls.MenuItem)(target)); return; case 4: this.optionAbout = ((System.Windows.Controls.MenuItem)(target)); return; case 5: this.optionSettings = ((System.Windows.Controls.MenuItem)(target)); return; case 6: this.optionExit = ((System.Windows.Controls.MenuItem)(target)); #line 34 "..\..\..\MainWindow.xaml" this.optionExit.Click += new System.Windows.RoutedEventHandler(this.optionExit_Click); #line default #line hidden return; case 7: this.menuUser = ((System.Windows.Controls.MenuItem)(target)); return; case 8: this.optionLogin = ((System.Windows.Controls.MenuItem)(target)); #line 38 "..\..\..\MainWindow.xaml" this.optionLogin.Click += new System.Windows.RoutedEventHandler(this.buttonLoginCreate_Click); #line default #line hidden return; case 9: this.optionLogout = ((System.Windows.Controls.MenuItem)(target)); #line 72 "..\..\..\MainWindow.xaml" this.optionLogout.Click += new System.Windows.RoutedEventHandler(this.buttonLogout_Click); #line default #line hidden return; case 10: this.optionChangePassword = ((System.Windows.Controls.MenuItem)(target)); #line 75 "..\..\..\MainWindow.xaml" this.optionChangePassword.Click += new System.Windows.RoutedEventHandler(this.optionChangePassword_Click); #line default #line hidden return; case 11: this.optionResetPassword = ((System.Windows.Controls.MenuItem)(target)); #line 78 "..\..\..\MainWindow.xaml" this.optionResetPassword.Click += new System.Windows.RoutedEventHandler(this.optionResetPassword_Click); #line default #line hidden return; case 12: this.menuMachine = ((System.Windows.Controls.MenuItem)(target)); return; case 13: this.optionUploadMachine = ((System.Windows.Controls.MenuItem)(target)); #line 84 "..\..\..\MainWindow.xaml" this.optionUploadMachine.Click += new System.Windows.RoutedEventHandler(this.optionUploadMachine_Click); #line default #line hidden return; case 14: this.optionDownloadMachine = ((System.Windows.Controls.MenuItem)(target)); #line 87 "..\..\..\MainWindow.xaml" this.optionDownloadMachine.Click += new System.Windows.RoutedEventHandler(this.optionDownloadMachine_Click); #line default #line hidden return; case 15: this.optionModifyMachine = ((System.Windows.Controls.MenuItem)(target)); return; case 16: this.optionSelectMachine = ((System.Windows.Controls.MenuItem)(target)); #line 94 "..\..\..\MainWindow.xaml" this.optionSelectMachine.Click += new System.Windows.RoutedEventHandler(this.optionSelectMachine_Click); #line default #line hidden return; case 17: this.optionCreateMachine = ((System.Windows.Controls.MenuItem)(target)); #line 96 "..\..\..\MainWindow.xaml" this.optionCreateMachine.Click += new System.Windows.RoutedEventHandler(this.optionCreateMachine_Click); #line default #line hidden return; case 18: this.optionDeleteMachine = ((System.Windows.Controls.MenuItem)(target)); #line 97 "..\..\..\MainWindow.xaml" this.optionDeleteMachine.Click += new System.Windows.RoutedEventHandler(this.optionDeleteMachine_Click); #line default #line hidden return; case 19: this.optionAddDir = ((System.Windows.Controls.MenuItem)(target)); #line 98 "..\..\..\MainWindow.xaml" this.optionAddDir.Click += new System.Windows.RoutedEventHandler(this.optionAddDir_Click); #line default #line hidden return; case 20: this.optionUploadDir = ((System.Windows.Controls.MenuItem)(target)); #line 104 "..\..\..\MainWindow.xaml" this.optionUploadDir.Click += new System.Windows.RoutedEventHandler(this.optionUploadDir_Click); #line default #line hidden return; case 21: this.optionDownloadDir = ((System.Windows.Controls.MenuItem)(target)); #line 106 "..\..\..\MainWindow.xaml" this.optionDownloadDir.Click += new System.Windows.RoutedEventHandler(this.optionDownloadDir_Click); #line default #line hidden return; case 22: this.optionModifyRights = ((System.Windows.Controls.MenuItem)(target)); #line 108 "..\..\..\MainWindow.xaml" this.optionModifyRights.Click += new System.Windows.RoutedEventHandler(this.optionModifyRights_Click); #line default #line hidden return; case 23: this.optionDeleteDir = ((System.Windows.Controls.MenuItem)(target)); #line 109 "..\..\..\MainWindow.xaml" this.optionDeleteDir.Click += new System.Windows.RoutedEventHandler(this.optionDeleteDir_Click); #line default #line hidden return; case 24: this.optionAddFile = ((System.Windows.Controls.MenuItem)(target)); #line 110 "..\..\..\MainWindow.xaml" this.optionAddFile.Click += new System.Windows.RoutedEventHandler(this.optionAddFile_Click); #line default #line hidden return; case 25: this.optionRemoveFile = ((System.Windows.Controls.MenuItem)(target)); #line 112 "..\..\..\MainWindow.xaml" this.optionRemoveFile.Click += new System.Windows.RoutedEventHandler(this.optionRemoveFile_Click); #line default #line hidden return; case 26: this.optionUploadFile = ((System.Windows.Controls.MenuItem)(target)); #line 118 "..\..\..\MainWindow.xaml" this.optionUploadFile.Click += new System.Windows.RoutedEventHandler(this.optionUploadFile_Click); #line default #line hidden return; case 27: this.optionDownloadFile = ((System.Windows.Controls.MenuItem)(target)); #line 120 "..\..\..\MainWindow.xaml" this.optionDownloadFile.Click += new System.Windows.RoutedEventHandler(this.optionDownloadFile_Click); #line default #line hidden return; case 28: this.optionViewMetadata = ((System.Windows.Controls.MenuItem)(target)); #line 122 "..\..\..\MainWindow.xaml" this.optionViewMetadata.Click += new System.Windows.RoutedEventHandler(this.optionViewMetadata_Click); #line default #line hidden return; case 29: this.optionChangeType = ((System.Windows.Controls.MenuItem)(target)); #line 124 "..\..\..\MainWindow.xaml" this.optionChangeType.Click += new System.Windows.RoutedEventHandler(this.optionChangeType_Click); #line default #line hidden return; case 30: this.optionDeleteFile = ((System.Windows.Controls.MenuItem)(target)); #line 125 "..\..\..\MainWindow.xaml" this.optionDeleteFile.Click += new System.Windows.RoutedEventHandler(this.optionDeleteFile_Click); #line default #line hidden return; case 31: this.gridDirectories = ((System.Windows.Controls.Grid)(target)); return; case 32: this.gridMachineContents = ((System.Windows.Controls.Grid)(target)); return; case 33: this.MachineIntroductoryLabel = ((System.Windows.Controls.TextBlock)(target)); return; case 34: this.MachineDirsTree = ((System.Windows.Controls.TreeView)(target)); return; case 35: this.gridMachineOptions = ((System.Windows.Controls.Grid)(target)); return; case 36: this.ActiveMachineName = ((System.Windows.Controls.TextBox)(target)); return; case 37: this.ActiveMachineDesc = ((System.Windows.Controls.TextBox)(target)); return; case 38: this.buttonSaveChanges = ((System.Windows.Controls.Button)(target)); #line 326 "..\..\..\MainWindow.xaml" this.buttonSaveChanges.Click += new System.Windows.RoutedEventHandler(this.buttonSaveChanges_Click); #line default #line hidden return; case 39: this.buttonCancel = ((System.Windows.Controls.Button)(target)); #line 327 "..\..\..\MainWindow.xaml" this.buttonCancel.Click += new System.Windows.RoutedEventHandler(this.buttonCancel_Click); #line default #line hidden return; case 40: this.buttonDelete = ((System.Windows.Controls.Button)(target)); #line 328 "..\..\..\MainWindow.xaml" this.buttonDelete.Click += new System.Windows.RoutedEventHandler(this.buttonDelete_Click); #line default #line hidden return; case 41: this.buttonAddDir = ((System.Windows.Controls.Button)(target)); #line 331 "..\..\..\MainWindow.xaml" this.buttonAddDir.Click += new System.Windows.RoutedEventHandler(this.buttonAddDir_Click); #line default #line hidden return; case 42: this.gridLoginOrCreate = ((System.Windows.Controls.Grid)(target)); return; case 43: this.buttonLoginCreate = ((System.Windows.Controls.Button)(target)); #line 393 "..\..\..\MainWindow.xaml" this.buttonLoginCreate.Click += new System.Windows.RoutedEventHandler(this.buttonLoginCreate_Click); #line default #line hidden return; case 44: this.buttonCreateSelectMachine = ((System.Windows.Controls.Button)(target)); #line 421 "..\..\..\MainWindow.xaml" this.buttonCreateSelectMachine.Click += new System.Windows.RoutedEventHandler(this.buttonCreateSelectMachine_Click); #line default #line hidden return; case 45: this.buttonChangeMachine = ((System.Windows.Controls.Button)(target)); #line 447 "..\..\..\MainWindow.xaml" this.buttonChangeMachine.Click += new System.Windows.RoutedEventHandler(this.buttonChangeMachine_Click); #line default #line hidden return; case 46: this.buttonLogout = ((System.Windows.Controls.Button)(target)); #line 470 "..\..\..\MainWindow.xaml" this.buttonLogout.Click += new System.Windows.RoutedEventHandler(this.buttonLogout_Click); #line default #line hidden return; case 47: this.gridBindingsControl = ((System.Windows.Controls.Grid)(target)); return; case 48: this.UserSelectedMachine = ((System.Windows.Controls.CheckBox)(target)); return; case 49: this.UserSelectedDirectory = ((System.Windows.Controls.CheckBox)(target)); return; case 50: this.UserSelectedFile = ((System.Windows.Controls.CheckBox)(target)); return; case 51: this.UserLoggedIn = ((System.Windows.Controls.CheckBox)(target)); return; case 52: this.UserLoggedInAndChosenMachine = ((System.Windows.Controls.CheckBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.windowMain = ((FileSyncGui.MainWindow)(target)); return; case 2: this.menuMain = ((System.Windows.Controls.Menu)(target)); return; case 3: this.menuApplication = ((System.Windows.Controls.MenuItem)(target)); return; case 4: this.optionExit = ((System.Windows.Controls.MenuItem)(target)); #line 38 "..\..\..\MainWindow.xaml" this.optionExit.Click += new System.Windows.RoutedEventHandler(this.optionExit_Click); #line default #line hidden return; case 5: this.menuUser = ((System.Windows.Controls.MenuItem)(target)); return; case 6: this.optionLogin = ((System.Windows.Controls.MenuItem)(target)); #line 42 "..\..\..\MainWindow.xaml" this.optionLogin.Click += new System.Windows.RoutedEventHandler(this.buttonLoginCreate_Click); #line default #line hidden return; case 7: this.optionLogout = ((System.Windows.Controls.MenuItem)(target)); #line 76 "..\..\..\MainWindow.xaml" this.optionLogout.Click += new System.Windows.RoutedEventHandler(this.buttonLogout_Click); #line default #line hidden return; case 8: this.menuMachine = ((System.Windows.Controls.MenuItem)(target)); return; case 9: this.optionUploadMachine = ((System.Windows.Controls.MenuItem)(target)); #line 88 "..\..\..\MainWindow.xaml" this.optionUploadMachine.Click += new System.Windows.RoutedEventHandler(this.optionUploadMachine_Click); #line default #line hidden return; case 10: this.optionDownloadMachine = ((System.Windows.Controls.MenuItem)(target)); #line 91 "..\..\..\MainWindow.xaml" this.optionDownloadMachine.Click += new System.Windows.RoutedEventHandler(this.optionDownloadMachine_Click); #line default #line hidden return; case 11: this.optionAddDir = ((System.Windows.Controls.MenuItem)(target)); #line 102 "..\..\..\MainWindow.xaml" this.optionAddDir.Click += new System.Windows.RoutedEventHandler(this.optionAddDir_Click); #line default #line hidden return; case 12: this.optionUploadDir = ((System.Windows.Controls.MenuItem)(target)); #line 108 "..\..\..\MainWindow.xaml" this.optionUploadDir.Click += new System.Windows.RoutedEventHandler(this.optionUploadDir_Click); #line default #line hidden return; case 13: this.optionDownloadDir = ((System.Windows.Controls.MenuItem)(target)); #line 110 "..\..\..\MainWindow.xaml" this.optionDownloadDir.Click += new System.Windows.RoutedEventHandler(this.optionDownloadDir_Click); #line default #line hidden return; case 14: this.gridDirectories = ((System.Windows.Controls.Grid)(target)); return; case 15: this.gridMachineContents = ((System.Windows.Controls.Grid)(target)); return; case 16: this.MachineIntroductoryLabel = ((System.Windows.Controls.TextBlock)(target)); return; case 17: this.MachineDirsTree = ((System.Windows.Controls.TreeView)(target)); #line 191 "..\..\..\MainWindow.xaml" this.MachineDirsTree.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.MachineDirsTree_SelectedItemChanged); #line default #line hidden return; case 18: this.gridMachineOptions = ((System.Windows.Controls.Grid)(target)); return; case 19: this.ActiveMachineName = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.ActiveMachineDesc = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.buttonSaveChanges = ((System.Windows.Controls.Button)(target)); #line 357 "..\..\..\MainWindow.xaml" this.buttonSaveChanges.Click += new System.Windows.RoutedEventHandler(this.buttonSaveChanges_Click); #line default #line hidden return; case 22: this.buttonCancel = ((System.Windows.Controls.Button)(target)); #line 358 "..\..\..\MainWindow.xaml" this.buttonCancel.Click += new System.Windows.RoutedEventHandler(this.buttonCancel_Click); #line default #line hidden return; case 23: this.buttonAddDir = ((System.Windows.Controls.Button)(target)); #line 362 "..\..\..\MainWindow.xaml" this.buttonAddDir.Click += new System.Windows.RoutedEventHandler(this.buttonAddDir_Click); #line default #line hidden return; case 24: this.gridLoginOrCreate = ((System.Windows.Controls.Grid)(target)); return; case 25: this.buttonLoginCreate = ((System.Windows.Controls.Button)(target)); #line 423 "..\..\..\MainWindow.xaml" this.buttonLoginCreate.Click += new System.Windows.RoutedEventHandler(this.buttonLoginCreate_Click); #line default #line hidden return; case 26: this.buttonCreateSelectMachine = ((System.Windows.Controls.Button)(target)); #line 451 "..\..\..\MainWindow.xaml" this.buttonCreateSelectMachine.Click += new System.Windows.RoutedEventHandler(this.buttonCreateSelectMachine_Click); #line default #line hidden return; case 27: this.buttonLogout = ((System.Windows.Controls.Button)(target)); #line 500 "..\..\..\MainWindow.xaml" this.buttonLogout.Click += new System.Windows.RoutedEventHandler(this.buttonLogout_Click); #line default #line hidden return; case 28: this.gridBindingsControl = ((System.Windows.Controls.Grid)(target)); return; case 29: this.UserSelectedMachine = ((System.Windows.Controls.CheckBox)(target)); return; case 30: this.UserSelectedDirectoryIndex = ((System.Windows.Controls.TextBlock)(target)); return; case 31: this.UserSelectedDirectory = ((System.Windows.Controls.CheckBox)(target)); return; case 32: this.UserSelectedFile = ((System.Windows.Controls.CheckBox)(target)); return; case 33: this.UserLoggedIn = ((System.Windows.Controls.CheckBox)(target)); return; case 34: this.UserLoggedInAndChosenMachine = ((System.Windows.Controls.CheckBox)(target)); return; } this._contentLoaded = true; }