Changeset 8041
- Timestamp:
- 06/18/12 20:30:26 (12 years ago)
- Location:
- branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/ClientViews/ClientInformationDialog.cs
r7933 r8041 35 35 36 36 private void refreshButton_Click(object sender, System.EventArgs e) { 37 Refresh ();37 RefreshInformation(); 38 38 } 39 39 … … 41 41 using (ClientRegistrationDialog regDialog = new ClientRegistrationDialog()) { 42 42 regDialog.ShowDialog(this); 43 Refresh ();43 RefreshInformation(); 44 44 } 45 45 } 46 46 47 private void Refresh () {47 private void RefreshInformation() { 48 48 clientView.StartProgressView(); 49 49 Task.Factory.StartNew(new Action(delegate { -
branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/UserViews/LightweightUserGroupSelectionDialog.Designer.cs
r7555 r8041 25 25 private void InitializeComponent() { 26 26 this.OkButton = new System.Windows.Forms.Button(); 27 this. CancelButton = new System.Windows.Forms.Button();27 this.AbortButton = new System.Windows.Forms.Button(); 28 28 this.lightweightUserGroupSelectionView = new HeuristicLab.Clients.Access.Views.LightweightUserGroupSelectionView(); 29 29 this.SuspendLayout(); … … 40 40 this.OkButton.Click += new System.EventHandler(this.OkButton_Click); 41 41 // 42 // CancelButton42 // AbortButton 43 43 // 44 this.CancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 45 this.CancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; 46 this.CancelButton.Location = new System.Drawing.Point(455, 290); 47 this.CancelButton.Name = "CancelButton"; 48 this.CancelButton.Size = new System.Drawing.Size(75, 23); 49 this.CancelButton.TabIndex = 2; 50 this.CancelButton.Text = "Cancel"; 51 this.CancelButton.UseVisualStyleBackColor = true; 44 this.AbortButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 45 this.AbortButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; 46 this.AbortButton.Location = new System.Drawing.Point(455, 290); 47 this.AbortButton.Name = "AbortButton"; 48 this.AbortButton.Size = new System.Drawing.Size(75, 23); 49 this.AbortButton.TabIndex = 2; 50 this.AbortButton.Text = "Cancel"; 51 this.AbortButton.UseVisualStyleBackColor = true; 52 this.AbortButton.Click += new System.EventHandler(this.CancelButton_Click); 52 53 // 53 54 // lightweightUserGroupSelectionView 54 55 // 55 56 this.lightweightUserGroupSelectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 56 57 57 | System.Windows.Forms.AnchorStyles.Left) 58 | System.Windows.Forms.AnchorStyles.Right))); 58 59 this.lightweightUserGroupSelectionView.Location = new System.Drawing.Point(12, 12); 59 60 this.lightweightUserGroupSelectionView.Name = "lightweightUserGroupSelectionView"; … … 66 67 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 67 68 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 69 this.CancelButton = this.AbortButton; 68 70 this.ClientSize = new System.Drawing.Size(542, 325); 69 this.Controls.Add(this. CancelButton);71 this.Controls.Add(this.AbortButton); 70 72 this.Controls.Add(this.OkButton); 71 73 this.Controls.Add(this.lightweightUserGroupSelectionView); … … 86 88 private LightweightUserGroupSelectionView lightweightUserGroupSelectionView; 87 89 private System.Windows.Forms.Button OkButton; 88 private System.Windows.Forms.Button CancelButton;90 private System.Windows.Forms.Button AbortButton; 89 91 } 90 92 } -
branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/UserViews/LightweightUserGroupSelectionDialog.cs
r7555 r8041 41 41 Close(); 42 42 } 43 44 private void CancelButton_Click(object sender, System.EventArgs e) { 45 selectedUsersAndGroups = lightweightUserGroupSelectionView.GetSelectedItems(); 46 this.DialogResult = System.Windows.Forms.DialogResult.Cancel; 47 Close(); 48 } 43 49 } 44 50 }
Note: See TracChangeset
for help on using the changeset viewer.