Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((Client.MainWindow)(target));
                return;

            case 2:
                this.FillDataButton = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 3:

            #line 17 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.DoSocialismButton = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\MainWindow.xaml"
                this.DoSocialismButton.Click += new System.Windows.RoutedEventHandler(this.DoSocialismButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.wMain = ((Client.MainWindow)(target));
                return;

            case 2:
                this.sbMain = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 3:
                this.gControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.bSwitchClientState = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.bSwitchClientState.Click += new System.Windows.RoutedEventHandler(this.bSwitchClientState_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.tbTargetUsername = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.tbMessage = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.bSend = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\MainWindow.xaml"
                this.bSend.Click += new System.Windows.RoutedEventHandler(this.bSend_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((Client.MainWindow)(target));

            #line 4 "..\..\MainWindow.xaml"
                this.mainWindow.Closed += new System.EventHandler(this.mainWindow_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.OnlineAndAllCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 95 "..\..\MainWindow.xaml"
                this.OnlineAndAllCheckBox.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden

            #line 95 "..\..\MainWindow.xaml"
                this.OnlineAndAllCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.UsersListBox = ((System.Windows.Controls.ListBox)(target));

            #line 96 "..\..\MainWindow.xaml"
                this.UsersListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.usersOnlineListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.writeToButton = ((System.Windows.Controls.Button)(target));

            #line 113 "..\..\MainWindow.xaml"
                this.writeToButton.Click += new System.Windows.RoutedEventHandler(this.writeToButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.listMessagesStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.fieldTypingMessageTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 129 "..\..\MainWindow.xaml"
                this.fieldTypingMessageTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.fieldTypingMessageTextBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 8:
                this.sendMessageButton = ((System.Windows.Controls.Button)(target));

            #line 130 "..\..\MainWindow.xaml"
                this.sendMessageButton.Click += new System.Windows.RoutedEventHandler(this.SendMessageButtonClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RibbonWindow = ((Client.MainWindow)(target));
     
     #line 10 "..\..\MainWindow.xaml"
     this.RibbonWindow.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Ribbon = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));
     return;
     case 3:
     this._Connect = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
     
     #line 20 "..\..\MainWindow.xaml"
     this._Connect.Click += new System.Windows.RoutedEventHandler(this._Connect_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this._Disconnect = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
     
     #line 26 "..\..\MainWindow.xaml"
     this._Disconnect.Click += new System.Windows.RoutedEventHandler(this._Disconnect_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this._Exit = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
     
     #line 32 "..\..\MainWindow.xaml"
     this._Exit.Click += new System.Windows.RoutedEventHandler(this._Exit_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.FileTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 7:
     this.NewDirectory = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 47 "..\..\MainWindow.xaml"
     this.NewDirectory.Click += new System.Windows.RoutedEventHandler(this.NewDirectory_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Rename = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 54 "..\..\MainWindow.xaml"
     this.Rename.Click += new System.Windows.RoutedEventHandler(this.Rename_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.Move = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 61 "..\..\MainWindow.xaml"
     this.Move.Click += new System.Windows.RoutedEventHandler(this.Move_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.Delete = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 68 "..\..\MainWindow.xaml"
     this.Delete.Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.Upload = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 80 "..\..\MainWindow.xaml"
     this.Upload.Click += new System.Windows.RoutedEventHandler(this.Upload_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.Download = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 87 "..\..\MainWindow.xaml"
     this.Download.Click += new System.Windows.RoutedEventHandler(this.Download_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this._Rename = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 94 "..\..\MainWindow.xaml"
     this._Rename.Click += new System.Windows.RoutedEventHandler(this.Rename_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.Copy = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 100 "..\..\MainWindow.xaml"
     this.Copy.Click += new System.Windows.RoutedEventHandler(this.Copy_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.Paste = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 106 "..\..\MainWindow.xaml"
     this.Paste.Click += new System.Windows.RoutedEventHandler(this.Paste_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.Details = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 112 "..\..\MainWindow.xaml"
     this.Details.Click += new System.Windows.RoutedEventHandler(this.Details_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this._Delete = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 118 "..\..\MainWindow.xaml"
     this._Delete.Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this._AddUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 130 "..\..\MainWindow.xaml"
     this._AddUser.Click += new System.Windows.RoutedEventHandler(this._AddUser_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this._EditUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 137 "..\..\MainWindow.xaml"
     this._EditUser.Click += new System.Windows.RoutedEventHandler(this._EditUser_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this._ViewUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 143 "..\..\MainWindow.xaml"
     this._ViewUser.Click += new System.Windows.RoutedEventHandler(this._ViewUser_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this._AddGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 152 "..\..\MainWindow.xaml"
     this._AddGroup.Click += new System.Windows.RoutedEventHandler(this._AddGroup_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this._EditGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 158 "..\..\MainWindow.xaml"
     this._EditGroup.Click += new System.Windows.RoutedEventHandler(this._EditGroup_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this._ViewGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 164 "..\..\MainWindow.xaml"
     this._ViewGroup.Click += new System.Windows.RoutedEventHandler(this._ViewGroup_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.TaskTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 25:
     this.AccessTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 26:
     this.AddUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 183 "..\..\MainWindow.xaml"
     this.AddUser.Click += new System.Windows.RoutedEventHandler(this.AddUser_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.EditUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 189 "..\..\MainWindow.xaml"
     this.EditUser.Click += new System.Windows.RoutedEventHandler(this.EditUser_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.ViewUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 195 "..\..\MainWindow.xaml"
     this.ViewUser.Click += new System.Windows.RoutedEventHandler(this.ViewUser_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.AddGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 204 "..\..\MainWindow.xaml"
     this.AddGroup.Click += new System.Windows.RoutedEventHandler(this.AddGroup_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.EditGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 210 "..\..\MainWindow.xaml"
     this.EditGroup.Click += new System.Windows.RoutedEventHandler(this.EditGroup_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.ViewGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 216 "..\..\MainWindow.xaml"
     this.ViewGroup.Click += new System.Windows.RoutedEventHandler(this.ViewGroup_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.HelpTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 33:
     this.AboutTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 34:
     this.dockPanel = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 35:
     this.listBox = ((System.Windows.Controls.ListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RibbonWindow = ((Client.MainWindow)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.RibbonWindow.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Ribbon = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));
     
     #line 13 "..\..\MainWindow.xaml"
     this.Ribbon.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Ribbon_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this._Connect = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
     
     #line 19 "..\..\MainWindow.xaml"
     this._Connect.Click += new System.Windows.RoutedEventHandler(this._Connect_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this._Disconnect = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
     
     #line 25 "..\..\MainWindow.xaml"
     this._Disconnect.Click += new System.Windows.RoutedEventHandler(this._Disconnect_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this._Exit = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
     
     #line 31 "..\..\MainWindow.xaml"
     this._Exit.Click += new System.Windows.RoutedEventHandler(this._Exit_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.FileTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 7:
     this.NewDirectory = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 46 "..\..\MainWindow.xaml"
     this.NewDirectory.Click += new System.Windows.RoutedEventHandler(this.NewDirectory_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Rename = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 53 "..\..\MainWindow.xaml"
     this.Rename.Click += new System.Windows.RoutedEventHandler(this.Rename_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.Move = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 60 "..\..\MainWindow.xaml"
     this.Move.Click += new System.Windows.RoutedEventHandler(this.Move_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.Delete = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 67 "..\..\MainWindow.xaml"
     this.Delete.Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.Upload = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 79 "..\..\MainWindow.xaml"
     this.Upload.Click += new System.Windows.RoutedEventHandler(this.Upload_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.Download = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 86 "..\..\MainWindow.xaml"
     this.Download.Click += new System.Windows.RoutedEventHandler(this.Download_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this._Rename = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 93 "..\..\MainWindow.xaml"
     this._Rename.Click += new System.Windows.RoutedEventHandler(this.Rename_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.Copy = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 99 "..\..\MainWindow.xaml"
     this.Copy.Click += new System.Windows.RoutedEventHandler(this.Copy_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.Paste = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 105 "..\..\MainWindow.xaml"
     this.Paste.Click += new System.Windows.RoutedEventHandler(this.Paste_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.Details = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 111 "..\..\MainWindow.xaml"
     this.Details.Click += new System.Windows.RoutedEventHandler(this.Details_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this._Delete = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 117 "..\..\MainWindow.xaml"
     this._Delete.Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this._AddUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 129 "..\..\MainWindow.xaml"
     this._AddUser.Click += new System.Windows.RoutedEventHandler(this._AddUser_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this._EditUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 136 "..\..\MainWindow.xaml"
     this._EditUser.Click += new System.Windows.RoutedEventHandler(this._EditUser_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this._ViewUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 142 "..\..\MainWindow.xaml"
     this._ViewUser.Click += new System.Windows.RoutedEventHandler(this._ViewUser_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this._AddGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 151 "..\..\MainWindow.xaml"
     this._AddGroup.Click += new System.Windows.RoutedEventHandler(this._AddGroup_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this._EditGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 157 "..\..\MainWindow.xaml"
     this._EditGroup.Click += new System.Windows.RoutedEventHandler(this._EditGroup_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this._ViewGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 163 "..\..\MainWindow.xaml"
     this._ViewGroup.Click += new System.Windows.RoutedEventHandler(this._ViewGroup_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.TaskTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 25:
     this._TaskRefresh = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 176 "..\..\MainWindow.xaml"
     this._TaskRefresh.Click += new System.Windows.RoutedEventHandler(this._TaskRefresh_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.AccessTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 27:
     this._AccessViewPermissions = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 189 "..\..\MainWindow.xaml"
     this._AccessViewPermissions.Click += new System.Windows.RoutedEventHandler(this._AccessViewPermissions_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.AddUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 199 "..\..\MainWindow.xaml"
     this.AddUser.Click += new System.Windows.RoutedEventHandler(this.AddUser_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.EditUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 205 "..\..\MainWindow.xaml"
     this.EditUser.Click += new System.Windows.RoutedEventHandler(this.EditUser_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.ViewUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 211 "..\..\MainWindow.xaml"
     this.ViewUser.Click += new System.Windows.RoutedEventHandler(this.ViewUser_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.AddGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 220 "..\..\MainWindow.xaml"
     this.AddGroup.Click += new System.Windows.RoutedEventHandler(this.AddGroup_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.EditGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 226 "..\..\MainWindow.xaml"
     this.EditGroup.Click += new System.Windows.RoutedEventHandler(this.EditGroup_Click);
     
     #line default
     #line hidden
     return;
     case 33:
     this.ViewGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 232 "..\..\MainWindow.xaml"
     this.ViewGroup.Click += new System.Windows.RoutedEventHandler(this.ViewGroup_Click);
     
     #line default
     #line hidden
     return;
     case 34:
     this.HelpTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 35:
     this._HelpFileNewDirectory = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 247 "..\..\MainWindow.xaml"
     this._HelpFileNewDirectory.Click += new System.Windows.RoutedEventHandler(this._HelpFileNewDirectory_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     this._HelpFileRename = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 252 "..\..\MainWindow.xaml"
     this._HelpFileRename.Click += new System.Windows.RoutedEventHandler(this._HelpFileRename_Click);
     
     #line default
     #line hidden
     return;
     case 37:
     this._HelpFileMoveDirectory = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 257 "..\..\MainWindow.xaml"
     this._HelpFileMoveDirectory.Click += new System.Windows.RoutedEventHandler(this._HelpFileMoveDirectory_Click);
     
     #line default
     #line hidden
     return;
     case 38:
     this._HelpFileDeleteDirectory = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 262 "..\..\MainWindow.xaml"
     this._HelpFileDeleteDirectory.Click += new System.Windows.RoutedEventHandler(this._HelpFileDeleteDirectory_Click);
     
     #line default
     #line hidden
     return;
     case 39:
     this._HelpFileUploadFile = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 271 "..\..\MainWindow.xaml"
     this._HelpFileUploadFile.Click += new System.Windows.RoutedEventHandler(this._HelpFileUploadFile_Click);
     
     #line default
     #line hidden
     return;
     case 40:
     this._HelpFileDownloadFile = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 276 "..\..\MainWindow.xaml"
     this._HelpFileDownloadFile.Click += new System.Windows.RoutedEventHandler(this._HelpFileDownloadFile_Click);
     
     #line default
     #line hidden
     return;
     case 41:
     this._HelpFileRenameFile = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 281 "..\..\MainWindow.xaml"
     this._HelpFileRenameFile.Click += new System.Windows.RoutedEventHandler(this._HelpFileRenameFile_Click);
     
     #line default
     #line hidden
     return;
     case 42:
     this._HelpFileCopyFile = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 286 "..\..\MainWindow.xaml"
     this._HelpFileCopyFile.Click += new System.Windows.RoutedEventHandler(this._HelpFileCopyFile_Click);
     
     #line default
     #line hidden
     return;
     case 43:
     this._HelpFilePasteFile = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 291 "..\..\MainWindow.xaml"
     this._HelpFilePasteFile.Click += new System.Windows.RoutedEventHandler(this._HelpFilePasteFile_Click);
     
     #line default
     #line hidden
     return;
     case 44:
     this._HelpFileDetailsFile = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 296 "..\..\MainWindow.xaml"
     this._HelpFileDetailsFile.Click += new System.Windows.RoutedEventHandler(this._HelpFileDetailsFile_Click);
     
     #line default
     #line hidden
     return;
     case 45:
     this._HelpFileDeleteFile = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 301 "..\..\MainWindow.xaml"
     this._HelpFileDeleteFile.Click += new System.Windows.RoutedEventHandler(this._HelpFileDeleteFile_Click);
     
     #line default
     #line hidden
     return;
     case 46:
     this._HelpFileAddUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 311 "..\..\MainWindow.xaml"
     this._HelpFileAddUser.Click += new System.Windows.RoutedEventHandler(this._HelpFileAddUser_Click);
     
     #line default
     #line hidden
     return;
     case 47:
     this._HelpFileEditUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 316 "..\..\MainWindow.xaml"
     this._HelpFileEditUser.Click += new System.Windows.RoutedEventHandler(this._HelpFileEditUser_Click);
     
     #line default
     #line hidden
     return;
     case 48:
     this._HelpFileViewUser = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 321 "..\..\MainWindow.xaml"
     this._HelpFileViewUser.Click += new System.Windows.RoutedEventHandler(this._HelpFileViewUser_Click);
     
     #line default
     #line hidden
     return;
     case 49:
     this._HelpFileAddGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 330 "..\..\MainWindow.xaml"
     this._HelpFileAddGroup.Click += new System.Windows.RoutedEventHandler(this._HelpFileAddGroup_Click);
     
     #line default
     #line hidden
     return;
     case 50:
     this._HelpFileEditGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 335 "..\..\MainWindow.xaml"
     this._HelpFileEditGroup.Click += new System.Windows.RoutedEventHandler(this._HelpFileEditGroup_Click);
     
     #line default
     #line hidden
     return;
     case 51:
     this._HelpFileViewGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 340 "..\..\MainWindow.xaml"
     this._HelpFileViewGroup.Click += new System.Windows.RoutedEventHandler(this._HelpFileViewGroup_Click);
     
     #line default
     #line hidden
     return;
     case 52:
     this._HelpTaskRefresh = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 355 "..\..\MainWindow.xaml"
     this._HelpTaskRefresh.Click += new System.Windows.RoutedEventHandler(this._HelpTaskRefresh_Click);
     
     #line default
     #line hidden
     return;
     case 53:
     
     #line 368 "..\..\MainWindow.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this._HelpFileAddUser_Click);
     
     #line default
     #line hidden
     return;
     case 54:
     
     #line 372 "..\..\MainWindow.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this._HelpFileEditUser_Click);
     
     #line default
     #line hidden
     return;
     case 55:
     
     #line 376 "..\..\MainWindow.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this._HelpFileViewUser_Click);
     
     #line default
     #line hidden
     return;
     case 56:
     
     #line 384 "..\..\MainWindow.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this._HelpFileAddGroup_Click);
     
     #line default
     #line hidden
     return;
     case 57:
     
     #line 388 "..\..\MainWindow.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this._HelpFileEditGroup_Click);
     
     #line default
     #line hidden
     return;
     case 58:
     
     #line 392 "..\..\MainWindow.xaml"
     ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this._HelpFileViewGroup_Click);
     
     #line default
     #line hidden
     return;
     case 59:
     this.AboutTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 60:
     this._Authors = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 411 "..\..\MainWindow.xaml"
     this._Authors.Click += new System.Windows.RoutedEventHandler(this._Authors_Click);
     
     #line default
     #line hidden
     return;
     case 61:
     this._Version = ((Microsoft.Windows.Controls.Ribbon.RibbonMenuItem)(target));
     
     #line 416 "..\..\MainWindow.xaml"
     this._Version.Click += new System.Windows.RoutedEventHandler(this._Version_Click);
     
     #line default
     #line hidden
     return;
     case 62:
     this.dockPanel = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 63:
     this.listBox = ((System.Windows.Controls.ListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 6
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainWindow = ((Client.MainWindow)(target));
     
     #line 4 "..\..\MainWindow.xaml"
     this.mainWindow.Closed += new System.EventHandler(this.mainWindow_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.mainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.OnlineAndAllCheckBox = ((System.Windows.Controls.CheckBox)(target));
     
     #line 95 "..\..\MainWindow.xaml"
     this.OnlineAndAllCheckBox.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);
     
     #line default
     #line hidden
     
     #line 95 "..\..\MainWindow.xaml"
     this.OnlineAndAllCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.UsersListBox = ((System.Windows.Controls.ListBox)(target));
     
     #line 96 "..\..\MainWindow.xaml"
     this.UsersListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.usersOnlineListBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.writeToButton = ((System.Windows.Controls.Button)(target));
     
     #line 113 "..\..\MainWindow.xaml"
     this.writeToButton.Click += new System.Windows.RoutedEventHandler(this.writeToButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.listMessagesStackPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.fieldTypingMessageTextBox = ((System.Windows.Controls.TextBox)(target));
     
     #line 129 "..\..\MainWindow.xaml"
     this.fieldTypingMessageTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.fieldTypingMessageTextBox_PreviewKeyDown);
     
     #line default
     #line hidden
     return;
     case 8:
     this.sendMessageButton = ((System.Windows.Controls.Button)(target));
     
     #line 130 "..\..\MainWindow.xaml"
     this.sendMessageButton.Click += new System.Windows.RoutedEventHandler(this.SendMessageButtonClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 7
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainForm = ((Client.MainWindow)(target));
     return;
     case 2:
     this.BottomStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 3:
     this.ConnectionItem = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
     return;
     case 4:
     this.ConnectionText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.Seperator = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
     return;
     case 6:
     this.TimeItem = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
     return;
     case 7:
     this.Time = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.MessageTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.SendButton = ((System.Windows.Controls.Button)(target));
     
     #line 19 "..\..\MainWindow.xaml"
     this.SendButton.Click += new System.Windows.RoutedEventHandler(this.SendButton_click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.ChatTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.MenuDock = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 12:
     this.MenuBar = ((System.Windows.Controls.Menu)(target));
     return;
     case 13:
     this.FileMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 14:
     this.FileMenuItemConnect = ((System.Windows.Controls.MenuItem)(target));
     
     #line 40 "..\..\MainWindow.xaml"
     this.FileMenuItemConnect.Click += new System.Windows.RoutedEventHandler(this.FileMenuItemConnect_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.FileMenuItemDisconnect = ((System.Windows.Controls.MenuItem)(target));
     
     #line 41 "..\..\MainWindow.xaml"
     this.FileMenuItemDisconnect.Click += new System.Windows.RoutedEventHandler(this.FileMenuItemDisconnect_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.FileMenuItemExit = ((System.Windows.Controls.MenuItem)(target));
     
     #line 42 "..\..\MainWindow.xaml"
     this.FileMenuItemExit.Click += new System.Windows.RoutedEventHandler(this.FileMenuItemExit_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.HelpMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 18:
     this.AboutMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 19:
     this.test_button = ((System.Windows.Controls.Button)(target));
     
     #line 47 "..\..\MainWindow.xaml"
     this.test_button.Click += new System.Windows.RoutedEventHandler(this.test_button_click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 8
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RibbonWindow = ((Client.MainWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Ribbon = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));
     return;
     case 4:
     this.MenuItem1 = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
     return;
     case 5:
     this.HomeTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 6:
     this.Group1 = ((Microsoft.Windows.Controls.Ribbon.RibbonGroup)(target));
     return;
     case 7:
     this.Button1 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 8:
     this.Button2 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 9:
     this.Button3 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     case 10:
     this.Button4 = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
     return;
     }
     this._contentLoaded = true;
 }