Click here to Skip to main content
15,880,405 members
Articles / Programming Languages / C#

User-driven applications

Rate me:
Please Sign up or sign in to vote.
4.88/5 (24 votes)
10 Apr 2010CPOL136 min read 32.9K   5   78  
User-driven applications are the programs in which full control is given to the users. Designers of such programs are responsible only for developing an instrument for solving some task, but they do not enforce users to work with this instrument according with a predefined scenario.
namespace UserDrivenApplications
{
    partial class Form_BtnsPlacement_Digits
    {
        /// <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 .btnOK = new System .Windows .Forms .Button ();
            this .numericUD_VerSpaces = new System .Windows .Forms .NumericUpDown ();
            this .numericUD_HorSpaces = new System .Windows .Forms .NumericUpDown ();
            ((System .ComponentModel .ISupportInitialize) (this .numericUD_VerSpaces)) .BeginInit ();
            ((System .ComponentModel .ISupportInitialize) (this .numericUD_HorSpaces)) .BeginInit ();
            this .SuspendLayout ();
            // 
            // btnOK
            // 
            this .btnOK .DialogResult = System .Windows .Forms .DialogResult .OK;
            this .btnOK .Location = new System .Drawing .Point (294, 375);
            this .btnOK .MaximumSize = new System .Drawing .Size (200, 200);
            this .btnOK .MinimumSize = new System .Drawing .Size (40, 22);
            this .btnOK .Name = "btnOK";
            this .btnOK .Size = new System .Drawing .Size (100, 28);
            this .btnOK .TabIndex = 10;
            this .btnOK .Text = "OK";
            this .btnOK .UseVisualStyleBackColor = true;
            // 
            // numericUD_VerSpaces
            // 
            this .numericUD_VerSpaces .Location = new System .Drawing .Point (68, 381);
            this .numericUD_VerSpaces .Maximum = new decimal (new int [] {
            20,
            0,
            0,
            0});
            this .numericUD_VerSpaces .Name = "numericUD_VerSpaces";
            this .numericUD_VerSpaces .Size = new System .Drawing .Size (49, 22);
            this .numericUD_VerSpaces .TabIndex = 9;
            // 
            // numericUD_HorSpaces
            // 
            this .numericUD_HorSpaces .Location = new System .Drawing .Point (68, 353);
            this .numericUD_HorSpaces .Maximum = new decimal (new int [] {
            20,
            0,
            0,
            0});
            this .numericUD_HorSpaces .Name = "numericUD_HorSpaces";
            this .numericUD_HorSpaces .Size = new System .Drawing .Size (49, 22);
            this .numericUD_HorSpaces .TabIndex = 8;
            // 
            // Form_BtnsPlacement_Digits
            // 
            this .ClientSize = new System .Drawing .Size (556, 462);
            this .Controls .Add (this .btnOK);
            this .Controls .Add (this .numericUD_VerSpaces);
            this .Controls .Add (this .numericUD_HorSpaces);
            this .DoubleBuffered = true;
            this .MaximizeBox = false;
            this .MinimizeBox = false;
            this .Name = "Form_BtnsPlacement_Digits";
            this .ShowIcon = false;
            this .Text = "Buttons for Digits";
            this .Load += new System .EventHandler (this .OnLoad);
            this .MouseUp += new System .Windows .Forms .MouseEventHandler (this .OnMouseUp);
            this .Paint += new System .Windows .Forms .PaintEventHandler (this .OnPaint);
            this .MouseDown += new System .Windows .Forms .MouseEventHandler (this .OnMouseDown);
            this .FormClosing += new System .Windows .Forms .FormClosingEventHandler (this .OnFormClosing);
            this .MouseMove += new System .Windows .Forms .MouseEventHandler (this .OnMouseMove);
            ((System .ComponentModel .ISupportInitialize) (this .numericUD_VerSpaces)) .EndInit ();
            ((System .ComponentModel .ISupportInitialize) (this .numericUD_HorSpaces)) .EndInit ();
            this .ResumeLayout (false);

        }

        #endregion

        private System .Windows .Forms .Button btnOK;
        private System .Windows .Forms .NumericUpDown numericUD_VerSpaces;
        private System .Windows .Forms .NumericUpDown numericUD_HorSpaces;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions