コード例 #1
0
ファイル: TabColorDialog.cs プロジェクト: hanchao/DotSpatial
        /// <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(TabColorDialog));
            this.panel1 = new Panel();
            this.btnApply = new Button();
            this.btnCancel = new Button();
            this.cmdOk = new Button();
            this.tabColorControl1 = new TabColorControl();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            //
            // panel1
            //
            this.panel1.AccessibleDescription = null;
            this.panel1.AccessibleName = null;
            resources.ApplyResources(this.panel1, "panel1");
            this.panel1.BackgroundImage = null;
            this.panel1.Controls.Add(this.btnApply);
            this.panel1.Controls.Add(this.btnCancel);
            this.panel1.Controls.Add(this.cmdOk);
            this.panel1.Font = null;
            this.panel1.Name = "panel1";
            //
            // btnApply
            //
            this.btnApply.AccessibleDescription = null;
            this.btnApply.AccessibleName = null;
            resources.ApplyResources(this.btnApply, "btnApply");
            this.btnApply.BackgroundImage = null;
            this.btnApply.Font = null;
            this.btnApply.Name = "btnApply";
            this.btnApply.UseVisualStyleBackColor = true;
            this.btnApply.Click += new EventHandler(this.btnApply_Click);
            //
            // btnCancel
            //
            this.btnCancel.AccessibleDescription = null;
            this.btnCancel.AccessibleName = null;
            resources.ApplyResources(this.btnCancel, "btnCancel");
            this.btnCancel.BackgroundImage = null;
            //this.btnCancel.DialogResult = DialogResult.Cancel;
            this.btnCancel.Font = null;
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
            //
            // cmdOk
            //
            this.cmdOk.AccessibleDescription = null;
            this.cmdOk.AccessibleName = null;
            resources.ApplyResources(this.cmdOk, "cmdOk");
            this.cmdOk.BackgroundImage = null;
            //this.cmdOk.DialogResult = DialogResult.OK;
            this.cmdOk.Font = null;
            this.cmdOk.Name = "cmdOk";
            this.cmdOk.UseVisualStyleBackColor = true;
            this.cmdOk.Click += new EventHandler(this.cmdOk_Click);
            //
            // tabColorControl1
            //
            this.tabColorControl1.AccessibleDescription = null;
            this.tabColorControl1.AccessibleName = null;
            resources.ApplyResources(this.tabColorControl1, "tabColorControl1");
            this.tabColorControl1.BackgroundImage = null;
            this.tabColorControl1.EndColor = Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.tabColorControl1.Font = null;
            this.tabColorControl1.HueShift = 0;
            this.tabColorControl1.Name = "tabColorControl1";
            this.tabColorControl1.StartColor = Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.tabColorControl1.UseRangeChecked = true;
            //
            // TabColorDialog
            //
            this.AccessibleDescription = null;
            this.AccessibleName = null;
            resources.ApplyResources(this, "$this");

            this.BackgroundImage = null;
            this.Controls.Add(this.tabColorControl1);
            this.Controls.Add(this.panel1);
            this.Font = null;
            this.Icon = null;
            this.Name = "TabColorDialog";
            this.ShowIcon = false;
            this.ShowInTaskbar = false;
            this.panel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
コード例 #2
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FeatureCategoryControl));
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     this._cmbField = new System.Windows.Forms.ComboBox();
     this._lblFieldName = new System.Windows.Forms.Label();
     this.ttHelp = new System.Windows.Forms.ToolTip(this.components);
     this.btnRamp = new System.Windows.Forms.Button();
     this.cmdRefresh = new System.Windows.Forms.Button();
     this.btnExclude = new System.Windows.Forms.Button();
     this.radUniqueValues = new System.Windows.Forms.RadioButton();
     this.radQuantities = new System.Windows.Forms.RadioButton();
     this.btnAdd = new System.Windows.Forms.Button();
     this.btnDelete = new System.Windows.Forms.Button();
     this.btnUp = new System.Windows.Forms.Button();
     this.btnDown = new System.Windows.Forms.Button();
     this.cmbNormField = new System.Windows.Forms.ComboBox();
     this.nudSigFig = new System.Windows.Forms.NumericUpDown();
     this.cmbIntervalSnapping = new System.Windows.Forms.ComboBox();
     this.dgvStatistics = new System.Windows.Forms.DataGridView();
     this.Stat = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Value = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tabScheme = new System.Windows.Forms.TabControl();
     this.tabStatistics = new System.Windows.Forms.TabPage();
     this.label3 = new System.Windows.Forms.Label();
     this.lblSigFig = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.cmbInterval = new System.Windows.Forms.ComboBox();
     this.nudCategoryCount = new System.Windows.Forms.NumericUpDown();
     this.lblBreaks = new System.Windows.Forms.Label();
     this.tabGraph = new System.Windows.Forms.TabPage();
     this.lblColumns = new System.Windows.Forms.Label();
     this.nudColumns = new System.Windows.Forms.NumericUpDown();
     this.chkLog = new System.Windows.Forms.CheckBox();
     this.chkShowStd = new System.Windows.Forms.CheckBox();
     this.chkShowMean = new System.Windows.Forms.CheckBox();
     this.chkUseGradients = new System.Windows.Forms.CheckBox();
     this.dgvCategories = new System.Windows.Forms.DataGridView();
     this.colSymbol = new System.Windows.Forms.DataGridViewImageColumn();
     this.colValues = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colLegendText = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.radCustom = new System.Windows.Forms.RadioButton();
     this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
     this.angGradientAngle = new DotSpatial.Symbology.Forms.AngleControl();
     this.featureSizeRangeControl1 = new DotSpatial.Symbology.Forms.FeatureSizeRangeControl();
     this.tccColorRange = new DotSpatial.Symbology.Forms.TabColorControl();
     this.breakSliderGraph1 = new DotSpatial.Symbology.Forms.BreakSliderGraph();
     ((System.ComponentModel.ISupportInitialize)(this.nudSigFig)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStatistics)).BeginInit();
     this.tabScheme.SuspendLayout();
     this.tabStatistics.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudCategoryCount)).BeginInit();
     this.tabGraph.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudColumns)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvCategories)).BeginInit();
     this.SuspendLayout();
     //
     // _cmbField
     //
     this._cmbField.FormattingEnabled = true;
     resources.ApplyResources(this._cmbField, "_cmbField");
     this._cmbField.Name = "_cmbField";
     this._cmbField.SelectedIndexChanged += new System.EventHandler(this.cmbField_SelectedIndexChanged);
     //
     // _lblFieldName
     //
     resources.ApplyResources(this._lblFieldName, "_lblFieldName");
     this._lblFieldName.Name = "_lblFieldName";
     //
     // btnRamp
     //
     resources.ApplyResources(this.btnRamp, "btnRamp");
     this.btnRamp.Name = "btnRamp";
     this.ttHelp.SetToolTip(this.btnRamp, resources.GetString("btnRamp.ToolTip"));
     this.btnRamp.UseVisualStyleBackColor = true;
     this.btnRamp.Click += new System.EventHandler(this.btnRamp_Click);
     //
     // cmdRefresh
     //
     resources.ApplyResources(this.cmdRefresh, "cmdRefresh");
     this.cmdRefresh.Name = "cmdRefresh";
     this.ttHelp.SetToolTip(this.cmdRefresh, resources.GetString("cmdRefresh.ToolTip"));
     this.cmdRefresh.UseVisualStyleBackColor = true;
     this.cmdRefresh.Click += new System.EventHandler(this.cmdRefresh_Click);
     //
     // btnExclude
     //
     resources.ApplyResources(this.btnExclude, "btnExclude");
     this.btnExclude.Name = "btnExclude";
     this.ttHelp.SetToolTip(this.btnExclude, resources.GetString("btnExclude.ToolTip"));
     this.btnExclude.UseVisualStyleBackColor = true;
     this.btnExclude.Click += new System.EventHandler(this.btnExclude_Click);
     //
     // radUniqueValues
     //
     resources.ApplyResources(this.radUniqueValues, "radUniqueValues");
     this.radUniqueValues.Checked = true;
     this.radUniqueValues.Name = "radUniqueValues";
     this.radUniqueValues.TabStop = true;
     this.ttHelp.SetToolTip(this.radUniqueValues, resources.GetString("radUniqueValues.ToolTip"));
     this.radUniqueValues.UseVisualStyleBackColor = true;
     this.radUniqueValues.CheckedChanged += new System.EventHandler(this.radUniqueValues_CheckedChanged);
     //
     // radQuantities
     //
     resources.ApplyResources(this.radQuantities, "radQuantities");
     this.radQuantities.Name = "radQuantities";
     this.ttHelp.SetToolTip(this.radQuantities, resources.GetString("radQuantities.ToolTip"));
     this.radQuantities.UseVisualStyleBackColor = true;
     this.radQuantities.CheckedChanged += new System.EventHandler(this.radQuantities_CheckedChanged);
     //
     // btnAdd
     //
     this.btnAdd.Image = global::DotSpatial.Symbology.Forms.SymbologyFormsImages.add;
     resources.ApplyResources(this.btnAdd, "btnAdd");
     this.btnAdd.Name = "btnAdd";
     this.ttHelp.SetToolTip(this.btnAdd, resources.GetString("btnAdd.ToolTip"));
     this.btnAdd.UseVisualStyleBackColor = true;
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // btnDelete
     //
     this.btnDelete.Image = global::DotSpatial.Symbology.Forms.SymbologyFormsImages.delete;
     resources.ApplyResources(this.btnDelete, "btnDelete");
     this.btnDelete.Name = "btnDelete";
     this.ttHelp.SetToolTip(this.btnDelete, resources.GetString("btnDelete.ToolTip"));
     this.btnDelete.UseVisualStyleBackColor = true;
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // btnUp
     //
     this.btnUp.Image = global::DotSpatial.Symbology.Forms.SymbologyFormsImages.up;
     resources.ApplyResources(this.btnUp, "btnUp");
     this.btnUp.Name = "btnUp";
     this.ttHelp.SetToolTip(this.btnUp, resources.GetString("btnUp.ToolTip"));
     this.btnUp.UseVisualStyleBackColor = true;
     this.btnUp.Click += new System.EventHandler(this.btnUp_Click);
     //
     // btnDown
     //
     this.btnDown.BackColor = System.Drawing.SystemColors.Control;
     this.btnDown.Image = global::DotSpatial.Symbology.Forms.SymbologyFormsImages.down;
     resources.ApplyResources(this.btnDown, "btnDown");
     this.btnDown.Name = "btnDown";
     this.ttHelp.SetToolTip(this.btnDown, resources.GetString("btnDown.ToolTip"));
     this.btnDown.UseVisualStyleBackColor = false;
     this.btnDown.Click += new System.EventHandler(this.btnDown_Click);
     //
     // cmbNormField
     //
     this.cmbNormField.FormattingEnabled = true;
     resources.ApplyResources(this.cmbNormField, "cmbNormField");
     this.cmbNormField.Name = "cmbNormField";
     this.ttHelp.SetToolTip(this.cmbNormField, resources.GetString("cmbNormField.ToolTip"));
     this.cmbNormField.SelectedIndexChanged += new System.EventHandler(this.cmbNormField_SelectedIndexChanged);
     //
     // nudSigFig
     //
     resources.ApplyResources(this.nudSigFig, "nudSigFig");
     this.nudSigFig.Maximum = new decimal(new int[] {
                                                        16,
                                                        0,
                                                        0,
                                                        0});
     this.nudSigFig.Name = "nudSigFig";
     this.ttHelp.SetToolTip(this.nudSigFig, resources.GetString("nudSigFig.ToolTip"));
     this.nudSigFig.ValueChanged += new System.EventHandler(this.nudSigFig_ValueChanged);
     //
     // cmbIntervalSnapping
     //
     this.cmbIntervalSnapping.FormattingEnabled = true;
     resources.ApplyResources(this.cmbIntervalSnapping, "cmbIntervalSnapping");
     this.cmbIntervalSnapping.Name = "cmbIntervalSnapping";
     this.ttHelp.SetToolTip(this.cmbIntervalSnapping, resources.GetString("cmbIntervalSnapping.ToolTip"));
     this.cmbIntervalSnapping.SelectedIndexChanged += new System.EventHandler(this.cmbIntervalSnapping_SelectedIndexChanged);
     //
     // dgvStatistics
     //
     this.dgvStatistics.AllowUserToAddRows = false;
     this.dgvStatistics.AllowUserToDeleteRows = false;
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.AntiqueWhite;
     this.dgvStatistics.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dgvStatistics.BackgroundColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvStatistics.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dgvStatistics.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvStatistics.ColumnHeadersVisible = false;
     this.dgvStatistics.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
                                                                                           this.Stat,
                                                                                           this.Value});
     resources.ApplyResources(this.dgvStatistics, "dgvStatistics");
     this.dgvStatistics.Name = "dgvStatistics";
     this.dgvStatistics.RowHeadersVisible = false;
     this.dgvStatistics.ShowCellErrors = false;
     this.ttHelp.SetToolTip(this.dgvStatistics, resources.GetString("dgvStatistics.ToolTip"));
     //
     // Stat
     //
     resources.ApplyResources(this.Stat, "Stat");
     this.Stat.Name = "Stat";
     //
     // Value
     //
     this.Value.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     resources.ApplyResources(this.Value, "Value");
     this.Value.Name = "Value";
     //
     // tabScheme
     //
     this.tabScheme.Controls.Add(this.tabStatistics);
     this.tabScheme.Controls.Add(this.tabGraph);
     resources.ApplyResources(this.tabScheme, "tabScheme");
     this.tabScheme.Name = "tabScheme";
     this.tabScheme.SelectedIndex = 0;
     //
     // tabStatistics
     //
     this.tabStatistics.Controls.Add(this.label3);
     this.tabStatistics.Controls.Add(this.cmbNormField);
     this.tabStatistics.Controls.Add(this.btnExclude);
     this.tabStatistics.Controls.Add(this.nudSigFig);
     this.tabStatistics.Controls.Add(this.lblSigFig);
     this.tabStatistics.Controls.Add(this.label1);
     this.tabStatistics.Controls.Add(this.cmbIntervalSnapping);
     this.tabStatistics.Controls.Add(this.dgvStatistics);
     this.tabStatistics.Controls.Add(this.label2);
     this.tabStatistics.Controls.Add(this.cmbInterval);
     this.tabStatistics.Controls.Add(this.nudCategoryCount);
     this.tabStatistics.Controls.Add(this.lblBreaks);
     resources.ApplyResources(this.tabStatistics, "tabStatistics");
     this.tabStatistics.Name = "tabStatistics";
     this.tabStatistics.UseVisualStyleBackColor = true;
     //
     // label3
     //
     resources.ApplyResources(this.label3, "label3");
     this.label3.Name = "label3";
     //
     // lblSigFig
     //
     resources.ApplyResources(this.lblSigFig, "lblSigFig");
     this.lblSigFig.Name = "lblSigFig";
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // cmbInterval
     //
     this.cmbInterval.FormattingEnabled = true;
     this.cmbInterval.Items.AddRange(new object[] {
                                                      resources.GetString("cmbInterval.Items"),
                                                      resources.GetString("cmbInterval.Items1"),
                                                      resources.GetString("cmbInterval.Items2")});
     resources.ApplyResources(this.cmbInterval, "cmbInterval");
     this.cmbInterval.Name = "cmbInterval";
     this.cmbInterval.SelectedIndexChanged += new System.EventHandler(this.cmbInterval_SelectedIndexChanged);
     //
     // nudCategoryCount
     //
     resources.ApplyResources(this.nudCategoryCount, "nudCategoryCount");
     this.nudCategoryCount.Name = "nudCategoryCount";
     this.nudCategoryCount.Value = new decimal(new int[] {
                                                             5,
                                                             0,
                                                             0,
                                                             0});
     this.nudCategoryCount.ValueChanged += new System.EventHandler(this.nudCategoryCount_ValueChanged);
     //
     // lblBreaks
     //
     resources.ApplyResources(this.lblBreaks, "lblBreaks");
     this.lblBreaks.Name = "lblBreaks";
     //
     // tabGraph
     //
     this.tabGraph.Controls.Add(this.lblColumns);
     this.tabGraph.Controls.Add(this.nudColumns);
     this.tabGraph.Controls.Add(this.chkLog);
     this.tabGraph.Controls.Add(this.chkShowStd);
     this.tabGraph.Controls.Add(this.chkShowMean);
     this.tabGraph.Controls.Add(this.breakSliderGraph1);
     resources.ApplyResources(this.tabGraph, "tabGraph");
     this.tabGraph.Name = "tabGraph";
     this.tabGraph.UseVisualStyleBackColor = true;
     //
     // lblColumns
     //
     resources.ApplyResources(this.lblColumns, "lblColumns");
     this.lblColumns.Name = "lblColumns";
     //
     // nudColumns
     //
     this.nudColumns.Increment = new decimal(new int[] {
                                                           10,
                                                           0,
                                                           0,
                                                           0});
     resources.ApplyResources(this.nudColumns, "nudColumns");
     this.nudColumns.Maximum = new decimal(new int[] {
                                                         1000,
                                                         0,
                                                         0,
                                                         0});
     this.nudColumns.Minimum = new decimal(new int[] {
                                                         10,
                                                         0,
                                                         0,
                                                         0});
     this.nudColumns.Name = "nudColumns";
     this.nudColumns.Value = new decimal(new int[] {
                                                       40,
                                                       0,
                                                       0,
                                                       0});
     this.nudColumns.ValueChanged += new System.EventHandler(this.nudColumns_ValueChanged);
     //
     // chkLog
     //
     resources.ApplyResources(this.chkLog, "chkLog");
     this.chkLog.Name = "chkLog";
     this.chkLog.UseVisualStyleBackColor = true;
     this.chkLog.CheckedChanged += new System.EventHandler(this.chkLog_CheckedChanged);
     //
     // chkShowStd
     //
     resources.ApplyResources(this.chkShowStd, "chkShowStd");
     this.chkShowStd.Name = "chkShowStd";
     this.chkShowStd.UseVisualStyleBackColor = true;
     this.chkShowStd.CheckedChanged += new System.EventHandler(this.chkShowStd_CheckedChanged);
     //
     // chkShowMean
     //
     resources.ApplyResources(this.chkShowMean, "chkShowMean");
     this.chkShowMean.Name = "chkShowMean";
     this.chkShowMean.UseVisualStyleBackColor = true;
     this.chkShowMean.CheckedChanged += new System.EventHandler(this.chkShowMean_CheckedChanged);
     //
     // chkUseGradients
     //
     resources.ApplyResources(this.chkUseGradients, "chkUseGradients");
     this.chkUseGradients.Name = "chkUseGradients";
     this.chkUseGradients.UseVisualStyleBackColor = true;
     this.chkUseGradients.CheckedChanged += new System.EventHandler(this.chkUseGradients_CheckedChanged);
     //
     // dgvCategories
     //
     this.dgvCategories.AllowUserToAddRows = false;
     this.dgvCategories.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dgvCategories.BackgroundColor = System.Drawing.SystemColors.Window;
     this.dgvCategories.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvCategories.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
                                                                                           this.colSymbol,
                                                                                           this.colValues,
                                                                                           this.colLegendText,
                                                                                           this.colCount});
     resources.ApplyResources(this.dgvCategories, "dgvCategories");
     this.dgvCategories.MultiSelect = false;
     this.dgvCategories.Name = "dgvCategories";
     this.dgvCategories.RowHeadersVisible = false;
     this.dgvCategories.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     //
     // colSymbol
     //
     this.colSymbol.FillWeight = 49.97129F;
     resources.ApplyResources(this.colSymbol, "colSymbol");
     this.colSymbol.Name = "colSymbol";
     this.colSymbol.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     //
     // colValues
     //
     this.colValues.FillWeight = 142.132F;
     resources.ApplyResources(this.colValues, "colValues");
     this.colValues.Name = "colValues";
     this.colValues.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // colLegendText
     //
     this.colLegendText.FillWeight = 157.008F;
     resources.ApplyResources(this.colLegendText, "colLegendText");
     this.colLegendText.Name = "colLegendText";
     //
     // colCount
     //
     this.colCount.FillWeight = 50.88878F;
     resources.ApplyResources(this.colCount, "colCount");
     this.colCount.Name = "colCount";
     this.colCount.ReadOnly = true;
     this.colCount.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // radCustom
     //
     resources.ApplyResources(this.radCustom, "radCustom");
     this.radCustom.Name = "radCustom";
     this.radCustom.TabStop = true;
     this.radCustom.UseVisualStyleBackColor = true;
     this.radCustom.CheckedChanged += new System.EventHandler(this.radCustom_CheckedChanged);
     //
     // dataGridViewImageColumn1
     //
     this.dataGridViewImageColumn1.FillWeight = 76.14214F;
     resources.ApplyResources(this.dataGridViewImageColumn1, "dataGridViewImageColumn1");
     this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
     this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewImageColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
     //
     // angGradientAngle
     //
     this.angGradientAngle.Angle = 0;
     this.angGradientAngle.BackColor = System.Drawing.Color.Transparent;
     resources.ApplyResources(this.angGradientAngle, "angGradientAngle");
     this.angGradientAngle.Clockwise = false;
     this.angGradientAngle.KnobColor = System.Drawing.Color.Green;
     this.angGradientAngle.Name = "angGradientAngle";
     this.angGradientAngle.StartAngle = 0;
     this.angGradientAngle.AngleChanged += new System.EventHandler(this.angGradientAngle_AngleChanged);
     //
     // featureSizeRangeControl1
     //
     resources.ApplyResources(this.featureSizeRangeControl1, "featureSizeRangeControl1");
     this.featureSizeRangeControl1.Name = "featureSizeRangeControl1";
     this.featureSizeRangeControl1.Scheme = null;
     this.featureSizeRangeControl1.SizeRange = null;
     this.featureSizeRangeControl1.SizeRangeChanged += new System.EventHandler<DotSpatial.Symbology.Forms.SizeRangeEventArgs>(this.pointSizeRangeControl1_SizeRangeChanged);
     //
     // tccColorRange
     //
     this.tccColorRange.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tccColorRange.HueShift = 0;
     resources.ApplyResources(this.tccColorRange, "tccColorRange");
     this.tccColorRange.Name = "tccColorRange";
     this.tccColorRange.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tccColorRange.UseRangeChecked = true;
     this.tccColorRange.ColorChanged += new System.EventHandler<DotSpatial.Symbology.Forms.ColorRangeEventArgs>(this.tccColorRange_ColorChanged);
     //
     // breakSliderGraph1
     //
     this.breakSliderGraph1.AttributeSource = null;
     this.breakSliderGraph1.BackColor = System.Drawing.Color.White;
     this.breakSliderGraph1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.breakSliderGraph1.BreakColor = System.Drawing.Color.Blue;
     this.breakSliderGraph1.BreakSelectedColor = System.Drawing.Color.Red;
     this.breakSliderGraph1.FontColor = System.Drawing.Color.Black;
     this.breakSliderGraph1.IntervalMethod = DotSpatial.Symbology.IntervalMethod.EqualInterval;
     resources.ApplyResources(this.breakSliderGraph1, "breakSliderGraph1");
     this.breakSliderGraph1.LogY = false;
     this.breakSliderGraph1.MaximumSampleSize = 10000;
     this.breakSliderGraph1.MinHeight = 20;
     this.breakSliderGraph1.Name = "breakSliderGraph1";
     this.breakSliderGraph1.NumColumns = 40;
     this.breakSliderGraph1.RasterLayer = null;
     this.breakSliderGraph1.Scheme = null;
     this.breakSliderGraph1.ShowMean = false;
     this.breakSliderGraph1.ShowStandardDeviation = false;
     this.breakSliderGraph1.Title = "Statistical Breaks:";
     this.breakSliderGraph1.TitleColor = System.Drawing.Color.Black;
     this.breakSliderGraph1.TitleFont = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
     this.breakSliderGraph1.SliderMoved += new System.EventHandler<DotSpatial.Symbology.Forms.BreakSliderEventArgs>(this.breakSliderGraph1_SliderMoved);
     //
     // FeatureCategoryControl
     //
     this.Controls.Add(this.chkUseGradients);
     this.Controls.Add(this.angGradientAngle);
     this.Controls.Add(this.featureSizeRangeControl1);
     this.Controls.Add(this.tccColorRange);
     this.Controls.Add(this.tabScheme);
     this.Controls.Add(this.dgvCategories);
     this.Controls.Add(this.radCustom);
     this.Controls.Add(this.btnDown);
     this.Controls.Add(this.btnUp);
     this.Controls.Add(this.btnDelete);
     this.Controls.Add(this.btnAdd);
     this.Controls.Add(this.radQuantities);
     this.Controls.Add(this.radUniqueValues);
     this.Controls.Add(this.btnRamp);
     this.Controls.Add(this.cmdRefresh);
     this.Controls.Add(this._lblFieldName);
     this.Controls.Add(this._cmbField);
     this.Name = "FeatureCategoryControl";
     resources.ApplyResources(this, "$this");
     ((System.ComponentModel.ISupportInitialize)(this.nudSigFig)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStatistics)).EndInit();
     this.tabScheme.ResumeLayout(false);
     this.tabStatistics.ResumeLayout(false);
     this.tabStatistics.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudCategoryCount)).EndInit();
     this.tabGraph.ResumeLayout(false);
     this.tabGraph.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudColumns)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvCategories)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #3
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RasterCategoryControl));
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     this.ttHelp = new System.Windows.Forms.ToolTip(this.components);
     this.angLightDirection = new DotSpatial.Symbology.Forms.AngleControl();
     this.dbxElevationFactor = new DotSpatial.Symbology.Forms.DoubleBox();
     this.btnQuick = new System.Windows.Forms.Button();
     this.btnRamp = new System.Windows.Forms.Button();
     this.cmdRefresh = new System.Windows.Forms.Button();
     this.tabScheme = new System.Windows.Forms.TabControl();
     this.tabStatistics = new System.Windows.Forms.TabPage();
     this.dbxMax = new DotSpatial.Symbology.Forms.DoubleBox();
     this.dbxMin = new DotSpatial.Symbology.Forms.DoubleBox();
     this.nudSigFig = new System.Windows.Forms.NumericUpDown();
     this.lblSigFig = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.cmbIntervalSnapping = new System.Windows.Forms.ComboBox();
     this.dgvStatistics = new System.Windows.Forms.DataGridView();
     this.stat = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.value = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.label2 = new System.Windows.Forms.Label();
     this.cmbInterval = new System.Windows.Forms.ComboBox();
     this.nudCategoryCount = new System.Windows.Forms.NumericUpDown();
     this.lblBreaks = new System.Windows.Forms.Label();
     this.tabGraph = new System.Windows.Forms.TabPage();
     this.lblColumns = new System.Windows.Forms.Label();
     this.nudColumns = new System.Windows.Forms.NumericUpDown();
     this.chkLog = new System.Windows.Forms.CheckBox();
     this.chkShowStd = new System.Windows.Forms.CheckBox();
     this.chkShowMean = new System.Windows.Forms.CheckBox();
     this.breakSliderGraph1 = new DotSpatial.Symbology.Forms.BreakSliderGraph();
     this.dgvCategories = new System.Windows.Forms.DataGridView();
     this.colSymbol = new System.Windows.Forms.DataGridViewImageColumn();
     this.colValues = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colLegendText = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.chkHillshade = new System.Windows.Forms.CheckBox();
     this.btnShadedRelief = new System.Windows.Forms.Button();
     this.grpHillshade = new System.Windows.Forms.GroupBox();
     this.btnElevation = new System.Windows.Forms.Button();
     this.mwProgressBar1 = new DotSpatial.Symbology.Forms.SymbologyProgressBar();
     this.tccColorRange = new DotSpatial.Symbology.Forms.TabColorControl();
     this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
     this.sldSchemeOpacity = new DotSpatial.Symbology.Forms.RampSlider();
     this.btnAdd = new System.Windows.Forms.Button();
     this.btnDelete = new System.Windows.Forms.Button();
     this.colorNoData = new DotSpatial.Symbology.Forms.ColorButton();
     this.opacityNoData = new DotSpatial.Symbology.Forms.RampSlider();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.tabScheme.SuspendLayout();
     this.tabStatistics.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudSigFig)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStatistics)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudCategoryCount)).BeginInit();
     this.tabGraph.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudColumns)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvCategories)).BeginInit();
     this.grpHillshade.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // angLightDirection
     //
     this.angLightDirection.Angle = 45;
     this.angLightDirection.BackColor = System.Drawing.SystemColors.Control;
     resources.ApplyResources(this.angLightDirection, "angLightDirection");
     this.angLightDirection.Clockwise = true;
     this.angLightDirection.KnobColor = System.Drawing.Color.Green;
     this.angLightDirection.Name = "angLightDirection";
     this.angLightDirection.StartAngle = 90;
     this.ttHelp.SetToolTip(this.angLightDirection, resources.GetString("angLightDirection.ToolTip"));
     this.angLightDirection.AngleChanged += new System.EventHandler(this.angLightDirection_AngleChanged);
     //
     // dbxElevationFactor
     //
     this.dbxElevationFactor.BackColorInvalid = System.Drawing.Color.Salmon;
     this.dbxElevationFactor.BackColorRegular = System.Drawing.Color.Empty;
     resources.ApplyResources(this.dbxElevationFactor, "dbxElevationFactor");
     this.dbxElevationFactor.InvalidHelp = "The value entered could not be correctly parsed into a valid double precision flo" +
                                           "ating point value.";
     this.dbxElevationFactor.IsValid = true;
     this.dbxElevationFactor.Name = "dbxElevationFactor";
     this.dbxElevationFactor.NumberFormat = "E7";
     this.dbxElevationFactor.RegularHelp = "The Elevation Factor is a constant multiplier that converts the elevation unit (e" +
                                           "g. feet) into the projection units (eg. decimal degrees).";
     this.ttHelp.SetToolTip(this.dbxElevationFactor, resources.GetString("dbxElevationFactor.ToolTip"));
     this.dbxElevationFactor.Value = 0D;
     this.dbxElevationFactor.TextChanged += new System.EventHandler(this.dbxElevationFactor_TextChanged);
     //
     // btnQuick
     //
     resources.ApplyResources(this.btnQuick, "btnQuick");
     this.btnQuick.Name = "btnQuick";
     this.ttHelp.SetToolTip(this.btnQuick, resources.GetString("btnQuick.ToolTip"));
     this.btnQuick.UseVisualStyleBackColor = true;
     this.btnQuick.Click += new System.EventHandler(this.btnQuick_Click);
     //
     // btnRamp
     //
     resources.ApplyResources(this.btnRamp, "btnRamp");
     this.btnRamp.Name = "btnRamp";
     this.ttHelp.SetToolTip(this.btnRamp, resources.GetString("btnRamp.ToolTip"));
     this.btnRamp.UseVisualStyleBackColor = true;
     this.btnRamp.Click += new System.EventHandler(this.btnRamp_Click);
     //
     // cmdRefresh
     //
     resources.ApplyResources(this.cmdRefresh, "cmdRefresh");
     this.cmdRefresh.Name = "cmdRefresh";
     this.ttHelp.SetToolTip(this.cmdRefresh, resources.GetString("cmdRefresh.ToolTip"));
     this.cmdRefresh.UseVisualStyleBackColor = true;
     this.cmdRefresh.Click += new System.EventHandler(this.cmdRefresh_Click);
     //
     // tabScheme
     //
     this.tabScheme.Controls.Add(this.tabStatistics);
     this.tabScheme.Controls.Add(this.tabGraph);
     resources.ApplyResources(this.tabScheme, "tabScheme");
     this.tabScheme.Name = "tabScheme";
     this.tabScheme.SelectedIndex = 0;
     //
     // tabStatistics
     //
     this.tabStatistics.Controls.Add(this.dbxMax);
     this.tabStatistics.Controls.Add(this.dbxMin);
     this.tabStatistics.Controls.Add(this.nudSigFig);
     this.tabStatistics.Controls.Add(this.lblSigFig);
     this.tabStatistics.Controls.Add(this.label1);
     this.tabStatistics.Controls.Add(this.cmbIntervalSnapping);
     this.tabStatistics.Controls.Add(this.dgvStatistics);
     this.tabStatistics.Controls.Add(this.label2);
     this.tabStatistics.Controls.Add(this.cmbInterval);
     this.tabStatistics.Controls.Add(this.nudCategoryCount);
     this.tabStatistics.Controls.Add(this.lblBreaks);
     resources.ApplyResources(this.tabStatistics, "tabStatistics");
     this.tabStatistics.Name = "tabStatistics";
     this.tabStatistics.UseVisualStyleBackColor = true;
     //
     // dbxMax
     //
     this.dbxMax.BackColorInvalid = System.Drawing.Color.Salmon;
     this.dbxMax.BackColorRegular = System.Drawing.Color.Empty;
     resources.ApplyResources(this.dbxMax, "dbxMax");
     this.dbxMax.InvalidHelp = "The value entered could not be correctly parsed into a valid double precision flo" +
                               "ating point value.";
     this.dbxMax.IsValid = true;
     this.dbxMax.Name = "dbxMax";
     this.dbxMax.NumberFormat = null;
     this.dbxMax.RegularHelp = "Enter a double precision floating point value.";
     this.dbxMax.Value = 1000000D;
     this.dbxMax.TextChanged += new System.EventHandler(this.dbxMax_TextChanged);
     //
     // dbxMin
     //
     this.dbxMin.BackColorInvalid = System.Drawing.Color.Salmon;
     this.dbxMin.BackColorRegular = System.Drawing.Color.Empty;
     resources.ApplyResources(this.dbxMin, "dbxMin");
     this.dbxMin.InvalidHelp = "The value entered could not be correctly parsed into a valid double precision flo" +
                               "ating point value.";
     this.dbxMin.IsValid = true;
     this.dbxMin.Name = "dbxMin";
     this.dbxMin.NumberFormat = null;
     this.dbxMin.RegularHelp = "Enter a double precision floating point value.";
     this.dbxMin.Value = -100000D;
     this.dbxMin.TextChanged += new System.EventHandler(this.dbxMin_TextChanged);
     //
     // nudSigFig
     //
     resources.ApplyResources(this.nudSigFig, "nudSigFig");
     this.nudSigFig.Maximum = new decimal(new int[] {
                                                        16,
                                                        0,
                                                        0,
                                                        0});
     this.nudSigFig.Name = "nudSigFig";
     this.nudSigFig.ValueChanged += new System.EventHandler(this.nudSigFig_ValueChanged);
     //
     // lblSigFig
     //
     resources.ApplyResources(this.lblSigFig, "lblSigFig");
     this.lblSigFig.Name = "lblSigFig";
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // cmbIntervalSnapping
     //
     this.cmbIntervalSnapping.FormattingEnabled = true;
     resources.ApplyResources(this.cmbIntervalSnapping, "cmbIntervalSnapping");
     this.cmbIntervalSnapping.Name = "cmbIntervalSnapping";
     this.cmbIntervalSnapping.SelectedIndexChanged += new System.EventHandler(this.cmbIntervalSnapping_SelectedIndexChanged);
     //
     // dgvStatistics
     //
     this.dgvStatistics.AllowUserToAddRows = false;
     this.dgvStatistics.AllowUserToDeleteRows = false;
     dataGridViewCellStyle1.BackColor = System.Drawing.Color.AntiqueWhite;
     this.dgvStatistics.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
     this.dgvStatistics.BackgroundColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
     dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvStatistics.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
     this.dgvStatistics.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvStatistics.ColumnHeadersVisible = false;
     this.dgvStatistics.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
                                                                                           this.stat,
                                                                                           this.value});
     resources.ApplyResources(this.dgvStatistics, "dgvStatistics");
     this.dgvStatistics.Name = "dgvStatistics";
     this.dgvStatistics.RowHeadersVisible = false;
     this.dgvStatistics.ShowCellErrors = false;
     //
     // Stat
     //
     resources.ApplyResources(this.stat, "Stat");
     this.stat.Name = "Stat";
     //
     // Value
     //
     this.value.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     resources.ApplyResources(this.value, "Value");
     this.value.Name = "Value";
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // cmbInterval
     //
     this.cmbInterval.FormattingEnabled = true;
     this.cmbInterval.Items.AddRange(new object[] {
                                                      resources.GetString("cmbInterval.Items"),
                                                      resources.GetString("cmbInterval.Items1"),
                                                      resources.GetString("cmbInterval.Items2")});
     resources.ApplyResources(this.cmbInterval, "cmbInterval");
     this.cmbInterval.Name = "cmbInterval";
     this.cmbInterval.SelectedIndexChanged += new System.EventHandler(this.cmbInterval_SelectedIndexChanged);
     //
     // nudCategoryCount
     //
     resources.ApplyResources(this.nudCategoryCount, "nudCategoryCount");
     this.nudCategoryCount.Name = "nudCategoryCount";
     this.nudCategoryCount.Value = new decimal(new int[] {
                                                             5,
                                                             0,
                                                             0,
                                                             0});
     this.nudCategoryCount.ValueChanged += new System.EventHandler(this.nudCategoryCount_ValueChanged);
     //
     // lblBreaks
     //
     resources.ApplyResources(this.lblBreaks, "lblBreaks");
     this.lblBreaks.Name = "lblBreaks";
     //
     // tabGraph
     //
     this.tabGraph.Controls.Add(this.lblColumns);
     this.tabGraph.Controls.Add(this.nudColumns);
     this.tabGraph.Controls.Add(this.chkLog);
     this.tabGraph.Controls.Add(this.chkShowStd);
     this.tabGraph.Controls.Add(this.chkShowMean);
     this.tabGraph.Controls.Add(this.breakSliderGraph1);
     resources.ApplyResources(this.tabGraph, "tabGraph");
     this.tabGraph.Name = "tabGraph";
     this.tabGraph.UseVisualStyleBackColor = true;
     //
     // lblColumns
     //
     resources.ApplyResources(this.lblColumns, "lblColumns");
     this.lblColumns.Name = "lblColumns";
     //
     // nudColumns
     //
     this.nudColumns.Increment = new decimal(new int[] {
                                                           10,
                                                           0,
                                                           0,
                                                           0});
     resources.ApplyResources(this.nudColumns, "nudColumns");
     this.nudColumns.Maximum = new decimal(new int[] {
                                                         1000,
                                                         0,
                                                         0,
                                                         0});
     this.nudColumns.Minimum = new decimal(new int[] {
                                                         10,
                                                         0,
                                                         0,
                                                         0});
     this.nudColumns.Name = "nudColumns";
     this.nudColumns.Value = new decimal(new int[] {
                                                       40,
                                                       0,
                                                       0,
                                                       0});
     this.nudColumns.ValueChanged += new System.EventHandler(this.nudColumns_ValueChanged);
     //
     // chkLog
     //
     resources.ApplyResources(this.chkLog, "chkLog");
     this.chkLog.Name = "chkLog";
     this.chkLog.UseVisualStyleBackColor = true;
     this.chkLog.CheckedChanged += new System.EventHandler(this.chkLog_CheckedChanged);
     //
     // chkShowStd
     //
     resources.ApplyResources(this.chkShowStd, "chkShowStd");
     this.chkShowStd.Name = "chkShowStd";
     this.chkShowStd.UseVisualStyleBackColor = true;
     this.chkShowStd.CheckedChanged += new System.EventHandler(this.chkShowStd_CheckedChanged);
     //
     // chkShowMean
     //
     resources.ApplyResources(this.chkShowMean, "chkShowMean");
     this.chkShowMean.Name = "chkShowMean";
     this.chkShowMean.UseVisualStyleBackColor = true;
     this.chkShowMean.CheckedChanged += new System.EventHandler(this.chkShowMean_CheckedChanged);
     //
     // breakSliderGraph1
     //
     this.breakSliderGraph1.AttributeSource = null;
     this.breakSliderGraph1.BackColor = System.Drawing.Color.White;
     this.breakSliderGraph1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.breakSliderGraph1.BreakColor = System.Drawing.Color.Blue;
     this.breakSliderGraph1.BreakSelectedColor = System.Drawing.Color.Red;
     this.breakSliderGraph1.FontColor = System.Drawing.Color.Black;
     this.breakSliderGraph1.IntervalMethod = DotSpatial.Symbology.IntervalMethod.EqualInterval;
     resources.ApplyResources(this.breakSliderGraph1, "breakSliderGraph1");
     this.breakSliderGraph1.LogY = false;
     this.breakSliderGraph1.MaximumSampleSize = 10000;
     this.breakSliderGraph1.MinHeight = 20;
     this.breakSliderGraph1.Name = "breakSliderGraph1";
     this.breakSliderGraph1.NumColumns = 40;
     this.breakSliderGraph1.RasterLayer = null;
     this.breakSliderGraph1.Scheme = null;
     this.breakSliderGraph1.ShowMean = false;
     this.breakSliderGraph1.ShowStandardDeviation = false;
     this.breakSliderGraph1.Title = "Statistical Breaks:";
     this.breakSliderGraph1.TitleColor = System.Drawing.Color.Black;
     this.breakSliderGraph1.TitleFont = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
     this.breakSliderGraph1.SliderMoved += new System.EventHandler<DotSpatial.Symbology.Forms.BreakSliderEventArgs>(this.breakSliderGraph1_SliderMoved);
     //
     // dgvCategories
     //
     this.dgvCategories.AllowUserToAddRows = false;
     this.dgvCategories.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dgvCategories.BackgroundColor = System.Drawing.SystemColors.Window;
     this.dgvCategories.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvCategories.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
                                                                                           this.colSymbol,
                                                                                           this.colValues,
                                                                                           this.colLegendText,
                                                                                           this.colCount});
     resources.ApplyResources(this.dgvCategories, "dgvCategories");
     this.dgvCategories.MultiSelect = false;
     this.dgvCategories.Name = "dgvCategories";
     this.dgvCategories.RowHeadersVisible = false;
     this.dgvCategories.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     //
     // colSymbol
     //
     this.colSymbol.FillWeight = 49.97129F;
     resources.ApplyResources(this.colSymbol, "colSymbol");
     this.colSymbol.Name = "colSymbol";
     this.colSymbol.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     //
     // colValues
     //
     this.colValues.FillWeight = 142.132F;
     resources.ApplyResources(this.colValues, "colValues");
     this.colValues.Name = "colValues";
     this.colValues.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // colLegendText
     //
     this.colLegendText.FillWeight = 157.008F;
     resources.ApplyResources(this.colLegendText, "colLegendText");
     this.colLegendText.Name = "colLegendText";
     //
     // colCount
     //
     this.colCount.FillWeight = 50.88878F;
     resources.ApplyResources(this.colCount, "colCount");
     this.colCount.Name = "colCount";
     this.colCount.ReadOnly = true;
     this.colCount.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     //
     // chkHillshade
     //
     resources.ApplyResources(this.chkHillshade, "chkHillshade");
     this.chkHillshade.Name = "chkHillshade";
     this.chkHillshade.UseVisualStyleBackColor = true;
     this.chkHillshade.CheckedChanged += new System.EventHandler(this.chkHillshade_CheckedChanged);
     //
     // btnShadedRelief
     //
     resources.ApplyResources(this.btnShadedRelief, "btnShadedRelief");
     this.btnShadedRelief.Name = "btnShadedRelief";
     this.btnShadedRelief.UseVisualStyleBackColor = true;
     this.btnShadedRelief.Click += new System.EventHandler(this.btnShadedRelief_Click);
     //
     // grpHillshade
     //
     this.grpHillshade.Controls.Add(this.btnShadedRelief);
     this.grpHillshade.Controls.Add(this.btnElevation);
     this.grpHillshade.Controls.Add(this.dbxElevationFactor);
     this.grpHillshade.Controls.Add(this.angLightDirection);
     this.grpHillshade.Controls.Add(this.chkHillshade);
     resources.ApplyResources(this.grpHillshade, "grpHillshade");
     this.grpHillshade.Name = "grpHillshade";
     this.grpHillshade.TabStop = false;
     //
     // btnElevation
     //
     this.btnElevation.Image = global::DotSpatial.Symbology.Forms.SymbologyFormsImages.ArrowDownGreen;
     resources.ApplyResources(this.btnElevation, "btnElevation");
     this.btnElevation.Name = "btnElevation";
     this.btnElevation.UseVisualStyleBackColor = true;
     this.btnElevation.Click += new System.EventHandler(this.btnElevation_Click);
     //
     // mwProgressBar1
     //
     this.mwProgressBar1.FontColor = System.Drawing.Color.Black;
     resources.ApplyResources(this.mwProgressBar1, "mwProgressBar1");
     this.mwProgressBar1.Name = "mwProgressBar1";
     this.mwProgressBar1.ShowMessage = true;
     //
     // tccColorRange
     //
     this.tccColorRange.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tccColorRange.HueShift = 0;
     resources.ApplyResources(this.tccColorRange, "tccColorRange");
     this.tccColorRange.Name = "tccColorRange";
     this.tccColorRange.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tccColorRange.UseRangeChecked = true;
     this.tccColorRange.ColorChanged += new System.EventHandler<DotSpatial.Symbology.Forms.ColorRangeEventArgs>(this.tccColorRange_ColorChanged);
     //
     // dataGridViewImageColumn1
     //
     this.dataGridViewImageColumn1.FillWeight = 76.14214F;
     resources.ApplyResources(this.dataGridViewImageColumn1, "dataGridViewImageColumn1");
     this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
     this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewImageColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
     //
     // sldSchemeOpacity
     //
     this.sldSchemeOpacity.ColorButton = null;
     this.sldSchemeOpacity.FlipRamp = false;
     this.sldSchemeOpacity.FlipText = false;
     resources.ApplyResources(this.sldSchemeOpacity, "sldSchemeOpacity");
     this.sldSchemeOpacity.InvertRamp = false;
     this.sldSchemeOpacity.Maximum = 1D;
     this.sldSchemeOpacity.MaximumColor = System.Drawing.Color.Green;
     this.sldSchemeOpacity.Minimum = 0D;
     this.sldSchemeOpacity.MinimumColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.sldSchemeOpacity.Name = "sldSchemeOpacity";
     this.sldSchemeOpacity.NumberFormat = "#.00";
     this.sldSchemeOpacity.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.sldSchemeOpacity.RampRadius = 9F;
     this.sldSchemeOpacity.RampText = "Opacity";
     this.sldSchemeOpacity.RampTextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     this.sldSchemeOpacity.RampTextBehindRamp = true;
     this.sldSchemeOpacity.RampTextColor = System.Drawing.Color.Black;
     this.sldSchemeOpacity.RampTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.sldSchemeOpacity.ShowMaximum = false;
     this.sldSchemeOpacity.ShowMinimum = false;
     this.sldSchemeOpacity.ShowTicks = false;
     this.sldSchemeOpacity.ShowValue = false;
     this.sldSchemeOpacity.SliderColor = System.Drawing.Color.Blue;
     this.sldSchemeOpacity.SliderRadius = 4F;
     this.sldSchemeOpacity.TickColor = System.Drawing.Color.DarkGray;
     this.sldSchemeOpacity.TickSpacing = 5F;
     this.sldSchemeOpacity.Value = 1D;
     this.sldSchemeOpacity.ValueChanged += new System.EventHandler(this.sldSchemeOpacity_ValueChanged);
     //
     // btnAdd
     //
     this.btnAdd.Image = global::DotSpatial.Symbology.Forms.SymbologyFormsImages.add;
     resources.ApplyResources(this.btnAdd, "btnAdd");
     this.btnAdd.Name = "btnAdd";
     this.btnAdd.UseVisualStyleBackColor = true;
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // btnDelete
     //
     this.btnDelete.Image = global::DotSpatial.Symbology.Forms.SymbologyFormsImages.delete;
     resources.ApplyResources(this.btnDelete, "btnDelete");
     this.btnDelete.Name = "btnDelete";
     this.btnDelete.UseVisualStyleBackColor = true;
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // colorNoData
     //
     this.colorNoData.BevelRadius = 0;
     this.colorNoData.Color = System.Drawing.Color.Transparent;
     this.colorNoData.LaunchDialogOnClick = true;
     resources.ApplyResources(this.colorNoData, "colorNoData");
     this.colorNoData.Name = "colorNoData";
     this.colorNoData.RoundingRadius = 3;
     this.colorNoData.ColorChanged += new System.EventHandler(this.colorNoData_ColorChanged);
     //
     // opacityNoData
     //
     this.opacityNoData.ColorButton = this.colorNoData;
     this.opacityNoData.FlipRamp = false;
     this.opacityNoData.FlipText = false;
     this.opacityNoData.InvertRamp = false;
     resources.ApplyResources(this.opacityNoData, "opacityNoData");
     this.opacityNoData.Maximum = 1D;
     this.opacityNoData.MaximumColor = System.Drawing.Color.Green;
     this.opacityNoData.Minimum = 0D;
     this.opacityNoData.MinimumColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.opacityNoData.Name = "opacityNoData";
     this.opacityNoData.NumberFormat = "#.00";
     this.opacityNoData.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.opacityNoData.RampRadius = 10F;
     this.opacityNoData.RampText = "Opacity";
     this.opacityNoData.RampTextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     this.opacityNoData.RampTextBehindRamp = true;
     this.opacityNoData.RampTextColor = System.Drawing.Color.Black;
     this.opacityNoData.RampTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.opacityNoData.ShowMaximum = false;
     this.opacityNoData.ShowMinimum = false;
     this.opacityNoData.ShowTicks = false;
     this.opacityNoData.ShowValue = false;
     this.opacityNoData.SliderColor = System.Drawing.Color.Blue;
     this.opacityNoData.SliderRadius = 4F;
     this.opacityNoData.TickColor = System.Drawing.Color.DarkGray;
     this.opacityNoData.TickSpacing = 5F;
     this.opacityNoData.Value = 0D;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.opacityNoData);
     this.groupBox1.Controls.Add(this.colorNoData);
     resources.ApplyResources(this.groupBox1, "groupBox1");
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.TabStop = false;
     //
     // RasterCategoryControl
     //
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.sldSchemeOpacity);
     this.Controls.Add(this.grpHillshade);
     this.Controls.Add(this.mwProgressBar1);
     this.Controls.Add(this.btnQuick);
     this.Controls.Add(this.tccColorRange);
     this.Controls.Add(this.tabScheme);
     this.Controls.Add(this.dgvCategories);
     this.Controls.Add(this.btnDelete);
     this.Controls.Add(this.btnAdd);
     this.Controls.Add(this.btnRamp);
     this.Controls.Add(this.cmdRefresh);
     this.Name = "RasterCategoryControl";
     resources.ApplyResources(this, "$this");
     this.tabScheme.ResumeLayout(false);
     this.tabStatistics.ResumeLayout(false);
     this.tabStatistics.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudSigFig)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvStatistics)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nudCategoryCount)).EndInit();
     this.tabGraph.ResumeLayout(false);
     this.tabGraph.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nudColumns)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvCategories)).EndInit();
     this.grpHillshade.ResumeLayout(false);
     this.grpHillshade.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #4
0
ファイル: TabColorDialog.cs プロジェクト: vahidarr/DotSpatial
        /// <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(TabColorDialog));

            this.panel1           = new Panel();
            this.btnApply         = new Button();
            this.btnCancel        = new Button();
            this.cmdOk            = new Button();
            this.tabColorControl1 = new TabColorControl();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            //
            // panel1
            //
            this.panel1.AccessibleDescription = null;
            this.panel1.AccessibleName        = null;
            resources.ApplyResources(this.panel1, "panel1");
            this.panel1.BackgroundImage = null;
            this.panel1.Controls.Add(this.btnApply);
            this.panel1.Controls.Add(this.btnCancel);
            this.panel1.Controls.Add(this.cmdOk);
            this.panel1.Font = null;
            this.panel1.Name = "panel1";
            //
            // btnApply
            //
            this.btnApply.AccessibleDescription = null;
            this.btnApply.AccessibleName        = null;
            resources.ApplyResources(this.btnApply, "btnApply");
            this.btnApply.BackgroundImage         = null;
            this.btnApply.Font                    = null;
            this.btnApply.Name                    = "btnApply";
            this.btnApply.UseVisualStyleBackColor = true;
            this.btnApply.Click                  += new EventHandler(this.btnApply_Click);
            //
            // btnCancel
            //
            this.btnCancel.AccessibleDescription = null;
            this.btnCancel.AccessibleName        = null;
            resources.ApplyResources(this.btnCancel, "btnCancel");
            this.btnCancel.BackgroundImage = null;
            //this.btnCancel.DialogResult = DialogResult.Cancel;
            this.btnCancel.Font = null;
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
            //
            // cmdOk
            //
            this.cmdOk.AccessibleDescription = null;
            this.cmdOk.AccessibleName        = null;
            resources.ApplyResources(this.cmdOk, "cmdOk");
            this.cmdOk.BackgroundImage = null;
            //this.cmdOk.DialogResult = DialogResult.OK;
            this.cmdOk.Font = null;
            this.cmdOk.Name = "cmdOk";
            this.cmdOk.UseVisualStyleBackColor = true;
            this.cmdOk.Click += new EventHandler(this.cmdOk_Click);
            //
            // tabColorControl1
            //
            this.tabColorControl1.AccessibleDescription = null;
            this.tabColorControl1.AccessibleName        = null;
            resources.ApplyResources(this.tabColorControl1, "tabColorControl1");
            this.tabColorControl1.BackgroundImage = null;
            this.tabColorControl1.EndColor        = Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.tabColorControl1.Font            = null;
            this.tabColorControl1.HueShift        = 0;
            this.tabColorControl1.Name            = "tabColorControl1";
            this.tabColorControl1.StartColor      = Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.tabColorControl1.UseRangeChecked = true;
            //
            // TabColorDialog
            //
            this.AccessibleDescription = null;
            this.AccessibleName        = null;
            resources.ApplyResources(this, "$this");

            this.BackgroundImage = null;
            this.Controls.Add(this.tabColorControl1);
            this.Controls.Add(this.panel1);
            this.Font          = null;
            this.Icon          = null;
            this.Name          = "TabColorDialog";
            this.ShowIcon      = false;
            this.ShowInTaskbar = false;
            this.panel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }