/// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent() {
            GbReaper.Classes.Palette palette1 = new GbReaper.Classes.Palette();
            this.btnCancel = new System.Windows.Forms.Button();
            this.btnCreate = new System.Windows.Forms.Button();
            this.undHeight = new System.Windows.Forms.NumericUpDown();
            this.undWidth = new System.Windows.Forms.NumericUpDown();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.txbImage = new System.Windows.Forms.TextBox();
            this.btnOpenImage = new System.Windows.Forms.Button();
            this.ofdBitmap = new System.Windows.Forms.OpenFileDialog();
            this.picPreviewA = new System.Windows.Forms.PictureBox();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.undLeft = new System.Windows.Forms.NumericUpDown();
            this.undTop = new System.Windows.Forms.NumericUpDown();
            this.picPreviewB = new System.Windows.Forms.PictureBox();
            this.picPreviewC = new System.Windows.Forms.PictureBox();
            this.ucPaletteEditor1 = new GbReaper.Controls.UcPaletteEditor();
            ((System.ComponentModel.ISupportInitialize)(this.undHeight)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.undWidth)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.picPreviewA)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.undLeft)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.undTop)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.picPreviewB)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.picPreviewC)).BeginInit();
            this.SuspendLayout();
            // 
            // btnCancel
            // 
            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnCancel.Location = new System.Drawing.Point(330, 267);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(75, 23);
            this.btnCancel.TabIndex = 3;
            this.btnCancel.Text = "Cancel";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // btnCreate
            // 
            this.btnCreate.Location = new System.Drawing.Point(249, 267);
            this.btnCreate.Name = "btnCreate";
            this.btnCreate.Size = new System.Drawing.Size(75, 23);
            this.btnCreate.TabIndex = 2;
            this.btnCreate.Text = "Create";
            this.btnCreate.UseVisualStyleBackColor = true;
            this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click);
            // 
            // undHeight
            // 
            this.undHeight.Location = new System.Drawing.Point(105, 62);
            this.undHeight.Minimum = new decimal(new int[] {
            1,
            0,
            0,
            0});
            this.undHeight.Name = "undHeight";
            this.undHeight.Size = new System.Drawing.Size(92, 19);
            this.undHeight.TabIndex = 9;
            this.undHeight.Value = new decimal(new int[] {
            5,
            0,
            0,
            0});
            this.undHeight.ValueChanged += new System.EventHandler(this.undHeight_ValueChanged);
            // 
            // undWidth
            // 
            this.undWidth.Location = new System.Drawing.Point(105, 37);
            this.undWidth.Minimum = new decimal(new int[] {
            1,
            0,
            0,
            0});
            this.undWidth.Name = "undWidth";
            this.undWidth.Size = new System.Drawing.Size(92, 19);
            this.undWidth.TabIndex = 8;
            this.undWidth.Value = new decimal(new int[] {
            5,
            0,
            0,
            0});
            this.undWidth.ValueChanged += new System.EventHandler(this.undWidth_ValueChanged);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(12, 64);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(87, 12);
            this.label2.TabIndex = 7;
            this.label2.Text = "Height (in tiles):";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(12, 39);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(82, 12);
            this.label1.TabIndex = 6;
            this.label1.Text = "Width (in tiles):";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(13, 15);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(37, 12);
            this.label3.TabIndex = 10;
            this.label3.Text = "Image:";
            // 
            // txbImage
            // 
            this.txbImage.Location = new System.Drawing.Point(105, 12);
            this.txbImage.Name = "txbImage";
            this.txbImage.Size = new System.Drawing.Size(264, 19);
            this.txbImage.TabIndex = 11;
            // 
            // btnOpenImage
            // 
            this.btnOpenImage.Location = new System.Drawing.Point(375, 10);
            this.btnOpenImage.Name = "btnOpenImage";
            this.btnOpenImage.Size = new System.Drawing.Size(30, 23);
            this.btnOpenImage.TabIndex = 12;
            this.btnOpenImage.Text = "...";
            this.btnOpenImage.UseVisualStyleBackColor = true;
            this.btnOpenImage.Click += new System.EventHandler(this.btnOpenImage_Click);
            // 
            // ofdBitmap
            // 
            this.ofdBitmap.Filter = "Bitmap|*.png;*.bmp;*.jpg;*.gif";
            this.ofdBitmap.Title = "Choose image to import";
            // 
            // picPreviewA
            // 
            this.picPreviewA.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.picPreviewA.Location = new System.Drawing.Point(12, 116);
            this.picPreviewA.Name = "picPreviewA";
            this.picPreviewA.Size = new System.Drawing.Size(128, 128);
            this.picPreviewA.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
            this.picPreviewA.TabIndex = 13;
            this.picPreviewA.TabStop = false;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(218, 39);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(27, 12);
            this.label4.TabIndex = 6;
            this.label4.Text = "Left:";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(218, 64);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(26, 12);
            this.label5.TabIndex = 7;
            this.label5.Text = "Top:";
            // 
            // undLeft
            // 
            this.undLeft.Location = new System.Drawing.Point(251, 37);
            this.undLeft.Name = "undLeft";
            this.undLeft.Size = new System.Drawing.Size(118, 19);
            this.undLeft.TabIndex = 8;
            // 
            // undTop
            // 
            this.undTop.Location = new System.Drawing.Point(251, 62);
            this.undTop.Name = "undTop";
            this.undTop.Size = new System.Drawing.Size(118, 19);
            this.undTop.TabIndex = 9;
            // 
            // picPreviewB
            // 
            this.picPreviewB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.picPreviewB.Location = new System.Drawing.Point(146, 116);
            this.picPreviewB.Name = "picPreviewB";
            this.picPreviewB.Size = new System.Drawing.Size(128, 128);
            this.picPreviewB.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
            this.picPreviewB.TabIndex = 13;
            this.picPreviewB.TabStop = false;
            // 
            // picPreviewC
            // 
            this.picPreviewC.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.picPreviewC.Location = new System.Drawing.Point(280, 116);
            this.picPreviewC.Name = "picPreviewC";
            this.picPreviewC.Size = new System.Drawing.Size(128, 128);
            this.picPreviewC.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
            this.picPreviewC.TabIndex = 13;
            this.picPreviewC.TabStop = false;
            // 
            // ucPaletteEditor1
            // 
            this.ucPaletteEditor1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.ucPaletteEditor1.CurrentPalette = palette1;
            this.ucPaletteEditor1.Location = new System.Drawing.Point(12, 267);
            this.ucPaletteEditor1.Name = "ucPaletteEditor1";
            this.ucPaletteEditor1.Size = new System.Drawing.Size(128, 23);
            this.ucPaletteEditor1.TabIndex = 14;
            // 
            // FrmTilizator
            // 
            this.AcceptButton = this.btnCreate;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CancelButton = this.btnCancel;
            this.ClientSize = new System.Drawing.Size(418, 302);
            this.Controls.Add(this.ucPaletteEditor1);
            this.Controls.Add(this.picPreviewC);
            this.Controls.Add(this.picPreviewB);
            this.Controls.Add(this.picPreviewA);
            this.Controls.Add(this.btnOpenImage);
            this.Controls.Add(this.txbImage);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.undTop);
            this.Controls.Add(this.undHeight);
            this.Controls.Add(this.undLeft);
            this.Controls.Add(this.undWidth);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.btnCancel);
            this.Controls.Add(this.btnCreate);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "FrmTilizator";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Tilizator";
            this.Load += new System.EventHandler(this.FrmTilizator_Load);
            ((System.ComponentModel.ISupportInitialize)(this.undHeight)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.undWidth)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.picPreviewA)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.undLeft)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.undTop)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.picPreviewB)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.picPreviewC)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Exemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     GbReaper.Classes.Palette palette1 = new GbReaper.Classes.Palette();
     this.btnCancel        = new System.Windows.Forms.Button();
     this.btnCreate        = new System.Windows.Forms.Button();
     this.undHeight        = new System.Windows.Forms.NumericUpDown();
     this.undWidth         = new System.Windows.Forms.NumericUpDown();
     this.label2           = new System.Windows.Forms.Label();
     this.label1           = new System.Windows.Forms.Label();
     this.label3           = new System.Windows.Forms.Label();
     this.txbImage         = new System.Windows.Forms.TextBox();
     this.btnOpenImage     = new System.Windows.Forms.Button();
     this.ofdBitmap        = new System.Windows.Forms.OpenFileDialog();
     this.picPreviewA      = new System.Windows.Forms.PictureBox();
     this.label4           = new System.Windows.Forms.Label();
     this.label5           = new System.Windows.Forms.Label();
     this.undLeft          = new System.Windows.Forms.NumericUpDown();
     this.undTop           = new System.Windows.Forms.NumericUpDown();
     this.picPreviewB      = new System.Windows.Forms.PictureBox();
     this.picPreviewC      = new System.Windows.Forms.PictureBox();
     this.ucPaletteEditor1 = new GbReaper.Controls.UcPaletteEditor();
     ((System.ComponentModel.ISupportInitialize)(this.undHeight)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.undWidth)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picPreviewA)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.undLeft)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.undTop)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picPreviewB)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.picPreviewC)).BeginInit();
     this.SuspendLayout();
     //
     // btnCancel
     //
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(330, 267);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 3;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // btnCreate
     //
     this.btnCreate.Location = new System.Drawing.Point(249, 267);
     this.btnCreate.Name     = "btnCreate";
     this.btnCreate.Size     = new System.Drawing.Size(75, 23);
     this.btnCreate.TabIndex = 2;
     this.btnCreate.Text     = "Create";
     this.btnCreate.UseVisualStyleBackColor = true;
     this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click);
     //
     // undHeight
     //
     this.undHeight.Location = new System.Drawing.Point(105, 62);
     this.undHeight.Minimum  = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.undHeight.Name     = "undHeight";
     this.undHeight.Size     = new System.Drawing.Size(92, 19);
     this.undHeight.TabIndex = 9;
     this.undHeight.Value    = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.undHeight.ValueChanged += new System.EventHandler(this.undHeight_ValueChanged);
     //
     // undWidth
     //
     this.undWidth.Location = new System.Drawing.Point(105, 37);
     this.undWidth.Minimum  = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.undWidth.Name     = "undWidth";
     this.undWidth.Size     = new System.Drawing.Size(92, 19);
     this.undWidth.TabIndex = 8;
     this.undWidth.Value    = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.undWidth.ValueChanged += new System.EventHandler(this.undWidth_ValueChanged);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(12, 64);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(87, 12);
     this.label2.TabIndex = 7;
     this.label2.Text     = "Height (in tiles):";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 39);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(82, 12);
     this.label1.TabIndex = 6;
     this.label1.Text     = "Width (in tiles):";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(13, 15);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(37, 12);
     this.label3.TabIndex = 10;
     this.label3.Text     = "Image:";
     //
     // txbImage
     //
     this.txbImage.Location = new System.Drawing.Point(105, 12);
     this.txbImage.Name     = "txbImage";
     this.txbImage.Size     = new System.Drawing.Size(264, 19);
     this.txbImage.TabIndex = 11;
     //
     // btnOpenImage
     //
     this.btnOpenImage.Location = new System.Drawing.Point(375, 10);
     this.btnOpenImage.Name     = "btnOpenImage";
     this.btnOpenImage.Size     = new System.Drawing.Size(30, 23);
     this.btnOpenImage.TabIndex = 12;
     this.btnOpenImage.Text     = "...";
     this.btnOpenImage.UseVisualStyleBackColor = true;
     this.btnOpenImage.Click += new System.EventHandler(this.btnOpenImage_Click);
     //
     // ofdBitmap
     //
     this.ofdBitmap.Filter = "Bitmap|*.png;*.bmp;*.jpg;*.gif";
     this.ofdBitmap.Title  = "Choose image to import";
     //
     // picPreviewA
     //
     this.picPreviewA.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.picPreviewA.Location    = new System.Drawing.Point(12, 116);
     this.picPreviewA.Name        = "picPreviewA";
     this.picPreviewA.Size        = new System.Drawing.Size(128, 128);
     this.picPreviewA.SizeMode    = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.picPreviewA.TabIndex    = 13;
     this.picPreviewA.TabStop     = false;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(218, 39);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(27, 12);
     this.label4.TabIndex = 6;
     this.label4.Text     = "Left:";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(218, 64);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(26, 12);
     this.label5.TabIndex = 7;
     this.label5.Text     = "Top:";
     //
     // undLeft
     //
     this.undLeft.Location = new System.Drawing.Point(251, 37);
     this.undLeft.Name     = "undLeft";
     this.undLeft.Size     = new System.Drawing.Size(118, 19);
     this.undLeft.TabIndex = 8;
     //
     // undTop
     //
     this.undTop.Location = new System.Drawing.Point(251, 62);
     this.undTop.Name     = "undTop";
     this.undTop.Size     = new System.Drawing.Size(118, 19);
     this.undTop.TabIndex = 9;
     //
     // picPreviewB
     //
     this.picPreviewB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.picPreviewB.Location    = new System.Drawing.Point(146, 116);
     this.picPreviewB.Name        = "picPreviewB";
     this.picPreviewB.Size        = new System.Drawing.Size(128, 128);
     this.picPreviewB.SizeMode    = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.picPreviewB.TabIndex    = 13;
     this.picPreviewB.TabStop     = false;
     //
     // picPreviewC
     //
     this.picPreviewC.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.picPreviewC.Location    = new System.Drawing.Point(280, 116);
     this.picPreviewC.Name        = "picPreviewC";
     this.picPreviewC.Size        = new System.Drawing.Size(128, 128);
     this.picPreviewC.SizeMode    = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.picPreviewC.TabIndex    = 13;
     this.picPreviewC.TabStop     = false;
     //
     // ucPaletteEditor1
     //
     this.ucPaletteEditor1.BorderStyle    = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ucPaletteEditor1.CurrentPalette = palette1;
     this.ucPaletteEditor1.Location       = new System.Drawing.Point(12, 267);
     this.ucPaletteEditor1.Name           = "ucPaletteEditor1";
     this.ucPaletteEditor1.Size           = new System.Drawing.Size(128, 23);
     this.ucPaletteEditor1.TabIndex       = 14;
     //
     // FrmTilizator
     //
     this.AcceptButton        = this.btnCreate;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(418, 302);
     this.Controls.Add(this.ucPaletteEditor1);
     this.Controls.Add(this.picPreviewC);
     this.Controls.Add(this.picPreviewB);
     this.Controls.Add(this.picPreviewA);
     this.Controls.Add(this.btnOpenImage);
     this.Controls.Add(this.txbImage);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.undTop);
     this.Controls.Add(this.undHeight);
     this.Controls.Add(this.undLeft);
     this.Controls.Add(this.undWidth);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnCreate);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FrmTilizator";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Tilizator";
     this.Load           += new System.EventHandler(this.FrmTilizator_Load);
     ((System.ComponentModel.ISupportInitialize)(this.undHeight)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.undWidth)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picPreviewA)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.undLeft)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.undTop)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picPreviewB)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.picPreviewC)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }