Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/27/12 16:58:29 (12 years ago)
Author:
spimming
Message:

#1680:

  • ErrorProvider added to form
  • Implemented Validation methods for controls
  • Check Validation methods for controls in form when btn is clicked
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Views/AddAzureServiceDialog.Designer.cs

    r7362 r7424  
    2424    /// </summary>
    2525    private void InitializeComponent() {
     26      this.components = new System.ComponentModel.Container();
    2627      this.label1 = new System.Windows.Forms.Label();
    2728      this.cmbChooseSubscription = new System.Windows.Forms.ComboBox();
     
    5354      this.btnCancel = new System.Windows.Forms.Button();
    5455      this.lblCertificateFile = new System.Windows.Forms.Label();
     56      this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
    5557      this.gbNewHostedService.SuspendLayout();
    5658      this.panelDeploymentOptions.SuspendLayout();
     59      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    5760      this.SuspendLayout();
    5861      //
     
    171174      this.tbServiceName.Size = new System.Drawing.Size(377, 20);
    172175      this.tbServiceName.TabIndex = 3;
     176      this.tbServiceName.Validating += new System.ComponentModel.CancelEventHandler(this.tbServiceName_Validating);
    173177      //
    174178      // label4
     
    187191      this.tbLabel.Size = new System.Drawing.Size(453, 20);
    188192      this.tbLabel.TabIndex = 1;
     193      this.tbLabel.Validating += new System.ComponentModel.CancelEventHandler(this.tbLabel_Validating);
    189194      //
    190195      // label3
     
    330335      this.lblCertificateFile.TabIndex = 19;
    331336      //
     337      // errorProvider
     338      //
     339      this.errorProvider.ContainerControl = this;
     340      //
    332341      // AddAzureServiceDialog
    333342      //
    334343      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    335344      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     345      this.AutoValidate = System.Windows.Forms.AutoValidate.EnableAllowFocusChange;
    336346      this.ClientSize = new System.Drawing.Size(496, 436);
    337347      this.Controls.Add(this.lblCertificateFile);
     
    358368      this.panelDeploymentOptions.ResumeLayout(false);
    359369      this.panelDeploymentOptions.PerformLayout();
     370      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    360371      this.ResumeLayout(false);
    361372      this.PerformLayout();
     
    394405    private System.Windows.Forms.Button btnCancel;
    395406    private System.Windows.Forms.Label lblCertificateFile;
     407    private System.Windows.Forms.ErrorProvider errorProvider;
    396408  }
    397409}
Note: See TracChangeset for help on using the changeset viewer.