示例#1
0
        /// <summary>
        ///     Required method for Designer support - do not modify
        ///     the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            var resources = new System.Resources.ResourceManager(typeof(HuePicker));

            this.Chart       = new TheBox.Common.HuesChart();
            this.label1      = new System.Windows.Forms.Label();
            this.numIndex    = new System.Windows.Forms.NumericUpDown();
            this.label2      = new System.Windows.Forms.Label();
            this.labName     = new System.Windows.Forms.Label();
            this.Art         = new TheBox.ArtViewer.ArtViewer();
            this.imgSpectrum = new System.Windows.Forms.PictureBox();
            this.barDarkness = new System.Windows.Forms.TrackBar();
            this.comboType   = new System.Windows.Forms.ComboBox();
            this.label3      = new System.Windows.Forms.Label();
            this.numID       = new System.Windows.Forms.NumericUpDown();
            this.label4      = new System.Windows.Forms.Label();
            this.chkScale    = new System.Windows.Forms.CheckBox();
            this.chkRoom     = new System.Windows.Forms.CheckBox();
            this.chkAnimate  = new System.Windows.Forms.CheckBox();
            this.bCancel     = new System.Windows.Forms.Button();
            this.lnkZero     = new System.Windows.Forms.LinkLabel();
            this.bSelect     = new System.Windows.Forms.Button();
            this.bSet        = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this.numIndex)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.barDarkness)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.numID)).BeginInit();
            this.SuspendLayout();
            //
            // Chart
            //
            this.Chart.ColorTableIndex = 28;
            this.Chart.Hues            = null;
            this.Chart.Location        = new System.Drawing.Point(8, 64);
            this.Chart.Name            = "Chart";
            this.Chart.SelectedIndex   = 1;
            this.Chart.Size            = new System.Drawing.Size(452, 302);
            this.Chart.TabIndex        = 0;
            this.Chart.Text            = "huesChart1";
            this.Chart.Click          += new System.EventHandler(this.Chart_Click);
            this.Chart.HueChanged     += new System.EventHandler(this.Chart_HueChanged);
            //
            // label1
            //
            this.label1.Location  = new System.Drawing.Point(376, 40);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(32, 16);
            this.label1.TabIndex  = 1;
            this.label1.Text      = "Common.Index";
            this.label1.TextAlign = System.Drawing.ContentAlignment.BottomRight;
            //
            // numIndex
            //
            this.numIndex.Location      = new System.Drawing.Point(408, 40);
            this.numIndex.Maximum       = new System.Decimal(new int[] { 3000, 0, 0, 0 });
            this.numIndex.Name          = "numIndex";
            this.numIndex.Size          = new System.Drawing.Size(56, 20);
            this.numIndex.TabIndex      = 2;
            this.numIndex.ValueChanged += new System.EventHandler(this.numIndex_ValueChanged);
            //
            // label2
            //
            this.label2.Location = new System.Drawing.Point(8, 8);
            this.label2.Name     = "label2";
            this.label2.Size     = new System.Drawing.Size(40, 16);
            this.label2.TabIndex = 3;
            this.label2.Text     = "Common.Name";
            //
            // labName
            //
            this.labName.Font = new System.Drawing.Font(
                "Microsoft Sans Serif",
                8.25F,
                System.Drawing.FontStyle.Underline,
                System.Drawing.GraphicsUnit.Point,
                ((System.Byte)(0)));
            this.labName.Location = new System.Drawing.Point(48, 8);
            this.labName.Name     = "labName";
            this.labName.Size     = new System.Drawing.Size(176, 23);
            this.labName.TabIndex = 4;
            //
            // Art
            //
            this.Art.Animate         = false;
            this.Art.Art             = TheBox.ArtViewer.Art.Items;
            this.Art.ArtIndex        = 0;
            this.Art.BackColor       = System.Drawing.Color.White;
            this.Art.Hue             = 0;
            this.Art.Location        = new System.Drawing.Point(472, 40);
            this.Art.Name            = "Art";
            this.Art.ResizeTallItems = false;
            this.Art.RoomView        = true;
            this.Art.ShowHexID       = true;
            this.Art.ShowID          = false;
            this.Art.Size            = new System.Drawing.Size(152, 168);
            this.Art.TabIndex        = 5;
            this.Art.Text            = "artViewer1";
            //
            // imgSpectrum
            //
            this.imgSpectrum.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.imgSpectrum.Location    = new System.Drawing.Point(8, 40);
            this.imgSpectrum.Name        = "imgSpectrum";
            this.imgSpectrum.Size        = new System.Drawing.Size(344, 16);
            this.imgSpectrum.TabIndex    = 6;
            this.imgSpectrum.TabStop     = false;
            //
            // barDarkness
            //
            this.barDarkness.Location  = new System.Drawing.Point(472, 320);
            this.barDarkness.Maximum   = 31;
            this.barDarkness.Name      = "barDarkness";
            this.barDarkness.Size      = new System.Drawing.Size(152, 45);
            this.barDarkness.TabIndex  = 7;
            this.barDarkness.TabStop   = false;
            this.barDarkness.TickStyle = System.Windows.Forms.TickStyle.None;
            this.barDarkness.Value     = 28;
            this.barDarkness.Scroll   += new System.EventHandler(this.barDarkness_Scroll);
            //
            // comboType
            //
            this.comboType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboType.Items.AddRange(new object[] { "Items", "NPCs", "Gumps" });
            this.comboType.Location              = new System.Drawing.Point(520, 216);
            this.comboType.Name                  = "comboType";
            this.comboType.Size                  = new System.Drawing.Size(104, 21);
            this.comboType.TabIndex              = 8;
            this.comboType.SelectedIndexChanged += new System.EventHandler(this.comboType_SelectedIndexChanged);
            //
            // label3
            //
            this.label3.Location = new System.Drawing.Point(472, 216);
            this.label3.Name     = "label3";
            this.label3.Size     = new System.Drawing.Size(48, 23);
            this.label3.TabIndex = 9;
            this.label3.Text     = "Common.Type";
            //
            // numID
            //
            this.numID.Location      = new System.Drawing.Point(520, 240);
            this.numID.Maximum       = new System.Decimal(new int[] { 20000, 0, 0, 0 });
            this.numID.Name          = "numID";
            this.numID.Size          = new System.Drawing.Size(64, 20);
            this.numID.TabIndex      = 10;
            this.numID.ValueChanged += new System.EventHandler(this.numID_ValueChanged);
            //
            // label4
            //
            this.label4.Location = new System.Drawing.Point(472, 240);
            this.label4.Name     = "label4";
            this.label4.Size     = new System.Drawing.Size(40, 23);
            this.label4.TabIndex = 11;
            this.label4.Text     = "Common.ID";
            //
            // chkScale
            //
            this.chkScale.FlatStyle       = System.Windows.Forms.FlatStyle.System;
            this.chkScale.Location        = new System.Drawing.Point(472, 264);
            this.chkScale.Name            = "chkScale";
            this.chkScale.Size            = new System.Drawing.Size(64, 24);
            this.chkScale.TabIndex        = 12;
            this.chkScale.Text            = "HuePicker.Scale";
            this.chkScale.CheckedChanged += new System.EventHandler(this.chkScale_CheckedChanged);
            //
            // chkRoom
            //
            this.chkRoom.FlatStyle       = System.Windows.Forms.FlatStyle.System;
            this.chkRoom.Location        = new System.Drawing.Point(544, 264);
            this.chkRoom.Name            = "chkRoom";
            this.chkRoom.Size            = new System.Drawing.Size(80, 24);
            this.chkRoom.TabIndex        = 13;
            this.chkRoom.Text            = "HuePicker.RoomView";
            this.chkRoom.CheckedChanged += new System.EventHandler(this.chkRoom_CheckedChanged);
            //
            // chkAnimate
            //
            this.chkAnimate.FlatStyle       = System.Windows.Forms.FlatStyle.System;
            this.chkAnimate.Location        = new System.Drawing.Point(472, 288);
            this.chkAnimate.Name            = "chkAnimate";
            this.chkAnimate.TabIndex        = 14;
            this.chkAnimate.Text            = "HuePicker.Animate";
            this.chkAnimate.CheckedChanged += new System.EventHandler(this.chkAnimate_CheckedChanged);
            //
            // bCancel
            //
            this.bCancel.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.bCancel.FlatStyle    = System.Windows.Forms.FlatStyle.System;
            this.bCancel.Location     = new System.Drawing.Point(560, 8);
            this.bCancel.Name         = "bCancel";
            this.bCancel.Size         = new System.Drawing.Size(64, 23);
            this.bCancel.TabIndex     = 16;
            this.bCancel.Text         = "Common.Close";
            this.bCancel.Click       += new System.EventHandler(this.bCancel_Click);
            //
            // lnkZero
            //
            this.lnkZero.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
            this.lnkZero.Location     = new System.Drawing.Point(360, 40);
            this.lnkZero.Name         = "lnkZero";
            this.lnkZero.Size         = new System.Drawing.Size(8, 16);
            this.lnkZero.TabIndex     = 18;
            this.lnkZero.TabStop      = true;
            this.lnkZero.Text         = "0";
            this.lnkZero.TextAlign    = System.Drawing.ContentAlignment.MiddleLeft;
            this.lnkZero.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkZero_LinkClicked);
            //
            // bSelect
            //
            this.bSelect.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.bSelect.FlatStyle    = System.Windows.Forms.FlatStyle.System;
            this.bSelect.Location     = new System.Drawing.Point(400, 8);
            this.bSelect.Name         = "bSelect";
            this.bSelect.Size         = new System.Drawing.Size(64, 23);
            this.bSelect.TabIndex     = 17;
            this.bSelect.Text         = "Common.Select";
            this.bSelect.Click       += new System.EventHandler(this.bSelect_Click);
            //
            // bSet
            //
            this.bSet.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.bSet.FlatStyle    = System.Windows.Forms.FlatStyle.System;
            this.bSet.Location     = new System.Drawing.Point(472, 8);
            this.bSet.Name         = "bSet";
            this.bSet.Size         = new System.Drawing.Size(64, 23);
            this.bSet.TabIndex     = 19;
            this.bSet.Text         = "Common.Set";
            this.bSet.Click       += new System.EventHandler(this.bSet_Click);
            //
            // HuePicker
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(630, 367);
            this.Controls.Add(this.bSet);
            this.Controls.Add(this.lnkZero);
            this.Controls.Add(this.bSelect);
            this.Controls.Add(this.bCancel);
            this.Controls.Add(this.chkAnimate);
            this.Controls.Add(this.chkRoom);
            this.Controls.Add(this.chkScale);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.numID);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.comboType);
            this.Controls.Add(this.barDarkness);
            this.Controls.Add(this.imgSpectrum);
            this.Controls.Add(this.Art);
            this.Controls.Add(this.labName);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.numIndex);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.Chart);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox     = false;
            this.Name            = "HuePicker";
            this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text            = "HuePicker.Title";
            this.Closing        += new System.ComponentModel.CancelEventHandler(this.HuePicker_Closing);
            this.Load           += new System.EventHandler(this.HuePicker_Load);
            ((System.ComponentModel.ISupportInitialize)(this.numIndex)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.barDarkness)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.numID)).EndInit();
            this.ResumeLayout(false);
        }
示例#2
0
        /// <summary>
        ///     Required method for Designer support - do not modify
        ///     the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            var resources = new System.Resources.ResourceManager(typeof(QuickDeco));

            this.pGrid   = new System.Windows.Forms.PropertyGrid();
            this.art     = new TheBox.ArtViewer.ArtViewer();
            this.bOk     = new System.Windows.Forms.Button();
            this.bCancel = new System.Windows.Forms.Button();
            this.SuspendLayout();
            //
            // pGrid
            //
            this.pGrid.CommandsVisibleIfAvailable = true;
            this.pGrid.HelpVisible           = false;
            this.pGrid.LargeButtons          = false;
            this.pGrid.LineColor             = System.Drawing.SystemColors.ScrollBar;
            this.pGrid.Location              = new System.Drawing.Point(8, 8);
            this.pGrid.Name                  = "pGrid";
            this.pGrid.Size                  = new System.Drawing.Size(208, 40);
            this.pGrid.TabIndex              = 0;
            this.pGrid.Text                  = "propertyGrid1";
            this.pGrid.ToolbarVisible        = false;
            this.pGrid.ViewBackColor         = System.Drawing.SystemColors.Window;
            this.pGrid.ViewForeColor         = System.Drawing.SystemColors.WindowText;
            this.pGrid.PropertyValueChanged +=
                new System.Windows.Forms.PropertyValueChangedEventHandler(this.pGrid_PropertyValueChanged);
            //
            // art
            //
            this.art.Animate         = false;
            this.art.Art             = TheBox.ArtViewer.Art.Items;
            this.art.ArtIndex        = 0;
            this.art.BackColor       = System.Drawing.Color.White;
            this.art.Hue             = 0;
            this.art.Location        = new System.Drawing.Point(8, 56);
            this.art.Name            = "art";
            this.art.ResizeTallItems = true;
            this.art.RoomView        = true;
            this.art.ShowID          = false;
            this.art.Size            = new System.Drawing.Size(208, 152);
            this.art.TabIndex        = 1;
            this.art.Text            = "artViewer1";
            //
            // bOk
            //
            this.bOk.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.bOk.Location  = new System.Drawing.Point(160, 216);
            this.bOk.Name      = "bOk";
            this.bOk.Size      = new System.Drawing.Size(56, 23);
            this.bOk.TabIndex  = 2;
            this.bOk.Text      = "Common.Ok";
            this.bOk.Click    += new System.EventHandler(this.bOk_Click);
            //
            // bCancel
            //
            this.bCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.bCancel.Location  = new System.Drawing.Point(96, 216);
            this.bCancel.Name      = "bCancel";
            this.bCancel.Size      = new System.Drawing.Size(56, 23);
            this.bCancel.TabIndex  = 3;
            this.bCancel.Text      = "Common.Cancel";
            this.bCancel.Click    += new System.EventHandler(this.bCancel_Click);
            //
            // QuickDeco
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(226, 250);
            this.Controls.Add(this.bCancel);
            this.Controls.Add(this.bOk);
            this.Controls.Add(this.art);
            this.Controls.Add(this.pGrid);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name            = "QuickDeco";
            this.ShowInTaskbar   = false;
            this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text            = "Deco.Title";
            this.Load           += new System.EventHandler(this.QuickDeco_Load);
            this.ResumeLayout(false);
        }
示例#3
0
        /// <summary>
        ///     Required method for Designer support - do not modify
        ///     the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            var resources = new System.Resources.ResourceManager(typeof(QuickMobile));

            this.pGrid     = new System.Windows.Forms.PropertyGrid();
            this.m_Preview = new TheBox.ArtViewer.ArtViewer();
            this.bOk       = new System.Windows.Forms.Button();
            this.bCancel   = new System.Windows.Forms.Button();
            this.SuspendLayout();
            //
            // pGrid
            //
            this.pGrid.CommandsVisibleIfAvailable = true;
            this.pGrid.LargeButtons          = false;
            this.pGrid.LineColor             = System.Drawing.SystemColors.ScrollBar;
            this.pGrid.Location              = new System.Drawing.Point(8, 8);
            this.pGrid.Name                  = "pGrid";
            this.pGrid.Size                  = new System.Drawing.Size(208, 248);
            this.pGrid.TabIndex              = 0;
            this.pGrid.Text                  = "propertyGrid1";
            this.pGrid.ViewBackColor         = System.Drawing.SystemColors.Window;
            this.pGrid.ViewForeColor         = System.Drawing.SystemColors.WindowText;
            this.pGrid.PropertyValueChanged +=
                new System.Windows.Forms.PropertyValueChangedEventHandler(this.pGrid_PropertyValueChanged);
            //
            // m_Preview
            //
            this.m_Preview.Animate         = true;
            this.m_Preview.Art             = TheBox.ArtViewer.Art.NPCs;
            this.m_Preview.ArtIndex        = 0;
            this.m_Preview.Hue             = 0;
            this.m_Preview.Location        = new System.Drawing.Point(224, 8);
            this.m_Preview.Name            = "m_Preview";
            this.m_Preview.ResizeTallItems = false;
            this.m_Preview.RoomView        = true;
            this.m_Preview.ShowID          = false;
            this.m_Preview.Size            = new System.Drawing.Size(216, 216);
            this.m_Preview.TabIndex        = 1;
            this.m_Preview.Text            = "artViewer1";
            //
            // bOk
            //
            this.bOk.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.bOk.Location  = new System.Drawing.Point(360, 232);
            this.bOk.Name      = "bOk";
            this.bOk.TabIndex  = 2;
            this.bOk.Text      = "Common.Ok";
            this.bOk.Click    += new System.EventHandler(this.bOk_Click);
            //
            // bCancel
            //
            this.bCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.bCancel.Location  = new System.Drawing.Point(224, 232);
            this.bCancel.Name      = "bCancel";
            this.bCancel.TabIndex  = 3;
            this.bCancel.Text      = "Common.Cancel";
            this.bCancel.Click    += new System.EventHandler(this.bCancel_Click);
            //
            // QuickMobile
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(448, 261);
            this.Controls.Add(this.bCancel);
            this.Controls.Add(this.bOk);
            this.Controls.Add(this.m_Preview);
            this.Controls.Add(this.pGrid);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox     = false;
            this.Name            = "QuickMobile";
            this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text            = "QuickMobile";
            this.Load           += new System.EventHandler(this.QuickMobile_Load);
            this.ResumeLayout(false);
        }