Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/23/12 16:17:12 (13 years ago)
Author:
ascheibe
Message:

#1648 implemented assigning of roles to users

Location:
branches/ClientUserManagement/HeuristicLab.Clients.Access.Administration/3.3
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/ClientUserManagement/HeuristicLab.Clients.Access.Administration/3.3/HeuristicLab.Clients.Access.Administration-3.3.csproj

    r7848 r7876  
    129129    <Compile Include="Plugin.cs" />
    130130    <Compile Include="Properties\AssemblyInfo.cs" />
     131    <Compile Include="Views\RefreshableRoleSelectionListView.cs">
     132      <SubType>UserControl</SubType>
     133    </Compile>
     134    <Compile Include="Views\RefreshableRoleSelectionListView.Designer.cs">
     135      <DependentUpon>RefreshableRoleSelectionListView.cs</DependentUpon>
     136    </Compile>
     137    <Compile Include="Views\RoleSelectionListView.cs">
     138      <SubType>UserControl</SubType>
     139    </Compile>
     140    <Compile Include="Views\RoleSelectionListView.Designer.cs">
     141      <DependentUpon>RoleSelectionListView.cs</DependentUpon>
     142    </Compile>
    131143    <Compile Include="Views\RefreshableRoleListView.cs">
    132144      <SubType>UserControl</SubType>
  • branches/ClientUserManagement/HeuristicLab.Clients.Access.Administration/3.3/Views/UserView.Designer.cs

    r7651 r7876  
    3737      this.lastLoginTextBox = new System.Windows.Forms.TextBox();
    3838      this.resetPasswordButton = new System.Windows.Forms.Button();
     39      this.refreshableRoleSelectionListView = new HeuristicLab.Clients.Access.Administration.RefreshableRoleSelectionListView();
    3940      this.SuspendLayout();
    4041      //
     
    6465      this.userNameTextBox.Location = new System.Drawing.Point(76, 3);
    6566      this.userNameTextBox.Name = "userNameTextBox";
    66       this.userNameTextBox.Size = new System.Drawing.Size(285, 20);
     67      this.userNameTextBox.Size = new System.Drawing.Size(746, 20);
    6768      this.userNameTextBox.TabIndex = 2;
    6869      this.userNameTextBox.TextChanged += new System.EventHandler(this.userNameTextBox_TextChanged);
     
    7475      this.fullNameTextBox.Location = new System.Drawing.Point(76, 29);
    7576      this.fullNameTextBox.Name = "fullNameTextBox";
    76       this.fullNameTextBox.Size = new System.Drawing.Size(285, 20);
     77      this.fullNameTextBox.Size = new System.Drawing.Size(746, 20);
    7778      this.fullNameTextBox.TabIndex = 3;
    7879      this.fullNameTextBox.TextChanged += new System.EventHandler(this.fullNameTextBox_TextChanged);
     
    102103      this.emailTextBox.Location = new System.Drawing.Point(76, 55);
    103104      this.emailTextBox.Name = "emailTextBox";
    104       this.emailTextBox.Size = new System.Drawing.Size(285, 20);
     105      this.emailTextBox.Size = new System.Drawing.Size(746, 20);
    105106      this.emailTextBox.TabIndex = 6;
    106107      this.emailTextBox.TextChanged += new System.EventHandler(this.emailTextBox_TextChanged);
     
    113114      this.idTextBox.Location = new System.Drawing.Point(76, 81);
    114115      this.idTextBox.Name = "idTextBox";
    115       this.idTextBox.Size = new System.Drawing.Size(285, 20);
     116      this.idTextBox.Size = new System.Drawing.Size(746, 20);
    116117      this.idTextBox.TabIndex = 7;
    117118      //
     
    141142      this.lastActivityTextBox.Location = new System.Drawing.Point(76, 107);
    142143      this.lastActivityTextBox.Name = "lastActivityTextBox";
    143       this.lastActivityTextBox.Size = new System.Drawing.Size(285, 20);
     144      this.lastActivityTextBox.Size = new System.Drawing.Size(746, 20);
    144145      this.lastActivityTextBox.TabIndex = 10;
    145146      //
     
    151152      this.lastLoginTextBox.Location = new System.Drawing.Point(76, 133);
    152153      this.lastLoginTextBox.Name = "lastLoginTextBox";
    153       this.lastLoginTextBox.Size = new System.Drawing.Size(285, 20);
     154      this.lastLoginTextBox.Size = new System.Drawing.Size(746, 20);
    154155      this.lastLoginTextBox.TabIndex = 11;
    155156      //
    156157      // resetPasswordButton
    157158      //
    158       this.resetPasswordButton.Location = new System.Drawing.Point(6, 159);
     159      this.resetPasswordButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     160      this.resetPasswordButton.Location = new System.Drawing.Point(8, 417);
    159161      this.resetPasswordButton.Name = "resetPasswordButton";
    160162      this.resetPasswordButton.Size = new System.Drawing.Size(96, 23);
     
    164166      this.resetPasswordButton.Click += new System.EventHandler(this.resetPasswordButton_Click);
    165167      //
     168      // refreshableRoleSelectionListView
     169      //
     170      this.refreshableRoleSelectionListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     171                  | System.Windows.Forms.AnchorStyles.Left)
     172                  | System.Windows.Forms.AnchorStyles.Right)));
     173      this.refreshableRoleSelectionListView.Caption = "View";
     174      this.refreshableRoleSelectionListView.Content = null;
     175      this.refreshableRoleSelectionListView.CurrentUser = null;
     176      this.refreshableRoleSelectionListView.Location = new System.Drawing.Point(8, 159);
     177      this.refreshableRoleSelectionListView.Name = "refreshableRoleSelectionListView";
     178      this.refreshableRoleSelectionListView.ReadOnly = false;
     179      this.refreshableRoleSelectionListView.Size = new System.Drawing.Size(814, 252);
     180      this.refreshableRoleSelectionListView.TabIndex = 13;
     181      //
    166182      // UserView
    167183      //
    168184      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    169185      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     186      this.Controls.Add(this.refreshableRoleSelectionListView);
    170187      this.Controls.Add(this.resetPasswordButton);
    171188      this.Controls.Add(this.lastLoginTextBox);
     
    182199      this.Controls.Add(this.label1);
    183200      this.Name = "UserView";
    184       this.Size = new System.Drawing.Size(364, 185);
     201      this.Size = new System.Drawing.Size(825, 447);
    185202      this.ResumeLayout(false);
    186203      this.PerformLayout();
     
    203220    private System.Windows.Forms.TextBox lastLoginTextBox;
    204221    private System.Windows.Forms.Button resetPasswordButton;
     222    private RefreshableRoleSelectionListView refreshableRoleSelectionListView;
    205223  }
    206224}
  • branches/ClientUserManagement/HeuristicLab.Clients.Access.Administration/3.3/Views/UserView.cs

    r7651 r7876  
    4848        lastActivityTextBox.Clear();
    4949        lastLoginTextBox.Clear();
     50        refreshableRoleSelectionListView.Content = null;
     51        refreshableRoleSelectionListView.CurrentUser = null;
    5052      } else {
    5153        userNameTextBox.Text = Content.UserName;
     
    5557        lastActivityTextBox.Text = Content.LastActivityDate.ToString();
    5658        lastLoginTextBox.Text = Content.LastLoginDate.ToString();
     59        refreshableRoleSelectionListView.Content = AccessAdministrationClient.Instance;
     60        refreshableRoleSelectionListView.CurrentUser = Content;
    5761      }
    5862    }
Note: See TracChangeset for help on using the changeset viewer.