Click here to Skip to main content
15,883,989 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 33K   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_DefineNewPieChart
    {
        /// <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 ();
            this .comboTexts = new System .Windows .Forms .ComboBox ();
            this .buttonOK = new System .Windows .Forms .Button ();
            this .btnEndClr = new System .Windows .Forms .Button ();
            this .btnStartClr = new System .Windows .Forms .Button ();
            this .listValues = new System .Windows .Forms .ListView ();
            this .columnHeader1 = new System .Windows .Forms .ColumnHeader ();
            this .numericSectors = new System .Windows .Forms .NumericUpDown ();
            this .toolTip1 = new System .Windows .Forms .ToolTip (this .components);
            this .menuOnGroup = new System .Windows .Forms .ContextMenuStrip (this .components);
            this .miModifyGroup = new System .Windows .Forms .ToolStripMenuItem ();
            this .miFixUnfixElements = new System .Windows .Forms .ToolStripMenuItem ();
            this .miGroupDefaultView = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator1 = new System .Windows .Forms .ToolStripSeparator ();
            this .miTextsRotationAngle = new System .Windows .Forms .ToolStripMenuItem ();
            this .menuOutsideGroup = new System .Windows .Forms .ContextMenuStrip (this .components);
            this .miSectorColor = new System .Windows .Forms .ToolStripMenuItem ();
            this .toolStripSeparator2 = new System .Windows .Forms .ToolStripSeparator ();
            this .miFont = new System .Windows .Forms .ToolStripMenuItem ();
            this .miRotationAngle = new System .Windows .Forms .ToolStripMenuItem ();
            this .miDefaultView = new System .Windows .Forms .ToolStripMenuItem ();
            ((System .ComponentModel .ISupportInitialize) (this .numericSectors)) .BeginInit ();
            this .menuOnGroup .SuspendLayout ();
            this .menuOutsideGroup .SuspendLayout ();
            this .SuspendLayout ();
            // 
            // comboTexts
            // 
            this .comboTexts .DropDownStyle = System .Windows .Forms .ComboBoxStyle .DropDownList;
            this .comboTexts .FormattingEnabled = true;
            this .comboTexts .Items .AddRange (new object [] {
            "Alphabet",
            "Days",
            "Months",
            "Names",
            "Undefined"});
            this .comboTexts .Location = new System .Drawing .Point (30, 304);
            this .comboTexts .MaximumSize = new System .Drawing .Size (200, 0);
            this .comboTexts .MinimumSize = new System .Drawing .Size (80, 0);
            this .comboTexts .Name = "comboTexts";
            this .comboTexts .Size = new System .Drawing .Size (96, 24);
            this .comboTexts .TabIndex = 19;
            this .comboTexts .SelectedIndexChanged += new System .EventHandler (this .SelectedIndexChanged_comboTexts);
            // 
            // buttonOK
            // 
            this .buttonOK .DialogResult = System .Windows .Forms .DialogResult .OK;
            this .buttonOK .Location = new System .Drawing .Point (372, 316);
            this .buttonOK .MaximumSize = new System .Drawing .Size (300, 80);
            this .buttonOK .MinimumSize = new System .Drawing .Size (60, 22);
            this .buttonOK .Name = "buttonOK";
            this .buttonOK .Size = new System .Drawing .Size (100, 28);
            this .buttonOK .TabIndex = 18;
            this .buttonOK .Text = "OK";
            this .buttonOK .UseVisualStyleBackColor = true;
            // 
            // btnEndClr
            // 
            this .btnEndClr .Image = global::UserDrivenApplications .Properties .Resources .palette_;
            this .btnEndClr .Location = new System .Drawing .Point (30, 242);
            this .btnEndClr .Name = "btnEndClr";
            this .btnEndClr .Size = new System .Drawing .Size (28, 28);
            this .btnEndClr .TabIndex = 17;
            this .btnEndClr .UseVisualStyleBackColor = true;
            this .btnEndClr .Click += new System .EventHandler (this .Click_btnEndClr);
            // 
            // btnStartClr
            // 
            this .btnStartClr .Image = global::UserDrivenApplications .Properties .Resources .palette_;
            this .btnStartClr .Location = new System .Drawing .Point (30, 208);
            this .btnStartClr .Name = "btnStartClr";
            this .btnStartClr .Size = new System .Drawing .Size (28, 28);
            this .btnStartClr .TabIndex = 16;
            this .btnStartClr .UseVisualStyleBackColor = true;
            this .btnStartClr .Click += new System .EventHandler (this .Click_btnStartClr);
            // 
            // listValues
            // 
            this .listValues .Columns .AddRange (new System .Windows .Forms .ColumnHeader [] {
            this.columnHeader1});
            this .listValues .FullRowSelect = true;
            this .listValues .HeaderStyle = System .Windows .Forms .ColumnHeaderStyle .Nonclickable;
            this .listValues .LabelEdit = true;
            this .listValues .Location = new System .Drawing .Point (30, 58);
            this .listValues .MaximumSize = new System .Drawing .Size (170, 300);
            this .listValues .MinimumSize = new System .Drawing .Size (70, 80);
            this .listValues .MultiSelect = false;
            this .listValues .Name = "listValues";
            this .listValues .Size = new System .Drawing .Size (106, 144);
            this .listValues .TabIndex = 14;
            this .listValues .UseCompatibleStateImageBehavior = false;
            this .listValues .View = System .Windows .Forms .View .Details;
            // 
            // columnHeader1
            // 
            this .columnHeader1 .Text = "Values (%)";
            this .columnHeader1 .Width = 77;
            // 
            // numericSectors
            // 
            this .numericSectors .Location = new System .Drawing .Point (30, 30);
            this .numericSectors .Maximum = new decimal (new int [] {
            12,
            0,
            0,
            0});
            this .numericSectors .MaximumSize = new System .Drawing .Size (100, 0);
            this .numericSectors .Minimum = new decimal (new int [] {
            2,
            0,
            0,
            0});
            this .numericSectors .MinimumSize = new System .Drawing .Size (36, 0);
            this .numericSectors .Name = "numericSectors";
            this .numericSectors .Size = new System .Drawing .Size (43, 22);
            this .numericSectors .TabIndex = 13;
            this .numericSectors .Value = new decimal (new int [] {
            2,
            0,
            0,
            0});
            this .numericSectors .ValueChanged += new System .EventHandler (this .ValueChanged_numericSectors);
            // 
            // menuOnGroup
            // 
            this .menuOnGroup .Items .AddRange (new System .Windows .Forms .ToolStripItem [] {
            this.miModifyGroup,
            this.miFixUnfixElements,
            this.miGroupDefaultView,
            this.toolStripSeparator1,
            this.miTextsRotationAngle});
            this .menuOnGroup .Name = "menuOnGroup";
            this .menuOnGroup .Size = new System .Drawing .Size (321, 120);
            this .menuOnGroup .Opening += new System .ComponentModel .CancelEventHandler (this .Opening_menuOnGroup);
            // 
            // miModifyGroup
            // 
            this .miModifyGroup .Name = "miModifyGroup";
            this .miModifyGroup .Size = new System .Drawing .Size (320, 22);
            this .miModifyGroup .Text = "Modify group...";
            this .miModifyGroup .Click += new System .EventHandler (this .Click_miModifyGroup);
            // 
            // miFixUnfixElements
            // 
            this .miFixUnfixElements .Name = "miFixUnfixElements";
            this .miFixUnfixElements .Size = new System .Drawing .Size (320, 22);
            this .miFixUnfixElements .Text = "Fix/unfix elements";
            this .miFixUnfixElements .Click += new System .EventHandler (this .Click_miFixUnfixElements);
            // 
            // miGroupDefaultView
            // 
            this .miGroupDefaultView .Name = "miGroupDefaultView";
            this .miGroupDefaultView .Size = new System .Drawing .Size (320, 22);
            this .miGroupDefaultView .Text = "Group\'s default viewing parameters";
            this .miGroupDefaultView .Click += new System .EventHandler (this .Click_miGroupDefaultView);
            // 
            // toolStripSeparator1
            // 
            this .toolStripSeparator1 .Name = "toolStripSeparator1";
            this .toolStripSeparator1 .Size = new System .Drawing .Size (317, 6);
            // 
            // miTextsRotationAngle
            // 
            this .miTextsRotationAngle .Name = "miTextsRotationAngle";
            this .miTextsRotationAngle .Size = new System .Drawing .Size (320, 22);
            this .miTextsRotationAngle .Text = "Texts\' rotation angle On / Off";
            this .miTextsRotationAngle .Click += new System .EventHandler (this .Click_miShowRotationAngle);
            // 
            // menuOutsideGroup
            // 
            this .menuOutsideGroup .Items .AddRange (new System .Windows .Forms .ToolStripItem [] {
            this.miSectorColor,
            this.toolStripSeparator2,
            this.miFont,
            this.miRotationAngle,
            this.miDefaultView});
            this .menuOutsideGroup .Name = "menuOutsideGroup";
            this .menuOutsideGroup .ShowCheckMargin = true;
            this .menuOutsideGroup .ShowImageMargin = false;
            this .menuOutsideGroup .Size = new System .Drawing .Size (287, 98);
            this .menuOutsideGroup .Opening += new System .ComponentModel .CancelEventHandler (this .Opening_menuOutsideGroup);
            // 
            // miSectorColor
            // 
            this .miSectorColor .Name = "miSectorColor";
            this .miSectorColor .Size = new System .Drawing .Size (286, 22);
            this .miSectorColor .Text = "Sector\'s color...";
            this .miSectorColor .Click += new System .EventHandler (this .Click_miSectorColor);
            // 
            // toolStripSeparator2
            // 
            this .toolStripSeparator2 .Name = "toolStripSeparator2";
            this .toolStripSeparator2 .Size = new System .Drawing .Size (283, 6);
            // 
            // miFont
            // 
            this .miFont .Name = "miFont";
            this .miFont .Size = new System .Drawing .Size (286, 22);
            this .miFont .Text = "Font...";
            this .miFont .Click += new System .EventHandler (this .Click_miFont);
            // 
            // miRotationAngle
            // 
            this .miRotationAngle .Name = "miRotationAngle";
            this .miRotationAngle .Size = new System .Drawing .Size (286, 22);
            this .miRotationAngle .Text = "Texts\' rotation angle On / Off";
            this .miRotationAngle .Click += new System .EventHandler (this .Click_miShowRotationAngle);
            // 
            // miDefaultView
            // 
            this .miDefaultView .Name = "miDefaultView";
            this .miDefaultView .Size = new System .Drawing .Size (286, 22);
            this .miDefaultView .Text = "Form\'s default view";
            this .miDefaultView .Click += new System .EventHandler (this .Click_miDefaultView);
            // 
            // Form_DefineNewPieChart
            // 
            this .AutoScaleDimensions = new System .Drawing .SizeF (8F, 16F);
            this .AutoScaleMode = System .Windows .Forms .AutoScaleMode .Font;
            this .ClientSize = new System .Drawing .Size (484, 356);
            this .Controls .Add (this .listValues);
            this .Controls .Add (this .numericSectors);
            this .Controls .Add (this .btnStartClr);
            this .Controls .Add (this .btnEndClr);
            this .Controls .Add (this .buttonOK);
            this .Controls .Add (this .comboTexts);
            this .DoubleBuffered = true;
            this .MaximizeBox = false;
            this .MinimizeBox = false;
            this .Name = "Form_DefineNewPieChart";
            this .ShowIcon = false;
            this .Text = "Define new pie chart";
            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 .ContextMenuStripChanged += new System .EventHandler (this .OnContextMenuChanged);
            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 .numericSectors)) .EndInit ();
            this .menuOnGroup .ResumeLayout (false);
            this .menuOutsideGroup .ResumeLayout (false);
            this .ResumeLayout (false);

        }

        #endregion

        private System .Windows .Forms .ComboBox comboTexts;
        private System .Windows .Forms .Button buttonOK;
        private System .Windows .Forms .Button btnEndClr;
        private System .Windows .Forms .Button btnStartClr;
        private System .Windows .Forms .ListView listValues;
        private System .Windows .Forms .ColumnHeader columnHeader1;
        private System .Windows .Forms .NumericUpDown numericSectors;
        private System .Windows .Forms .ToolTip toolTip1;
        private System .Windows .Forms .ContextMenuStrip menuOnGroup;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator1;
        private System .Windows .Forms .ToolStripMenuItem miTextsRotationAngle;
        private System .Windows .Forms .ContextMenuStrip menuOutsideGroup;
        private System .Windows .Forms .ToolStripMenuItem miFont;
        private System .Windows .Forms .ToolStripMenuItem miRotationAngle;
        private System .Windows .Forms .ToolStripMenuItem miDefaultView;
        private System .Windows .Forms .ToolStripMenuItem miModifyGroup;
        private System .Windows .Forms .ToolStripMenuItem miFixUnfixElements;
        private System .Windows .Forms .ToolStripMenuItem miGroupDefaultView;
        private System .Windows .Forms .ToolStripMenuItem miSectorColor;
        private System .Windows .Forms .ToolStripSeparator toolStripSeparator2;
    }
}

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