private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.texBox = new System.Windows.Forms.StringInputComboBox();
     this.pltBox = new System.Windows.Forms.StringInputComboBox();
     this.label2 = new System.Windows.Forms.Label();
     this.grpEdit = new System.Windows.Forms.GroupBox();
     this.btnPaste = new System.Windows.Forms.Button();
     this.btnCopy = new System.Windows.Forms.Button();
     this.btnCut = new System.Windows.Forms.Button();
     this.grpEdit.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(56, 23);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(46, 13);
     this.label1.TabIndex = 1;
     this.label1.Text = "Texture:";
     //
     // texBox
     //
     this.texBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.texBox.FormattingEnabled = true;
     this.texBox.Location = new System.Drawing.Point(108, 20);
     this.texBox.Name = "texBox";
     this.texBox.Size = new System.Drawing.Size(288, 21);
     this.texBox.TabIndex = 2;
     this.texBox.ValueChanged += new System.EventHandler(this.TexChanged);
     //
     // pltBox
     //
     this.pltBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.pltBox.BackColor = System.Drawing.SystemColors.Window;
     this.pltBox.FormattingEnabled = true;
     this.pltBox.Location = new System.Drawing.Point(108, 47);
     this.pltBox.Name = "pltBox";
     this.pltBox.Size = new System.Drawing.Size(288, 21);
     this.pltBox.TabIndex = 4;
     this.pltBox.ValueChanged += new System.EventHandler(this.TexChanged);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(59, 50);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(43, 13);
     this.label2.TabIndex = 3;
     this.label2.Text = "Palette:";
     //
     // grpEdit
     //
     this.grpEdit.Controls.Add(this.btnPaste);
     this.grpEdit.Controls.Add(this.pltBox);
     this.grpEdit.Controls.Add(this.btnCopy);
     this.grpEdit.Controls.Add(this.label1);
     this.grpEdit.Controls.Add(this.texBox);
     this.grpEdit.Controls.Add(this.btnCut);
     this.grpEdit.Controls.Add(this.label2);
     this.grpEdit.Dock = System.Windows.Forms.DockStyle.Fill;
     this.grpEdit.Location = new System.Drawing.Point(0, 0);
     this.grpEdit.Name = "grpEdit";
     this.grpEdit.Size = new System.Drawing.Size(402, 77);
     this.grpEdit.TabIndex = 28;
     this.grpEdit.TabStop = false;
     this.grpEdit.Text = "Edit Frame";
     //
     // btnPaste
     //
     this.btnPaste.Location = new System.Drawing.Point(3, 54);
     this.btnPaste.Name = "btnPaste";
     this.btnPaste.Size = new System.Drawing.Size(50, 20);
     this.btnPaste.TabIndex = 26;
     this.btnPaste.Text = "Paste";
     this.btnPaste.UseVisualStyleBackColor = true;
     this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click);
     //
     // btnCopy
     //
     this.btnCopy.Location = new System.Drawing.Point(3, 35);
     this.btnCopy.Name = "btnCopy";
     this.btnCopy.Size = new System.Drawing.Size(50, 20);
     this.btnCopy.TabIndex = 25;
     this.btnCopy.Text = "Copy";
     this.btnCopy.UseVisualStyleBackColor = true;
     this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click);
     //
     // btnCut
     //
     this.btnCut.Location = new System.Drawing.Point(3, 16);
     this.btnCut.Name = "btnCut";
     this.btnCut.Size = new System.Drawing.Size(50, 20);
     this.btnCut.TabIndex = 24;
     this.btnCut.Text = "Cut";
     this.btnCut.UseVisualStyleBackColor = true;
     this.btnCut.Click += new System.EventHandler(this.btnCut_Click);
     //
     // PAT0Editor
     //
     this.Controls.Add(this.grpEdit);
     this.Name = "PAT0Editor";
     this.Size = new System.Drawing.Size(402, 77);
     this.grpEdit.ResumeLayout(false);
     this.grpEdit.PerformLayout();
     this.ResumeLayout(false);
 }
示例#2
0
 private void InitializeComponent()
 {
     label1   = new Label();
     texBox   = new StringInputComboBox();
     pltBox   = new StringInputComboBox();
     label2   = new Label();
     grpEdit  = new GroupBox();
     btnPaste = new Button();
     btnCopy  = new Button();
     btnCut   = new Button();
     grpEdit.SuspendLayout();
     SuspendLayout();
     //
     // label1
     //
     label1.AutoSize = true;
     label1.Location = new Drawing.Point(56, 23);
     label1.Name     = "label1";
     label1.Size     = new Drawing.Size(46, 13);
     label1.TabIndex = 1;
     label1.Text     = "Texture:";
     //
     // texBox
     //
     texBox.Anchor = AnchorStyles.Top | AnchorStyles.Left
                     | AnchorStyles.Right;
     texBox.FormattingEnabled = true;
     texBox.Location          = new Drawing.Point(108, 20);
     texBox.Name          = "texBox";
     texBox.Size          = new Drawing.Size(288, 21);
     texBox.TabIndex      = 2;
     texBox.ValueChanged += new EventHandler(TexChanged);
     //
     // pltBox
     //
     pltBox.Anchor = AnchorStyles.Top | AnchorStyles.Left
                     | AnchorStyles.Right;
     pltBox.BackColor         = SystemColors.Window;
     pltBox.FormattingEnabled = true;
     pltBox.Location          = new Drawing.Point(108, 47);
     pltBox.Name          = "pltBox";
     pltBox.Size          = new Drawing.Size(288, 21);
     pltBox.TabIndex      = 4;
     pltBox.ValueChanged += new EventHandler(TexChanged);
     //
     // label2
     //
     label2.AutoSize = true;
     label2.Location = new Drawing.Point(59, 50);
     label2.Name     = "label2";
     label2.Size     = new Drawing.Size(43, 13);
     label2.TabIndex = 3;
     label2.Text     = "Palette:";
     //
     // grpEdit
     //
     grpEdit.Controls.Add(btnPaste);
     grpEdit.Controls.Add(pltBox);
     grpEdit.Controls.Add(btnCopy);
     grpEdit.Controls.Add(label1);
     grpEdit.Controls.Add(texBox);
     grpEdit.Controls.Add(btnCut);
     grpEdit.Controls.Add(label2);
     grpEdit.Dock     = DockStyle.Fill;
     grpEdit.Location = new Drawing.Point(0, 0);
     grpEdit.Name     = "grpEdit";
     grpEdit.Size     = new Drawing.Size(402, 77);
     grpEdit.TabIndex = 28;
     grpEdit.TabStop  = false;
     grpEdit.Text     = "Edit Frame";
     //
     // btnPaste
     //
     btnPaste.Location = new Drawing.Point(3, 54);
     btnPaste.Name     = "btnPaste";
     btnPaste.Size     = new Drawing.Size(50, 20);
     btnPaste.TabIndex = 26;
     btnPaste.Text     = "Paste";
     btnPaste.UseVisualStyleBackColor = true;
     btnPaste.Click += new EventHandler(btnPaste_Click);
     //
     // btnCopy
     //
     btnCopy.Location = new Drawing.Point(3, 35);
     btnCopy.Name     = "btnCopy";
     btnCopy.Size     = new Drawing.Size(50, 20);
     btnCopy.TabIndex = 25;
     btnCopy.Text     = "Copy";
     btnCopy.UseVisualStyleBackColor = true;
     btnCopy.Click += new EventHandler(btnCopy_Click);
     //
     // btnCut
     //
     btnCut.Location = new Drawing.Point(3, 16);
     btnCut.Name     = "btnCut";
     btnCut.Size     = new Drawing.Size(50, 20);
     btnCut.TabIndex = 24;
     btnCut.Text     = "Cut";
     btnCut.UseVisualStyleBackColor = true;
     btnCut.Click += new EventHandler(btnCut_Click);
     //
     // PAT0Editor
     //
     Controls.Add(grpEdit);
     MinimumSize = new Drawing.Size(402, 77);
     Name        = "PAT0Editor";
     Size        = new Drawing.Size(402, 77);
     grpEdit.ResumeLayout(false);
     grpEdit.PerformLayout();
     ResumeLayout(false);
 }