Changeset 7876
- Timestamp:
- 05/23/12 16:17:12 (12 years ago)
- Location:
- branches/ClientUserManagement
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClientUserManagement/HeuristicLab.Clients.Access.Administration/3.3/HeuristicLab.Clients.Access.Administration-3.3.csproj
r7848 r7876 129 129 <Compile Include="Plugin.cs" /> 130 130 <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> 131 143 <Compile Include="Views\RefreshableRoleListView.cs"> 132 144 <SubType>UserControl</SubType> -
branches/ClientUserManagement/HeuristicLab.Clients.Access.Administration/3.3/Views/UserView.Designer.cs
r7651 r7876 37 37 this.lastLoginTextBox = new System.Windows.Forms.TextBox(); 38 38 this.resetPasswordButton = new System.Windows.Forms.Button(); 39 this.refreshableRoleSelectionListView = new HeuristicLab.Clients.Access.Administration.RefreshableRoleSelectionListView(); 39 40 this.SuspendLayout(); 40 41 // … … 64 65 this.userNameTextBox.Location = new System.Drawing.Point(76, 3); 65 66 this.userNameTextBox.Name = "userNameTextBox"; 66 this.userNameTextBox.Size = new System.Drawing.Size( 285, 20);67 this.userNameTextBox.Size = new System.Drawing.Size(746, 20); 67 68 this.userNameTextBox.TabIndex = 2; 68 69 this.userNameTextBox.TextChanged += new System.EventHandler(this.userNameTextBox_TextChanged); … … 74 75 this.fullNameTextBox.Location = new System.Drawing.Point(76, 29); 75 76 this.fullNameTextBox.Name = "fullNameTextBox"; 76 this.fullNameTextBox.Size = new System.Drawing.Size( 285, 20);77 this.fullNameTextBox.Size = new System.Drawing.Size(746, 20); 77 78 this.fullNameTextBox.TabIndex = 3; 78 79 this.fullNameTextBox.TextChanged += new System.EventHandler(this.fullNameTextBox_TextChanged); … … 102 103 this.emailTextBox.Location = new System.Drawing.Point(76, 55); 103 104 this.emailTextBox.Name = "emailTextBox"; 104 this.emailTextBox.Size = new System.Drawing.Size( 285, 20);105 this.emailTextBox.Size = new System.Drawing.Size(746, 20); 105 106 this.emailTextBox.TabIndex = 6; 106 107 this.emailTextBox.TextChanged += new System.EventHandler(this.emailTextBox_TextChanged); … … 113 114 this.idTextBox.Location = new System.Drawing.Point(76, 81); 114 115 this.idTextBox.Name = "idTextBox"; 115 this.idTextBox.Size = new System.Drawing.Size( 285, 20);116 this.idTextBox.Size = new System.Drawing.Size(746, 20); 116 117 this.idTextBox.TabIndex = 7; 117 118 // … … 141 142 this.lastActivityTextBox.Location = new System.Drawing.Point(76, 107); 142 143 this.lastActivityTextBox.Name = "lastActivityTextBox"; 143 this.lastActivityTextBox.Size = new System.Drawing.Size( 285, 20);144 this.lastActivityTextBox.Size = new System.Drawing.Size(746, 20); 144 145 this.lastActivityTextBox.TabIndex = 10; 145 146 // … … 151 152 this.lastLoginTextBox.Location = new System.Drawing.Point(76, 133); 152 153 this.lastLoginTextBox.Name = "lastLoginTextBox"; 153 this.lastLoginTextBox.Size = new System.Drawing.Size( 285, 20);154 this.lastLoginTextBox.Size = new System.Drawing.Size(746, 20); 154 155 this.lastLoginTextBox.TabIndex = 11; 155 156 // 156 157 // resetPasswordButton 157 158 // 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); 159 161 this.resetPasswordButton.Name = "resetPasswordButton"; 160 162 this.resetPasswordButton.Size = new System.Drawing.Size(96, 23); … … 164 166 this.resetPasswordButton.Click += new System.EventHandler(this.resetPasswordButton_Click); 165 167 // 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 // 166 182 // UserView 167 183 // 168 184 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 169 185 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 186 this.Controls.Add(this.refreshableRoleSelectionListView); 170 187 this.Controls.Add(this.resetPasswordButton); 171 188 this.Controls.Add(this.lastLoginTextBox); … … 182 199 this.Controls.Add(this.label1); 183 200 this.Name = "UserView"; 184 this.Size = new System.Drawing.Size( 364, 185);201 this.Size = new System.Drawing.Size(825, 447); 185 202 this.ResumeLayout(false); 186 203 this.PerformLayout(); … … 203 220 private System.Windows.Forms.TextBox lastLoginTextBox; 204 221 private System.Windows.Forms.Button resetPasswordButton; 222 private RefreshableRoleSelectionListView refreshableRoleSelectionListView; 205 223 } 206 224 } -
branches/ClientUserManagement/HeuristicLab.Clients.Access.Administration/3.3/Views/UserView.cs
r7651 r7876 48 48 lastActivityTextBox.Clear(); 49 49 lastLoginTextBox.Clear(); 50 refreshableRoleSelectionListView.Content = null; 51 refreshableRoleSelectionListView.CurrentUser = null; 50 52 } else { 51 53 userNameTextBox.Text = Content.UserName; … … 55 57 lastActivityTextBox.Text = Content.LastActivityDate.ToString(); 56 58 lastLoginTextBox.Text = Content.LastLoginDate.ToString(); 59 refreshableRoleSelectionListView.Content = AccessAdministrationClient.Instance; 60 refreshableRoleSelectionListView.CurrentUser = Content; 57 61 } 58 62 } -
branches/ClientUserManagement/HeuristicLab.Clients.Access/3.3/ServiceClients/Role.cs
r7599 r7876 44 44 return Name; 45 45 } 46 47 public override bool Equals(object obj) { 48 return ((Role)obj).Name.Equals(this.Name); 49 } 50 46 51 } 47 52 }
Note: See TracChangeset
for help on using the changeset viewer.