Пример #1
0
 /// <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.listPager      = new System.WinForms.ListBox();
     this.checkBoxPaging = new System.WinForms.CheckBox();
     //@this.TrayHeight = 0;
     //@this.TrayLargeIcon = false;
     //@this.TrayAutoArrange = true;
     listPager.Location             = new System.Drawing.Point(0, 8);
     listPager.Size                 = new System.Drawing.Size(280, 102);
     listPager.ForeColor            = System.Drawing.Color.Chartreuse;
     listPager.Font                 = new System.Drawing.Font("Arial", 8, System.Drawing.FontStyle.Bold);
     listPager.TabIndex             = 0;
     listPager.BackColor            = System.Drawing.Color.Black;
     checkBoxPaging.Checked         = true;
     checkBoxPaging.Location        = new System.Drawing.Point(8, 120);
     checkBoxPaging.Text            = "Enable Paging";
     checkBoxPaging.Size            = new System.Drawing.Size(224, 16);
     checkBoxPaging.CheckState      = System.WinForms.CheckState.Checked;
     checkBoxPaging.TabIndex        = 1;
     checkBoxPaging.CheckedChanged += new System.EventHandler(this.checkBoxPaging_CheckedChanged);
     this.Text = "My Airline Pager";
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(288, 149);
     this.Controls.Add(this.checkBoxPaging);
     this.Controls.Add(this.listPager);
 }//InitializeComponent
Пример #2
0
 /// <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.button1    = new System.WinForms.Button();
     this.listBox1   = new System.WinForms.ListBox();
     //@this.TrayHeight = 0;
     //@this.TrayLargeIcon = false;
     //@this.TrayAutoArrange = true;
     button1.Location       = new System.Drawing.Point(192, 168);
     button1.Size           = new System.Drawing.Size(88, 24);
     button1.TabIndex       = 1;
     button1.Text           = "Disconnect";
     button1.Click         += new System.EventHandler(this.button1_Click);
     listBox1.Location      = new System.Drawing.Point(8, 24);
     listBox1.Size          = new System.Drawing.Size(272, 134);
     listBox1.TabIndex      = 0;
     this.Text              = "Session";
     this.MaximizeBox       = false;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BorderStyle       = System.WinForms.FormBorderStyle.FixedDialog;
     this.MinimizeBox       = false;
     this.ClientSize        = new System.Drawing.Size(290, 199);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.listBox1);
 }
Пример #3
0
        /// <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.listBox1    = new System.WinForms.ListBox();
            this.label1      = new System.WinForms.Label();
            this.btnClose    = new System.WinForms.Button();
            this.panel1      = new System.WinForms.Panel();
            this.btnEditFile = new System.WinForms.Button();
            this.btnShow     = new System.WinForms.Button();

            listBox1.Location     = new System.Drawing.Point(10, 26);
            listBox1.Size         = new System.Drawing.Size(332, 82);
            listBox1.Dock         = System.WinForms.DockStyle.Fill;
            listBox1.TabIndex     = 6;
            listBox1.DoubleClick += new System.EventHandler(listBox1_DoubleClick);

            label1.Location = new System.Drawing.Point(10, 10);
            label1.Text     = "Selector";
            label1.Size     = new System.Drawing.Size(332, 16);
            label1.Dock     = System.WinForms.DockStyle.Top;
            label1.TabIndex = 1;
            label1.Click   += new System.EventHandler(label1_Click);

            btnClose.Location = new System.Drawing.Point(256, 8);
            btnClose.Size     = new System.Drawing.Size(75, 23);
            btnClose.TabIndex = 4;
            btnClose.Anchor   = System.WinForms.AnchorStyles.BottomRight;
            btnClose.Text     = "&Close";
            btnClose.Click   += new System.EventHandler(btnClose_Click);

            panel1.Dock            = System.WinForms.DockStyle.Bottom;
            panel1.Location        = new System.Drawing.Point(10, 110);
            panel1.Size            = new System.Drawing.Size(332, 32);
            panel1.TabIndex        = 7;
            panel1.Text            = "panel1";
            panel1.DockPadding.All = 10;

            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.Text        = "Configuration File Hierarchy";
            this.MaximizeBox = false;
            //@design this.TrayLargeIcon = true;
            this.BorderStyle = System.WinForms.FormBorderStyle.SizableToolWindow;
            //@design this.TrayHeight = 0;
            this.MinimizeBox     = false;
            this.ClientSize      = new System.Drawing.Size(352, 152);
            this.DockPadding.All = 10;

            btnEditFile.Location = new System.Drawing.Point(88, 8);
            btnEditFile.Size     = new System.Drawing.Size(75, 23);
            btnEditFile.TabIndex = 3;
            btnEditFile.Anchor   = System.WinForms.AnchorStyles.BottomLeft;
            btnEditFile.Text     = "&Edit File";
            btnEditFile.Click   += new System.EventHandler(btnEditFile_Click);

            btnShow.Location = new System.Drawing.Point(0, 8);
            btnShow.Size     = new System.Drawing.Size(75, 23);
            btnShow.TabIndex = 2;
            btnShow.Anchor   = System.WinForms.AnchorStyles.BottomLeft;
            btnShow.Text     = "&Show";
            btnShow.Click   += new System.EventHandler(btnShow_Click);

            this.Controls.Add(panel1);
            this.Controls.Add(label1);
            this.Controls.Add(listBox1);
            panel1.Controls.Add(btnShow);
            panel1.Controls.Add(btnEditFile);
            panel1.Controls.Add(btnClose);
        }
Пример #4
0
 /// <summary>
 ///    Required method for Designer support - do not modify
 ///    the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Preferences));
     this.components   = new System.ComponentModel.Container();
     this.groupBox2    = new System.WinForms.GroupBox();
     this.groupBox3    = new System.WinForms.GroupBox();
     this.lbBallColors = new System.WinForms.ListBox();
     this.groupBox1    = new System.WinForms.GroupBox();
     this.cbLockMouse  = new System.WinForms.CheckBox();
     this.label3       = new System.WinForms.Label();
     this.btnCancel    = new System.WinForms.Button();
     this.cbUseSound   = new System.WinForms.CheckBox();
     this.btnOK        = new System.WinForms.Button();
     this.label1       = new System.WinForms.Label();
     this.pictureBox3  = new System.WinForms.PictureBox();
     this.trbBallSpeed = new System.WinForms.TrackBar();
     this.label4       = new System.WinForms.Label();
     this.label2       = new System.WinForms.Label();
     this.pictureBox2  = new System.WinForms.PictureBox();
     this.pictureBox1  = new System.WinForms.PictureBox();
     trbBallSpeed.BeginInit();
     //@this.TrayHeight = 0;
     //@this.TrayLargeIcon = false;
     //@this.TrayAutoArrange = true;
     groupBox2.Location     = new System.Drawing.Point(8, 184);
     groupBox2.TabIndex     = 1;
     groupBox2.TabStop      = false;
     groupBox2.Text         = "Sound";
     groupBox2.Size         = new System.Drawing.Size(328, 64);
     groupBox3.Location     = new System.Drawing.Point(8, 256);
     groupBox3.TabIndex     = 2;
     groupBox3.TabStop      = false;
     groupBox3.Text         = "Control";
     groupBox3.Size         = new System.Drawing.Size(328, 64);
     lbBallColors.Location  = new System.Drawing.Point(104, 72);
     lbBallColors.Size      = new System.Drawing.Size(208, 82);
     lbBallColors.TabIndex  = 5;
     lbBallColors.Items.All = new object[5] {
         "Blue", "Cyan", "Green", "Gray", "Red"
     };
     groupBox1.Location     = new System.Drawing.Point(8, 8);
     groupBox1.TabIndex     = 0;
     groupBox1.TabStop      = false;
     groupBox1.Text         = "Ball";
     groupBox1.Size         = new System.Drawing.Size(328, 168);
     cbLockMouse.Location   = new System.Drawing.Point(56, 16);
     cbLockMouse.Text       = "Lock mouse into game area during play";
     cbLockMouse.Size       = new System.Drawing.Size(224, 24);
     cbLockMouse.TabIndex   = 1;
     label3.Location        = new System.Drawing.Point(296, 24);
     label3.Text            = "Fast";
     label3.Size            = new System.Drawing.Size(29, 16);
     label3.TabIndex        = 3;
     btnCancel.Location     = new System.Drawing.Point(184, 328);
     btnCancel.DialogResult = System.WinForms.DialogResult.Cancel;
     btnCancel.Size         = new System.Drawing.Size(75, 23);
     btnCancel.TabIndex     = 4;
     btnCancel.Text         = "Cancel";
     cbUseSound.Location    = new System.Drawing.Point(56, 16);
     cbUseSound.Text        = "&Use Sound";
     cbUseSound.Size        = new System.Drawing.Size(120, 24);
     cbUseSound.TabIndex    = 1;
     btnOK.Location         = new System.Drawing.Point(264, 328);
     btnOK.DialogResult     = System.WinForms.DialogResult.OK;
     btnOK.Size             = new System.Drawing.Size(75, 23);
     btnOK.TabIndex         = 3;
     btnOK.Text             = "OK";
     label1.Location        = new System.Drawing.Point(56, 24);
     label1.Text            = "Speed:";
     label1.Size            = new System.Drawing.Size(48, 16);
     label1.TabIndex        = 0;
     pictureBox3.Location   = new System.Drawing.Point(8, 16);
     pictureBox3.Size       = new System.Drawing.Size(40, 40);
     pictureBox3.TabIndex   = 6;
     pictureBox3.TabStop    = false;
     pictureBox3.Image      = (System.Drawing.Image)resources.GetObject("pictureBox3.Image");
     trbBallSpeed.Location  = new System.Drawing.Point(128, 24);
     trbBallSpeed.TabIndex  = 1;
     trbBallSpeed.Size      = new System.Drawing.Size(168, 42);
     label4.Location        = new System.Drawing.Point(56, 72);
     label4.Text            = "Color:";
     label4.Size            = new System.Drawing.Size(48, 16);
     label4.TabIndex        = 4;
     label2.Location        = new System.Drawing.Point(104, 24);
     label2.Text            = "Slow";
     label2.Size            = new System.Drawing.Size(31, 16);
     label2.TabIndex        = 2;
     pictureBox2.Location   = new System.Drawing.Point(8, 16);
     pictureBox2.Size       = new System.Drawing.Size(40, 40);
     pictureBox2.TabIndex   = 0;
     pictureBox2.TabStop    = false;
     pictureBox2.Image      = (System.Drawing.Image)resources.GetObject("pictureBox2.Image");
     pictureBox1.Location   = new System.Drawing.Point(8, 16);
     pictureBox1.Size       = new System.Drawing.Size(40, 40);
     pictureBox1.TabIndex   = 0;
     pictureBox1.TabStop    = false;
     pictureBox1.Image      = (System.Drawing.Image)resources.GetObject("pictureBox1.Image");
     this.Text              = "WinBlock Options";
     this.MaximizeBox       = false;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.BorderStyle       = System.WinForms.FormBorderStyle.FixedDialog;
     this.Font              = new System.Drawing.Font("Tahoma", 8);
     this.Icon              = (System.Drawing.Icon)resources.GetObject("$this.Icon");
     this.MinimizeBox       = false;
     this.ClientSize        = new System.Drawing.Size(346, 359);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     groupBox1.Controls.Add(this.pictureBox3);
     groupBox1.Controls.Add(this.lbBallColors);
     groupBox1.Controls.Add(this.label4);
     groupBox1.Controls.Add(this.label3);
     groupBox1.Controls.Add(this.label2);
     groupBox1.Controls.Add(this.trbBallSpeed);
     groupBox1.Controls.Add(this.label1);
     groupBox2.Controls.Add(this.cbUseSound);
     groupBox2.Controls.Add(this.pictureBox1);
     groupBox3.Controls.Add(this.cbLockMouse);
     groupBox3.Controls.Add(this.pictureBox2);
     trbBallSpeed.EndInit();
 }