using System; using System.Collections.Generic; using System.Windows.Forms; namespace TradeIdeas.TIProGUI.Charting { partial class IndicatorColorChooser { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.tabControl = new TabControl(); this.buttonCancel = new Button(); this.buttonOk = new Button(); this.tabControl.SuspendLayout(); this.SuspendLayout(); // // tabControl1 // this.tabControl.Location = new System.Drawing.Point(0, 0); this.tabControl.Name = "tabControl"; this.tabControl.SelectedIndex = 0; this.tabControl.Size = new System.Drawing.Size(502, 373); this.tabControl.TabIndex = 15; for (var i = 0; i < _totalTabs; i++) { // // radioButtonOneColor // var radioButtonOneColor = new RadioButton(); radioButtonOneColor.AutoSize = true; radioButtonOneColor.Location = new System.Drawing.Point(29, 36); radioButtonOneColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); radioButtonOneColor.Name = "radioButtonOneColor_" + i.ToString(); radioButtonOneColor.Size = new System.Drawing.Size(122, 21); radioButtonOneColor.TabIndex = 0; radioButtonOneColor.TabStop = true; radioButtonOneColor.Text = "Use One Color"; radioButtonOneColor.UseVisualStyleBackColor = true; radioButtonOneColor.CheckedChanged += new System.EventHandler(this.radioButtonOneColor_CheckedChanged); this.radioButtonOneColors.Add(radioButtonOneColor); // // radioButtonUpDownColors // var radioButtonUpDownColor = new RadioButton(); radioButtonUpDownColor.AutoSize = true; radioButtonUpDownColor.Location = new System.Drawing.Point(29, 126); radioButtonUpDownColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); radioButtonUpDownColor.Name = "radioButtonUpDownColor_" + i.ToString(); radioButtonUpDownColor.Size = new System.Drawing.Size(159, 21); radioButtonUpDownColor.TabIndex = 3; radioButtonUpDownColor.TabStop = true; radioButtonUpDownColor.Text = "Use Up/Down Colors"; radioButtonUpDownColor.UseVisualStyleBackColor = true; radioButtonUpDownColor.CheckedChanged += new System.EventHandler(this.radioButtonUpDownColors_CheckedChanged); this.radioButtonUpDownColors.Add(radioButtonUpDownColor); // // textBoxOneColor // var textBoxOneColor = new TextBox(); textBoxOneColor.BackColor = System.Drawing.Color.Fuchsia; textBoxOneColor.Enabled = false; textBoxOneColor.Location = new System.Drawing.Point(212, 34); textBoxOneColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); textBoxOneColor.Name = "textBoxOneColor_" + i.ToString(); textBoxOneColor.Size = new System.Drawing.Size(89, 22); textBoxOneColor.TabIndex = 1; this.textBoxOneColors.Add(textBoxOneColor); // // buttonSetOneColor // var buttonSetOneColor = new Button(); buttonSetOneColor.Location = new System.Drawing.Point(317, 31); buttonSetOneColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); buttonSetOneColor.Name = "buttonSetOneColor_" + i.ToString(); buttonSetOneColor.Size = new System.Drawing.Size(140, 28); buttonSetOneColor.TabIndex = 2; buttonSetOneColor.Text = "Set Color"; buttonSetOneColor.UseVisualStyleBackColor = true; buttonSetOneColor.Click += new System.EventHandler(this.buttonSetOneColor_Click); this.buttonSetOneColors.Add(buttonSetOneColor); // // buttonSetDownColor // var buttonSetDownColor = new Button(); buttonSetDownColor.Location = new System.Drawing.Point(317, 169); buttonSetDownColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); buttonSetDownColor.Name = "buttonSetDownColor_" + i.ToString(); buttonSetDownColor.Size = new System.Drawing.Size(140, 28); buttonSetDownColor.TabIndex = 7; buttonSetDownColor.Text = "Set Down Color"; buttonSetDownColor.UseVisualStyleBackColor = true; buttonSetDownColor.Click += new System.EventHandler(this.buttonSetDownColor_Click); this.buttonSetDownColors.Add(buttonSetDownColor); // // textBoxDownColor // var textBoxDownColor = new TextBox(); textBoxDownColor.BackColor = System.Drawing.Color.Red; textBoxDownColor.Enabled = false; textBoxDownColor.Location = new System.Drawing.Point(212, 172); textBoxDownColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); textBoxDownColor.Name = "textBoxDownColor_" + i.ToString(); textBoxDownColor.Size = new System.Drawing.Size(89, 22); textBoxDownColor.TabIndex = 6; this.textBoxDownColors.Add(textBoxDownColor); // // buttonSetUpColor // var buttonSetUpColor = new Button(); buttonSetUpColor.Location = new System.Drawing.Point(317, 119); buttonSetUpColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); buttonSetUpColor.Name = "buttonSetUpColor_" + i.ToString(); buttonSetUpColor.Size = new System.Drawing.Size(140, 28); buttonSetUpColor.TabIndex = 5; buttonSetUpColor.Text = "Set Up Color"; buttonSetUpColor.UseVisualStyleBackColor = true; buttonSetUpColor.Click += new System.EventHandler(this.buttonSetUpColor_Click); this.buttonSetUpColors.Add(buttonSetUpColor); // // textBoxUpColor // var textBoxUpColor = new TextBox(); textBoxUpColor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); textBoxUpColor.Enabled = false; textBoxUpColor.Location = new System.Drawing.Point(212, 124); textBoxUpColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); textBoxUpColor.Name = "textBoxUpColor_" + i.ToString(); textBoxUpColor.Size = new System.Drawing.Size(89, 22); textBoxUpColor.TabIndex = 4; this.textBoxUpColors.Add(textBoxUpColor); // // radioButtonGradient // var radioButtonGradient = new RadioButton(); radioButtonGradient.AutoSize = true; radioButtonGradient.Location = new System.Drawing.Point(29, 234); radioButtonGradient.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); radioButtonGradient.Name = "radioButtonGradient_" + i.ToString(); radioButtonGradient.Size = new System.Drawing.Size(113, 21); radioButtonGradient.TabIndex = 8; radioButtonGradient.TabStop = true; radioButtonGradient.Text = "Use Gradient"; radioButtonGradient.UseVisualStyleBackColor = true; this.radioButtonGradients.Add(radioButtonGradient); // // buttonSetTopColor // var buttonSetTopColor = new Button(); buttonSetTopColor.Location = new System.Drawing.Point(317, 230); buttonSetTopColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); buttonSetTopColor.Name = "buttonSetTopColor_" + i.ToString(); buttonSetTopColor.Size = new System.Drawing.Size(140, 28); buttonSetTopColor.TabIndex = 10; buttonSetTopColor.Text = "Set Top Color"; buttonSetTopColor.UseVisualStyleBackColor = true; buttonSetTopColor.Click += new System.EventHandler(buttonSetTopColor_Click); this.buttonSetTopColors.Add(buttonSetTopColor); // // textBoxTopColor // var textBoxTopColor = new TextBox(); textBoxTopColor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); textBoxTopColor.Location = new System.Drawing.Point(212, 234); textBoxTopColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); textBoxTopColor.Name = "textBoxTopColor_" + i.ToString(); textBoxTopColor.Size = new System.Drawing.Size(89, 22); textBoxTopColor.TabIndex = 9; textBoxTopColor.Text = "100"; this.textBoxTopColors.Add(textBoxTopColor); // // buttonSetBottomColor // var buttonSetBottomColor = new Button(); buttonSetBottomColor.Location = new System.Drawing.Point(317, 278); buttonSetBottomColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); buttonSetBottomColor.Name = "buttonSetBottomColor_" + i.ToString(); buttonSetBottomColor.Size = new System.Drawing.Size(140, 28); buttonSetBottomColor.TabIndex = 12; buttonSetBottomColor.Text = "Set Bottom Color"; buttonSetBottomColor.UseVisualStyleBackColor = true; buttonSetBottomColor.Click += new System.EventHandler(button2_Click); this.buttonSetBottomColors.Add(buttonSetBottomColor); // // textBoxBottomColor // var textBoxBottomColor = new TextBox(); textBoxBottomColor.BackColor = System.Drawing.Color.White; textBoxBottomColor.Location = new System.Drawing.Point(212, 282); textBoxBottomColor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); textBoxBottomColor.Name = "textBoxBottomColor_" + i.ToString(); textBoxBottomColor.Size = new System.Drawing.Size(89, 22); textBoxBottomColor.TabIndex = 11; textBoxBottomColor.Text = "0"; this.textBoxBottomColors.Add(textBoxBottomColor); // // tabPage1 // var tabPage = new TabPage(); tabPage.Location = new System.Drawing.Point(4, 25); tabPage.Name = "tabPage_" + i.ToString(); tabPage.Padding = new System.Windows.Forms.Padding(3); tabPage.Size = new System.Drawing.Size(494, 344); tabPage.TabIndex = 0; tabPage.UseVisualStyleBackColor = true; if (_totalTabs == 1) { tabPage.Text = ""; } else { //Harcode MACD for now if (i == 0) { tabPage.Text = "MACD Line"; } else if (i == 1) { tabPage.Text = "MACD Signal"; } else { tabPage.Text = "MACD Histogram"; } } tabPage.Controls.Add(buttonSetTopColor); tabPage.Controls.Add(textBoxTopColor); tabPage.Controls.Add(buttonSetBottomColor); tabPage.Controls.Add(textBoxBottomColor); tabPage.Controls.Add(radioButtonGradient); tabPage.Controls.Add(buttonSetUpColor); tabPage.Controls.Add(textBoxUpColor); tabPage.Controls.Add(buttonSetDownColor); tabPage.Controls.Add(textBoxDownColor); tabPage.Controls.Add(buttonSetOneColor); tabPage.Controls.Add(textBoxOneColor); tabPage.Controls.Add(radioButtonUpDownColor); tabPage.Controls.Add(radioButtonOneColor); this.tabPages.Add(tabPage); this.tabControl.Controls.Add(tabPage); } // // buttonCancel // this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonCancel.Location = new System.Drawing.Point(411, 379); this.buttonCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(80, 32); this.buttonCancel.TabIndex = 14; this.buttonCancel.Text = "Cancel"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); // // buttonOk // this.buttonOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonOk.Location = new System.Drawing.Point(316, 379); this.buttonOk.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.buttonOk.Name = "buttonOk"; this.buttonOk.Size = new System.Drawing.Size(80, 32); this.buttonOk.TabIndex = 13; this.buttonOk.Text = "OK"; this.buttonOk.UseVisualStyleBackColor = true; this.buttonOk.Click += new System.EventHandler(this.buttonOk_Click); // // IndicatorColorChooser // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(501, 420); this.Controls.Add(this.tabControl); this.Controls.Add(this.buttonOk); this.Controls.Add(this.buttonCancel); this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.Name = "IndicatorColorChooser"; this.Text = "Indicator Color Chooser"; this.tabControl.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); } #endregion private List radioButtonOneColors = new List(); private List radioButtonUpDownColors = new List(); private List textBoxOneColors = new List(); private List