Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8041 for branches


Ignore:
Timestamp:
06/18/12 20:30:26 (12 years ago)
Author:
ascheibe
Message:

#1648 fixed compiler warnings

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  
    3535
    3636    private void refreshButton_Click(object sender, System.EventArgs e) {
    37       Refresh();
     37      RefreshInformation();
    3838    }
    3939
     
    4141      using (ClientRegistrationDialog regDialog = new ClientRegistrationDialog()) {
    4242        regDialog.ShowDialog(this);
    43         Refresh();
     43        RefreshInformation();
    4444      }
    4545    }
    4646
    47     private void Refresh() {
     47    private void RefreshInformation() {
    4848      clientView.StartProgressView();
    4949      Task.Factory.StartNew(new Action(delegate {
  • branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/UserViews/LightweightUserGroupSelectionDialog.Designer.cs

    r7555 r8041  
    2525    private void InitializeComponent() {
    2626      this.OkButton = new System.Windows.Forms.Button();
    27       this.CancelButton = new System.Windows.Forms.Button();
     27      this.AbortButton = new System.Windows.Forms.Button();
    2828      this.lightweightUserGroupSelectionView = new HeuristicLab.Clients.Access.Views.LightweightUserGroupSelectionView();
    2929      this.SuspendLayout();
     
    4040      this.OkButton.Click += new System.EventHandler(this.OkButton_Click);
    4141      //
    42       // CancelButton
     42      // AbortButton
    4343      //
    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);
    5253      //
    5354      // lightweightUserGroupSelectionView
    5455      //
    5556      this.lightweightUserGroupSelectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    56                   | System.Windows.Forms.AnchorStyles.Left)
    57                   | System.Windows.Forms.AnchorStyles.Right)));
     57            | System.Windows.Forms.AnchorStyles.Left)
     58            | System.Windows.Forms.AnchorStyles.Right)));
    5859      this.lightweightUserGroupSelectionView.Location = new System.Drawing.Point(12, 12);
    5960      this.lightweightUserGroupSelectionView.Name = "lightweightUserGroupSelectionView";
     
    6667      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    6768      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     69      this.CancelButton = this.AbortButton;
    6870      this.ClientSize = new System.Drawing.Size(542, 325);
    69       this.Controls.Add(this.CancelButton);
     71      this.Controls.Add(this.AbortButton);
    7072      this.Controls.Add(this.OkButton);
    7173      this.Controls.Add(this.lightweightUserGroupSelectionView);
     
    8688    private LightweightUserGroupSelectionView lightweightUserGroupSelectionView;
    8789    private System.Windows.Forms.Button OkButton;
    88     private System.Windows.Forms.Button CancelButton;
     90    private System.Windows.Forms.Button AbortButton;
    8991  }
    9092}
  • branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/UserViews/LightweightUserGroupSelectionDialog.cs

    r7555 r8041  
    4141      Close();
    4242    }
     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    }
    4349  }
    4450}
Note: See TracChangeset for help on using the changeset viewer.