コード例 #1
0
ファイル: Size2DDialog.cs プロジェクト: giszzt/GeoSOS
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Size2DDialog));
     this.dialogButtons1 = new DialogButtons();
     this.dbxHeight      = new DoubleBox();
     this.dbxWidth       = new DoubleBox();
     this.SuspendLayout();
     //
     // dialogButtons1
     //
     resources.ApplyResources(this.dialogButtons1, "dialogButtons1");
     this.dialogButtons1.Name = "dialogButtons1";
     //
     // dbxHeight
     //
     resources.ApplyResources(this.dbxHeight, "dbxHeight");
     this.dbxHeight.BackColorInvalid = System.Drawing.Color.Salmon;
     this.dbxHeight.BackColorRegular = System.Drawing.Color.Empty;
     this.dbxHeight.InvalidHelp      = "The value entered could not be correctly parsed into a valid double precision flo" +
                                       "ating point value.";
     this.dbxHeight.IsValid      = true;
     this.dbxHeight.Name         = "dbxHeight";
     this.dbxHeight.NumberFormat = null;
     this.dbxHeight.RegularHelp  = "Enter a double precision floating point value.";
     this.dbxHeight.Value        = 0D;
     this.dbxHeight.TextChanged += new System.EventHandler(this.dbxHeight_TextChanged);
     //
     // dbxWidth
     //
     resources.ApplyResources(this.dbxWidth, "dbxWidth");
     this.dbxWidth.BackColorInvalid = System.Drawing.Color.Salmon;
     this.dbxWidth.BackColorRegular = System.Drawing.Color.Empty;
     this.dbxWidth.InvalidHelp      = "The value entered could not be correctly parsed into a valid double precision flo" +
                                      "ating point value.";
     this.dbxWidth.IsValid      = true;
     this.dbxWidth.Name         = "dbxWidth";
     this.dbxWidth.NumberFormat = null;
     this.dbxWidth.RegularHelp  = "Enter a double precision floating point value.";
     this.dbxWidth.Value        = 0D;
     this.dbxWidth.TextChanged += new System.EventHandler(this.dbxWidth_TextChanged);
     //
     // Size2DDialog
     //
     resources.ApplyResources(this, "$this");
     this.Controls.Add(this.dialogButtons1);
     this.Controls.Add(this.dbxHeight);
     this.Controls.Add(this.dbxWidth);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.HelpButton      = true;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "Size2DDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.ResumeLayout(false);
 }
コード例 #2
0
ファイル: OutlineControl.cs プロジェクト: giszzt/GeoSOS
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            ComponentResourceManager resources = new ComponentResourceManager(typeof(OutlineControl));

            this.grpOutline        = new GroupBox();
            this.btnEditOutline    = new Button();
            this.cbOutlineColor    = new ColorButton();
            this.sldOutlineOpacity = new RampSlider();
            this.label2            = new Label();
            this.dbxOutlineWidth   = new DoubleBox();
            this.chkUseOutline     = new CheckBox();
            this.grpOutline.SuspendLayout();
            this.SuspendLayout();
            //
            // grpOutline
            //
            this.grpOutline.AccessibleDescription = null;
            this.grpOutline.AccessibleName        = null;
            resources.ApplyResources(this.grpOutline, "grpOutline");
            this.grpOutline.BackgroundImage = null;
            this.grpOutline.Controls.Add(this.btnEditOutline);
            this.grpOutline.Controls.Add(this.cbOutlineColor);
            this.grpOutline.Controls.Add(this.sldOutlineOpacity);
            this.grpOutline.Controls.Add(this.label2);
            this.grpOutline.Controls.Add(this.dbxOutlineWidth);
            this.grpOutline.Controls.Add(this.chkUseOutline);
            this.grpOutline.Font    = null;
            this.grpOutline.Name    = "grpOutline";
            this.grpOutline.Text    = ICSharpCode.Core.StringParser.Parse("${res:GIS.Common.Dialogs.OutlineControl.grpOutline}");
            this.grpOutline.TabStop = false;
            //
            // btnEditOutline
            //
            this.btnEditOutline.AccessibleDescription = null;
            this.btnEditOutline.AccessibleName        = null;
            resources.ApplyResources(this.btnEditOutline, "btnEditOutline");
            this.btnEditOutline.BackgroundImage         = null;
            this.btnEditOutline.Font                    = null;
            this.btnEditOutline.Name                    = "btnEditOutline";
            this.btnEditOutline.UseVisualStyleBackColor = true;
            this.btnEditOutline.Text                    = ICSharpCode.Core.StringParser.Parse("${res:GIS.Common.Dialogs.OutlineControl.btnEditOutline}");
            this.btnEditOutline.Click                  += new EventHandler(this.btnEditOutline_Click);
            //
            // cbOutlineColor
            //
            this.cbOutlineColor.AccessibleDescription = null;
            this.cbOutlineColor.AccessibleName        = null;
            resources.ApplyResources(this.cbOutlineColor, "cbOutlineColor");
            this.cbOutlineColor.BackgroundImage     = null;
            this.cbOutlineColor.BevelRadius         = 4;
            this.cbOutlineColor.Color               = Color.Blue;
            this.cbOutlineColor.Font                = null;
            this.cbOutlineColor.LaunchDialogOnClick = true;
            this.cbOutlineColor.Name                = "cbOutlineColor";
            this.cbOutlineColor.RoundingRadius      = 10;
            this.cbOutlineColor.Text                = ICSharpCode.Core.StringParser.Parse("${res:GIS.Common.Dialogs.OutlineControl.cbOutlineColor}");
            this.cbOutlineColor.ColorChanged       += new EventHandler(this.cbOutlineColor_ColorChanged);
            //
            // sldOutlineOpacity
            //
            this.sldOutlineOpacity.AccessibleDescription = null;
            this.sldOutlineOpacity.AccessibleName        = null;
            resources.ApplyResources(this.sldOutlineOpacity, "sldOutlineOpacity");
            this.sldOutlineOpacity.BackgroundImage    = null;
            this.sldOutlineOpacity.ColorButton        = null;
            this.sldOutlineOpacity.FlipRamp           = false;
            this.sldOutlineOpacity.FlipText           = false;
            this.sldOutlineOpacity.Font               = null;
            this.sldOutlineOpacity.InvertRamp         = false;
            this.sldOutlineOpacity.Maximum            = 1;
            this.sldOutlineOpacity.MaximumColor       = Color.CornflowerBlue;
            this.sldOutlineOpacity.Minimum            = 0;
            this.sldOutlineOpacity.MinimumColor       = Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
            this.sldOutlineOpacity.Name               = "sldOutlineOpacity";
            this.sldOutlineOpacity.NumberFormat       = null;
            this.sldOutlineOpacity.Orientation        = Orientation.Horizontal;
            this.sldOutlineOpacity.RampRadius         = 8F;
            this.sldOutlineOpacity.RampText           = "Opacity";
            this.sldOutlineOpacity.RampTextAlignment  = ContentAlignment.BottomCenter;
            this.sldOutlineOpacity.RampTextBehindRamp = true;
            this.sldOutlineOpacity.RampTextColor      = Color.Black;
            this.sldOutlineOpacity.RampTextFont       = new Font("Microsoft Sans Serif", 12F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
            this.sldOutlineOpacity.ShowMaximum        = true;
            this.sldOutlineOpacity.ShowMinimum        = true;
            this.sldOutlineOpacity.ShowTicks          = true;
            this.sldOutlineOpacity.ShowValue          = false;
            this.sldOutlineOpacity.SliderColor        = Color.SteelBlue;
            this.sldOutlineOpacity.SliderRadius       = 4F;
            this.sldOutlineOpacity.TickColor          = Color.DarkGray;
            this.sldOutlineOpacity.TickSpacing        = 5F;
            this.sldOutlineOpacity.Value              = 0;
            this.sldOutlineOpacity.ValueChanged      += new EventHandler(this.sldOutlineOpacity_ValueChanged);
            this.sldOutlineOpacity.Text               = ICSharpCode.Core.StringParser.Parse("${res:GIS.Common.Dialogs.OutlineControl.sldOutlineOpacity}");
            //
            // label2
            //
            this.label2.AccessibleDescription = null;
            this.label2.AccessibleName        = null;
            resources.ApplyResources(this.label2, "label2");
            this.label2.Font = null;
            this.label2.Name = "label2";
            this.label2.Text = ICSharpCode.Core.StringParser.Parse("${res:GIS.Common.Dialogs.OutlineControl.label2}");
            //
            // dbxOutlineWidth
            //
            this.dbxOutlineWidth.AccessibleDescription = null;
            this.dbxOutlineWidth.AccessibleName        = null;
            resources.ApplyResources(this.dbxOutlineWidth, "dbxOutlineWidth");
            this.dbxOutlineWidth.BackColorInvalid = Color.Salmon;
            this.dbxOutlineWidth.BackColorRegular = Color.Empty;
            this.dbxOutlineWidth.BackgroundImage  = null;
            //this.dbxOutlineWidth.Caption = "Width:";
            this.dbxOutlineWidth.Caption = ICSharpCode.Core.StringParser.Parse("res:GIS.Common.Dialogs.OutlineControl.dbxOutlineWidth");
            this.dbxOutlineWidth.Font    = null;
            //this.dbxOutlineWidth.InvalidHelp = "The value entered could not be correctly parsed into a valid double precision flo" +
            //"ating point value.";
            this.dbxOutlineWidth.InvalidHelp  = ICSharpCode.Core.StringParser.Parse("${res:GIS.Common.Dialogs.OutlineControl.dbxOutlineWidth.InvalidHelp}");
            this.dbxOutlineWidth.IsValid      = true;
            this.dbxOutlineWidth.Name         = "dbxOutlineWidth";
            this.dbxOutlineWidth.NumberFormat = null;
            this.dbxOutlineWidth.RegularHelp  = "Enter a double precision floating point value.";
            this.dbxOutlineWidth.Value        = 0;
            this.dbxOutlineWidth.TextChanged += new EventHandler(this.dbxOutlineWidth_TextChanged);
            //
            // chkUseOutline
            //
            this.chkUseOutline.AccessibleDescription = null;
            this.chkUseOutline.AccessibleName        = null;
            resources.ApplyResources(this.chkUseOutline, "chkUseOutline");
            this.chkUseOutline.BackgroundImage         = null;
            this.chkUseOutline.Font                    = null;
            this.chkUseOutline.Name                    = "chkUseOutline";
            this.chkUseOutline.UseVisualStyleBackColor = true;
            this.chkUseOutline.Text                    = ICSharpCode.Core.StringParser.Parse("${res:GIS.Common.Dialogs.OutlineControl.chkUseOutline}");
            this.chkUseOutline.CheckedChanged         += new EventHandler(this.chkUseOutline_CheckedChanged);
            //
            // OutlineControl
            //
            this.AccessibleDescription = null;
            this.AccessibleName        = null;
            resources.ApplyResources(this, "$this");

            this.BackgroundImage = null;
            this.Controls.Add(this.grpOutline);
            this.Font = null;
            this.Name = "OutlineControl";
            this.grpOutline.ResumeLayout(false);
            this.grpOutline.PerformLayout();
            this.ResumeLayout(false);
        }