Download ErrorProviderTest.zip, last updated 01/01/2013 (13.74 KB)

Download
  • md5: ee0a54e24b2d179753dd306c58951c1a
namespace ErrorProviderTest
{
  partial class TestForm
  {
    /// <summary>
    /// Required designer variable.
    /// </summary>
    private System.ComponentModel.IContainer components = null;

    /// <summary>
    /// Clean up any resources being used.
    /// </summary>
    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    protected override void Dispose(bool disposing)
    {
      if (disposing && (components != null))
      {
        components.Dispose();
      }
      base.Dispose(disposing);
    }

    #region Windows Form Designer generated code

    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
      this.components = new System.ComponentModel.Container();
      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TestForm));
      this.testGroupBox = new System.Windows.Forms.GroupBox();
      this.label3 = new System.Windows.Forms.Label();
      this.label2 = new System.Windows.Forms.Label();
      this.label1 = new System.Windows.Forms.Label();
      this.coloredIntegerTextBox = new System.Windows.Forms.TextBox();
      this.integerTextBox = new System.Windows.Forms.TextBox();
      this.fileNameComboBox = new System.Windows.Forms.ComboBox();
      this.closeButton = new System.Windows.Forms.Button();
      this.errorProvider = new Cyotek.Windows.Forms.ErrorProvider(this.components);
      this.submitButton = new System.Windows.Forms.Button();
      this.testGroupBox.SuspendLayout();
      this.SuspendLayout();
      // 
      // testGroupBox
      // 
      this.testGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
      this.testGroupBox.Controls.Add(this.label3);
      this.testGroupBox.Controls.Add(this.label2);
      this.testGroupBox.Controls.Add(this.label1);
      this.testGroupBox.Controls.Add(this.coloredIntegerTextBox);
      this.testGroupBox.Controls.Add(this.integerTextBox);
      this.testGroupBox.Controls.Add(this.fileNameComboBox);
      this.testGroupBox.Location = new System.Drawing.Point(12, 12);
      this.testGroupBox.Name = "testGroupBox";
      this.testGroupBox.Size = new System.Drawing.Size(429, 172);
      this.testGroupBox.TabIndex = 0;
      this.testGroupBox.TabStop = false;
      this.testGroupBox.Text = "Test Controls";
      // 
      // label3
      // 
      this.label3.AutoSize = true;
      this.label3.Location = new System.Drawing.Point(3, 127);
      this.label3.Name = "label3";
      this.label3.Size = new System.Drawing.Size(181, 13);
      this.label3.TabIndex = 5;
      this.label3.Text = "This control has a custom error color:";
      // 
      // label2
      // 
      this.label2.AutoSize = true;
      this.label2.Location = new System.Drawing.Point(3, 77);
      this.label2.Name = "label2";
      this.label2.Size = new System.Drawing.Size(380, 13);
      this.label2.TabIndex = 4;
      this.label2.Text = "Validation for the following controls fail if the entered value is not a valid in" +
    "teger:";
      // 
      // label1
      // 
      this.label1.AutoSize = true;
      this.label1.Location = new System.Drawing.Point(3, 26);
      this.label1.Name = "label1";
      this.label1.Size = new System.Drawing.Size(355, 13);
      this.label1.TabIndex = 3;
      this.label1.Text = "Validation for this control will fail if the text does not point to an existing f" +
    "ile:";
      // 
      // coloredIntegerTextBox
      // 
      this.coloredIntegerTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
      this.errorProvider.SetErrorBackColor(this.coloredIntegerTextBox, System.Drawing.Color.MediumSlateBlue);
      this.coloredIntegerTextBox.Location = new System.Drawing.Point(6, 143);
      this.coloredIntegerTextBox.Name = "coloredIntegerTextBox";
      this.coloredIntegerTextBox.Size = new System.Drawing.Size(417, 20);
      this.coloredIntegerTextBox.TabIndex = 2;
      this.coloredIntegerTextBox.TextChanged += new System.EventHandler(this.integerTextBox_TextChanged);
      // 
      // integerTextBox
      // 
      this.integerTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
      this.integerTextBox.Location = new System.Drawing.Point(6, 93);
      this.integerTextBox.Name = "integerTextBox";
      this.integerTextBox.Size = new System.Drawing.Size(417, 20);
      this.integerTextBox.TabIndex = 1;
      this.integerTextBox.TextChanged += new System.EventHandler(this.integerTextBox_TextChanged);
      // 
      // fileNameComboBox
      // 
      this.fileNameComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
      this.fileNameComboBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
      this.fileNameComboBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.FileSystem;
      this.fileNameComboBox.FormattingEnabled = true;
      this.fileNameComboBox.Location = new System.Drawing.Point(6, 42);
      this.fileNameComboBox.Name = "fileNameComboBox";
      this.fileNameComboBox.Size = new System.Drawing.Size(417, 21);
      this.fileNameComboBox.TabIndex = 0;
      this.fileNameComboBox.TextChanged += new System.EventHandler(this.fileNameComboBox_TextChanged);
      // 
      // closeButton
      // 
      this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
      this.closeButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
      this.closeButton.Location = new System.Drawing.Point(366, 190);
      this.closeButton.Name = "closeButton";
      this.closeButton.Size = new System.Drawing.Size(75, 23);
      this.closeButton.TabIndex = 3;
      this.closeButton.Text = "Close";
      this.closeButton.UseVisualStyleBackColor = true;
      this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
      // 
      // submitButton
      // 
      this.submitButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
      this.submitButton.Location = new System.Drawing.Point(285, 190);
      this.submitButton.Name = "submitButton";
      this.submitButton.Size = new System.Drawing.Size(75, 23);
      this.submitButton.TabIndex = 4;
      this.submitButton.Text = "Submit";
      this.submitButton.UseVisualStyleBackColor = true;
      this.submitButton.Click += new System.EventHandler(this.submitButton_Click);
      // 
      // TestForm
      // 
      this.AcceptButton = this.submitButton;
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
      this.CancelButton = this.closeButton;
      this.ClientSize = new System.Drawing.Size(453, 225);
      this.Controls.Add(this.submitButton);
      this.Controls.Add(this.closeButton);
      this.Controls.Add(this.testGroupBox);
      this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
      this.Name = "TestForm";
      this.Text = "Custom Error Provider Test";
      this.testGroupBox.ResumeLayout(false);
      this.testGroupBox.PerformLayout();
      this.ResumeLayout(false);

    }

    #endregion

    private System.Windows.Forms.GroupBox testGroupBox;
    private System.Windows.Forms.TextBox coloredIntegerTextBox;
    private System.Windows.Forms.TextBox integerTextBox;
    private System.Windows.Forms.ComboBox fileNameComboBox;
    private Cyotek.Windows.Forms.ErrorProvider errorProvider;
    private System.Windows.Forms.Button closeButton;
    private System.Windows.Forms.Label label1;
    private System.Windows.Forms.Label label3;
    private System.Windows.Forms.Label label2;
    private System.Windows.Forms.Button submitButton;
  }
}

Donate

Donate