Beispiel #1
0
 private void InitializeComponent()
 {
     ComponentResourceManager manager = new ComponentResourceManager(typeof(TaskForm));
     this.goButton = new Button();
     this.label1 = new Label();
     this.addressTextBox = new TextBox();
     this.panel2 = new Panel();
     this.toolStripStatusLabel4 = new ToolStripStatusLabel();
     this.toolStripStatusLabel3 = new ToolStripStatusLabel();
     this.statusStrip1 = new StatusStrip();
     this.toolStripStatusLabel1 = new ToolStripStatusLabel();
     this.toolStripStatusLabel2 = new ToolStripStatusLabel();
     this.panel3 = new Panel();
     this.tabControl = new ExtendedTabControl();
     this.panel2.SuspendLayout();
     this.statusStrip1.SuspendLayout();
     base.SuspendLayout();
     this.goButton.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.goButton.Location = new Point(0x359, 5);
     this.goButton.Name = "goButton";
     this.goButton.Size = new Size(0x4b, 0x17);
     this.goButton.TabIndex = 2;
     this.goButton.Text = "转到";
     this.goButton.UseVisualStyleBackColor = true;
     this.goButton.Click += new EventHandler(this.buttonGoto_Click);
     this.label1.AutoSize = true;
     this.label1.Location = new Point(11, 10);
     this.label1.Name = "label1";
     this.label1.Size = new Size(0x1d, 12);
     this.label1.TabIndex = 1;
     this.label1.Text = "地址";
     this.addressTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.addressTextBox.Location = new Point(0x31, 6);
     this.addressTextBox.Name = "addressTextBox";
     this.addressTextBox.Size = new Size(0x322, 0x15);
     this.addressTextBox.TabIndex = 0;
     this.addressTextBox.KeyUp += new KeyEventHandler(this.addressTextBox_KeyUp);
     this.panel2.Controls.Add(this.goButton);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Controls.Add(this.addressTextBox);
     this.panel2.Dock = DockStyle.Top;
     this.panel2.Location = new Point(0, 0);
     this.panel2.Name = "panel2";
     this.panel2.Size = new Size(0x3b0, 0x20);
     this.panel2.TabIndex = 10;
     this.toolStripStatusLabel4.AutoSize = false;
     this.toolStripStatusLabel4.ImageAlign = ContentAlignment.MiddleLeft;
     this.toolStripStatusLabel4.Name = "toolStripStatusLabel4";
     this.toolStripStatusLabel4.Size = new Size(120, 0x11);
     this.toolStripStatusLabel4.TextAlign = ContentAlignment.MiddleLeft;
     this.toolStripStatusLabel3.AutoSize = false;
     this.toolStripStatusLabel3.ImageAlign = ContentAlignment.MiddleLeft;
     this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
     this.toolStripStatusLabel3.Size = new Size(300, 0x11);
     this.toolStripStatusLabel3.TextAlign = ContentAlignment.MiddleLeft;
     this.statusStrip1.Items.AddRange(new ToolStripItem[] { this.toolStripStatusLabel1, this.toolStripStatusLabel2, this.toolStripStatusLabel3, this.toolStripStatusLabel4 });
     this.statusStrip1.Location = new Point(0, 580);
     this.statusStrip1.Name = "statusStrip1";
     this.statusStrip1.Size = new Size(0x3b0, 0x16);
     this.statusStrip1.TabIndex = 9;
     this.statusStrip1.Text = "statusStrip1";
     this.toolStripStatusLabel1.AutoSize = false;
     this.toolStripStatusLabel1.ImageAlign = ContentAlignment.MiddleLeft;
     this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size = new Size(160, 0x11);
     this.toolStripStatusLabel1.TextAlign = ContentAlignment.MiddleLeft;
     this.toolStripStatusLabel2.AutoSize = false;
     this.toolStripStatusLabel2.ImageAlign = ContentAlignment.MiddleLeft;
     this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
     this.toolStripStatusLabel2.Size = new Size(0x15d, 0x11);
     this.toolStripStatusLabel2.Spring = true;
     this.toolStripStatusLabel2.TextAlign = ContentAlignment.MiddleLeft;
     this.panel3.Location = new Point(0, 0x20);
     this.panel3.Margin = new Padding(0);
     this.panel3.Name = "panel3";
     this.panel3.Size = new Size(0x2e1, 0x102);
     this.panel3.TabIndex = 12;
     this.tabControl.Dock = DockStyle.Fill;
     this.tabControl.Location = new Point(0, 0x20);
     this.tabControl.Margin = new Padding(0);
     this.tabControl.Name = "tabControl";
     this.tabControl.Padding = new Point(0, 0);
     this.tabControl.SelectedIndex = 0;
     this.tabControl.Size = new Size(0x3b0, 0x224);
     this.tabControl.TabIndex = 0;
     this.tabControl.MouseDoubleClick += new MouseEventHandler(this.TabControlDoubleClick);
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     //base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x3b0, 0x25a);
     base.Controls.Add(this.tabControl);
     base.Controls.Add(this.panel3);
     base.Controls.Add(this.panel2);
     base.Controls.Add(this.statusStrip1);
     base.Icon = (Icon) manager.GetObject("$this.Icon");
     base.Name = "TaskForm";
     base.FormClosing += new FormClosingEventHandler(this.TaskForm_FormClosing);
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Beispiel #2
0
        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(TaskForm));

            this.goButton              = new Button();
            this.label1                = new Label();
            this.addressTextBox        = new TextBox();
            this.panel2                = new Panel();
            this.toolStripStatusLabel4 = new ToolStripStatusLabel();
            this.toolStripStatusLabel3 = new ToolStripStatusLabel();
            this.statusStrip1          = new StatusStrip();
            this.toolStripStatusLabel1 = new ToolStripStatusLabel();
            this.toolStripStatusLabel2 = new ToolStripStatusLabel();
            this.panel3                = new Panel();
            this.tabControl            = new ExtendedTabControl();
            this.panel2.SuspendLayout();
            this.statusStrip1.SuspendLayout();
            base.SuspendLayout();
            this.goButton.Anchor   = AnchorStyles.Right | AnchorStyles.Top;
            this.goButton.Location = new Point(0x359, 5);
            this.goButton.Name     = "goButton";
            this.goButton.Size     = new Size(0x4b, 0x17);
            this.goButton.TabIndex = 2;
            this.goButton.Text     = "转到";
            this.goButton.UseVisualStyleBackColor = true;
            this.goButton.Click         += new EventHandler(this.buttonGoto_Click);
            this.label1.AutoSize         = true;
            this.label1.Location         = new Point(11, 10);
            this.label1.Name             = "label1";
            this.label1.Size             = new Size(0x1d, 12);
            this.label1.TabIndex         = 1;
            this.label1.Text             = "地址";
            this.addressTextBox.Anchor   = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
            this.addressTextBox.Location = new Point(0x31, 6);
            this.addressTextBox.Name     = "addressTextBox";
            this.addressTextBox.Size     = new Size(0x322, 0x15);
            this.addressTextBox.TabIndex = 0;
            this.addressTextBox.KeyUp   += new KeyEventHandler(this.addressTextBox_KeyUp);
            this.panel2.Controls.Add(this.goButton);
            this.panel2.Controls.Add(this.label1);
            this.panel2.Controls.Add(this.addressTextBox);
            this.panel2.Dock     = DockStyle.Top;
            this.panel2.Location = new Point(0, 0);
            this.panel2.Name     = "panel2";
            this.panel2.Size     = new Size(0x3b0, 0x20);
            this.panel2.TabIndex = 10;
            this.toolStripStatusLabel4.AutoSize   = false;
            this.toolStripStatusLabel4.ImageAlign = ContentAlignment.MiddleLeft;
            this.toolStripStatusLabel4.Name       = "toolStripStatusLabel4";
            this.toolStripStatusLabel4.Size       = new Size(120, 0x11);
            this.toolStripStatusLabel4.TextAlign  = ContentAlignment.MiddleLeft;
            this.toolStripStatusLabel3.AutoSize   = false;
            this.toolStripStatusLabel3.ImageAlign = ContentAlignment.MiddleLeft;
            this.toolStripStatusLabel3.Name       = "toolStripStatusLabel3";
            this.toolStripStatusLabel3.Size       = new Size(300, 0x11);
            this.toolStripStatusLabel3.TextAlign  = ContentAlignment.MiddleLeft;
            this.statusStrip1.Items.AddRange(new ToolStripItem[] { this.toolStripStatusLabel1, this.toolStripStatusLabel2, this.toolStripStatusLabel3, this.toolStripStatusLabel4 });
            this.statusStrip1.Location            = new Point(0, 580);
            this.statusStrip1.Name                = "statusStrip1";
            this.statusStrip1.Size                = new Size(0x3b0, 0x16);
            this.statusStrip1.TabIndex            = 9;
            this.statusStrip1.Text                = "statusStrip1";
            this.toolStripStatusLabel1.AutoSize   = false;
            this.toolStripStatusLabel1.ImageAlign = ContentAlignment.MiddleLeft;
            this.toolStripStatusLabel1.Name       = "toolStripStatusLabel1";
            this.toolStripStatusLabel1.Size       = new Size(160, 0x11);
            this.toolStripStatusLabel1.TextAlign  = ContentAlignment.MiddleLeft;
            this.toolStripStatusLabel2.AutoSize   = false;
            this.toolStripStatusLabel2.ImageAlign = ContentAlignment.MiddleLeft;
            this.toolStripStatusLabel2.Name       = "toolStripStatusLabel2";
            this.toolStripStatusLabel2.Size       = new Size(0x15d, 0x11);
            this.toolStripStatusLabel2.Spring     = true;
            this.toolStripStatusLabel2.TextAlign  = ContentAlignment.MiddleLeft;
            this.panel3.Location              = new Point(0, 0x20);
            this.panel3.Margin                = new Padding(0);
            this.panel3.Name                  = "panel3";
            this.panel3.Size                  = new Size(0x2e1, 0x102);
            this.panel3.TabIndex              = 12;
            this.tabControl.Dock              = DockStyle.Fill;
            this.tabControl.Location          = new Point(0, 0x20);
            this.tabControl.Margin            = new Padding(0);
            this.tabControl.Name              = "tabControl";
            this.tabControl.Padding           = new Point(0, 0);
            this.tabControl.SelectedIndex     = 0;
            this.tabControl.Size              = new Size(0x3b0, 0x224);
            this.tabControl.TabIndex          = 0;
            this.tabControl.MouseDoubleClick += new MouseEventHandler(this.TabControlDoubleClick);
            base.AutoScaleDimensions          = new SizeF(6f, 12f);
            //base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x3b0, 0x25a);
            base.Controls.Add(this.tabControl);
            base.Controls.Add(this.panel3);
            base.Controls.Add(this.panel2);
            base.Controls.Add(this.statusStrip1);
            base.Icon         = (Icon)manager.GetObject("$this.Icon");
            base.Name         = "TaskForm";
            base.FormClosing += new FormClosingEventHandler(this.TaskForm_FormClosing);
            this.panel2.ResumeLayout(false);
            this.panel2.PerformLayout();
            this.statusStrip1.ResumeLayout(false);
            this.statusStrip1.PerformLayout();
            base.ResumeLayout(false);
            base.PerformLayout();
        }