Beispiel #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components      = new System.ComponentModel.Container();
     this._majorStyle     = new Altaxo.Gui.Common.Drawing.ColorTypeThicknessPenControl();
     this._minorStyle     = new Altaxo.Gui.Common.Drawing.ColorTypeThicknessPenControl();
     this._cbEnable       = new System.Windows.Forms.CheckBox();
     this._cbShowMinor    = new System.Windows.Forms.CheckBox();
     this._cbShowZeroOnly = new System.Windows.Forms.CheckBox();
     this._tableLayout    = new System.Windows.Forms.TableLayoutPanel();
     this._tableLayout.SuspendLayout();
     this.SuspendLayout();
     //
     // _majorStyle
     //
     this._majorStyle.AutoSize     = true;
     this._majorStyle.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._majorStyle.ColorType    = Altaxo.Graph.ColorType.KnownAndSystemColor;
     this._majorStyle.Controller   = null;
     this._majorStyle.DocPen       = null;
     this._majorStyle.Location     = new System.Drawing.Point(3, 49);
     this._majorStyle.Name         = "_majorStyle";
     this._majorStyle.Size         = new System.Drawing.Size(198, 87);
     this._majorStyle.TabIndex     = 0;
     //
     // _minorStyle
     //
     this._minorStyle.AutoSize     = true;
     this._minorStyle.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._minorStyle.ColorType    = Altaxo.Graph.ColorType.KnownAndSystemColor;
     this._minorStyle.Controller   = null;
     this._minorStyle.DocPen       = null;
     this._minorStyle.Location     = new System.Drawing.Point(207, 49);
     this._minorStyle.Name         = "_minorStyle";
     this._minorStyle.Size         = new System.Drawing.Size(198, 87);
     this._minorStyle.TabIndex     = 1;
     //
     // _cbEnable
     //
     this._cbEnable.AutoSize        = true;
     this._cbEnable.Location        = new System.Drawing.Point(3, 3);
     this._cbEnable.Name            = "_cbEnable";
     this._cbEnable.Size            = new System.Drawing.Size(59, 17);
     this._cbEnable.TabIndex        = 2;
     this._cbEnable.Text            = "Enable";
     this._cbEnable.CheckedChanged += new System.EventHandler(this._cbEnable_CheckedChanged);
     //
     // _cbShowMinor
     //
     this._cbShowMinor.AutoSize        = true;
     this._cbShowMinor.Location        = new System.Drawing.Point(207, 26);
     this._cbShowMinor.Name            = "_cbShowMinor";
     this._cbShowMinor.Size            = new System.Drawing.Size(101, 17);
     this._cbShowMinor.TabIndex        = 3;
     this._cbShowMinor.Text            = "Show minor grid";
     this._cbShowMinor.CheckedChanged += new System.EventHandler(this._cbShowMinor_CheckedChanged);
     //
     // _cbShowZeroOnly
     //
     this._cbShowZeroOnly.AutoSize        = true;
     this._cbShowZeroOnly.Location        = new System.Drawing.Point(3, 26);
     this._cbShowZeroOnly.Name            = "_cbShowZeroOnly";
     this._cbShowZeroOnly.Size            = new System.Drawing.Size(81, 17);
     this._cbShowZeroOnly.TabIndex        = 4;
     this._cbShowZeroOnly.Text            = "At zero only";
     this._cbShowZeroOnly.CheckedChanged += new System.EventHandler(this._cbShowZeroOnly_CheckedChanged);
     //
     // _tableLayout
     //
     this._tableLayout.AutoSize     = true;
     this._tableLayout.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._tableLayout.ColumnCount  = 2;
     this._tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this._tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this._tableLayout.Controls.Add(this._majorStyle, 0, 2);
     this._tableLayout.Controls.Add(this._cbEnable, 0, 0);
     this._tableLayout.Controls.Add(this._cbShowMinor, 1, 1);
     this._tableLayout.Controls.Add(this._minorStyle, 1, 2);
     this._tableLayout.Controls.Add(this._cbShowZeroOnly, 0, 1);
     this._tableLayout.Location = new System.Drawing.Point(0, 3);
     this._tableLayout.Name     = "_tableLayout";
     this._tableLayout.RowCount = 3;
     this._tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this._tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this._tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this._tableLayout.Size     = new System.Drawing.Size(408, 139);
     this._tableLayout.TabIndex = 5;
     //
     // XYGridStyleControl
     //
     this.AutoSize     = true;
     this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.Controls.Add(this._tableLayout);
     this.Name = "XYGridStyleControl";
     this.Size = new System.Drawing.Size(411, 145);
     this._tableLayout.ResumeLayout(false);
     this._tableLayout.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Beispiel #2
0
    /// <summary> 
    /// Required method for Designer support - do not modify 
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
      this.components = new System.ComponentModel.Container();
      this._majorStyle = new Altaxo.Gui.Common.Drawing.ColorTypeThicknessPenControl();
      this._minorStyle = new Altaxo.Gui.Common.Drawing.ColorTypeThicknessPenControl();
      this._cbEnable = new System.Windows.Forms.CheckBox();
      this._cbShowMinor = new System.Windows.Forms.CheckBox();
      this._cbShowZeroOnly = new System.Windows.Forms.CheckBox();
      this._tableLayout = new System.Windows.Forms.TableLayoutPanel();
      this._tableLayout.SuspendLayout();
      this.SuspendLayout();
      // 
      // _majorStyle
      // 
      this._majorStyle.AutoSize = true;
      this._majorStyle.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
      this._majorStyle.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor;
      this._majorStyle.Controller = null;
      this._majorStyle.DocPen = null;
      this._majorStyle.Location = new System.Drawing.Point(3, 49);
      this._majorStyle.Name = "_majorStyle";
      this._majorStyle.Size = new System.Drawing.Size(198, 87);
      this._majorStyle.TabIndex = 0;
      // 
      // _minorStyle
      // 
      this._minorStyle.AutoSize = true;
      this._minorStyle.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
      this._minorStyle.ColorType = Altaxo.Graph.ColorType.KnownAndSystemColor;
      this._minorStyle.Controller = null;
      this._minorStyle.DocPen = null;
      this._minorStyle.Location = new System.Drawing.Point(207, 49);
      this._minorStyle.Name = "_minorStyle";
      this._minorStyle.Size = new System.Drawing.Size(198, 87);
      this._minorStyle.TabIndex = 1;
      // 
      // _cbEnable
      // 
      this._cbEnable.AutoSize = true;
      this._cbEnable.Location = new System.Drawing.Point(3, 3);
      this._cbEnable.Name = "_cbEnable";
      this._cbEnable.Size = new System.Drawing.Size(59, 17);
      this._cbEnable.TabIndex = 2;
      this._cbEnable.Text = "Enable";
      this._cbEnable.CheckedChanged += new System.EventHandler(this._cbEnable_CheckedChanged);
      // 
      // _cbShowMinor
      // 
      this._cbShowMinor.AutoSize = true;
      this._cbShowMinor.Location = new System.Drawing.Point(207, 26);
      this._cbShowMinor.Name = "_cbShowMinor";
      this._cbShowMinor.Size = new System.Drawing.Size(101, 17);
      this._cbShowMinor.TabIndex = 3;
      this._cbShowMinor.Text = "Show minor grid";
      this._cbShowMinor.CheckedChanged += new System.EventHandler(this._cbShowMinor_CheckedChanged);
      // 
      // _cbShowZeroOnly
      // 
      this._cbShowZeroOnly.AutoSize = true;
      this._cbShowZeroOnly.Location = new System.Drawing.Point(3, 26);
      this._cbShowZeroOnly.Name = "_cbShowZeroOnly";
      this._cbShowZeroOnly.Size = new System.Drawing.Size(81, 17);
      this._cbShowZeroOnly.TabIndex = 4;
      this._cbShowZeroOnly.Text = "At zero only";
      this._cbShowZeroOnly.CheckedChanged += new System.EventHandler(this._cbShowZeroOnly_CheckedChanged);
      // 
      // _tableLayout
      // 
      this._tableLayout.AutoSize = true;
      this._tableLayout.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
      this._tableLayout.ColumnCount = 2;
      this._tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
      this._tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
      this._tableLayout.Controls.Add(this._majorStyle, 0, 2);
      this._tableLayout.Controls.Add(this._cbEnable, 0, 0);
      this._tableLayout.Controls.Add(this._cbShowMinor, 1, 1);
      this._tableLayout.Controls.Add(this._minorStyle, 1, 2);
      this._tableLayout.Controls.Add(this._cbShowZeroOnly, 0, 1);
      this._tableLayout.Location = new System.Drawing.Point(0, 3);
      this._tableLayout.Name = "_tableLayout";
      this._tableLayout.RowCount = 3;
      this._tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
      this._tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
      this._tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
      this._tableLayout.Size = new System.Drawing.Size(408, 139);
      this._tableLayout.TabIndex = 5;
      // 
      // XYGridStyleControl
      // 
      this.AutoSize = true;
      this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
      this.Controls.Add(this._tableLayout);
      this.Name = "XYGridStyleControl";
      this.Size = new System.Drawing.Size(411, 145);
      this._tableLayout.ResumeLayout(false);
      this._tableLayout.PerformLayout();
      this.ResumeLayout(false);
      this.PerformLayout();

    }