public frmColumnEditor(ExpandGrid grid) { this.InitializeComponent(); try { this.intza = grid; this.listBox1.Items.Clear(); this.listBox2.Items.Clear(); foreach (ColumnItem current in this.intza.Columns) { if (current.Visible) { this.listBox2.Items.Add(current.Text); } else { this.listBox1.Items.Add(current.Text); } } } catch (Exception ex) { throw ex; } }
private void InitializeComponent() { ColumnItem columnItem = new ColumnItem(); ColumnItem columnItem2 = new ColumnItem(); ColumnItem columnItem3 = new ColumnItem(); ColumnItem columnItem4 = new ColumnItem(); this.label9 = new Label(); this.cbDcaTiming2 = new ComboBox(); this.lb3Stock = new Label(); this.cbDcaStock = new ComboBox(); this.cbDcaTiming = new ComboBox(); this.lb3ToDate = new Label(); this.lb3StartDate = new Label(); this.lb3Timing = new Label(); this.dateTimePicker2 = new DateTimePicker(); this.tbDcaBudget = new TextBox(); this.dateTimePicker1 = new DateTimePicker(); this.lb3Budget = new Label(); this.gridDcaSimm = new ExpandGrid(); this.btnDcaSimlulate = new Button(); this.btnSendOrder = new Button(); this.tbPin = new TextBox(); this.lbPin = new Label(); this.btnPzClose = new Button(); base.SuspendLayout(); this.label9.AutoSize = true; this.label9.BackColor = Color.FromArgb(64, 64, 64); this.label9.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 222); this.label9.ForeColor = Color.LightGray; this.label9.Location = new Point(18, 9); this.label9.Name = "label9"; this.label9.Padding = new Padding(3); this.label9.Size = new Size(167, 19); this.label9.TabIndex = 133; this.label9.Tag = "-1"; this.label9.Text = "Create Dollar Cost Average"; this.label9.TextAlign = ContentAlignment.MiddleLeft; this.cbDcaTiming2.DropDownStyle = ComboBoxStyle.DropDownList; this.cbDcaTiming2.FormattingEnabled = true; this.cbDcaTiming2.Items.AddRange(new object[] { "Every Day", "Every Week", "Every Month" }); this.cbDcaTiming2.Location = new Point(90, 176); this.cbDcaTiming2.Name = "cbDcaTiming2"; this.cbDcaTiming2.Size = new Size(95, 21); this.cbDcaTiming2.TabIndex = 135; this.lb3Stock.AutoSize = true; this.lb3Stock.ForeColor = Color.LightGray; this.lb3Stock.Location = new Point(40, 49); this.lb3Stock.Margin = new Padding(2, 0, 2, 0); this.lb3Stock.Name = "lb3Stock"; this.lb3Stock.Size = new Size(41, 13); this.lb3Stock.TabIndex = 131; this.lb3Stock.Text = "Symbol"; this.lb3Stock.TextAlign = ContentAlignment.MiddleLeft; this.cbDcaStock.AutoCompleteMode = AutoCompleteMode.Suggest; this.cbDcaStock.AutoCompleteSource = AutoCompleteSource.ListItems; this.cbDcaStock.BackColor = Color.FromArgb(224, 224, 224); this.cbDcaStock.FlatStyle = FlatStyle.Popup; this.cbDcaStock.ForeColor = Color.Black; this.cbDcaStock.FormattingEnabled = true; this.cbDcaStock.Location = new Point(89, 46); this.cbDcaStock.MaxLength = 20; this.cbDcaStock.Name = "cbDcaStock"; this.cbDcaStock.Size = new Size(95, 21); this.cbDcaStock.TabIndex = 130; this.cbDcaStock.KeyPress += new KeyPressEventHandler(this.cbDcaStock_KeyPress); this.cbDcaStock.KeyDown += new KeyEventHandler(this.cbDcaStock_KeyDown); this.cbDcaTiming.DropDownStyle = ComboBoxStyle.DropDownList; this.cbDcaTiming.FormattingEnabled = true; this.cbDcaTiming.Items.AddRange(new object[] { "Every Day", "Every Week", "Every Month" }); this.cbDcaTiming.Location = new Point(90, 149); this.cbDcaTiming.Name = "cbDcaTiming"; this.cbDcaTiming.Size = new Size(95, 21); this.cbDcaTiming.TabIndex = 134; this.cbDcaTiming.SelectedIndexChanged += new EventHandler(this.cbDcaTiming_SelectedIndexChanged); this.lb3ToDate.AutoSize = true; this.lb3ToDate.ForeColor = Color.Gainsboro; this.lb3ToDate.Location = new Point(29, 103); this.lb3ToDate.Margin = new Padding(2, 0, 2, 0); this.lb3ToDate.Name = "lb3ToDate"; this.lb3ToDate.Size = new Size(52, 13); this.lb3ToDate.TabIndex = 120; this.lb3ToDate.Text = "End Date"; this.lb3ToDate.TextAlign = ContentAlignment.MiddleLeft; this.lb3StartDate.AutoSize = true; this.lb3StartDate.ForeColor = Color.Gainsboro; this.lb3StartDate.Location = new Point(26, 77); this.lb3StartDate.Margin = new Padding(2, 0, 2, 0); this.lb3StartDate.Name = "lb3StartDate"; this.lb3StartDate.Size = new Size(55, 13); this.lb3StartDate.TabIndex = 109; this.lb3StartDate.Text = "Start Date"; this.lb3StartDate.TextAlign = ContentAlignment.MiddleLeft; this.lb3Timing.AutoSize = true; this.lb3Timing.ForeColor = Color.LightGray; this.lb3Timing.Location = new Point(43, 153); this.lb3Timing.Margin = new Padding(2, 0, 2, 0); this.lb3Timing.Name = "lb3Timing"; this.lb3Timing.Size = new Size(38, 13); this.lb3Timing.TabIndex = 127; this.lb3Timing.Text = "Timing"; this.lb3Timing.TextAlign = ContentAlignment.MiddleLeft; this.dateTimePicker2.Format = DateTimePickerFormat.Short; this.dateTimePicker2.Location = new Point(89, 99); this.dateTimePicker2.MaxDate = new DateTime(2020, 12, 31, 0, 0, 0, 0); this.dateTimePicker2.MinDate = new DateTime(2015, 1, 1, 0, 0, 0, 0); this.dateTimePicker2.Name = "dateTimePicker2"; this.dateTimePicker2.Size = new Size(95, 20); this.dateTimePicker2.TabIndex = 132; this.tbDcaBudget.BackColor = Color.FromArgb(224, 224, 224); this.tbDcaBudget.BorderStyle = BorderStyle.FixedSingle; this.tbDcaBudget.Location = new Point(90, 123); this.tbDcaBudget.Margin = new Padding(2, 3, 2, 3); this.tbDcaBudget.MaxLength = 10; this.tbDcaBudget.Name = "tbDcaBudget"; this.tbDcaBudget.Size = new Size(95, 20); this.tbDcaBudget.TabIndex = 133; this.tbDcaBudget.TextChanged += new EventHandler(this.tbDcaBudget_TextChanged); this.tbDcaBudget.KeyDown += new KeyEventHandler(this.tbDcaBudget_KeyDown); this.dateTimePicker1.Format = DateTimePickerFormat.Short; this.dateTimePicker1.Location = new Point(90, 73); this.dateTimePicker1.MaxDate = new DateTime(2020, 12, 31, 0, 0, 0, 0); this.dateTimePicker1.MinDate = new DateTime(2015, 1, 1, 0, 0, 0, 0); this.dateTimePicker1.Name = "dateTimePicker1"; this.dateTimePicker1.Size = new Size(95, 20); this.dateTimePicker1.TabIndex = 131; this.lb3Budget.AutoSize = true; this.lb3Budget.ForeColor = Color.LightGray; this.lb3Budget.Location = new Point(40, 127); this.lb3Budget.Margin = new Padding(2, 0, 2, 0); this.lb3Budget.Name = "lb3Budget"; this.lb3Budget.Size = new Size(41, 13); this.lb3Budget.TabIndex = 11; this.lb3Budget.Text = "Budget"; this.lb3Budget.TextAlign = ContentAlignment.MiddleLeft; this.gridDcaSimm.AllowDrop = true; this.gridDcaSimm.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.gridDcaSimm.BackColor = Color.FromArgb(20, 20, 20); this.gridDcaSimm.CanBlink = true; this.gridDcaSimm.CanDrag = false; this.gridDcaSimm.CanGetMouseMove = false; columnItem.Alignment = StringAlignment.Center; columnItem.BackColor = Color.FromArgb(64, 64, 64); columnItem.FontColor = Color.LightGray; columnItem.IsExpand = false; columnItem.MyStyle = FontStyle.Regular; columnItem.Name = "no"; columnItem.Text = "No."; columnItem.ValueFormat = FormatType.Text; columnItem.Visible = true; columnItem.Width = 20; columnItem2.Alignment = StringAlignment.Center; columnItem2.BackColor = Color.FromArgb(64, 64, 64); columnItem2.FontColor = Color.LightGray; columnItem2.IsExpand = false; columnItem2.MyStyle = FontStyle.Regular; columnItem2.Name = "date"; columnItem2.Text = "Date"; columnItem2.ValueFormat = FormatType.Text; columnItem2.Visible = true; columnItem2.Width = 40; columnItem3.Alignment = StringAlignment.Far; columnItem3.BackColor = Color.FromArgb(64, 64, 64); columnItem3.FontColor = Color.LightGray; columnItem3.IsExpand = false; columnItem3.MyStyle = FontStyle.Regular; columnItem3.Name = "budget"; columnItem3.Text = "Budget"; columnItem3.ValueFormat = FormatType.Volume; columnItem3.Visible = true; columnItem3.Width = 40; columnItem4.Alignment = StringAlignment.Near; columnItem4.BackColor = Color.FromArgb(64, 64, 64); columnItem4.FontColor = Color.LightGray; columnItem4.IsExpand = false; columnItem4.MyStyle = FontStyle.Regular; columnItem4.Name = "tmp_date"; columnItem4.Text = "None"; columnItem4.ValueFormat = FormatType.Text; columnItem4.Visible = false; columnItem4.Width = 10; this.gridDcaSimm.Columns.Add(columnItem); this.gridDcaSimm.Columns.Add(columnItem2); this.gridDcaSimm.Columns.Add(columnItem3); this.gridDcaSimm.Columns.Add(columnItem4); this.gridDcaSimm.CurrentScroll = 0; this.gridDcaSimm.FocusItemIndex = -1; this.gridDcaSimm.ForeColor = Color.Black; this.gridDcaSimm.GridColor = Color.FromArgb(50, 50, 50); this.gridDcaSimm.HeaderPctHeight = 100f; this.gridDcaSimm.IsAutoRepaint = true; this.gridDcaSimm.IsDrawGrid = true; this.gridDcaSimm.IsDrawHeader = true; this.gridDcaSimm.IsScrollable = true; this.gridDcaSimm.Location = new Point(211, 9); this.gridDcaSimm.MainColumn = ""; this.gridDcaSimm.Name = "gridDcaSimm"; this.gridDcaSimm.Rows = 0; this.gridDcaSimm.RowSelectColor = Color.FromArgb(50, 50, 50); this.gridDcaSimm.RowSelectType = 0; this.gridDcaSimm.Size = new Size(493, 287); this.gridDcaSimm.SortColumnName = ""; this.gridDcaSimm.SortType = SortType.Desc; this.gridDcaSimm.TabIndex = 135; this.btnDcaSimlulate.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnDcaSimlulate.BackColor = Color.Transparent; this.btnDcaSimlulate.Cursor = Cursors.Hand; this.btnDcaSimlulate.FlatAppearance.BorderColor = Color.DimGray; this.btnDcaSimlulate.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnDcaSimlulate.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnDcaSimlulate.FlatStyle = FlatStyle.Flat; this.btnDcaSimlulate.ForeColor = Color.LightGray; this.btnDcaSimlulate.Image = Resources._1_4type_bt; this.btnDcaSimlulate.Location = new Point(113, 212); this.btnDcaSimlulate.Name = "btnDcaSimlulate"; this.btnDcaSimlulate.Size = new Size(71, 22); this.btnDcaSimlulate.TabIndex = 134; this.btnDcaSimlulate.TabStop = false; this.btnDcaSimlulate.Text = "Simulate"; this.btnDcaSimlulate.UseVisualStyleBackColor = false; this.btnDcaSimlulate.Click += new EventHandler(this.btnDcaSimlulate_Click); this.btnSendOrder.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.btnSendOrder.AutoEllipsis = true; this.btnSendOrder.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnSendOrder.BackColor = Color.Transparent; this.btnSendOrder.Cursor = Cursors.Hand; this.btnSendOrder.FlatAppearance.BorderColor = Color.DimGray; this.btnSendOrder.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnSendOrder.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnSendOrder.FlatStyle = FlatStyle.Flat; this.btnSendOrder.ForeColor = Color.WhiteSmoke; this.btnSendOrder.Image = Resources.no_side_button; this.btnSendOrder.Location = new Point(585, 305); this.btnSendOrder.MaximumSize = new Size(65, 22); this.btnSendOrder.Name = "btnSendOrder"; this.btnSendOrder.Size = new Size(57, 22); this.btnSendOrder.TabIndex = 149; this.btnSendOrder.TabStop = false; this.btnSendOrder.Text = "Send"; this.btnSendOrder.UseVisualStyleBackColor = false; this.btnSendOrder.Click += new EventHandler(this.btnSendOrder_Click); this.tbPin.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.tbPin.AutoCompleteMode = AutoCompleteMode.SuggestAppend; this.tbPin.AutoCompleteSource = AutoCompleteSource.CustomSource; this.tbPin.BackColor = Color.FromArgb(224, 224, 224); this.tbPin.BorderStyle = BorderStyle.FixedSingle; this.tbPin.CharacterCasing = CharacterCasing.Upper; this.tbPin.Location = new Point(523, 306); this.tbPin.Margin = new Padding(2, 3, 2, 3); this.tbPin.MaxLength = 10; this.tbPin.Name = "tbPin"; this.tbPin.PasswordChar = '*'; this.tbPin.Size = new Size(55, 20); this.tbPin.TabIndex = 147; this.lbPin.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.lbPin.AutoSize = true; this.lbPin.ForeColor = Color.LightGray; this.lbPin.Location = new Point(494, 310); this.lbPin.Margin = new Padding(2, 0, 2, 0); this.lbPin.Name = "lbPin"; this.lbPin.Size = new Size(25, 13); this.lbPin.TabIndex = 148; this.lbPin.Text = "PIN"; this.lbPin.TextAlign = ContentAlignment.MiddleLeft; this.btnPzClose.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.btnPzClose.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnPzClose.BackColor = Color.Transparent; this.btnPzClose.Cursor = Cursors.Hand; this.btnPzClose.FlatAppearance.BorderColor = Color.DimGray; this.btnPzClose.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnPzClose.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnPzClose.FlatStyle = FlatStyle.Flat; this.btnPzClose.ForeColor = Color.LightGray; this.btnPzClose.Image = Resources._1_4type_bt; this.btnPzClose.Location = new Point(648, 305); this.btnPzClose.Name = "btnPzClose"; this.btnPzClose.Size = new Size(57, 22); this.btnPzClose.TabIndex = 146; this.btnPzClose.TabStop = false; this.btnPzClose.Text = "Cancel"; this.btnPzClose.UseVisualStyleBackColor = false; this.btnPzClose.Click += new EventHandler(this.btnPzClose_Click); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.FromArgb(30, 30, 30); base.ClientSize = new Size(714, 334); base.Controls.Add(this.btnSendOrder); base.Controls.Add(this.tbPin); base.Controls.Add(this.lbPin); base.Controls.Add(this.btnPzClose); base.Controls.Add(this.gridDcaSimm); base.Controls.Add(this.btnDcaSimlulate); base.Controls.Add(this.label9); base.Controls.Add(this.lb3Budget); base.Controls.Add(this.cbDcaTiming2); base.Controls.Add(this.dateTimePicker1); base.Controls.Add(this.lb3Stock); base.Controls.Add(this.tbDcaBudget); base.Controls.Add(this.cbDcaStock); base.Controls.Add(this.dateTimePicker2); base.Controls.Add(this.cbDcaTiming); base.Controls.Add(this.lb3Timing); base.Controls.Add(this.lb3ToDate); base.Controls.Add(this.lb3StartDate); base.FormBorderStyle = FormBorderStyle.None; base.Name = "frmDcaCreateNew"; this.Text = "frmDcaCreateNew"; base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ColumnItem columnItem = new ColumnItem(); ColumnItem columnItem2 = new ColumnItem(); ColumnItem columnItem3 = new ColumnItem(); ColumnItem columnItem4 = new ColumnItem(); ColumnItem columnItem5 = new ColumnItem(); ColumnItem columnItem6 = new ColumnItem(); ColumnItem columnItem7 = new ColumnItem(); ColumnItem columnItem8 = new ColumnItem(); ColumnItem columnItem9 = new ColumnItem(); ColumnItem columnItem10 = new ColumnItem(); ColumnItem columnItem11 = new ColumnItem(); ColumnItem columnItem12 = new ColumnItem(); ColumnItem columnItem13 = new ColumnItem(); ColumnItem columnItem14 = new ColumnItem(); ColumnItem columnItem15 = new ColumnItem(); ColumnItem columnItem16 = new ColumnItem(); ColumnItem columnItem17 = new ColumnItem(); ColumnItem columnItem18 = new ColumnItem(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmAutoTrade)); ColumnItem columnItem19 = new ColumnItem(); ColumnItem columnItem20 = new ColumnItem(); ColumnItem columnItem21 = new ColumnItem(); ColumnItem columnItem22 = new ColumnItem(); ColumnItem columnItem23 = new ColumnItem(); ColumnItem columnItem24 = new ColumnItem(); ColumnItem columnItem25 = new ColumnItem(); ColumnItem columnItem26 = new ColumnItem(); ColumnItem columnItem27 = new ColumnItem(); ColumnItem columnItem28 = new ColumnItem(); ColumnItem columnItem29 = new ColumnItem(); ColumnItem columnItem30 = new ColumnItem(); ColumnItem columnItem31 = new ColumnItem(); ColumnItem columnItem32 = new ColumnItem(); ColumnItem columnItem33 = new ColumnItem(); this.btnClear = new Button(); this.btnSendOrder = new Button(); this.btnSendLocalOrder = new Button(); this.tbPin = new TextBox(); this.lbPin = new Label(); this.cb1Price = new ComboBox(); this.cb1Stock = new ComboBox(); this.lb1Stock = new Label(); this.lbPrice = new Label(); this.lbVolume = new Label(); this.tb1Volume = new TextBox(); this.panelTop = new Panel(); this.lbExpire = new Label(); this.cbExpire = new ComboBox(); this.panelPZ = new Panel(); this.gridPzMain = new ExpandGrid(); this.btnPzCreateNew = new Button(); this.btnPzCancel = new Button(); this.btnPzReload = new Button(); this.panelDCA = new Panel(); this.gridDcaMain = new ExpandGrid(); this.btnDcaCreate = new Button(); this.btn3Cancel = new Button(); this.btnDcaReload = new Button(); this.panType2 = new Panel(); this.label8 = new Label(); this.lb2ValueCutloss = new Label(); this.cb2ValueCutloss = new ComboBox(); this.cb2PriceBreak = new ComboBox(); this.label7 = new Label(); this.lb2ValueTrailingStop = new Label(); this.cb2ValueTrailingStop = new ComboBox(); this.cb2PriceSMA = new ComboBox(); this.label5 = new Label(); this.cb2OperCutloss = new ComboBox(); this.cb2OperTrailingStop = new ComboBox(); this.cb2OperTakeProfit = new ComboBox(); this.chb2CutLossCond = new CheckBox(); this.chb2TrailingStopCond = new CheckBox(); this.chb2TakeProfitCond = new CheckBox(); this.lb2ValueTakeProfit = new Label(); this.cb2ValueTakeProfit = new ComboBox(); this.cb2PriceLast = new ComboBox(); this.chbGroupCancel = new CheckBox(); this.label3 = new Label(); this.tb2Volume = new TextBox(); this.label4 = new Label(); this.btnTypePZ = new Button(); this.panType1 = new Panel(); this.cb1Condition = new ComboBox(); this.lb1Value = new Label(); this.cb1Value = new ComboBox(); this.lbStopOrderField = new Label(); this.btnTypeDCA = new Button(); this.btnTypeMM = new Button(); this.btnSell = new Button(); this.btnBuy = new Button(); this.btnType2 = new Button(); this.btnType1 = new Button(); this.lbPattern = new Label(); this.tStripMenu = new ToolStrip(); this.tslbStatus = new ToolStripLabel(); this.tscbStatus = new ToolStripComboBox(); this.tslbStock = new ToolStripLabel(); this.tstbStock = new ToolStripTextBox(); this.tslbSide = new ToolStripLabel(); this.tscbSide = new ToolStripComboBox(); this.tsbtnClearCondition = new ToolStripButton(); this.tsbtnCancelOrder = new ToolStripButton(); this.tsbtnSearch = new ToolStripButton(); this.panel1 = new Panel(); this.intzaOrder = new ExpandGrid(); this.lbAutoTradeLoading = new Label(); this.toolTip1 = new ToolTip(this.components); this.panelTop.SuspendLayout(); this.panelPZ.SuspendLayout(); this.panelDCA.SuspendLayout(); this.panType2.SuspendLayout(); this.panType1.SuspendLayout(); this.tStripMenu.SuspendLayout(); this.panel1.SuspendLayout(); base.SuspendLayout(); this.btnClear.AutoEllipsis = true; this.btnClear.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnClear.BackColor = Color.Transparent; this.btnClear.Cursor = Cursors.Hand; this.btnClear.FlatAppearance.BorderColor = Color.DimGray; this.btnClear.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnClear.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnClear.FlatStyle = FlatStyle.Flat; this.btnClear.ForeColor = Color.WhiteSmoke; this.btnClear.Location = new Point(620, 394); this.btnClear.MaximumSize = new Size(58, 23); this.btnClear.Name = "btnClear"; this.btnClear.Size = new Size(54, 22); this.btnClear.TabIndex = 103; this.btnClear.TabStop = false; this.btnClear.Text = "Clear"; this.btnClear.UseVisualStyleBackColor = false; this.btnClear.Click += new EventHandler(this.btnClear_Click); this.btnSendOrder.AutoEllipsis = true; this.btnSendOrder.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnSendOrder.BackColor = Color.Transparent; this.btnSendOrder.Cursor = Cursors.Hand; this.btnSendOrder.FlatAppearance.BorderColor = Color.DimGray; this.btnSendOrder.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnSendOrder.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnSendOrder.FlatStyle = FlatStyle.Flat; this.btnSendOrder.ForeColor = Color.WhiteSmoke; this.btnSendOrder.Location = new Point(560, 394); this.btnSendOrder.MaximumSize = new Size(58, 23); this.btnSendOrder.Name = "btnSendOrder"; this.btnSendOrder.Size = new Size(54, 22); this.btnSendOrder.TabIndex = 102; this.btnSendOrder.TabStop = false; this.btnSendOrder.Text = "Send"; this.btnSendOrder.UseVisualStyleBackColor = false; this.btnSendOrder.Click += new EventHandler(this.btnSendOrder_Click); this.btnSendLocalOrder.AutoEllipsis = true; this.btnSendLocalOrder.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnSendLocalOrder.BackColor = Color.Transparent; this.btnSendLocalOrder.Cursor = Cursors.Hand; this.btnSendLocalOrder.FlatAppearance.BorderColor = Color.DimGray; this.btnSendLocalOrder.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnSendLocalOrder.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnSendLocalOrder.FlatStyle = FlatStyle.Flat; this.btnSendLocalOrder.ForeColor = Color.WhiteSmoke; this.btnSendLocalOrder.Location = new Point(560, 394); this.btnSendLocalOrder.MaximumSize = new Size(58, 23); this.btnSendLocalOrder.Name = "btnSendLocalOrder"; this.btnSendLocalOrder.Size = new Size(54, 22); this.btnSendLocalOrder.TabIndex = 102; this.btnSendLocalOrder.TabStop = false; this.btnSendLocalOrder.Text = "Send"; this.btnSendLocalOrder.UseVisualStyleBackColor = false; this.btnSendLocalOrder.Click += new EventHandler(this.btnSendLocalOrder_Click); this.lbAutoTradeLoading.AutoSize = true; this.lbAutoTradeLoading.BackColor = Color.FromArgb(64, 64, 64); this.lbAutoTradeLoading.BorderStyle = BorderStyle.FixedSingle; this.lbAutoTradeLoading.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 222); this.lbAutoTradeLoading.ForeColor = Color.Yellow; this.lbAutoTradeLoading.Location = new Point(602, 166); this.lbAutoTradeLoading.Name = "lbAutoTradeLoading"; this.lbAutoTradeLoading.Padding = new Padding(5, 3, 5, 3); this.lbAutoTradeLoading.Size = new Size(69, 21); this.lbAutoTradeLoading.TabIndex = 73; this.lbAutoTradeLoading.Text = "Loading ..."; this.lbAutoTradeLoading.TextAlign = ContentAlignment.MiddleCenter; this.lbAutoTradeLoading.Visible = false; this.tbPin.AutoCompleteMode = AutoCompleteMode.SuggestAppend; this.tbPin.AutoCompleteSource = AutoCompleteSource.CustomSource; this.tbPin.BackColor = Color.FromArgb(224, 224, 224); this.tbPin.BorderStyle = BorderStyle.FixedSingle; this.tbPin.CharacterCasing = CharacterCasing.Upper; this.tbPin.Location = new Point(500, 395); this.tbPin.Margin = new Padding(2, 3, 2, 3); this.tbPin.MaxLength = 10; this.tbPin.Name = "tbPin"; this.tbPin.PasswordChar = '*'; this.tbPin.Size = new Size(55, 20); this.tbPin.TabIndex = 7; this.tbPin.KeyDown += new KeyEventHandler(this.tbPin_KeyDown); this.tbPin.Leave += new EventHandler(this.controlOrder_Leave); this.tbPin.Enter += new EventHandler(this.controlOrder_Enter); this.lbPin.AutoSize = true; this.lbPin.ForeColor = Color.LightGray; this.lbPin.Location = new Point(473, 399); this.lbPin.Margin = new Padding(2, 0, 2, 0); this.lbPin.Name = "lbPin"; this.lbPin.Size = new Size(25, 13); this.lbPin.TabIndex = 90; this.lbPin.Text = "PIN"; this.lbPin.TextAlign = ContentAlignment.MiddleLeft; this.cb1Price.AllowDrop = true; this.cb1Price.AutoCompleteCustomSource.AddRange(new string[] { "", "ATO", "ATC", "MP", "MO", "ML" }); this.cb1Price.AutoCompleteMode = AutoCompleteMode.Append; this.cb1Price.AutoCompleteSource = AutoCompleteSource.CustomSource; this.cb1Price.BackColor = Color.FromArgb(224, 224, 224); this.cb1Price.FlatStyle = FlatStyle.Popup; this.cb1Price.ForeColor = Color.Black; this.cb1Price.FormattingEnabled = true; this.cb1Price.Location = new Point(311, 30); this.cb1Price.Name = "cb1Price"; this.cb1Price.Size = new Size(57, 21); this.cb1Price.TabIndex = 118; this.cb1Price.Leave += new EventHandler(this.controlOrder_Leave); this.cb1Price.Enter += new EventHandler(this.controlOrder_Enter); this.cb1Price.KeyPress += new KeyPressEventHandler(this.cbPrice_KeyPress); this.cb1Price.KeyDown += new KeyEventHandler(this.cb1Price_KeyDown); this.cb1Stock.AutoCompleteMode = AutoCompleteMode.Suggest; this.cb1Stock.AutoCompleteSource = AutoCompleteSource.ListItems; this.cb1Stock.BackColor = Color.FromArgb(224, 224, 224); this.cb1Stock.FlatStyle = FlatStyle.Popup; this.cb1Stock.ForeColor = Color.Black; this.cb1Stock.FormattingEnabled = true; this.cb1Stock.Location = new Point(180, 6); this.cb1Stock.MaxLength = 20; this.cb1Stock.Name = "cb1Stock"; this.cb1Stock.Size = new Size(100, 21); this.cb1Stock.TabIndex = 0; this.cb1Stock.Leave += new EventHandler(this.controlOrder_Leave); this.cb1Stock.Enter += new EventHandler(this.controlOrder_Enter); this.cb1Stock.KeyPress += new KeyPressEventHandler(this.cbPrice_KeyPress); this.cb1Stock.KeyDown += new KeyEventHandler(this.cbStock_KeyDown); this.lb1Stock.AutoSize = true; this.lb1Stock.ForeColor = Color.LightGray; this.lb1Stock.Location = new Point(134, 10); this.lb1Stock.Margin = new Padding(2, 0, 2, 0); this.lb1Stock.Name = "lb1Stock"; this.lb1Stock.Size = new Size(41, 13); this.lb1Stock.TabIndex = 100; this.lb1Stock.Text = "Symbol"; this.lb1Stock.TextAlign = ContentAlignment.MiddleLeft; this.lbPrice.AutoSize = true; this.lbPrice.ForeColor = Color.LightGray; this.lbPrice.Location = new Point(276, 34); this.lbPrice.Margin = new Padding(2, 0, 2, 0); this.lbPrice.Name = "lbPrice"; this.lbPrice.Size = new Size(31, 13); this.lbPrice.TabIndex = 13; this.lbPrice.Text = "Price"; this.lbPrice.TextAlign = ContentAlignment.MiddleLeft; this.lbVolume.AutoSize = true; this.lbVolume.ForeColor = Color.LightGray; this.lbVolume.Location = new Point(383, 34); this.lbVolume.Margin = new Padding(2, 0, 2, 0); this.lbVolume.Name = "lbVolume"; this.lbVolume.Size = new Size(42, 13); this.lbVolume.TabIndex = 11; this.lbVolume.Text = "Volume"; this.lbVolume.TextAlign = ContentAlignment.MiddleLeft; this.tb1Volume.BackColor = Color.FromArgb(224, 224, 224); this.tb1Volume.BorderStyle = BorderStyle.FixedSingle; this.tb1Volume.Location = new Point(428, 30); this.tb1Volume.Margin = new Padding(2, 3, 2, 3); this.tb1Volume.MaxLength = 10; this.tb1Volume.Name = "tb1Volume"; this.tb1Volume.Size = new Size(59, 20); this.tb1Volume.TabIndex = 119; this.tb1Volume.TextChanged += new EventHandler(this.tb1Volume_TextChanged); this.tb1Volume.KeyDown += new KeyEventHandler(this.tb1Volume_KeyDown); this.tb1Volume.Leave += new EventHandler(this.controlOrder_Leave); this.tb1Volume.Enter += new EventHandler(this.controlOrder_Enter); this.panelTop.BackColor = Color.FromArgb(20, 20, 20); this.panelTop.Controls.Add(this.lbExpire); this.panelTop.Controls.Add(this.cbExpire); this.panelTop.Controls.Add(this.panelPZ); this.panelTop.Controls.Add(this.panelDCA); this.panelTop.Controls.Add(this.panType2); this.panelTop.Controls.Add(this.btnTypePZ); this.panelTop.Controls.Add(this.panType1); this.panelTop.Controls.Add(this.btnTypeDCA); this.panelTop.Controls.Add(this.btnTypeMM); this.panelTop.Controls.Add(this.btnClear); this.panelTop.Controls.Add(this.lb1Stock); this.panelTop.Controls.Add(this.btnSendOrder); this.panelTop.Controls.Add(this.btnSendLocalOrder); this.panelTop.Controls.Add(this.cb1Stock); this.panelTop.Controls.Add(this.tbPin); this.panelTop.Controls.Add(this.lbPin); this.panelTop.Controls.Add(this.btnSell); this.panelTop.Controls.Add(this.btnBuy); this.panelTop.Controls.Add(this.btnType2); this.panelTop.Controls.Add(this.btnType1); this.panelTop.Controls.Add(this.lbPattern); this.panelTop.Controls.Add(this.lbAutoTradeLoading); this.panelTop.Dock = DockStyle.Top; this.panelTop.Location = new Point(0, 0); this.panelTop.Name = "panelTop"; this.panelTop.Padding = new Padding(2); this.panelTop.Size = new Size(697, 424); this.panelTop.TabIndex = 113; this.lbExpire.AutoSize = true; this.lbExpire.ForeColor = Color.LightGray; this.lbExpire.Location = new Point(334, 400); this.lbExpire.Margin = new Padding(2, 0, 2, 0); this.lbExpire.Name = "lbExpire"; this.lbExpire.Size = new Size(36, 13); this.lbExpire.TabIndex = 127; this.lbExpire.Text = "Expire"; this.lbExpire.TextAlign = ContentAlignment.MiddleLeft; this.cbExpire.DropDownStyle = ComboBoxStyle.DropDownList; this.cbExpire.FlatStyle = FlatStyle.Flat; this.cbExpire.ForeColor = Color.FromArgb(192, 0, 0); this.cbExpire.FormattingEnabled = true; this.cbExpire.Items.AddRange(new object[] { "End Day", "30 Days", "60 Days", "90 Days", "180 Days" }); this.cbExpire.Location = new Point(375, 396); this.cbExpire.Margin = new Padding(2); this.cbExpire.Name = "cbExpire"; this.cbExpire.Size = new Size(70, 21); this.cbExpire.TabIndex = 126; this.panelPZ.BackColor = Color.FromArgb(30, 30, 30); this.panelPZ.Controls.Add(this.gridPzMain); this.panelPZ.Controls.Add(this.btnPzCreateNew); this.panelPZ.Controls.Add(this.btnPzCancel); this.panelPZ.Controls.Add(this.btnPzReload); this.panelPZ.Location = new Point(7, 193); this.panelPZ.Name = "panelPZ"; this.panelPZ.Size = new Size(673, 105); this.panelPZ.TabIndex = 124; this.panelPZ.Visible = false; this.gridPzMain.AllowDrop = true; this.gridPzMain.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.gridPzMain.BackColor = Color.FromArgb(20, 20, 20); this.gridPzMain.CanBlink = true; this.gridPzMain.CanDrag = false; this.gridPzMain.CanGetMouseMove = false; columnItem.Alignment = StringAlignment.Center; columnItem.BackColor = Color.FromArgb(64, 64, 64); columnItem.FontColor = Color.LightGray; columnItem.IsExpand = false; columnItem.MyStyle = FontStyle.Regular; columnItem.Name = "refno"; columnItem.Text = "Ref No."; columnItem.ValueFormat = FormatType.Text; columnItem.Visible = true; columnItem.Width = 7; columnItem2.Alignment = StringAlignment.Near; columnItem2.BackColor = Color.FromArgb(64, 64, 64); columnItem2.FontColor = Color.LightGray; columnItem2.IsExpand = false; columnItem2.MyStyle = FontStyle.Regular; columnItem2.Name = "stock"; columnItem2.Text = "Symbol"; columnItem2.ValueFormat = FormatType.Text; columnItem2.Visible = true; columnItem2.Width = 14; columnItem3.Alignment = StringAlignment.Far; columnItem3.BackColor = Color.FromArgb(64, 64, 64); columnItem3.FontColor = Color.LightGray; columnItem3.IsExpand = false; columnItem3.MyStyle = FontStyle.Regular; columnItem3.Name = "budget"; columnItem3.Text = "Budget"; columnItem3.ValueFormat = FormatType.Volume; columnItem3.Visible = true; columnItem3.Width = 12; columnItem4.Alignment = StringAlignment.Center; columnItem4.BackColor = Color.FromArgb(64, 64, 64); columnItem4.FontColor = Color.LightGray; columnItem4.IsExpand = false; columnItem4.MyStyle = FontStyle.Regular; columnItem4.Name = "start_price"; columnItem4.Text = "Start Price"; columnItem4.ValueFormat = FormatType.Text; columnItem4.Visible = true; columnItem4.Width = 8; columnItem5.Alignment = StringAlignment.Center; columnItem5.BackColor = Color.FromArgb(64, 64, 64); columnItem5.FontColor = Color.LightGray; columnItem5.IsExpand = false; columnItem5.MyStyle = FontStyle.Regular; columnItem5.Name = "no_steps"; columnItem5.Text = "Segment"; columnItem5.ValueFormat = FormatType.Text; columnItem5.Visible = true; columnItem5.Width = 9; columnItem6.Alignment = StringAlignment.Center; columnItem6.BackColor = Color.FromArgb(64, 64, 64); columnItem6.FontColor = Color.LightGray; columnItem6.IsExpand = false; columnItem6.MyStyle = FontStyle.Regular; columnItem6.Name = "depth_pct"; columnItem6.Text = "%Chg"; columnItem6.ValueFormat = FormatType.Text; columnItem6.Visible = true; columnItem6.Width = 8; columnItem7.Alignment = StringAlignment.Far; columnItem7.BackColor = Color.FromArgb(64, 64, 64); columnItem7.FontColor = Color.LightGray; columnItem7.IsExpand = false; columnItem7.MyStyle = FontStyle.Regular; columnItem7.Name = "matvol"; columnItem7.Text = "M-Volume"; columnItem7.ValueFormat = FormatType.Volume; columnItem7.Visible = true; columnItem7.Width = 11; columnItem8.Alignment = StringAlignment.Far; columnItem8.BackColor = Color.FromArgb(64, 64, 64); columnItem8.FontColor = Color.LightGray; columnItem8.IsExpand = false; columnItem8.MyStyle = FontStyle.Regular; columnItem8.Name = "matval"; columnItem8.Text = "Cost"; columnItem8.ValueFormat = FormatType.Volume; columnItem8.Visible = true; columnItem8.Width = 11; columnItem9.Alignment = StringAlignment.Far; columnItem9.BackColor = Color.FromArgb(64, 64, 64); columnItem9.FontColor = Color.LightGray; columnItem9.IsExpand = false; columnItem9.MyStyle = FontStyle.Regular; columnItem9.Name = "avg"; columnItem9.Text = "Avg"; columnItem9.ValueFormat = FormatType.Price; columnItem9.Visible = true; columnItem9.Width = 8; columnItem10.Alignment = StringAlignment.Center; columnItem10.BackColor = Color.FromArgb(64, 64, 64); columnItem10.FontColor = Color.LightGray; columnItem10.IsExpand = false; columnItem10.MyStyle = FontStyle.Regular; columnItem10.Name = "status"; columnItem10.Text = "Status"; columnItem10.ValueFormat = FormatType.Text; columnItem10.Visible = true; columnItem10.Width = 11; this.gridPzMain.Columns.Add(columnItem); this.gridPzMain.Columns.Add(columnItem2); this.gridPzMain.Columns.Add(columnItem3); this.gridPzMain.Columns.Add(columnItem4); this.gridPzMain.Columns.Add(columnItem5); this.gridPzMain.Columns.Add(columnItem6); this.gridPzMain.Columns.Add(columnItem7); this.gridPzMain.Columns.Add(columnItem8); this.gridPzMain.Columns.Add(columnItem9); this.gridPzMain.Columns.Add(columnItem10); this.gridPzMain.CurrentScroll = 0; this.gridPzMain.FocusItemIndex = -1; this.gridPzMain.ForeColor = Color.Black; this.gridPzMain.GridColor = Color.FromArgb(50, 50, 50); this.gridPzMain.HeaderPctHeight = 100f; this.gridPzMain.IsAutoRepaint = true; this.gridPzMain.IsDrawGrid = true; this.gridPzMain.IsDrawHeader = true; this.gridPzMain.IsScrollable = true; this.gridPzMain.Location = new Point(8, 35); this.gridPzMain.MainColumn = ""; this.gridPzMain.Name = "gridPzMain"; this.gridPzMain.Rows = 0; this.gridPzMain.RowSelectColor = Color.FromArgb(50, 50, 50); this.gridPzMain.RowSelectType = 3; this.gridPzMain.Size = new Size(657, 61); this.gridPzMain.SortColumnName = ""; this.gridPzMain.SortType = SortType.Desc; this.gridPzMain.TabIndex = 130; this.gridPzMain.TableMouseDoubleClick += new ExpandGrid.TableMouseDoubleClickEventHandler(this.gridPzMain_TableMouseDoubleClick); this.btnPzCreateNew.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.btnPzCreateNew.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnPzCreateNew.BackColor = Color.Transparent; this.btnPzCreateNew.Cursor = Cursors.Hand; this.btnPzCreateNew.FlatAppearance.BorderColor = Color.DimGray; this.btnPzCreateNew.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnPzCreateNew.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnPzCreateNew.FlatStyle = FlatStyle.Flat; this.btnPzCreateNew.ForeColor = Color.WhiteSmoke; this.btnPzCreateNew.Image = Resources.blue_tab; this.btnPzCreateNew.Location = new Point(547, 7); this.btnPzCreateNew.MaximumSize = new Size(58, 23); this.btnPzCreateNew.Name = "btnPzCreateNew"; this.btnPzCreateNew.Size = new Size(54, 22); this.btnPzCreateNew.TabIndex = 139; this.btnPzCreateNew.TabStop = false; this.btnPzCreateNew.Text = "Create"; this.btnPzCreateNew.UseVisualStyleBackColor = false; this.btnPzCreateNew.Click += new EventHandler(this.btnPzCreateNew_Click); this.btnPzCancel.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.btnPzCancel.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnPzCancel.BackColor = Color.Transparent; this.btnPzCancel.Cursor = Cursors.Hand; this.btnPzCancel.FlatAppearance.BorderColor = Color.DimGray; this.btnPzCancel.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnPzCancel.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnPzCancel.FlatStyle = FlatStyle.Flat; this.btnPzCancel.ForeColor = Color.WhiteSmoke; this.btnPzCancel.Image = Resources.sell_button; this.btnPzCancel.Location = new Point(607, 7); this.btnPzCancel.MaximumSize = new Size(58, 23); this.btnPzCancel.Name = "btnPzCancel"; this.btnPzCancel.Size = new Size(54, 22); this.btnPzCancel.TabIndex = 132; this.btnPzCancel.TabStop = false; this.btnPzCancel.Text = "Cancel"; this.btnPzCancel.UseVisualStyleBackColor = false; this.btnPzCancel.Click += new EventHandler(this.btnPzCancel_Click); this.btnPzReload.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnPzReload.BackColor = Color.Transparent; this.btnPzReload.Cursor = Cursors.Hand; this.btnPzReload.FlatAppearance.BorderColor = Color.DimGray; this.btnPzReload.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnPzReload.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnPzReload.FlatStyle = FlatStyle.Flat; this.btnPzReload.ForeColor = Color.LightGray; this.btnPzReload.Image = Resources._1_4type_bt; this.btnPzReload.Location = new Point(8, 7); this.btnPzReload.MaximumSize = new Size(58, 23); this.btnPzReload.Name = "btnPzReload"; this.btnPzReload.Size = new Size(54, 22); this.btnPzReload.TabIndex = 131; this.btnPzReload.TabStop = false; this.btnPzReload.Text = "Reload"; this.btnPzReload.UseVisualStyleBackColor = false; this.btnPzReload.Click += new EventHandler(this.btnPzReload_Click); this.panelDCA.BackColor = Color.FromArgb(30, 30, 30); this.panelDCA.Controls.Add(this.gridDcaMain); this.panelDCA.Controls.Add(this.btnDcaCreate); this.panelDCA.Controls.Add(this.btn3Cancel); this.panelDCA.Controls.Add(this.btnDcaReload); this.panelDCA.Location = new Point(6, 303); this.panelDCA.Name = "panelDCA"; this.panelDCA.Size = new Size(673, 88); this.panelDCA.TabIndex = 122; this.panelDCA.Visible = false; this.gridDcaMain.AllowDrop = true; this.gridDcaMain.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.gridDcaMain.BackColor = Color.FromArgb(20, 20, 20); this.gridDcaMain.CanBlink = true; this.gridDcaMain.CanDrag = false; this.gridDcaMain.CanGetMouseMove = false; columnItem11.Alignment = StringAlignment.Center; columnItem11.BackColor = Color.FromArgb(64, 64, 64); columnItem11.FontColor = Color.LightGray; columnItem11.IsExpand = false; columnItem11.MyStyle = FontStyle.Regular; columnItem11.Name = "refno"; columnItem11.Text = "Ref No."; columnItem11.ValueFormat = FormatType.Text; columnItem11.Visible = true; columnItem11.Width = 10; columnItem12.Alignment = StringAlignment.Near; columnItem12.BackColor = Color.FromArgb(64, 64, 64); columnItem12.FontColor = Color.LightGray; columnItem12.IsExpand = false; columnItem12.MyStyle = FontStyle.Regular; columnItem12.Name = "stock"; columnItem12.Text = "Symbol"; columnItem12.ValueFormat = FormatType.Text; columnItem12.Visible = true; columnItem12.Width = 15; columnItem13.Alignment = StringAlignment.Far; columnItem13.BackColor = Color.FromArgb(64, 64, 64); columnItem13.FontColor = Color.LightGray; columnItem13.IsExpand = false; columnItem13.MyStyle = FontStyle.Regular; columnItem13.Name = "budget"; columnItem13.Text = "Budget"; columnItem13.ValueFormat = FormatType.Volume; columnItem13.Visible = true; columnItem13.Width = 13; columnItem14.Alignment = StringAlignment.Center; columnItem14.BackColor = Color.FromArgb(64, 64, 64); columnItem14.FontColor = Color.LightGray; columnItem14.IsExpand = false; columnItem14.MyStyle = FontStyle.Regular; columnItem14.Name = "period"; columnItem14.Text = "Period"; columnItem14.ValueFormat = FormatType.Text; columnItem14.Visible = true; columnItem14.Width = 12; columnItem15.Alignment = StringAlignment.Center; columnItem15.BackColor = Color.FromArgb(64, 64, 64); columnItem15.FontColor = Color.LightGray; columnItem15.IsExpand = false; columnItem15.MyStyle = FontStyle.Regular; columnItem15.Name = "startdate"; columnItem15.Text = "Start Date"; columnItem15.ValueFormat = FormatType.Text; columnItem15.Visible = true; columnItem15.Width = 12; columnItem16.Alignment = StringAlignment.Center; columnItem16.BackColor = Color.FromArgb(64, 64, 64); columnItem16.FontColor = Color.LightGray; columnItem16.IsExpand = false; columnItem16.MyStyle = FontStyle.Regular; columnItem16.Name = "enddate"; columnItem16.Text = "End Date"; columnItem16.ValueFormat = FormatType.Text; columnItem16.Visible = true; columnItem16.Width = 12; columnItem17.Alignment = StringAlignment.Far; columnItem17.BackColor = Color.FromArgb(64, 64, 64); columnItem17.FontColor = Color.LightGray; columnItem17.IsExpand = false; columnItem17.MyStyle = FontStyle.Regular; columnItem17.Name = "matvol"; columnItem17.Text = "Matched"; columnItem17.ValueFormat = FormatType.Volume; columnItem17.Visible = true; columnItem17.Width = 12; columnItem18.Alignment = StringAlignment.Center; columnItem18.BackColor = Color.FromArgb(64, 64, 64); columnItem18.FontColor = Color.LightGray; columnItem18.IsExpand = false; columnItem18.MyStyle = FontStyle.Regular; columnItem18.Name = "status"; columnItem18.Text = "Status"; columnItem18.ValueFormat = FormatType.Text; columnItem18.Visible = true; columnItem18.Width = 14; this.gridDcaMain.Columns.Add(columnItem11); this.gridDcaMain.Columns.Add(columnItem12); this.gridDcaMain.Columns.Add(columnItem13); this.gridDcaMain.Columns.Add(columnItem14); this.gridDcaMain.Columns.Add(columnItem15); this.gridDcaMain.Columns.Add(columnItem16); this.gridDcaMain.Columns.Add(columnItem17); this.gridDcaMain.Columns.Add(columnItem18); this.gridDcaMain.CurrentScroll = 0; this.gridDcaMain.FocusItemIndex = -1; this.gridDcaMain.ForeColor = Color.Black; this.gridDcaMain.GridColor = Color.FromArgb(30, 30, 30); this.gridDcaMain.HeaderPctHeight = 100f; this.gridDcaMain.IsAutoRepaint = true; this.gridDcaMain.IsDrawGrid = true; this.gridDcaMain.IsDrawHeader = true; this.gridDcaMain.IsScrollable = true; this.gridDcaMain.Location = new Point(8, 35); this.gridDcaMain.MainColumn = ""; this.gridDcaMain.Name = "gridDcaMain"; this.gridDcaMain.Rows = 0; this.gridDcaMain.RowSelectColor = Color.FromArgb(50, 50, 50); this.gridDcaMain.RowSelectType = 3; this.gridDcaMain.Size = new Size(660, 44); this.gridDcaMain.SortColumnName = ""; this.gridDcaMain.SortType = SortType.Desc; this.gridDcaMain.TabIndex = 130; this.gridDcaMain.TableMouseDoubleClick += new ExpandGrid.TableMouseDoubleClickEventHandler(this.grid3_TableMouseDoubleClick); this.btnDcaCreate.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.btnDcaCreate.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnDcaCreate.BackColor = Color.Transparent; this.btnDcaCreate.Cursor = Cursors.Hand; this.btnDcaCreate.FlatAppearance.BorderColor = Color.DimGray; this.btnDcaCreate.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnDcaCreate.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnDcaCreate.FlatStyle = FlatStyle.Flat; this.btnDcaCreate.ForeColor = Color.WhiteSmoke; this.btnDcaCreate.Image = Resources.blue_tab; this.btnDcaCreate.Location = new Point(544, 7); this.btnDcaCreate.MaximumSize = new Size(58, 23); this.btnDcaCreate.Name = "btnDcaCreate"; this.btnDcaCreate.Size = new Size(54, 22); this.btnDcaCreate.TabIndex = 139; this.btnDcaCreate.TabStop = false; this.btnDcaCreate.Text = "Create"; this.btnDcaCreate.UseVisualStyleBackColor = false; this.btnDcaCreate.Click += new EventHandler(this.btnDcaCreate_Click); this.btn3Cancel.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.btn3Cancel.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btn3Cancel.BackColor = Color.Transparent; this.btn3Cancel.Cursor = Cursors.Hand; this.btn3Cancel.FlatAppearance.BorderColor = Color.DimGray; this.btn3Cancel.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btn3Cancel.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btn3Cancel.FlatStyle = FlatStyle.Flat; this.btn3Cancel.ForeColor = Color.WhiteSmoke; this.btn3Cancel.Image = Resources.sell_button; this.btn3Cancel.Location = new Point(607, 7); this.btn3Cancel.MaximumSize = new Size(58, 23); this.btn3Cancel.Name = "btn3Cancel"; this.btn3Cancel.Size = new Size(54, 22); this.btn3Cancel.TabIndex = 132; this.btn3Cancel.TabStop = false; this.btn3Cancel.Text = "Cancel"; this.btn3Cancel.UseVisualStyleBackColor = false; this.btn3Cancel.Click += new EventHandler(this.btnDcaCancel_Click); this.btnDcaReload.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnDcaReload.BackColor = Color.Transparent; this.btnDcaReload.Cursor = Cursors.Hand; this.btnDcaReload.FlatAppearance.BorderColor = Color.DimGray; this.btnDcaReload.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnDcaReload.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnDcaReload.FlatStyle = FlatStyle.Flat; this.btnDcaReload.ForeColor = Color.LightGray; this.btnDcaReload.Image = Resources._1_4type_bt; this.btnDcaReload.Location = new Point(8, 7); this.btnDcaReload.MaximumSize = new Size(58, 23); this.btnDcaReload.Name = "btnDcaReload"; this.btnDcaReload.Size = new Size(54, 22); this.btnDcaReload.TabIndex = 131; this.btnDcaReload.TabStop = false; this.btnDcaReload.Text = "Reload"; this.btnDcaReload.UseVisualStyleBackColor = false; this.btnDcaReload.Click += new EventHandler(this.btnDcaReload_Click); this.panType2.BackColor = Color.FromArgb(30, 30, 30); this.panType2.Controls.Add(this.label8); this.panType2.Controls.Add(this.lb2ValueCutloss); this.panType2.Controls.Add(this.cb2ValueCutloss); this.panType2.Controls.Add(this.cb2PriceBreak); this.panType2.Controls.Add(this.label7); this.panType2.Controls.Add(this.lb2ValueTrailingStop); this.panType2.Controls.Add(this.cb2ValueTrailingStop); this.panType2.Controls.Add(this.cb2PriceSMA); this.panType2.Controls.Add(this.label5); this.panType2.Controls.Add(this.cb2OperCutloss); this.panType2.Controls.Add(this.cb2OperTrailingStop); this.panType2.Controls.Add(this.cb2OperTakeProfit); this.panType2.Controls.Add(this.chb2CutLossCond); this.panType2.Controls.Add(this.chb2TrailingStopCond); this.panType2.Controls.Add(this.chb2TakeProfitCond); this.panType2.Controls.Add(this.lb2ValueTakeProfit); this.panType2.Controls.Add(this.cb2ValueTakeProfit); this.panType2.Controls.Add(this.cb2PriceLast); this.panType2.Controls.Add(this.chbGroupCancel); this.panType2.Controls.Add(this.label3); this.panType2.Controls.Add(this.tb2Volume); this.panType2.Controls.Add(this.label4); this.panType2.Location = new Point(7, 93); this.panType2.Name = "panType2"; this.panType2.Size = new Size(673, 99); this.panType2.TabIndex = 118; this.panType2.Visible = false; this.label8.AutoSize = true; this.label8.ForeColor = Color.LightGray; this.label8.Location = new Point(11, 5); this.label8.Margin = new Padding(2, 0, 2, 0); this.label8.Name = "label8"; this.label8.Size = new Size(76, 13); this.label8.TabIndex = 134; this.label8.Text = "Sell Conditions"; this.label8.TextAlign = ContentAlignment.MiddleLeft; this.lb2ValueCutloss.AutoSize = true; this.lb2ValueCutloss.ForeColor = Color.LightGray; this.lb2ValueCutloss.Location = new Point(190, 74); this.lb2ValueCutloss.Margin = new Padding(2, 0, 2, 0); this.lb2ValueCutloss.Name = "lb2ValueCutloss"; this.lb2ValueCutloss.Size = new Size(37, 13); this.lb2ValueCutloss.TabIndex = 133; this.lb2ValueCutloss.Text = "Period"; this.lb2ValueCutloss.TextAlign = ContentAlignment.MiddleLeft; this.cb2ValueCutloss.AutoCompleteSource = AutoCompleteSource.CustomSource; this.cb2ValueCutloss.BackColor = Color.FromArgb(224, 224, 224); this.cb2ValueCutloss.FlatStyle = FlatStyle.Popup; this.cb2ValueCutloss.ForeColor = Color.Black; this.cb2ValueCutloss.FormattingEnabled = true; this.cb2ValueCutloss.Location = new Point(231, 70); this.cb2ValueCutloss.Name = "cb2ValueCutloss"; this.cb2ValueCutloss.Size = new Size(70, 21); this.cb2ValueCutloss.TabIndex = 126; this.cb2ValueCutloss.Leave += new EventHandler(this.controlOrder_Leave); this.cb2ValueCutloss.Enter += new EventHandler(this.controlOrder_Enter); this.cb2ValueCutloss.KeyDown += new KeyEventHandler(this.cb2ValueCutloss_KeyDown); this.cb2PriceBreak.AllowDrop = true; this.cb2PriceBreak.AutoCompleteCustomSource.AddRange(new string[] { "", "ATO", "ATC", "MP", "MO", "ML" }); this.cb2PriceBreak.AutoCompleteMode = AutoCompleteMode.Append; this.cb2PriceBreak.AutoCompleteSource = AutoCompleteSource.CustomSource; this.cb2PriceBreak.BackColor = Color.FromArgb(224, 224, 224); this.cb2PriceBreak.Enabled = false; this.cb2PriceBreak.FlatStyle = FlatStyle.Popup; this.cb2PriceBreak.ForeColor = Color.Black; this.cb2PriceBreak.FormattingEnabled = true; this.cb2PriceBreak.Location = new Point(346, 70); this.cb2PriceBreak.Name = "cb2PriceBreak"; this.cb2PriceBreak.Size = new Size(57, 21); this.cb2PriceBreak.TabIndex = 127; this.cb2PriceBreak.Text = "MP"; this.cb2PriceBreak.Leave += new EventHandler(this.controlOrder_Leave); this.cb2PriceBreak.Enter += new EventHandler(this.controlOrder_Enter); this.cb2PriceBreak.KeyPress += new KeyPressEventHandler(this.cbPrice_KeyPress); this.label7.AutoSize = true; this.label7.ForeColor = Color.LightGray; this.label7.Location = new Point(311, 74); this.label7.Margin = new Padding(2, 0, 2, 0); this.label7.Name = "label7"; this.label7.Size = new Size(31, 13); this.label7.TabIndex = 128; this.label7.Text = "Price"; this.label7.TextAlign = ContentAlignment.MiddleLeft; this.lb2ValueTrailingStop.AutoSize = true; this.lb2ValueTrailingStop.ForeColor = Color.LightGray; this.lb2ValueTrailingStop.Location = new Point(190, 51); this.lb2ValueTrailingStop.Margin = new Padding(2, 0, 2, 0); this.lb2ValueTrailingStop.Name = "lb2ValueTrailingStop"; this.lb2ValueTrailingStop.Size = new Size(37, 13); this.lb2ValueTrailingStop.TabIndex = 127; this.lb2ValueTrailingStop.Text = "Period"; this.lb2ValueTrailingStop.TextAlign = ContentAlignment.MiddleLeft; this.cb2ValueTrailingStop.AutoCompleteSource = AutoCompleteSource.CustomSource; this.cb2ValueTrailingStop.BackColor = Color.FromArgb(224, 224, 224); this.cb2ValueTrailingStop.FlatStyle = FlatStyle.Popup; this.cb2ValueTrailingStop.ForeColor = Color.Black; this.cb2ValueTrailingStop.FormattingEnabled = true; this.cb2ValueTrailingStop.Location = new Point(231, 47); this.cb2ValueTrailingStop.Name = "cb2ValueTrailingStop"; this.cb2ValueTrailingStop.Size = new Size(70, 21); this.cb2ValueTrailingStop.TabIndex = 123; this.cb2ValueTrailingStop.Leave += new EventHandler(this.controlOrder_Leave); this.cb2ValueTrailingStop.Enter += new EventHandler(this.controlOrder_Enter); this.cb2ValueTrailingStop.KeyDown += new KeyEventHandler(this.cb2ValueTrailingStop_KeyDown); this.cb2PriceSMA.AllowDrop = true; this.cb2PriceSMA.AutoCompleteCustomSource.AddRange(new string[] { "", "ATO", "ATC", "MP", "MO", "ML" }); this.cb2PriceSMA.AutoCompleteMode = AutoCompleteMode.Append; this.cb2PriceSMA.AutoCompleteSource = AutoCompleteSource.CustomSource; this.cb2PriceSMA.BackColor = Color.FromArgb(224, 224, 224); this.cb2PriceSMA.Enabled = false; this.cb2PriceSMA.FlatStyle = FlatStyle.Popup; this.cb2PriceSMA.ForeColor = Color.Black; this.cb2PriceSMA.FormattingEnabled = true; this.cb2PriceSMA.Location = new Point(346, 47); this.cb2PriceSMA.Name = "cb2PriceSMA"; this.cb2PriceSMA.Size = new Size(57, 21); this.cb2PriceSMA.TabIndex = 124; this.cb2PriceSMA.Text = "MP"; this.cb2PriceSMA.Leave += new EventHandler(this.controlOrder_Leave); this.cb2PriceSMA.Enter += new EventHandler(this.controlOrder_Enter); this.cb2PriceSMA.KeyPress += new KeyPressEventHandler(this.cbPrice_KeyPress); this.label5.AutoSize = true; this.label5.ForeColor = Color.LightGray; this.label5.Location = new Point(311, 51); this.label5.Margin = new Padding(2, 0, 2, 0); this.label5.Name = "label5"; this.label5.Size = new Size(31, 13); this.label5.TabIndex = 122; this.label5.Text = "Price"; this.label5.TextAlign = ContentAlignment.MiddleLeft; this.cb2OperCutloss.DropDownStyle = ComboBoxStyle.DropDownList; this.cb2OperCutloss.FlatStyle = FlatStyle.Flat; this.cb2OperCutloss.FormattingEnabled = true; this.cb2OperCutloss.Items.AddRange(new object[] { "Last <", "Break Low <" }); this.cb2OperCutloss.Location = new Point(98, 70); this.cb2OperCutloss.Margin = new Padding(2); this.cb2OperCutloss.Name = "cb2OperCutloss"; this.cb2OperCutloss.Size = new Size(85, 21); this.cb2OperCutloss.TabIndex = 121; this.cb2OperCutloss.SelectedIndexChanged += new EventHandler(this.cb2OperCutloss_SelectedIndexChanged); this.cb2OperCutloss.Leave += new EventHandler(this.controlOrder_Leave); this.cb2OperCutloss.Enter += new EventHandler(this.controlOrder_Enter); this.cb2OperCutloss.KeyDown += new KeyEventHandler(this.cb2OperCutloss_KeyDown); this.cb2OperTrailingStop.DropDownStyle = ComboBoxStyle.DropDownList; this.cb2OperTrailingStop.FlatStyle = FlatStyle.Flat; this.cb2OperTrailingStop.FormattingEnabled = true; this.cb2OperTrailingStop.Items.AddRange(new object[] { "SMA <", "Break Low <" }); this.cb2OperTrailingStop.Location = new Point(98, 47); this.cb2OperTrailingStop.Margin = new Padding(2); this.cb2OperTrailingStop.Name = "cb2OperTrailingStop"; this.cb2OperTrailingStop.Size = new Size(85, 21); this.cb2OperTrailingStop.TabIndex = 122; this.cb2OperTrailingStop.SelectedIndexChanged += new EventHandler(this.cb2OperTrailingStop_SelectedIndexChanged); this.cb2OperTrailingStop.Leave += new EventHandler(this.controlOrder_Leave); this.cb2OperTrailingStop.Enter += new EventHandler(this.controlOrder_Enter); this.cb2OperTrailingStop.KeyDown += new KeyEventHandler(this.cb2OperTrailingStop_KeyDown); this.cb2OperTakeProfit.DropDownStyle = ComboBoxStyle.DropDownList; this.cb2OperTakeProfit.FlatStyle = FlatStyle.Flat; this.cb2OperTakeProfit.FormattingEnabled = true; this.cb2OperTakeProfit.Items.AddRange(new object[] { "Last >=" }); this.cb2OperTakeProfit.Location = new Point(98, 24); this.cb2OperTakeProfit.Margin = new Padding(2); this.cb2OperTakeProfit.Name = "cb2OperTakeProfit"; this.cb2OperTakeProfit.Size = new Size(85, 21); this.cb2OperTakeProfit.TabIndex = 117; this.cb2OperTakeProfit.SelectedIndexChanged += new EventHandler(this.cb2OperTakeProfit_SelectedIndexChanged); this.cb2OperTakeProfit.Leave += new EventHandler(this.controlOrder_Leave); this.cb2OperTakeProfit.Enter += new EventHandler(this.controlOrder_Enter); this.cb2OperTakeProfit.KeyDown += new KeyEventHandler(this.cb2OperTakeProfit_KeyDown); this.chb2CutLossCond.AutoSize = true; this.chb2CutLossCond.ForeColor = Color.LightGray; this.chb2CutLossCond.Location = new Point(14, 72); this.chb2CutLossCond.Margin = new Padding(2); this.chb2CutLossCond.Name = "chb2CutLossCond"; this.chb2CutLossCond.Size = new Size(67, 17); this.chb2CutLossCond.TabIndex = 125; this.chb2CutLossCond.Text = "Cut Loss"; this.chb2CutLossCond.UseVisualStyleBackColor = true; this.chb2TrailingStopCond.AutoSize = true; this.chb2TrailingStopCond.ForeColor = Color.LightGray; this.chb2TrailingStopCond.Location = new Point(14, 49); this.chb2TrailingStopCond.Margin = new Padding(2); this.chb2TrailingStopCond.Name = "chb2TrailingStopCond"; this.chb2TrailingStopCond.Size = new Size(85, 17); this.chb2TrailingStopCond.TabIndex = 121; this.chb2TrailingStopCond.Text = "Trailing Stop"; this.chb2TrailingStopCond.UseVisualStyleBackColor = true; this.chb2TakeProfitCond.AutoSize = true; this.chb2TakeProfitCond.ForeColor = Color.LightGray; this.chb2TakeProfitCond.Location = new Point(14, 27); this.chb2TakeProfitCond.Margin = new Padding(2); this.chb2TakeProfitCond.Name = "chb2TakeProfitCond"; this.chb2TakeProfitCond.Size = new Size(78, 17); this.chb2TakeProfitCond.TabIndex = 116; this.chb2TakeProfitCond.Text = "Take Profit"; this.chb2TakeProfitCond.UseVisualStyleBackColor = true; this.lb2ValueTakeProfit.AutoSize = true; this.lb2ValueTakeProfit.ForeColor = Color.LightGray; this.lb2ValueTakeProfit.Location = new Point(193, 28); this.lb2ValueTakeProfit.Margin = new Padding(2, 0, 2, 0); this.lb2ValueTakeProfit.Name = "lb2ValueTakeProfit"; this.lb2ValueTakeProfit.Size = new Size(34, 13); this.lb2ValueTakeProfit.TabIndex = 115; this.lb2ValueTakeProfit.Text = "Value"; this.lb2ValueTakeProfit.TextAlign = ContentAlignment.MiddleLeft; this.cb2ValueTakeProfit.AutoCompleteSource = AutoCompleteSource.CustomSource; this.cb2ValueTakeProfit.BackColor = Color.FromArgb(224, 224, 224); this.cb2ValueTakeProfit.FlatStyle = FlatStyle.Popup; this.cb2ValueTakeProfit.ForeColor = Color.Black; this.cb2ValueTakeProfit.FormattingEnabled = true; this.cb2ValueTakeProfit.Location = new Point(231, 24); this.cb2ValueTakeProfit.Name = "cb2ValueTakeProfit"; this.cb2ValueTakeProfit.Size = new Size(70, 21); this.cb2ValueTakeProfit.TabIndex = 118; this.cb2ValueTakeProfit.Leave += new EventHandler(this.controlOrder_Leave); this.cb2ValueTakeProfit.Enter += new EventHandler(this.controlOrder_Enter); this.cb2ValueTakeProfit.KeyDown += new KeyEventHandler(this.cb2ValueTakeProfit_KeyDown); this.cb2PriceLast.AllowDrop = true; this.cb2PriceLast.AutoCompleteCustomSource.AddRange(new string[] { "", "ATO", "ATC", "MP", "MO", "ML" }); this.cb2PriceLast.AutoCompleteMode = AutoCompleteMode.Append; this.cb2PriceLast.AutoCompleteSource = AutoCompleteSource.CustomSource; this.cb2PriceLast.BackColor = Color.FromArgb(224, 224, 224); this.cb2PriceLast.FlatStyle = FlatStyle.Popup; this.cb2PriceLast.ForeColor = Color.Black; this.cb2PriceLast.FormattingEnabled = true; this.cb2PriceLast.Location = new Point(346, 24); this.cb2PriceLast.Name = "cb2PriceLast"; this.cb2PriceLast.Size = new Size(57, 21); this.cb2PriceLast.TabIndex = 119; this.cb2PriceLast.Leave += new EventHandler(this.controlOrder_Leave); this.cb2PriceLast.Enter += new EventHandler(this.controlOrder_Enter); this.cb2PriceLast.KeyPress += new KeyPressEventHandler(this.cbPrice_KeyPress); this.cb2PriceLast.KeyDown += new KeyEventHandler(this.cb2PriceLast_KeyDown); this.chbGroupCancel.AutoSize = true; this.chbGroupCancel.ForeColor = Color.FromArgb(255, 192, 128); this.chbGroupCancel.Location = new Point(422, 72); this.chbGroupCancel.Margin = new Padding(2, 3, 0, 3); this.chbGroupCancel.Name = "chbGroupCancel"; this.chbGroupCancel.Size = new Size(91, 17); this.chbGroupCancel.TabIndex = 111; this.chbGroupCancel.Text = "Group Cancel"; this.chbGroupCancel.UseVisualStyleBackColor = false; this.label3.AutoSize = true; this.label3.ForeColor = Color.LightGray; this.label3.Location = new Point(418, 28); this.label3.Margin = new Padding(2, 0, 2, 0); this.label3.Name = "label3"; this.label3.Size = new Size(42, 13); this.label3.TabIndex = 11; this.label3.Text = "Volume"; this.label3.TextAlign = ContentAlignment.MiddleLeft; this.tb2Volume.BackColor = Color.FromArgb(224, 224, 224); this.tb2Volume.BorderStyle = BorderStyle.FixedSingle; this.tb2Volume.Location = new Point(463, 24); this.tb2Volume.Margin = new Padding(2, 3, 2, 3); this.tb2Volume.MaxLength = 10; this.tb2Volume.Name = "tb2Volume"; this.tb2Volume.Size = new Size(59, 20); this.tb2Volume.TabIndex = 120; this.tb2Volume.TextChanged += new EventHandler(this.tb2Volume_TextChanged); this.tb2Volume.KeyDown += new KeyEventHandler(this.tb2Volume_KeyDown); this.tb2Volume.Leave += new EventHandler(this.controlOrder_Leave); this.tb2Volume.Enter += new EventHandler(this.controlOrder_Enter); this.label4.AutoSize = true; this.label4.ForeColor = Color.LightGray; this.label4.Location = new Point(311, 28); this.label4.Margin = new Padding(2, 0, 2, 0); this.label4.Name = "label4"; this.label4.Size = new Size(31, 13); this.label4.TabIndex = 13; this.label4.Text = "Price"; this.label4.TextAlign = ContentAlignment.MiddleLeft; this.btnTypePZ.AutoEllipsis = true; this.btnTypePZ.Cursor = Cursors.Hand; this.btnTypePZ.FlatAppearance.BorderColor = Color.DimGray; this.btnTypePZ.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnTypePZ.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnTypePZ.FlatStyle = FlatStyle.Flat; this.btnTypePZ.ForeColor = Color.WhiteSmoke; this.btnTypePZ.Location = new Point(647, 6); this.btnTypePZ.MaximumSize = new Size(58, 23); this.btnTypePZ.Name = "btnTypePZ"; this.btnTypePZ.Size = new Size(31, 22); this.btnTypePZ.TabIndex = 125; this.btnTypePZ.TabStop = false; this.btnTypePZ.Text = "PZ"; this.toolTip1.SetToolTip(this.btnTypePZ, "Pricing Zone"); this.btnTypePZ.UseVisualStyleBackColor = false; this.btnTypePZ.Click += new EventHandler(this.btnTypePZ_Click); this.panType1.BackColor = Color.FromArgb(30, 30, 30); this.panType1.Controls.Add(this.cb1Condition); this.panType1.Controls.Add(this.lb1Value); this.panType1.Controls.Add(this.cb1Value); this.panType1.Controls.Add(this.cb1Price); this.panType1.Controls.Add(this.lbStopOrderField); this.panType1.Controls.Add(this.lbVolume); this.panType1.Controls.Add(this.tb1Volume); this.panType1.Controls.Add(this.lbPrice); this.panType1.Location = new Point(6, 31); this.panType1.Name = "panType1"; this.panType1.Size = new Size(674, 60); this.panType1.TabIndex = 110; this.cb1Condition.AllowDrop = true; this.cb1Condition.AutoCompleteSource = AutoCompleteSource.CustomSource; this.cb1Condition.BackColor = Color.FromArgb(224, 224, 224); this.cb1Condition.DropDownStyle = ComboBoxStyle.DropDownList; this.cb1Condition.FlatStyle = FlatStyle.Popup; this.cb1Condition.ForeColor = Color.Black; this.cb1Condition.FormattingEnabled = true; this.cb1Condition.Items.AddRange(new object[] { "Last <=", "Follow Biglot", "Last <= (sma)" }); this.cb1Condition.Location = new Point(15, 30); this.cb1Condition.Name = "cb1Condition"; this.cb1Condition.Size = new Size(138, 21); this.cb1Condition.TabIndex = 116; this.cb1Condition.SelectedIndexChanged += new EventHandler(this.cb1Field_SelectedIndexChanged); this.cb1Condition.Leave += new EventHandler(this.controlOrder_Leave); this.cb1Condition.Enter += new EventHandler(this.controlOrder_Enter); this.cb1Condition.KeyDown += new KeyEventHandler(this.cb1Condition_KeyDown); this.lb1Value.AutoSize = true; this.lb1Value.ForeColor = Color.LightGray; this.lb1Value.Location = new Point(161, 34); this.lb1Value.Margin = new Padding(2, 0, 2, 0); this.lb1Value.Name = "lb1Value"; this.lb1Value.Size = new Size(34, 13); this.lb1Value.TabIndex = 115; this.lb1Value.Text = "Value"; this.lb1Value.TextAlign = ContentAlignment.MiddleLeft; this.cb1Value.AutoCompleteSource = AutoCompleteSource.CustomSource; this.cb1Value.BackColor = Color.FromArgb(224, 224, 224); this.cb1Value.FlatStyle = FlatStyle.Popup; this.cb1Value.ForeColor = Color.Black; this.cb1Value.FormattingEnabled = true; this.cb1Value.Location = new Point(199, 30); this.cb1Value.Name = "cb1Value"; this.cb1Value.Size = new Size(64, 21); this.cb1Value.TabIndex = 117; this.cb1Value.Leave += new EventHandler(this.controlOrder_Leave); this.cb1Value.Enter += new EventHandler(this.controlOrder_Enter); this.cb1Value.KeyDown += new KeyEventHandler(this.cb1Value_KeyDown); this.lbStopOrderField.AutoSize = true; this.lbStopOrderField.ForeColor = Color.LightGray; this.lbStopOrderField.Location = new Point(12, 8); this.lbStopOrderField.Margin = new Padding(2, 0, 2, 0); this.lbStopOrderField.Name = "lbStopOrderField"; this.lbStopOrderField.Size = new Size(85, 13); this.lbStopOrderField.TabIndex = 109; this.lbStopOrderField.Text = "Order Conditions"; this.lbStopOrderField.TextAlign = ContentAlignment.MiddleLeft; this.btnTypeDCA.AutoEllipsis = true; this.btnTypeDCA.Cursor = Cursors.Hand; this.btnTypeDCA.FlatAppearance.BorderColor = Color.DimGray; this.btnTypeDCA.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnTypeDCA.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnTypeDCA.FlatStyle = FlatStyle.Flat; this.btnTypeDCA.ForeColor = Color.WhiteSmoke; this.btnTypeDCA.Location = new Point(604, 6); this.btnTypeDCA.MaximumSize = new Size(58, 23); this.btnTypeDCA.Name = "btnTypeDCA"; this.btnTypeDCA.Size = new Size(39, 22); this.btnTypeDCA.TabIndex = 123; this.btnTypeDCA.TabStop = false; this.btnTypeDCA.Text = "DCA"; this.toolTip1.SetToolTip(this.btnTypeDCA, "Dolla Cost Average"); this.btnTypeDCA.UseVisualStyleBackColor = false; this.btnTypeDCA.Click += new EventHandler(this.btnType3_Click); this.btnTypeMM.AutoEllipsis = true; this.btnTypeMM.Cursor = Cursors.Hand; this.btnTypeMM.FlatAppearance.BorderColor = Color.DimGray; this.btnTypeMM.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnTypeMM.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnTypeMM.FlatStyle = FlatStyle.Flat; this.btnTypeMM.ForeColor = Color.WhiteSmoke; this.btnTypeMM.Location = new Point(564, 6); this.btnTypeMM.MaximumSize = new Size(58, 23); this.btnTypeMM.Name = "btnTypeMM"; this.btnTypeMM.Size = new Size(35, 22); this.btnTypeMM.TabIndex = 119; this.btnTypeMM.TabStop = false; this.btnTypeMM.Text = "MM"; this.toolTip1.SetToolTip(this.btnTypeMM, "Money Management"); this.btnTypeMM.UseVisualStyleBackColor = false; this.btnTypeMM.Click += new EventHandler(this.btnTypeMM_Click); this.btnSell.AutoEllipsis = true; this.btnSell.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnSell.BackColor = Color.Transparent; this.btnSell.Cursor = Cursors.Hand; this.btnSell.FlatAppearance.BorderColor = Color.DimGray; this.btnSell.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnSell.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnSell.FlatStyle = FlatStyle.Flat; this.btnSell.ForeColor = Color.WhiteSmoke; this.btnSell.Image = Resources._1_4type_bt; this.btnSell.Location = new Point(75, 5); this.btnSell.MaximumSize = new Size(58, 23); this.btnSell.Name = "btnSell"; this.btnSell.Size = new Size(54, 22); this.btnSell.TabIndex = 117; this.btnSell.TabStop = false; this.btnSell.Text = "Sell"; this.btnSell.UseVisualStyleBackColor = false; this.btnSell.Click += new EventHandler(this.btnSell_Click); this.btnBuy.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnBuy.BackColor = Color.Transparent; this.btnBuy.Cursor = Cursors.Hand; this.btnBuy.FlatAppearance.BorderColor = Color.DimGray; this.btnBuy.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnBuy.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnBuy.FlatStyle = FlatStyle.Flat; this.btnBuy.ForeColor = Color.WhiteSmoke; this.btnBuy.Image = Resources._1_4type_bt; this.btnBuy.Location = new Point(15, 5); this.btnBuy.MaximumSize = new Size(58, 23); this.btnBuy.Name = "btnBuy"; this.btnBuy.Size = new Size(54, 22); this.btnBuy.TabIndex = 116; this.btnBuy.TabStop = false; this.btnBuy.Text = "Buy"; this.btnBuy.UseVisualStyleBackColor = false; this.btnBuy.Click += new EventHandler(this.btnBuy_Click); this.btnType2.AutoEllipsis = true; this.btnType2.Cursor = Cursors.Hand; this.btnType2.FlatAppearance.BorderColor = Color.DimGray; this.btnType2.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnType2.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnType2.FlatStyle = FlatStyle.Flat; this.btnType2.ForeColor = Color.WhiteSmoke; this.btnType2.Location = new Point(537, 6); this.btnType2.MaximumSize = new Size(58, 23); this.btnType2.Name = "btnType2"; this.btnType2.Size = new Size(22, 22); this.btnType2.TabIndex = 113; this.btnType2.TabStop = false; this.btnType2.Text = "2"; this.btnType2.UseVisualStyleBackColor = false; this.btnType2.Click += new EventHandler(this.btnType2_Click); this.btnType1.AutoEllipsis = true; this.btnType1.BackColor = Color.DodgerBlue; this.btnType1.Cursor = Cursors.Hand; this.btnType1.FlatAppearance.BorderColor = Color.DimGray; this.btnType1.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnType1.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnType1.FlatStyle = FlatStyle.Flat; this.btnType1.ForeColor = Color.WhiteSmoke; this.btnType1.Location = new Point(507, 6); this.btnType1.MaximumSize = new Size(58, 23); this.btnType1.Name = "btnType1"; this.btnType1.Size = new Size(22, 22); this.btnType1.TabIndex = 112; this.btnType1.TabStop = false; this.btnType1.Text = "1"; this.btnType1.UseVisualStyleBackColor = false; this.btnType1.Click += new EventHandler(this.btnType1_Click); this.lbPattern.AutoSize = true; this.lbPattern.ForeColor = Color.LightGray; this.lbPattern.Location = new Point(466, 10); this.lbPattern.Margin = new Padding(2, 0, 2, 0); this.lbPattern.Name = "lbPattern"; this.lbPattern.Size = new Size(31, 13); this.lbPattern.TabIndex = 111; this.lbPattern.Text = "Type"; this.lbPattern.TextAlign = ContentAlignment.MiddleLeft; this.tStripMenu.AllowMerge = false; this.tStripMenu.BackColor = Color.FromArgb(40, 40, 40); this.tStripMenu.CanOverflow = false; this.tStripMenu.GripMargin = new Padding(0); this.tStripMenu.GripStyle = ToolStripGripStyle.Hidden; this.tStripMenu.Items.AddRange(new ToolStripItem[] { this.tslbStatus, this.tscbStatus, this.tslbStock, this.tstbStock, this.tslbSide, this.tscbSide, this.tsbtnClearCondition, this.tsbtnCancelOrder, this.tsbtnSearch }); this.tStripMenu.LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow; this.tStripMenu.Location = new Point(0, 0); this.tStripMenu.Name = "tStripMenu"; this.tStripMenu.Padding = new Padding(1, 2, 1, 1); this.tStripMenu.RenderMode = ToolStripRenderMode.System; this.tStripMenu.Size = new Size(697, 28); this.tStripMenu.TabIndex = 114; this.tslbStatus.BackColor = Color.Transparent; this.tslbStatus.ForeColor = Color.Gainsboro; this.tslbStatus.Margin = new Padding(5, 1, 1, 1); this.tslbStatus.Name = "tslbStatus"; this.tslbStatus.Size = new Size(39, 23); this.tslbStatus.Text = "Status"; this.tscbStatus.AutoCompleteCustomSource.AddRange(new string[] { "ALL", "O", "PO", "M", "C", "PX", "R", "X" }); this.tscbStatus.AutoCompleteSource = AutoCompleteSource.CustomSource; this.tscbStatus.BackColor = Color.FromArgb(45, 45, 45); this.tscbStatus.DropDownStyle = ComboBoxStyle.DropDownList; this.tscbStatus.ForeColor = Color.LightGray; this.tscbStatus.Margin = new Padding(1, 0, 1, 2); this.tscbStatus.MaxLength = 3; this.tscbStatus.Name = "tscbStatus"; this.tscbStatus.Size = new Size(75, 23); this.tslbStock.BackColor = Color.Transparent; this.tslbStock.ForeColor = Color.Gainsboro; this.tslbStock.Margin = new Padding(5, 1, 1, 1); this.tslbStock.Name = "tslbStock"; this.tslbStock.Size = new Size(47, 23); this.tslbStock.Text = "Symbol"; this.tstbStock.AutoCompleteMode = AutoCompleteMode.SuggestAppend; this.tstbStock.AutoCompleteSource = AutoCompleteSource.CustomSource; this.tstbStock.BackColor = Color.FromArgb(45, 45, 45); this.tstbStock.BorderStyle = BorderStyle.FixedSingle; this.tstbStock.CharacterCasing = CharacterCasing.Upper; this.tstbStock.Font = new Font("Microsoft Sans Serif", 9f); this.tstbStock.ForeColor = Color.LightGray; this.tstbStock.Margin = new Padding(1, 0, 1, 2); this.tstbStock.MaxLength = 12; this.tstbStock.Name = "tstbStock"; this.tstbStock.Size = new Size(80, 23); this.tstbStock.KeyDown += new KeyEventHandler(this.tstbStock_KeyDown); this.tslbSide.BackColor = Color.Transparent; this.tslbSide.ForeColor = Color.Gainsboro; this.tslbSide.Margin = new Padding(5, 1, 1, 1); this.tslbSide.Name = "tslbSide"; this.tslbSide.Size = new Size(29, 23); this.tslbSide.Text = "Side"; this.tscbSide.AutoCompleteCustomSource.AddRange(new string[] { "ALL", "B", "S", "H", "C" }); this.tscbSide.AutoCompleteSource = AutoCompleteSource.CustomSource; this.tscbSide.BackColor = Color.FromArgb(45, 45, 45); this.tscbSide.DropDownStyle = ComboBoxStyle.DropDownList; this.tscbSide.ForeColor = Color.LightGray; this.tscbSide.Items.AddRange(new object[] { "ALL", "B", "S" }); this.tscbSide.Margin = new Padding(1, 0, 1, 2); this.tscbSide.MaxLength = 3; this.tscbSide.Name = "tscbSide"; this.tscbSide.Size = new Size(75, 23); this.tsbtnClearCondition.DisplayStyle = ToolStripItemDisplayStyle.Text; this.tsbtnClearCondition.ForeColor = Color.Gainsboro; this.tsbtnClearCondition.ImageTransparentColor = Color.Magenta; this.tsbtnClearCondition.Margin = new Padding(5, 1, 0, 2); this.tsbtnClearCondition.Name = "tsbtnClearCondition"; this.tsbtnClearCondition.Size = new Size(38, 22); this.tsbtnClearCondition.Text = "Clear"; this.tsbtnClearCondition.ToolTipText = "Clear Condition"; this.tsbtnClearCondition.Click += new EventHandler(this.tsbtnClearCondition_Click); this.tsbtnCancelOrder.Alignment = ToolStripItemAlignment.Right; this.tsbtnCancelOrder.ForeColor = Color.Tomato; this.tsbtnCancelOrder.Image = (Image)componentResourceManager.GetObject("tsbtnCancelOrder.Image"); this.tsbtnCancelOrder.ImageTransparentColor = Color.Magenta; this.tsbtnCancelOrder.Name = "tsbtnCancelOrder"; this.tsbtnCancelOrder.Size = new Size(63, 22); this.tsbtnCancelOrder.Text = "Cancel"; this.tsbtnCancelOrder.ToolTipText = "Cancel Order"; this.tsbtnCancelOrder.Click += new EventHandler(this.tsbtnCancelOrder_Click); this.tsbtnSearch.Font = new Font("Microsoft Sans Serif", 9f); this.tsbtnSearch.ForeColor = Color.Gainsboro; this.tsbtnSearch.Image = Resources.refresh; this.tsbtnSearch.ImageTransparentColor = Color.Magenta; this.tsbtnSearch.Margin = new Padding(5, 1, 0, 2); this.tsbtnSearch.Name = "tsbtnSearch"; this.tsbtnSearch.Size = new Size(66, 22); this.tsbtnSearch.Text = "Search"; this.tsbtnSearch.Click += new EventHandler(this.tsbtnSearch_Click); this.panel1.BackColor = Color.FromArgb(50, 50, 50); this.panel1.Controls.Add(this.intzaOrder); this.panel1.Controls.Add(this.tStripMenu); this.panel1.Dock = DockStyle.Fill; this.panel1.Location = new Point(0, 424); this.panel1.Name = "panel1"; this.panel1.Size = new Size(697, 105); this.panel1.TabIndex = 116; this.intzaOrder.AllowDrop = true; this.intzaOrder.BackColor = Color.FromArgb(30, 30, 30); this.intzaOrder.CanBlink = true; this.intzaOrder.CanDrag = false; this.intzaOrder.CanGetMouseMove = false; columnItem19.Alignment = StringAlignment.Near; columnItem19.BackColor = Color.FromArgb(64, 64, 64); columnItem19.FontColor = Color.LightGray; columnItem19.IsExpand = false; columnItem19.MyStyle = FontStyle.Regular; columnItem19.Name = "checkbox"; columnItem19.Text = ""; columnItem19.ValueFormat = FormatType.Bitmap; columnItem19.Visible = true; columnItem19.Width = 3; columnItem20.Alignment = StringAlignment.Center; columnItem20.BackColor = Color.FromArgb(64, 64, 64); columnItem20.FontColor = Color.LightGray; columnItem20.IsExpand = false; columnItem20.MyStyle = FontStyle.Regular; columnItem20.Name = "side"; columnItem20.Text = "B/S"; columnItem20.ValueFormat = FormatType.Text; columnItem20.Visible = true; columnItem20.Width = 5; columnItem21.Alignment = StringAlignment.Near; columnItem21.BackColor = Color.FromArgb(64, 64, 64); columnItem21.FontColor = Color.LightGray; columnItem21.IsExpand = false; columnItem21.MyStyle = FontStyle.Regular; columnItem21.Name = "stock"; columnItem21.Text = "Symbol"; columnItem21.ValueFormat = FormatType.Text; columnItem21.Visible = true; columnItem21.Width = 12; columnItem22.Alignment = StringAlignment.Far; columnItem22.BackColor = Color.FromArgb(64, 64, 64); columnItem22.FontColor = Color.LightGray; columnItem22.IsExpand = false; columnItem22.MyStyle = FontStyle.Regular; columnItem22.Name = "volume"; columnItem22.Text = "Volume"; columnItem22.ValueFormat = FormatType.Volume; columnItem22.Visible = true; columnItem22.Width = 13; columnItem23.Alignment = StringAlignment.Far; columnItem23.BackColor = Color.FromArgb(64, 64, 64); columnItem23.FontColor = Color.LightGray; columnItem23.IsExpand = false; columnItem23.MyStyle = FontStyle.Regular; columnItem23.Name = "price"; columnItem23.Text = "Price"; columnItem23.ValueFormat = FormatType.Text; columnItem23.Visible = true; columnItem23.Width = 10; columnItem24.Alignment = StringAlignment.Near; columnItem24.BackColor = Color.FromArgb(64, 64, 64); columnItem24.FontColor = Color.LightGray; columnItem24.IsExpand = false; columnItem24.MyStyle = FontStyle.Regular; columnItem24.Name = "condition"; columnItem24.Text = "Condition"; columnItem24.ValueFormat = FormatType.Text; columnItem24.Visible = true; columnItem24.Width = 32; columnItem25.Alignment = StringAlignment.Center; columnItem25.BackColor = Color.FromArgb(64, 64, 64); columnItem25.FontColor = Color.LightGray; columnItem25.IsExpand = false; columnItem25.MyStyle = FontStyle.Regular; columnItem25.Name = "status"; columnItem25.Text = "Status"; columnItem25.ValueFormat = FormatType.Text; columnItem25.Visible = true; columnItem25.Width = 13; columnItem26.Alignment = StringAlignment.Center; columnItem26.BackColor = Color.FromArgb(64, 64, 64); columnItem26.FontColor = Color.LightGray; columnItem26.IsExpand = false; columnItem26.MyStyle = FontStyle.Regular; columnItem26.Name = "sent_time"; columnItem26.Text = "Time"; columnItem26.ValueFormat = FormatType.Text; columnItem26.Visible = true; columnItem26.Width = 12; columnItem27.Alignment = StringAlignment.Center; columnItem27.BackColor = Color.FromArgb(64, 64, 64); columnItem27.FontColor = Color.LightGray; columnItem27.IsExpand = false; columnItem27.MyStyle = FontStyle.Regular; columnItem27.Name = "limit"; columnItem27.Text = "Expire Date"; columnItem27.ValueFormat = FormatType.Text; columnItem27.Visible = true; columnItem27.Width = 13; columnItem28.Alignment = StringAlignment.Center; columnItem28.BackColor = Color.FromArgb(64, 64, 64); columnItem28.FontColor = Color.LightGray; columnItem28.IsExpand = false; columnItem28.MyStyle = FontStyle.Regular; columnItem28.Name = "group_cancel"; columnItem28.Text = "Group Cancel"; columnItem28.ValueFormat = FormatType.Text; columnItem28.Visible = true; columnItem28.Width = 13; columnItem29.Alignment = StringAlignment.Center; columnItem29.BackColor = Color.FromArgb(64, 64, 64); columnItem29.FontColor = Color.LightGray; columnItem29.IsExpand = false; columnItem29.MyStyle = FontStyle.Regular; columnItem29.Name = "ref_no"; columnItem29.Text = "Ref No."; columnItem29.ValueFormat = FormatType.Text; columnItem29.Visible = true; columnItem29.Width = 10; columnItem30.Alignment = StringAlignment.Center; columnItem30.BackColor = Color.FromArgb(64, 64, 64); columnItem30.FontColor = Color.LightGray; columnItem30.IsExpand = false; columnItem30.MyStyle = FontStyle.Regular; columnItem30.Name = "mm_src_ordno"; columnItem30.Text = "Source No"; columnItem30.ValueFormat = FormatType.Text; columnItem30.Visible = true; columnItem30.Width = 12; columnItem31.Alignment = StringAlignment.Center; columnItem31.BackColor = Color.FromArgb(64, 64, 64); columnItem31.FontColor = Color.LightGray; columnItem31.IsExpand = false; columnItem31.MyStyle = FontStyle.Regular; columnItem31.Name = "matched_time"; columnItem31.Text = "S-Time"; columnItem31.ValueFormat = FormatType.Text; columnItem31.Visible = true; columnItem31.Width = 10; columnItem32.Alignment = StringAlignment.Center; columnItem32.BackColor = Color.FromArgb(64, 64, 64); columnItem32.FontColor = Color.LightGray; columnItem32.IsExpand = false; columnItem32.MyStyle = FontStyle.Regular; columnItem32.Name = "order_no"; columnItem32.Text = "Order No"; columnItem32.ValueFormat = FormatType.Text; columnItem32.Visible = true; columnItem32.Width = 12; columnItem33.Alignment = StringAlignment.Near; columnItem33.BackColor = Color.FromArgb(64, 64, 64); columnItem33.FontColor = Color.LightGray; columnItem33.IsExpand = false; columnItem33.MyStyle = FontStyle.Regular; columnItem33.Name = "message"; columnItem33.Text = "Message"; columnItem33.ValueFormat = FormatType.Text; columnItem33.Visible = true; columnItem33.Width = 70; this.intzaOrder.Columns.Add(columnItem19); this.intzaOrder.Columns.Add(columnItem20); this.intzaOrder.Columns.Add(columnItem21); this.intzaOrder.Columns.Add(columnItem22); this.intzaOrder.Columns.Add(columnItem23); this.intzaOrder.Columns.Add(columnItem24); this.intzaOrder.Columns.Add(columnItem25); this.intzaOrder.Columns.Add(columnItem26); this.intzaOrder.Columns.Add(columnItem27); this.intzaOrder.Columns.Add(columnItem28); this.intzaOrder.Columns.Add(columnItem29); this.intzaOrder.Columns.Add(columnItem30); this.intzaOrder.Columns.Add(columnItem31); this.intzaOrder.Columns.Add(columnItem32); this.intzaOrder.Columns.Add(columnItem33); this.intzaOrder.CurrentScroll = 0; this.intzaOrder.Dock = DockStyle.Fill; this.intzaOrder.FocusItemIndex = -1; this.intzaOrder.ForeColor = Color.Black; this.intzaOrder.GridColor = Color.FromArgb(45, 45, 45); this.intzaOrder.HeaderPctHeight = 100f; this.intzaOrder.IsAutoRepaint = true; this.intzaOrder.IsDrawGrid = true; this.intzaOrder.IsDrawHeader = true; this.intzaOrder.IsScrollable = true; this.intzaOrder.Location = new Point(0, 28); this.intzaOrder.MainColumn = ""; this.intzaOrder.Name = "intzaOrder"; this.intzaOrder.Rows = 0; this.intzaOrder.RowSelectColor = Color.FromArgb(50, 50, 50); this.intzaOrder.RowSelectType = 3; this.intzaOrder.Size = new Size(697, 77); this.intzaOrder.SortColumnName = ""; this.intzaOrder.SortType = SortType.Desc; this.intzaOrder.TabIndex = 116; this.intzaOrder.TableMouseClick += new ExpandGrid.TableMouseClickEventHandler(this.intzaOrder_TableMouseClick); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(697, 529); base.Controls.Add(this.panel1); base.Controls.Add(this.panelTop); base.Name = "frmAutoTrade"; this.Text = "frmAutoTrade"; base.IDoShownDelay += new ClientBaseForm.OnShownDelayEventHandler(this.frmAutoTrade_IDoShownDelay); base.IDoLoadData += new ClientBaseForm.OnIDoLoadDataEventHandler(this.frmAutoTrade_IDoLoadData); base.IDoFontChanged += new ClientBaseForm.OnFontChangedEventHandler(this.frmAutoTrade_IDoFontChanged); base.IDoCustomSizeChanged += new ClientBaseForm.CustomSizeChangedEventHandler(this.frmAutoTrade_IDoCustomSizeChanged); base.IDoSymbolLinked += new ClientBaseForm.OnSymbolLinkEventHandler(this.frmAutoTrade_IDoSymbolLinked); base.IDoMainFormKeyUp += new ClientBaseForm.OnFormKeyUpEventHandler(this.frmAutoTrade_IDoMainFormKeyUp); base.IDoReActivated += new ClientBaseForm.OnReActiveEventHandler(this.frmAutoTrade_IDoReActivated); base.Controls.SetChildIndex(this.panelTop, 0); base.Controls.SetChildIndex(this.panel1, 0); this.panelTop.ResumeLayout(false); this.panelTop.PerformLayout(); this.panelPZ.ResumeLayout(false); this.panelDCA.ResumeLayout(false); this.panType2.ResumeLayout(false); this.panType2.PerformLayout(); this.panType1.ResumeLayout(false); this.panType1.PerformLayout(); this.tStripMenu.ResumeLayout(false); this.tStripMenu.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); AutoTradeManager.Instance.Init(); AutoTradeManager.Instance.OnStartAutoTrade -= new AutoTradeManager.OnStartAutoTradeHandler(this.OnStartAutoTrade); AutoTradeManager.Instance.OnStartAutoTrade += new AutoTradeManager.OnStartAutoTradeHandler(this.OnStartAutoTrade); AutoTradeManager.Instance.OnEndAutoTrade -= new AutoTradeManager.OnEndAutoTradeHandler(this.OnEndAutoTrade); AutoTradeManager.Instance.OnEndAutoTrade += new AutoTradeManager.OnEndAutoTradeHandler(this.OnEndAutoTrade); }
private void InitializeComponent() { ColumnItem columnItem = new ColumnItem(); ColumnItem columnItem2 = new ColumnItem(); ColumnItem columnItem3 = new ColumnItem(); ColumnItem columnItem4 = new ColumnItem(); ColumnItem columnItem5 = new ColumnItem(); ColumnItem columnItem6 = new ColumnItem(); ColumnItem columnItem7 = new ColumnItem(); ColumnItem columnItem8 = new ColumnItem(); ColumnItem columnItem9 = new ColumnItem(); ColumnItem columnItem10 = new ColumnItem(); ColumnItem columnItem11 = new ColumnItem(); this.gridDcaDetail = new ExpandGrid(); this.lbDcaRefNo2 = new Label(); this.lbDcaRefNo1 = new Label(); this.btnReloadDcaDetail = new Button(); this.btnBack = new Button(); base.SuspendLayout(); this.gridDcaDetail.AllowDrop = true; this.gridDcaDetail.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.gridDcaDetail.BackColor = Color.FromArgb(20, 20, 20); this.gridDcaDetail.CanBlink = true; this.gridDcaDetail.CanDrag = false; this.gridDcaDetail.CanGetMouseMove = false; columnItem.Alignment = StringAlignment.Center; columnItem.BackColor = Color.FromArgb(64, 64, 64); columnItem.FontColor = Color.LightGray; columnItem.IsExpand = false; columnItem.MyStyle = FontStyle.Regular; columnItem.Name = "no"; columnItem.Text = "No."; columnItem.ValueFormat = FormatType.Text; columnItem.Visible = true; columnItem.Width = 6; columnItem2.Alignment = StringAlignment.Center; columnItem2.BackColor = Color.FromArgb(64, 64, 64); columnItem2.FontColor = Color.LightGray; columnItem2.IsExpand = false; columnItem2.MyStyle = FontStyle.Regular; columnItem2.Name = "date"; columnItem2.Text = "Date"; columnItem2.ValueFormat = FormatType.Text; columnItem2.Visible = true; columnItem2.Width = 13; columnItem3.Alignment = StringAlignment.Far; columnItem3.BackColor = Color.FromArgb(64, 64, 64); columnItem3.FontColor = Color.LightGray; columnItem3.IsExpand = false; columnItem3.MyStyle = FontStyle.Regular; columnItem3.Name = "budget"; columnItem3.Text = "Budget"; columnItem3.ValueFormat = FormatType.Volume; columnItem3.Visible = true; columnItem3.Width = 13; columnItem4.Alignment = StringAlignment.Center; columnItem4.BackColor = Color.FromArgb(64, 64, 64); columnItem4.FontColor = Color.LightGray; columnItem4.IsExpand = false; columnItem4.MyStyle = FontStyle.Regular; columnItem4.Name = "buy_price"; columnItem4.Text = "Price"; columnItem4.ValueFormat = FormatType.Text; columnItem4.Visible = true; columnItem4.Width = 10; columnItem5.Alignment = StringAlignment.Far; columnItem5.BackColor = Color.FromArgb(64, 64, 64); columnItem5.FontColor = Color.LightGray; columnItem5.IsExpand = false; columnItem5.MyStyle = FontStyle.Regular; columnItem5.Name = "buy_volume"; columnItem5.Text = "Volume"; columnItem5.ValueFormat = FormatType.Volume; columnItem5.Visible = true; columnItem5.Width = 15; columnItem6.Alignment = StringAlignment.Far; columnItem6.BackColor = Color.FromArgb(64, 64, 64); columnItem6.FontColor = Color.LightGray; columnItem6.IsExpand = false; columnItem6.MyStyle = FontStyle.Regular; columnItem6.Name = "matvol"; columnItem6.Text = "Matched"; columnItem6.ValueFormat = FormatType.Volume; columnItem6.Visible = true; columnItem6.Width = 15; columnItem7.Alignment = StringAlignment.Center; columnItem7.BackColor = Color.FromArgb(64, 64, 64); columnItem7.FontColor = Color.LightGray; columnItem7.IsExpand = false; columnItem7.MyStyle = FontStyle.Regular; columnItem7.Name = "status"; columnItem7.Text = "Status"; columnItem7.ValueFormat = FormatType.Text; columnItem7.Visible = true; columnItem7.Width = 15; columnItem8.Alignment = StringAlignment.Center; columnItem8.BackColor = Color.FromArgb(64, 64, 64); columnItem8.FontColor = Color.LightGray; columnItem8.IsExpand = false; columnItem8.MyStyle = FontStyle.Regular; columnItem8.Name = "time"; columnItem8.Text = "Time"; columnItem8.ValueFormat = FormatType.Text; columnItem8.Visible = true; columnItem8.Width = 13; columnItem9.Alignment = StringAlignment.Center; columnItem9.BackColor = Color.FromArgb(64, 64, 64); columnItem9.FontColor = Color.LightGray; columnItem9.IsExpand = false; columnItem9.MyStyle = FontStyle.Regular; columnItem9.Name = "orderno"; columnItem9.Text = "Order#"; columnItem9.ValueFormat = FormatType.Text; columnItem9.Visible = true; columnItem9.Width = 15; columnItem10.Alignment = StringAlignment.Near; columnItem10.BackColor = Color.FromArgb(64, 64, 64); columnItem10.FontColor = Color.LightGray; columnItem10.IsExpand = false; columnItem10.MyStyle = FontStyle.Regular; columnItem10.Name = "message"; columnItem10.Text = "Message"; columnItem10.ValueFormat = FormatType.Text; columnItem10.Visible = true; columnItem10.Width = 78; columnItem11.Alignment = StringAlignment.Near; columnItem11.BackColor = Color.FromArgb(64, 64, 64); columnItem11.FontColor = Color.LightGray; columnItem11.IsExpand = false; columnItem11.MyStyle = FontStyle.Regular; columnItem11.Name = "tmp_date"; columnItem11.Text = "None"; columnItem11.ValueFormat = FormatType.Text; columnItem11.Visible = false; columnItem11.Width = 10; this.gridDcaDetail.Columns.Add(columnItem); this.gridDcaDetail.Columns.Add(columnItem2); this.gridDcaDetail.Columns.Add(columnItem3); this.gridDcaDetail.Columns.Add(columnItem4); this.gridDcaDetail.Columns.Add(columnItem5); this.gridDcaDetail.Columns.Add(columnItem6); this.gridDcaDetail.Columns.Add(columnItem7); this.gridDcaDetail.Columns.Add(columnItem8); this.gridDcaDetail.Columns.Add(columnItem9); this.gridDcaDetail.Columns.Add(columnItem10); this.gridDcaDetail.Columns.Add(columnItem11); this.gridDcaDetail.CurrentScroll = 0; this.gridDcaDetail.FocusItemIndex = -1; this.gridDcaDetail.ForeColor = Color.Black; this.gridDcaDetail.GridColor = Color.FromArgb(50, 50, 50); this.gridDcaDetail.HeaderPctHeight = 100f; this.gridDcaDetail.IsAutoRepaint = true; this.gridDcaDetail.IsDrawGrid = true; this.gridDcaDetail.IsDrawHeader = true; this.gridDcaDetail.IsScrollable = true; this.gridDcaDetail.Location = new Point(9, 36); this.gridDcaDetail.MainColumn = ""; this.gridDcaDetail.Name = "gridDcaDetail"; this.gridDcaDetail.Rows = 0; this.gridDcaDetail.RowSelectColor = Color.FromArgb(50, 50, 50); this.gridDcaDetail.RowSelectType = 3; this.gridDcaDetail.Size = new Size(665, 301); this.gridDcaDetail.SortColumnName = ""; this.gridDcaDetail.SortType = SortType.Desc; this.gridDcaDetail.TabIndex = 139; this.lbDcaRefNo2.AutoSize = true; this.lbDcaRefNo2.ForeColor = Color.Cyan; this.lbDcaRefNo2.Location = new Point(120, 13); this.lbDcaRefNo2.Name = "lbDcaRefNo2"; this.lbDcaRefNo2.Size = new Size(10, 13); this.lbDcaRefNo2.TabIndex = 142; this.lbDcaRefNo2.Text = "-"; this.lbDcaRefNo1.AutoSize = true; this.lbDcaRefNo1.ForeColor = Color.LightGray; this.lbDcaRefNo1.Location = new Point(73, 13); this.lbDcaRefNo1.Name = "lbDcaRefNo1"; this.lbDcaRefNo1.Size = new Size(44, 13); this.lbDcaRefNo1.TabIndex = 141; this.lbDcaRefNo1.Text = "Ref No."; this.btnReloadDcaDetail.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnReloadDcaDetail.BackColor = Color.Transparent; this.btnReloadDcaDetail.Cursor = Cursors.Hand; this.btnReloadDcaDetail.FlatAppearance.BorderColor = Color.DimGray; this.btnReloadDcaDetail.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnReloadDcaDetail.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnReloadDcaDetail.FlatStyle = FlatStyle.Flat; this.btnReloadDcaDetail.ForeColor = Color.LightGray; this.btnReloadDcaDetail.Image = Resources._1_4type_bt; this.btnReloadDcaDetail.Location = new Point(10, 8); this.btnReloadDcaDetail.MaximumSize = new Size(58, 23); this.btnReloadDcaDetail.Name = "btnReloadDcaDetail"; this.btnReloadDcaDetail.Size = new Size(54, 22); this.btnReloadDcaDetail.TabIndex = 140; this.btnReloadDcaDetail.TabStop = false; this.btnReloadDcaDetail.Text = "Reload"; this.btnReloadDcaDetail.UseVisualStyleBackColor = false; this.btnReloadDcaDetail.Click += new EventHandler(this.btnReloadDcaDetail_Click); this.btnBack.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.btnBack.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnBack.BackColor = Color.Transparent; this.btnBack.Cursor = Cursors.Hand; this.btnBack.FlatAppearance.BorderColor = Color.DimGray; this.btnBack.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnBack.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnBack.FlatStyle = FlatStyle.Flat; this.btnBack.ForeColor = Color.LightGray; this.btnBack.Image = Resources.no_side_button; this.btnBack.Location = new Point(620, 8); this.btnBack.MaximumSize = new Size(58, 23); this.btnBack.Name = "btnBack"; this.btnBack.Size = new Size(54, 22); this.btnBack.TabIndex = 149; this.btnBack.TabStop = false; this.btnBack.Text = "Back"; this.btnBack.UseVisualStyleBackColor = false; this.btnBack.Click += new EventHandler(this.btnBack_Click); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.FromArgb(30, 30, 30); base.ClientSize = new Size(684, 345); base.Controls.Add(this.btnBack); base.Controls.Add(this.gridDcaDetail); base.Controls.Add(this.lbDcaRefNo2); base.Controls.Add(this.lbDcaRefNo1); base.Controls.Add(this.btnReloadDcaDetail); base.FormBorderStyle = FormBorderStyle.None; base.Name = "frmDcaItemsInfo"; this.Text = "frmDcaItemsInfo"; base.Shown += new EventHandler(this.frmDcaItemsInfo_Shown); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmMarketWatch)); STIControl.ExpandTableGrid.ColumnItem columnItem = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem2 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem3 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem4 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem5 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem6 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem7 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem8 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem9 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem10 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem11 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem12 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem13 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem14 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem15 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem16 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem17 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem18 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem19 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem20 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem21 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem22 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem23 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem24 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem25 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem26 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem27 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem28 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem29 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem30 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem31 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem32 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem33 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem34 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem35 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem36 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem37 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem38 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem39 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem40 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem41 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem42 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem43 = new STIControl.ExpandTableGrid.ColumnItem(); STIControl.ExpandTableGrid.ColumnItem columnItem44 = new STIControl.ExpandTableGrid.ColumnItem(); ItemGrid itemGrid = new ItemGrid(); ItemGrid itemGrid2 = new ItemGrid(); ItemGrid itemGrid3 = new ItemGrid(); ItemGrid itemGrid4 = new ItemGrid(); ItemGrid itemGrid5 = new ItemGrid(); ItemGrid itemGrid6 = new ItemGrid(); ItemGrid itemGrid7 = new ItemGrid(); ItemGrid itemGrid8 = new ItemGrid(); ItemGrid itemGrid9 = new ItemGrid(); ItemGrid itemGrid10 = new ItemGrid(); ItemGrid itemGrid11 = new ItemGrid(); ItemGrid itemGrid12 = new ItemGrid(); ItemGrid itemGrid13 = new ItemGrid(); ItemGrid itemGrid14 = new ItemGrid(); ItemGrid itemGrid15 = new ItemGrid(); ItemGrid itemGrid16 = new ItemGrid(); ItemGrid itemGrid17 = new ItemGrid(); ItemGrid itemGrid18 = new ItemGrid(); ItemGrid itemGrid19 = new ItemGrid(); ItemGrid itemGrid20 = new ItemGrid(); ItemGrid itemGrid21 = new ItemGrid(); ItemGrid itemGrid22 = new ItemGrid(); ItemGrid itemGrid23 = new ItemGrid(); ItemGrid itemGrid24 = new ItemGrid(); ItemGrid itemGrid25 = new ItemGrid(); ItemGrid itemGrid26 = new ItemGrid(); ItemGrid itemGrid27 = new ItemGrid(); ItemGrid itemGrid28 = new ItemGrid(); ItemGrid itemGrid29 = new ItemGrid(); ItemGrid itemGrid30 = new ItemGrid(); ItemGrid itemGrid31 = new ItemGrid(); ItemGrid itemGrid32 = new ItemGrid(); ItemGrid itemGrid33 = new ItemGrid(); ItemGrid itemGrid34 = new ItemGrid(); ItemGrid itemGrid35 = new ItemGrid(); ItemGrid itemGrid36 = new ItemGrid(); ItemGrid itemGrid37 = new ItemGrid(); ItemGrid itemGrid38 = new ItemGrid(); ItemGrid itemGrid39 = new ItemGrid(); ItemGrid itemGrid40 = new ItemGrid(); ItemGrid itemGrid41 = new ItemGrid(); ItemGrid itemGrid42 = new ItemGrid(); STIControl.SortTableGrid.ColumnItem columnItem45 = new STIControl.SortTableGrid.ColumnItem(); STIControl.SortTableGrid.ColumnItem columnItem46 = new STIControl.SortTableGrid.ColumnItem(); STIControl.SortTableGrid.ColumnItem columnItem47 = new STIControl.SortTableGrid.ColumnItem(); STIControl.SortTableGrid.ColumnItem columnItem48 = new STIControl.SortTableGrid.ColumnItem(); ItemGrid itemGrid43 = new ItemGrid(); ItemGrid itemGrid44 = new ItemGrid(); ItemGrid itemGrid45 = new ItemGrid(); ItemGrid itemGrid46 = new ItemGrid(); ItemGrid itemGrid47 = new ItemGrid(); ItemGrid itemGrid48 = new ItemGrid(); ItemGrid itemGrid49 = new ItemGrid(); ItemGrid itemGrid50 = new ItemGrid(); ItemGrid itemGrid51 = new ItemGrid(); ItemGrid itemGrid52 = new ItemGrid(); ItemGrid itemGrid53 = new ItemGrid(); ItemGrid itemGrid54 = new ItemGrid(); ItemGrid itemGrid55 = new ItemGrid(); ItemGrid itemGrid56 = new ItemGrid(); ItemGrid itemGrid57 = new ItemGrid(); ItemGrid itemGrid58 = new ItemGrid(); ItemGrid itemGrid59 = new ItemGrid(); ItemGrid itemGrid60 = new ItemGrid(); ItemGrid itemGrid61 = new ItemGrid(); ItemGrid itemGrid62 = new ItemGrid(); ItemGrid itemGrid63 = new ItemGrid(); ItemGrid itemGrid64 = new ItemGrid(); ItemGrid itemGrid65 = new ItemGrid(); ItemGrid itemGrid66 = new ItemGrid(); ItemGrid itemGrid67 = new ItemGrid(); ItemGrid itemGrid68 = new ItemGrid(); ItemGrid itemGrid69 = new ItemGrid(); ItemGrid itemGrid70 = new ItemGrid(); ItemGrid itemGrid71 = new ItemGrid(); ItemGrid itemGrid72 = new ItemGrid(); ItemGrid itemGrid73 = new ItemGrid(); ItemGrid itemGrid74 = new ItemGrid(); ItemGrid itemGrid75 = new ItemGrid(); ItemGrid itemGrid76 = new ItemGrid(); ItemGrid itemGrid77 = new ItemGrid(); ItemGrid itemGrid78 = new ItemGrid(); ItemGrid itemGrid79 = new ItemGrid(); ItemGrid itemGrid80 = new ItemGrid(); ItemGrid itemGrid81 = new ItemGrid(); ItemGrid itemGrid82 = new ItemGrid(); ItemGrid itemGrid83 = new ItemGrid(); ItemGrid itemGrid84 = new ItemGrid(); STIControl.SortTableGrid.ColumnItem columnItem49 = new STIControl.SortTableGrid.ColumnItem(); STIControl.SortTableGrid.ColumnItem columnItem50 = new STIControl.SortTableGrid.ColumnItem(); STIControl.SortTableGrid.ColumnItem columnItem51 = new STIControl.SortTableGrid.ColumnItem(); STIControl.SortTableGrid.ColumnItem columnItem52 = new STIControl.SortTableGrid.ColumnItem(); ItemGrid itemGrid85 = new ItemGrid(); STIControl.SortTableGrid.ColumnItem columnItem53 = new STIControl.SortTableGrid.ColumnItem(); STIControl.SortTableGrid.ColumnItem columnItem54 = new STIControl.SortTableGrid.ColumnItem(); STIControl.SortTableGrid.ColumnItem columnItem55 = new STIControl.SortTableGrid.ColumnItem(); STIControl.SortTableGrid.ColumnItem columnItem56 = new STIControl.SortTableGrid.ColumnItem(); clsPermission clsPermission = new clsPermission(); clsPermission clsPermission2 = new clsPermission(); this.tStripMenu = new ToolStrip(); this.tsStockLable = new ToolStripLabel(); this.tstbStock = new ToolStripComboBox(); this.tslbCompare = new ToolStripLabel(); this.tsPrice = new ToolStripLabel(); this.tsbtnRefreshChart = new ToolStripButton(); this.tsbtnSwitchChart = new ToolStripButton(); this.tsbtnHChart = new ToolStripButton(); this.tsbtnSETNews = new ToolStripButton(); this.tslbTfexHigh = new ToolStripLabel(); this.tstbTfexHigh = new ToolStripLabel(); this.tslbTfexLow = new ToolStripLabel(); this.tstbTfexLow = new ToolStripLabel(); this.tslbTfexAvg = new ToolStripLabel(); this.tstbTfexAvg = new ToolStripLabel(); this.tsbtnVolAs = new ToolStripButton(); this.tsSectorName = new ToolStripLabel(); this.tsSectorIndex = new ToolStripLabel(); this.lbSplashInfo = new Label(); this.tbStockBBO = new TextBox(); this.lbBBOLoading = new Label(); this.panelBidOffer = new Panel(); this.intzaCMPR = new ExpandGrid(); this.intzaBBO = new ExpandGrid(); this.intzaOption = new ExpandGrid(); this.tStripCP = new ToolStrip(); this.tStripCall = new ToolStripLabel(); this.tStripPUT = new ToolStripLabel(); this.tStripBBO = new ToolStrip(); this.tslbSelection = new ToolStripLabel(); this.tscbBBOSelectionMain = new ToolStripComboBox(); this.tscbBBOSelection = new ToolStripComboBox(); this.tsbtnBBOAddStock = new ToolStripButton(); this.tsbtnBBODelStock = new ToolStripButton(); this.tsbtnColumnSetup = new ToolStripButton(); this.contextMenuStrip1 = new ContextMenuStrip(this.components); this.tsmiShowBestBO = new ToolStripMenuItem(); this.tsmiShow3BO = new ToolStripMenuItem(); this.tsmiShow5BO = new ToolStripMenuItem(); this.pictureBox1 = new PictureBox(); this.lbChartLoading = new Label(); this.contextLink = new ContextMenuStrip(this.components); this.tsmCallHistoricalChart = new ToolStripMenuItem(); this.tsmCallNews = new ToolStripMenuItem(); this.toolStripMenuItem1 = new ToolStripSeparator(); this.tsmCallStockInPlay = new ToolStripMenuItem(); this.tsmCallSaleByPrice = new ToolStripMenuItem(); this.tsmCallSaleByTime = new ToolStripMenuItem(); this.tsmCallOddlot = new ToolStripMenuItem(); this.btnCloseChart = new Button(); this.intzaInfoTFEX = new IntzaCustomGrid(); this.intzaVolumeByBoard = new SortGrid(); this.intzaInfo = new IntzaCustomGrid(); this.intzaLS = new SortGrid(); this.intzaBF = new IntzaCustomGrid(); this.intzaTP = new SortGrid(); this.toolTip1 = new ToolTip(this.components); this.wcGraphVolume = new ucVolumeAtPrice(); this.panelVolAs = new Panel(); this.btnVolAsClose = new Button(); this.tStripMenu.SuspendLayout(); this.panelBidOffer.SuspendLayout(); this.tStripCP.SuspendLayout(); this.tStripBBO.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); ((ISupportInitialize)this.pictureBox1).BeginInit(); this.contextLink.SuspendLayout(); this.panelVolAs.SuspendLayout(); base.SuspendLayout(); this.tStripMenu.BackColor = Color.FromArgb(30, 30, 30); this.tStripMenu.BackgroundImageLayout = ImageLayout.None; this.tStripMenu.GripMargin = new Padding(0); this.tStripMenu.GripStyle = ToolStripGripStyle.Hidden; this.tStripMenu.Items.AddRange(new ToolStripItem[] { this.tsStockLable, this.tstbStock, this.tslbCompare, this.tsPrice, this.tsbtnRefreshChart, this.tsbtnSwitchChart, this.tsbtnHChart, this.tsbtnSETNews, this.tslbTfexHigh, this.tstbTfexHigh, this.tslbTfexLow, this.tstbTfexLow, this.tslbTfexAvg, this.tstbTfexAvg, this.tsbtnVolAs, this.tsSectorName, this.tsSectorIndex }); this.tStripMenu.Location = new Point(0, 0); this.tStripMenu.Name = "tStripMenu"; this.tStripMenu.Padding = new Padding(1, 1, 1, 2); this.tStripMenu.RenderMode = ToolStripRenderMode.System; this.tStripMenu.Size = new Size(963, 26); this.tStripMenu.TabIndex = 21; this.tStripMenu.TabStop = true; this.tsStockLable.BackColor = Color.Transparent; this.tsStockLable.DisplayStyle = ToolStripItemDisplayStyle.Text; this.tsStockLable.Font = new Font("Microsoft Sans Serif", 8.25f); this.tsStockLable.ForeColor = Color.LightGray; this.tsStockLable.ImageTransparentColor = Color.Magenta; this.tsStockLable.Name = "tsStockLable"; this.tsStockLable.Padding = new Padding(1, 0, 2, 0); this.tsStockLable.Size = new Size(44, 20); this.tsStockLable.Text = "Symbol"; this.tstbStock.BackColor = Color.FromArgb(30, 30, 30); this.tstbStock.Font = new Font("Microsoft Sans Serif", 8.25f); this.tstbStock.ForeColor = Color.Yellow; this.tstbStock.Name = "tstbStock"; this.tstbStock.Size = new Size(120, 23); this.tstbStock.SelectedIndexChanged += new EventHandler(this.tstbStock_SelectedIndexChanged); this.tstbStock.KeyUp += new KeyEventHandler(this.tstbStock_KeyUp); this.tstbStock.KeyDown += new KeyEventHandler(this.tstbStock_KeyDown); this.tstbStock.Leave += new EventHandler(this.tstbStock_Leave); this.tstbStock.KeyPress += new KeyPressEventHandler(this.tstbStock_KeyPress); this.tslbCompare.BackColor = Color.Transparent; this.tslbCompare.Font = new Font("Wingdings", 9f, FontStyle.Regular, GraphicsUnit.Point, 2); this.tslbCompare.ForeColor = Color.Lime; this.tslbCompare.Margin = new Padding(5, 1, 0, 2); this.tslbCompare.Name = "tslbCompare"; this.tslbCompare.Size = new Size(0, 20); this.tslbCompare.Tag = "0"; this.tsPrice.BackColor = Color.Transparent; this.tsPrice.DisplayStyle = ToolStripItemDisplayStyle.Text; this.tsPrice.Font = new Font("Microsoft Sans Serif", 8.25f); this.tsPrice.ForeColor = Color.Yellow; this.tsPrice.Margin = new Padding(0, 1, 5, 2); this.tsPrice.Name = "tsPrice"; this.tsPrice.Padding = new Padding(0, 0, 2, 0); this.tsPrice.Size = new Size(30, 20); this.tsPrice.Text = "0.00"; this.tsbtnRefreshChart.Alignment = ToolStripItemAlignment.Right; this.tsbtnRefreshChart.DisplayStyle = ToolStripItemDisplayStyle.Image; this.tsbtnRefreshChart.Image = Resources.refresh; this.tsbtnRefreshChart.ImageTransparentColor = Color.Magenta; this.tsbtnRefreshChart.Name = "tsbtnRefreshChart"; this.tsbtnRefreshChart.Size = new Size(23, 20); this.tsbtnRefreshChart.Text = "Reload Chart"; this.tsbtnRefreshChart.Click += new EventHandler(this.tsbtnRefreshChart_Click); this.tsbtnSwitchChart.Alignment = ToolStripItemAlignment.Right; this.tsbtnSwitchChart.BackColor = Color.Transparent; this.tsbtnSwitchChart.ForeColor = Color.LightGray; this.tsbtnSwitchChart.Image = (Image)componentResourceManager.GetObject("tsbtnSwitchChart.Image"); this.tsbtnSwitchChart.ImageTransparentColor = Color.Magenta; this.tsbtnSwitchChart.Margin = new Padding(2, 1, 2, 2); this.tsbtnSwitchChart.Name = "tsbtnSwitchChart"; this.tsbtnSwitchChart.Size = new Size(23, 20); this.tsbtnSwitchChart.ToolTipText = "Intraday Chart"; this.tsbtnSwitchChart.Click += new EventHandler(this.tsbtnSwitchChart_Click); this.tsbtnHChart.Alignment = ToolStripItemAlignment.Right; this.tsbtnHChart.ForeColor = Color.WhiteSmoke; this.tsbtnHChart.Image = (Image)componentResourceManager.GetObject("tsbtnHChart.Image"); this.tsbtnHChart.ImageTransparentColor = Color.Magenta; this.tsbtnHChart.Margin = new Padding(2, 1, 2, 2); this.tsbtnHChart.Name = "tsbtnHChart"; this.tsbtnHChart.Size = new Size(23, 20); this.tsbtnHChart.ToolTipText = "Historical Chart"; this.tsbtnHChart.Click += new EventHandler(this.tsbtnHChart_Click); this.tsbtnSETNews.Alignment = ToolStripItemAlignment.Right; this.tsbtnSETNews.DisplayStyle = ToolStripItemDisplayStyle.Image; this.tsbtnSETNews.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0); this.tsbtnSETNews.ForeColor = Color.SandyBrown; this.tsbtnSETNews.Image = (Image)componentResourceManager.GetObject("tsbtnSETNews.Image"); this.tsbtnSETNews.ImageTransparentColor = Color.Magenta; this.tsbtnSETNews.Margin = new Padding(2, 1, 2, 2); this.tsbtnSETNews.Name = "tsbtnSETNews"; this.tsbtnSETNews.Size = new Size(23, 20); this.tsbtnSETNews.Tag = "S"; this.tsbtnSETNews.Text = "News"; this.tsbtnSETNews.ToolTipText = "SET News"; this.tsbtnSETNews.Click += new EventHandler(this.tsbtnSETNews_Click); this.tslbTfexHigh.BackColor = Color.Transparent; this.tslbTfexHigh.ForeColor = Color.Gainsboro; this.tslbTfexHigh.Margin = new Padding(1, 1, 5, 2); this.tslbTfexHigh.Name = "tslbTfexHigh"; this.tslbTfexHigh.Size = new Size(33, 20); this.tslbTfexHigh.Text = "High"; this.tstbTfexHigh.BackColor = Color.Transparent; this.tstbTfexHigh.ForeColor = Color.Yellow; this.tstbTfexHigh.Name = "tstbTfexHigh"; this.tstbTfexHigh.Padding = new Padding(1, 0, 1, 0); this.tstbTfexHigh.Size = new Size(30, 20); this.tstbTfexHigh.Text = "0.00"; this.tslbTfexLow.BackColor = Color.Transparent; this.tslbTfexLow.ForeColor = Color.Gainsboro; this.tslbTfexLow.Margin = new Padding(1, 1, 5, 2); this.tslbTfexLow.Name = "tslbTfexLow"; this.tslbTfexLow.Size = new Size(29, 20); this.tslbTfexLow.Text = "Low"; this.tstbTfexLow.BackColor = Color.Transparent; this.tstbTfexLow.ForeColor = Color.Yellow; this.tstbTfexLow.Name = "tstbTfexLow"; this.tstbTfexLow.Padding = new Padding(1, 0, 1, 0); this.tstbTfexLow.Size = new Size(30, 20); this.tstbTfexLow.Text = "0.00"; this.tslbTfexAvg.BackColor = Color.Transparent; this.tslbTfexAvg.ForeColor = Color.Gainsboro; this.tslbTfexAvg.Margin = new Padding(1, 1, 5, 2); this.tslbTfexAvg.Name = "tslbTfexAvg"; this.tslbTfexAvg.Size = new Size(28, 20); this.tslbTfexAvg.Text = "Avg"; this.tstbTfexAvg.BackColor = Color.Transparent; this.tstbTfexAvg.ForeColor = Color.Yellow; this.tstbTfexAvg.Name = "tstbTfexAvg"; this.tstbTfexAvg.Padding = new Padding(1, 0, 1, 0); this.tstbTfexAvg.Size = new Size(30, 20); this.tstbTfexAvg.Text = "0.00"; this.tsbtnVolAs.Alignment = ToolStripItemAlignment.Right; this.tsbtnVolAs.DisplayStyle = ToolStripItemDisplayStyle.Image; this.tsbtnVolAs.Image = (Image)componentResourceManager.GetObject("tsbtnVolAs.Image"); this.tsbtnVolAs.ImageTransparentColor = Color.Magenta; this.tsbtnVolAs.Name = "tsbtnVolAs"; this.tsbtnVolAs.Size = new Size(23, 20); this.tsbtnVolAs.ToolTipText = "Volume Analysis"; this.tsbtnVolAs.Click += new EventHandler(this.tsbtnVolAs_Click); this.tsSectorName.BackColor = Color.Transparent; this.tsSectorName.DisplayStyle = ToolStripItemDisplayStyle.Text; this.tsSectorName.Font = new Font("Microsoft Sans Serif", 8.25f); this.tsSectorName.ForeColor = Color.Aqua; this.tsSectorName.Margin = new Padding(2, 1, 2, 2); this.tsSectorName.Name = "tsSectorName"; this.tsSectorName.Padding = new Padding(2, 0, 2, 0); this.tsSectorName.Size = new Size(42, 20); this.tsSectorName.Text = "Sector"; this.tsSectorIndex.BackColor = Color.Transparent; this.tsSectorIndex.DisplayStyle = ToolStripItemDisplayStyle.Text; this.tsSectorIndex.Font = new Font("Microsoft Sans Serif", 8.25f); this.tsSectorIndex.ForeColor = Color.Yellow; this.tsSectorIndex.Name = "tsSectorIndex"; this.tsSectorIndex.Padding = new Padding(2, 0, 3, 0); this.tsSectorIndex.Size = new Size(33, 20); this.tsSectorIndex.Text = "0.00"; this.lbSplashInfo.AutoSize = true; this.lbSplashInfo.BackColor = Color.FromArgb(64, 64, 64); this.lbSplashInfo.BorderStyle = BorderStyle.FixedSingle; this.lbSplashInfo.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 222); this.lbSplashInfo.ForeColor = Color.Yellow; this.lbSplashInfo.Location = new Point(602, 140); this.lbSplashInfo.Name = "lbSplashInfo"; this.lbSplashInfo.Padding = new Padding(5, 3, 5, 3); this.lbSplashInfo.Size = new Size(69, 21); this.lbSplashInfo.TabIndex = 75; this.lbSplashInfo.Text = "Loading ..."; this.lbSplashInfo.TextAlign = ContentAlignment.MiddleCenter; this.lbSplashInfo.Visible = false; this.tbStockBBO.AutoCompleteMode = AutoCompleteMode.SuggestAppend; this.tbStockBBO.AutoCompleteSource = AutoCompleteSource.CustomSource; this.tbStockBBO.BackColor = Color.WhiteSmoke; this.tbStockBBO.BorderStyle = BorderStyle.FixedSingle; this.tbStockBBO.CharacterCasing = CharacterCasing.Upper; this.tbStockBBO.ForeColor = Color.Black; this.tbStockBBO.Location = new Point(8, 80); this.tbStockBBO.Margin = new Padding(0); this.tbStockBBO.MaxLength = 12; this.tbStockBBO.Name = "tbStockBBO"; this.tbStockBBO.Size = new Size(83, 20); this.tbStockBBO.TabIndex = 68; this.tbStockBBO.Visible = false; this.tbStockBBO.KeyDown += new KeyEventHandler(this.tbStockBBO_KeyDown); this.tbStockBBO.Leave += new EventHandler(this.tbStockBBO_Leave); this.tbStockBBO.Enter += new EventHandler(this.tbStockBBO_Enter); this.lbBBOLoading.AutoSize = true; this.lbBBOLoading.BackColor = Color.FromArgb(64, 64, 64); this.lbBBOLoading.BorderStyle = BorderStyle.FixedSingle; this.lbBBOLoading.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 222); this.lbBBOLoading.ForeColor = Color.Yellow; this.lbBBOLoading.Location = new Point(602, 166); this.lbBBOLoading.Name = "lbBBOLoading"; this.lbBBOLoading.Padding = new Padding(5, 3, 5, 3); this.lbBBOLoading.Size = new Size(69, 21); this.lbBBOLoading.TabIndex = 73; this.lbBBOLoading.Text = "Loading ..."; this.lbBBOLoading.TextAlign = ContentAlignment.MiddleCenter; this.lbBBOLoading.Visible = false; this.panelBidOffer.BackColor = Color.FromArgb(20, 20, 20); this.panelBidOffer.Controls.Add(this.intzaCMPR); this.panelBidOffer.Controls.Add(this.intzaBBO); this.panelBidOffer.Controls.Add(this.intzaOption); this.panelBidOffer.Controls.Add(this.tStripCP); this.panelBidOffer.Controls.Add(this.tStripBBO); this.panelBidOffer.Controls.Add(this.tbStockBBO); this.panelBidOffer.Location = new Point(2, 192); this.panelBidOffer.Margin = new Padding(0); this.panelBidOffer.Name = "panelBidOffer"; this.panelBidOffer.Size = new Size(952, 197); this.panelBidOffer.TabIndex = 1; this.panelBidOffer.Leave += new EventHandler(this.panelBidOffer_Leave); this.panelBidOffer.Enter += new EventHandler(this.panelBidOffer_Enter); this.intzaCMPR.AllowDrop = true; this.intzaCMPR.BackColor = Color.FromArgb(30, 30, 30); this.intzaCMPR.CanBlink = true; this.intzaCMPR.CanDrag = true; this.intzaCMPR.CanGetMouseMove = true; columnItem.Alignment = StringAlignment.Center; columnItem.BackColor = Color.FromArgb(64, 64, 64); columnItem.FontColor = Color.LightGray; columnItem.IsExpand = false; columnItem.MyStyle = FontStyle.Regular; columnItem.Name = "no"; columnItem.Text = "No."; columnItem.ValueFormat = FormatType.RecordNumber; columnItem.Visible = true; columnItem.Width = 6; columnItem2.Alignment = StringAlignment.Near; columnItem2.BackColor = Color.FromArgb(64, 64, 64); columnItem2.FontColor = Color.LightGray; columnItem2.IsExpand = false; columnItem2.MyStyle = FontStyle.Regular; columnItem2.Name = "stock"; columnItem2.Text = "Symbol"; columnItem2.ValueFormat = FormatType.Text; columnItem2.Visible = true; columnItem2.Width = 16; columnItem3.Alignment = StringAlignment.Far; columnItem3.BackColor = Color.FromArgb(64, 64, 64); columnItem3.FontColor = Color.LightGray; columnItem3.IsExpand = false; columnItem3.MyStyle = FontStyle.Regular; columnItem3.Name = "avgvol5"; columnItem3.Text = "AVG Vol5"; columnItem3.ValueFormat = FormatType.Volume; columnItem3.Visible = true; columnItem3.Width = 14; columnItem4.Alignment = StringAlignment.Far; columnItem4.BackColor = Color.FromArgb(64, 64, 100); columnItem4.FontColor = Color.LightGray; columnItem4.IsExpand = false; columnItem4.MyStyle = FontStyle.Regular; columnItem4.Name = "trade_vol"; columnItem4.Text = "TradeVol"; columnItem4.ValueFormat = FormatType.Volume; columnItem4.Visible = true; columnItem4.Width = 14; columnItem5.Alignment = StringAlignment.Far; columnItem5.BackColor = Color.FromArgb(64, 64, 64); columnItem5.FontColor = Color.LightGray; columnItem5.IsExpand = false; columnItem5.MyStyle = FontStyle.Regular; columnItem5.Name = "cmpr"; columnItem5.Text = "%CMPR"; columnItem5.ValueFormat = FormatType.Price; columnItem5.Visible = true; columnItem5.Width = 10; columnItem6.Alignment = StringAlignment.Far; columnItem6.BackColor = Color.FromArgb(64, 64, 64); columnItem6.FontColor = Color.LightGray; columnItem6.IsExpand = false; columnItem6.MyStyle = FontStyle.Regular; columnItem6.Name = "prev"; columnItem6.Text = "Prev"; columnItem6.ValueFormat = FormatType.Price; columnItem6.Visible = true; columnItem6.Width = 10; columnItem7.Alignment = StringAlignment.Far; columnItem7.BackColor = Color.FromArgb(64, 64, 64); columnItem7.FontColor = Color.LightGray; columnItem7.IsExpand = false; columnItem7.MyStyle = FontStyle.Regular; columnItem7.Name = "last"; columnItem7.Text = "Last"; columnItem7.ValueFormat = FormatType.PriceAndCompare; columnItem7.Visible = true; columnItem7.Width = 10; columnItem8.Alignment = StringAlignment.Far; columnItem8.BackColor = Color.FromArgb(64, 64, 64); columnItem8.FontColor = Color.LightGray; columnItem8.IsExpand = false; columnItem8.MyStyle = FontStyle.Regular; columnItem8.Name = "chg"; columnItem8.Text = "Chg"; columnItem8.ValueFormat = FormatType.ChangePrice; columnItem8.Visible = true; columnItem8.Width = 10; columnItem9.Alignment = StringAlignment.Far; columnItem9.BackColor = Color.FromArgb(64, 64, 64); columnItem9.FontColor = Color.LightGray; columnItem9.IsExpand = false; columnItem9.MyStyle = FontStyle.Regular; columnItem9.Name = "chg_pct"; columnItem9.Text = "%Chg"; columnItem9.ValueFormat = FormatType.ChangePrice; columnItem9.Visible = true; columnItem9.Width = 10; this.intzaCMPR.Columns.Add(columnItem); this.intzaCMPR.Columns.Add(columnItem2); this.intzaCMPR.Columns.Add(columnItem3); this.intzaCMPR.Columns.Add(columnItem4); this.intzaCMPR.Columns.Add(columnItem5); this.intzaCMPR.Columns.Add(columnItem6); this.intzaCMPR.Columns.Add(columnItem7); this.intzaCMPR.Columns.Add(columnItem8); this.intzaCMPR.Columns.Add(columnItem9); this.intzaCMPR.CurrentScroll = 0; this.intzaCMPR.Cursor = Cursors.Hand; this.intzaCMPR.FocusItemIndex = -1; this.intzaCMPR.ForeColor = Color.Black; this.intzaCMPR.GridColor = Color.FromArgb(45, 45, 45); this.intzaCMPR.HeaderPctHeight = 80f; this.intzaCMPR.IsAutoRepaint = true; this.intzaCMPR.IsDrawGrid = true; this.intzaCMPR.IsDrawHeader = true; this.intzaCMPR.IsScrollable = true; this.intzaCMPR.Location = new Point(242, 64); this.intzaCMPR.MainColumn = ""; this.intzaCMPR.Margin = new Padding(0); this.intzaCMPR.Name = "intzaCMPR"; this.intzaCMPR.Rows = 0; this.intzaCMPR.RowSelectColor = Color.FromArgb(50, 50, 50); this.intzaCMPR.RowSelectType = 2; this.intzaCMPR.Size = new Size(684, 65); this.intzaCMPR.SortColumnName = ""; this.intzaCMPR.SortType = SortType.Desc; this.intzaCMPR.TabIndex = 82; this.intzaCMPR.TableMouseClick += new ExpandGrid.TableMouseClickEventHandler(this.intzaCMPR_TableMouseClick); this.intzaBBO.AllowDrop = true; this.intzaBBO.BackColor = Color.FromArgb(30, 30, 30); this.intzaBBO.CanBlink = true; this.intzaBBO.CanDrag = true; this.intzaBBO.CanGetMouseMove = true; columnItem10.Alignment = StringAlignment.Near; columnItem10.BackColor = Color.FromArgb(64, 64, 64); columnItem10.FontColor = Color.LightGray; columnItem10.IsExpand = true; columnItem10.MyStyle = FontStyle.Regular; columnItem10.Name = "stock"; columnItem10.Text = "Symbol"; columnItem10.ValueFormat = FormatType.Symbol; columnItem10.Visible = true; columnItem10.Width = 15; columnItem11.Alignment = StringAlignment.Far; columnItem11.BackColor = Color.FromArgb(64, 64, 64); columnItem11.FontColor = Color.LightGray; columnItem11.IsExpand = false; columnItem11.MyStyle = FontStyle.Regular; columnItem11.Name = "last"; columnItem11.Text = "Last"; columnItem11.ValueFormat = FormatType.PriceAndCompare; columnItem11.Visible = true; columnItem11.Width = 10; columnItem12.Alignment = StringAlignment.Far; columnItem12.BackColor = Color.FromArgb(64, 64, 64); columnItem12.FontColor = Color.LightGray; columnItem12.IsExpand = false; columnItem12.MyStyle = FontStyle.Underline; columnItem12.Name = "chg"; columnItem12.Text = "Chg"; columnItem12.ValueFormat = FormatType.ChangePrice; columnItem12.Visible = true; columnItem12.Width = 8; columnItem13.Alignment = StringAlignment.Far; columnItem13.BackColor = Color.FromArgb(64, 64, 64); columnItem13.FontColor = Color.LightGray; columnItem13.IsExpand = false; columnItem13.MyStyle = FontStyle.Regular; columnItem13.Name = "prior"; columnItem13.Text = "Prev"; columnItem13.ValueFormat = FormatType.Price; columnItem13.Visible = false; columnItem13.Width = 8; columnItem14.Alignment = StringAlignment.Far; columnItem14.BackColor = Color.FromArgb(64, 64, 64); columnItem14.FontColor = Color.LightGray; columnItem14.IsExpand = false; columnItem14.MyStyle = FontStyle.Underline; columnItem14.Name = "po"; columnItem14.Text = "PO"; columnItem14.ValueFormat = FormatType.Price; columnItem14.Visible = false; columnItem14.Width = 9; columnItem15.Alignment = StringAlignment.Far; columnItem15.BackColor = Color.FromArgb(64, 64, 64); columnItem15.FontColor = Color.LightGray; columnItem15.IsExpand = false; columnItem15.MyStyle = FontStyle.Underline; columnItem15.Name = "avg"; columnItem15.Text = "Avg"; columnItem15.ValueFormat = FormatType.Price; columnItem15.Visible = true; columnItem15.Width = 9; columnItem16.Alignment = StringAlignment.Far; columnItem16.BackColor = Color.FromArgb(64, 64, 64); columnItem16.FontColor = Color.LightGray; columnItem16.IsExpand = false; columnItem16.MyStyle = FontStyle.Regular; columnItem16.Name = "bidvol"; columnItem16.Text = "BidVol"; columnItem16.ValueFormat = FormatType.BidOfferVolume; columnItem16.Visible = true; columnItem16.Width = 11; columnItem17.Alignment = StringAlignment.Far; columnItem17.BackColor = Color.FromArgb(64, 64, 64); columnItem17.FontColor = Color.LightGray; columnItem17.IsExpand = false; columnItem17.MyStyle = FontStyle.Regular; columnItem17.Name = "bid"; columnItem17.Text = "Bid"; columnItem17.ValueFormat = FormatType.Text; columnItem17.Visible = true; columnItem17.Width = 8; columnItem18.Alignment = StringAlignment.Far; columnItem18.BackColor = Color.FromArgb(64, 64, 64); columnItem18.FontColor = Color.LightGray; columnItem18.IsExpand = false; columnItem18.MyStyle = FontStyle.Regular; columnItem18.Name = "offer"; columnItem18.Text = "Offer"; columnItem18.ValueFormat = FormatType.Text; columnItem18.Visible = true; columnItem18.Width = 8; columnItem19.Alignment = StringAlignment.Far; columnItem19.BackColor = Color.FromArgb(64, 64, 64); columnItem19.FontColor = Color.LightGray; columnItem19.IsExpand = false; columnItem19.MyStyle = FontStyle.Regular; columnItem19.Name = "offvol"; columnItem19.Text = "OffVol"; columnItem19.ValueFormat = FormatType.BidOfferVolume; columnItem19.Visible = true; columnItem19.Width = 11; columnItem20.Alignment = StringAlignment.Far; columnItem20.BackColor = Color.FromArgb(64, 64, 64); columnItem20.FontColor = Color.LightGray; columnItem20.IsExpand = false; columnItem20.MyStyle = FontStyle.Regular; columnItem20.Name = "high"; columnItem20.Text = "High"; columnItem20.ValueFormat = FormatType.Price; columnItem20.Visible = false; columnItem20.Width = 8; columnItem21.Alignment = StringAlignment.Far; columnItem21.BackColor = Color.FromArgb(64, 64, 64); columnItem21.FontColor = Color.LightGray; columnItem21.IsExpand = false; columnItem21.MyStyle = FontStyle.Regular; columnItem21.Name = "low"; columnItem21.Text = "Low"; columnItem21.ValueFormat = FormatType.Price; columnItem21.Visible = false; columnItem21.Width = 8; columnItem22.Alignment = StringAlignment.Far; columnItem22.BackColor = Color.FromArgb(64, 64, 64); columnItem22.FontColor = Color.LightGray; columnItem22.IsExpand = false; columnItem22.MyStyle = FontStyle.Underline; columnItem22.Name = "pchg"; columnItem22.Text = "%Chg"; columnItem22.ValueFormat = FormatType.ChangePrice; columnItem22.Visible = false; columnItem22.Width = 8; columnItem23.Alignment = StringAlignment.Far; columnItem23.BackColor = Color.FromArgb(64, 64, 64); columnItem23.FontColor = Color.LightGray; columnItem23.IsExpand = false; columnItem23.MyStyle = FontStyle.Regular; columnItem23.Name = "deals"; columnItem23.Text = "Deals"; columnItem23.ValueFormat = FormatType.Volume; columnItem23.Visible = false; columnItem23.Width = 8; columnItem24.Alignment = StringAlignment.Near; columnItem24.BackColor = Color.FromArgb(64, 64, 64); columnItem24.FontColor = Color.LightGray; columnItem24.IsExpand = false; columnItem24.MyStyle = FontStyle.Regular; columnItem24.Name = "bidofferpct"; columnItem24.Text = "%Bids"; columnItem24.ValueFormat = FormatType.BidOfferPct; columnItem24.Visible = true; columnItem24.Width = 8; columnItem25.Alignment = StringAlignment.Far; columnItem25.BackColor = Color.FromArgb(64, 64, 64); columnItem25.FontColor = Color.LightGray; columnItem25.IsExpand = false; columnItem25.MyStyle = FontStyle.Underline; columnItem25.Name = "mval"; columnItem25.Text = "Value(K฿)"; columnItem25.ValueFormat = FormatType.Volume; columnItem25.Visible = true; columnItem25.Width = 12; columnItem26.Alignment = StringAlignment.Far; columnItem26.BackColor = Color.FromArgb(64, 64, 64); columnItem26.FontColor = Color.LightGray; columnItem26.IsExpand = false; columnItem26.MyStyle = FontStyle.Underline; columnItem26.Name = "mvol"; columnItem26.Text = "Volume"; columnItem26.ValueFormat = FormatType.Volume; columnItem26.Visible = false; columnItem26.Width = 12; columnItem27.Alignment = StringAlignment.Far; columnItem27.BackColor = Color.FromArgb(64, 64, 100); columnItem27.FontColor = Color.LightGray; columnItem27.IsExpand = false; columnItem27.MyStyle = FontStyle.Underline; columnItem27.Name = "pc"; columnItem27.Text = "PC"; columnItem27.ValueFormat = FormatType.Price; columnItem27.Visible = false; columnItem27.Width = 9; columnItem28.Alignment = StringAlignment.Far; columnItem28.BackColor = Color.FromArgb(64, 64, 64); columnItem28.FontColor = Color.LightGray; columnItem28.IsExpand = false; columnItem28.MyStyle = FontStyle.Regular; columnItem28.Name = "buyvolpct"; columnItem28.Text = "BVol%"; columnItem28.ValueFormat = FormatType.Price; columnItem28.Visible = false; columnItem28.Width = 8; columnItem29.Alignment = StringAlignment.Far; columnItem29.BackColor = Color.FromArgb(64, 64, 64); columnItem29.FontColor = Color.LightGray; columnItem29.IsExpand = false; columnItem29.MyStyle = FontStyle.Regular; columnItem29.Name = "selvolpct"; columnItem29.Text = "SVol%"; columnItem29.ValueFormat = FormatType.Price; columnItem29.Visible = false; columnItem29.Width = 8; this.intzaBBO.Columns.Add(columnItem10); this.intzaBBO.Columns.Add(columnItem11); this.intzaBBO.Columns.Add(columnItem12); this.intzaBBO.Columns.Add(columnItem13); this.intzaBBO.Columns.Add(columnItem14); this.intzaBBO.Columns.Add(columnItem15); this.intzaBBO.Columns.Add(columnItem16); this.intzaBBO.Columns.Add(columnItem17); this.intzaBBO.Columns.Add(columnItem18); this.intzaBBO.Columns.Add(columnItem19); this.intzaBBO.Columns.Add(columnItem20); this.intzaBBO.Columns.Add(columnItem21); this.intzaBBO.Columns.Add(columnItem22); this.intzaBBO.Columns.Add(columnItem23); this.intzaBBO.Columns.Add(columnItem24); this.intzaBBO.Columns.Add(columnItem25); this.intzaBBO.Columns.Add(columnItem26); this.intzaBBO.Columns.Add(columnItem27); this.intzaBBO.Columns.Add(columnItem28); this.intzaBBO.Columns.Add(columnItem29); this.intzaBBO.CurrentScroll = 0; this.intzaBBO.Cursor = Cursors.Hand; this.intzaBBO.FocusItemIndex = -1; this.intzaBBO.ForeColor = Color.Black; this.intzaBBO.GridColor = Color.FromArgb(45, 45, 45); this.intzaBBO.HeaderPctHeight = 80f; this.intzaBBO.IsAutoRepaint = true; this.intzaBBO.IsDrawGrid = true; this.intzaBBO.IsDrawHeader = true; this.intzaBBO.IsScrollable = true; this.intzaBBO.Location = new Point(4, 35); this.intzaBBO.MainColumn = ""; this.intzaBBO.Margin = new Padding(0); this.intzaBBO.Name = "intzaBBO"; this.intzaBBO.Rows = 0; this.intzaBBO.RowSelectColor = Color.FromArgb(50, 50, 50); this.intzaBBO.RowSelectType = 2; this.intzaBBO.Size = new Size(684, 65); this.intzaBBO.SortColumnName = ""; this.intzaBBO.SortType = SortType.Desc; this.intzaBBO.TabIndex = 74; this.intzaBBO.TableClickExpand += new ExpandGrid.TableClickExpandEventHandler(this.intzaBBO_TableClickExpand); this.intzaBBO.TableMouseClick += new ExpandGrid.TableMouseClickEventHandler(this.intzaBBO_TableMouseClick); this.intzaBBO.ItemDragDrop += new ExpandGrid.ItemDragDropEventHandler(this.intzaBBO_ItemDragDrop); this.intzaBBO.TableHeaderMouseMove += new ExpandGrid.TableHeaderMouseMoveEventHandler(this.intzaBBO_TableHeaderMouseMove); this.intzaBBO.TableMouseDoubleClick += new ExpandGrid.TableMouseDoubleClickEventHandler(this.intzaBBO_TableMouseDoubleClick); this.intzaOption.AllowDrop = true; this.intzaOption.BackColor = Color.FromArgb(30, 30, 30); this.intzaOption.CanBlink = true; this.intzaOption.CanDrag = false; this.intzaOption.CanGetMouseMove = false; columnItem30.Alignment = StringAlignment.Near; columnItem30.BackColor = Color.FromArgb(64, 64, 64); columnItem30.FontColor = Color.LightGray; columnItem30.IsExpand = false; columnItem30.MyStyle = FontStyle.Regular; columnItem30.Name = "callbidvol"; columnItem30.Text = "Vol"; columnItem30.ValueFormat = FormatType.BidOfferVolume; columnItem30.Visible = true; columnItem30.Width = 5; columnItem31.Alignment = StringAlignment.Near; columnItem31.BackColor = Color.FromArgb(64, 64, 64); columnItem31.FontColor = Color.LightGray; columnItem31.IsExpand = false; columnItem31.MyStyle = FontStyle.Regular; columnItem31.Name = "callbid"; columnItem31.Text = "Bid"; columnItem31.ValueFormat = FormatType.Price; columnItem31.Visible = true; columnItem31.Width = 9; columnItem32.Alignment = StringAlignment.Near; columnItem32.BackColor = Color.FromArgb(64, 64, 64); columnItem32.FontColor = Color.LightGray; columnItem32.IsExpand = false; columnItem32.MyStyle = FontStyle.Regular; columnItem32.Name = "calloffer"; columnItem32.Text = "Ask"; columnItem32.ValueFormat = FormatType.Text; columnItem32.Visible = true; columnItem32.Width = 9; columnItem33.Alignment = StringAlignment.Near; columnItem33.BackColor = Color.FromArgb(64, 64, 64); columnItem33.FontColor = Color.LightGray; columnItem33.IsExpand = false; columnItem33.MyStyle = FontStyle.Regular; columnItem33.Name = "calloffvol"; columnItem33.Text = "Vol"; columnItem33.ValueFormat = FormatType.BidOfferVolume; columnItem33.Visible = true; columnItem33.Width = 5; columnItem34.Alignment = StringAlignment.Near; columnItem34.BackColor = Color.FromArgb(64, 64, 64); columnItem34.FontColor = Color.LightGray; columnItem34.IsExpand = false; columnItem34.MyStyle = FontStyle.Regular; columnItem34.Name = "calllast"; columnItem34.Text = "Last"; columnItem34.ValueFormat = FormatType.Price; columnItem34.Visible = true; columnItem34.Width = 8; columnItem35.Alignment = StringAlignment.Near; columnItem35.BackColor = Color.FromArgb(64, 64, 64); columnItem35.FontColor = Color.LightGray; columnItem35.IsExpand = false; columnItem35.MyStyle = FontStyle.Regular; columnItem35.Name = "callchg"; columnItem35.Text = "Chg"; columnItem35.ValueFormat = FormatType.ChangePrice; columnItem35.Visible = true; columnItem35.Width = 8; columnItem36.Alignment = StringAlignment.Center; columnItem36.BackColor = Color.FromArgb(64, 64, 64); columnItem36.FontColor = Color.LightGray; columnItem36.IsExpand = false; columnItem36.MyStyle = FontStyle.Regular; columnItem36.Name = "strike"; columnItem36.Text = "Strike Price"; columnItem36.ValueFormat = FormatType.Price; columnItem36.Visible = true; columnItem36.Width = 12; columnItem37.Alignment = StringAlignment.Near; columnItem37.BackColor = Color.FromArgb(64, 64, 64); columnItem37.FontColor = Color.LightGray; columnItem37.IsExpand = false; columnItem37.MyStyle = FontStyle.Regular; columnItem37.Name = "putbidvol"; columnItem37.Text = "Vol"; columnItem37.ValueFormat = FormatType.BidOfferVolume; columnItem37.Visible = true; columnItem37.Width = 5; columnItem38.Alignment = StringAlignment.Near; columnItem38.BackColor = Color.FromArgb(64, 64, 64); columnItem38.FontColor = Color.LightGray; columnItem38.IsExpand = false; columnItem38.MyStyle = FontStyle.Regular; columnItem38.Name = "putbid"; columnItem38.Text = "Bid"; columnItem38.ValueFormat = FormatType.Text; columnItem38.Visible = true; columnItem38.Width = 9; columnItem39.Alignment = StringAlignment.Near; columnItem39.BackColor = Color.FromArgb(64, 64, 64); columnItem39.FontColor = Color.LightGray; columnItem39.IsExpand = false; columnItem39.MyStyle = FontStyle.Regular; columnItem39.Name = "putoffer"; columnItem39.Text = "Ask"; columnItem39.ValueFormat = FormatType.Text; columnItem39.Visible = true; columnItem39.Width = 9; columnItem40.Alignment = StringAlignment.Near; columnItem40.BackColor = Color.FromArgb(64, 64, 64); columnItem40.FontColor = Color.LightGray; columnItem40.IsExpand = false; columnItem40.MyStyle = FontStyle.Regular; columnItem40.Name = "putoffvol"; columnItem40.Text = "Vol"; columnItem40.ValueFormat = FormatType.BidOfferVolume; columnItem40.Visible = true; columnItem40.Width = 5; columnItem41.Alignment = StringAlignment.Near; columnItem41.BackColor = Color.FromArgb(64, 64, 64); columnItem41.FontColor = Color.LightGray; columnItem41.IsExpand = false; columnItem41.MyStyle = FontStyle.Regular; columnItem41.Name = "putlast"; columnItem41.Text = "Last"; columnItem41.ValueFormat = FormatType.Price; columnItem41.Visible = true; columnItem41.Width = 8; columnItem42.Alignment = StringAlignment.Near; columnItem42.BackColor = Color.FromArgb(64, 64, 64); columnItem42.FontColor = Color.LightGray; columnItem42.IsExpand = false; columnItem42.MyStyle = FontStyle.Regular; columnItem42.Name = "putchg"; columnItem42.Text = "Chg"; columnItem42.ValueFormat = FormatType.ChangePrice; columnItem42.Visible = true; columnItem42.Width = 8; columnItem43.Alignment = StringAlignment.Near; columnItem43.BackColor = Color.FromArgb(64, 64, 64); columnItem43.FontColor = Color.LightGray; columnItem43.IsExpand = false; columnItem43.MyStyle = FontStyle.Regular; columnItem43.Name = "sSeriesOC"; columnItem43.Text = "IntzaItem"; columnItem43.ValueFormat = FormatType.Text; columnItem43.Visible = false; columnItem43.Width = 10; columnItem44.Alignment = StringAlignment.Near; columnItem44.BackColor = Color.FromArgb(64, 64, 64); columnItem44.FontColor = Color.LightGray; columnItem44.IsExpand = false; columnItem44.MyStyle = FontStyle.Regular; columnItem44.Name = "sSeriesOP"; columnItem44.Text = "IntzaItem"; columnItem44.ValueFormat = FormatType.Text; columnItem44.Visible = false; columnItem44.Width = 10; this.intzaOption.Columns.Add(columnItem30); this.intzaOption.Columns.Add(columnItem31); this.intzaOption.Columns.Add(columnItem32); this.intzaOption.Columns.Add(columnItem33); this.intzaOption.Columns.Add(columnItem34); this.intzaOption.Columns.Add(columnItem35); this.intzaOption.Columns.Add(columnItem36); this.intzaOption.Columns.Add(columnItem37); this.intzaOption.Columns.Add(columnItem38); this.intzaOption.Columns.Add(columnItem39); this.intzaOption.Columns.Add(columnItem40); this.intzaOption.Columns.Add(columnItem41); this.intzaOption.Columns.Add(columnItem42); this.intzaOption.Columns.Add(columnItem43); this.intzaOption.Columns.Add(columnItem44); this.intzaOption.CurrentScroll = 0; this.intzaOption.Cursor = Cursors.Hand; this.intzaOption.FocusItemIndex = -1; this.intzaOption.ForeColor = Color.Black; this.intzaOption.GridColor = Color.FromArgb(45, 45, 45); this.intzaOption.HeaderPctHeight = 80f; this.intzaOption.IsAutoRepaint = true; this.intzaOption.IsDrawGrid = true; this.intzaOption.IsDrawHeader = true; this.intzaOption.IsScrollable = true; this.intzaOption.Location = new Point(134, 114); this.intzaOption.MainColumn = ""; this.intzaOption.Margin = new Padding(0); this.intzaOption.Name = "intzaOption"; this.intzaOption.Rows = 0; this.intzaOption.RowSelectColor = Color.FromArgb(50, 50, 50); this.intzaOption.RowSelectType = 2; this.intzaOption.Size = new Size(684, 56); this.intzaOption.SortColumnName = ""; this.intzaOption.SortType = SortType.Desc; this.intzaOption.TabIndex = 80; this.intzaOption.TableMouseClick += new ExpandGrid.TableMouseClickEventHandler(this.intzaOption_TableMouseClick); this.tStripCP.AllowMerge = false; this.tStripCP.BackColor = Color.FromArgb(20, 20, 20); this.tStripCP.GripMargin = new Padding(0); this.tStripCP.GripStyle = ToolStripGripStyle.Hidden; this.tStripCP.Items.AddRange(new ToolStripItem[] { this.tStripCall, this.tStripPUT }); this.tStripCP.Location = new Point(0, 26); this.tStripCP.Name = "tStripCP"; this.tStripCP.Padding = new Padding(0); this.tStripCP.RenderMode = ToolStripRenderMode.System; this.tStripCP.Size = new Size(952, 25); this.tStripCP.TabIndex = 81; this.tStripCP.Text = "toolStrip1"; this.tStripCP.Visible = false; this.tStripCall.BackColor = Color.Black; this.tStripCall.ForeColor = Color.Cyan; this.tStripCall.Margin = new Padding(0, 1, 3, 2); this.tStripCall.Name = "tStripCall"; this.tStripCall.Padding = new Padding(2, 0, 2, 0); this.tStripCall.Size = new Size(16, 22); this.tStripCall.Text = "-"; this.tStripPUT.Alignment = ToolStripItemAlignment.Right; this.tStripPUT.BackColor = Color.Black; this.tStripPUT.ForeColor = Color.Cyan; this.tStripPUT.Margin = new Padding(0, 1, 3, 2); this.tStripPUT.Name = "tStripPUT"; this.tStripPUT.Padding = new Padding(2, 0, 2, 0); this.tStripPUT.Size = new Size(16, 22); this.tStripPUT.Text = "-"; this.tStripBBO.AllowMerge = false; this.tStripBBO.BackColor = Color.FromArgb(30, 30, 30); this.tStripBBO.GripMargin = new Padding(0); this.tStripBBO.GripStyle = ToolStripGripStyle.Hidden; this.tStripBBO.Items.AddRange(new ToolStripItem[] { this.tslbSelection, this.tscbBBOSelectionMain, this.tscbBBOSelection, this.tsbtnBBOAddStock, this.tsbtnBBODelStock, this.tsbtnColumnSetup }); this.tStripBBO.Location = new Point(0, 0); this.tStripBBO.Name = "tStripBBO"; this.tStripBBO.Padding = new Padding(1, 1, 1, 2); this.tStripBBO.RenderMode = ToolStripRenderMode.System; this.tStripBBO.Size = new Size(952, 26); this.tStripBBO.TabIndex = 78; this.tslbSelection.ForeColor = Color.LightGray; this.tslbSelection.Margin = new Padding(5, 1, 2, 2); this.tslbSelection.Name = "tslbSelection"; this.tslbSelection.Size = new Size(61, 20); this.tslbSelection.Text = "Selection :"; this.tscbBBOSelectionMain.BackColor = Color.FromArgb(30, 30, 30); this.tscbBBOSelectionMain.DropDownStyle = ComboBoxStyle.DropDownList; this.tscbBBOSelectionMain.ForeColor = Color.LightGray; this.tscbBBOSelectionMain.Items.AddRange(new object[] { "My Port", "Favorite", "SET", "MAI", "Warrant", "%CMPR" }); this.tscbBBOSelectionMain.Name = "tscbBBOSelectionMain"; this.tscbBBOSelectionMain.Size = new Size(110, 23); this.tscbBBOSelectionMain.SelectedIndexChanged += new EventHandler(this.tscbBBOSelectionMain_SelectedIndexChanged); this.tscbBBOSelectionMain.KeyDown += new KeyEventHandler(this.tscbBBOSelectionMain_KeyDown); this.tscbBBOSelection.AutoSize = false; this.tscbBBOSelection.BackColor = Color.FromArgb(30, 30, 30); this.tscbBBOSelection.DropDownStyle = ComboBoxStyle.DropDownList; this.tscbBBOSelection.ForeColor = Color.LightGray; this.tscbBBOSelection.Margin = new Padding(5, 0, 1, 0); this.tscbBBOSelection.Name = "tscbBBOSelection"; this.tscbBBOSelection.Size = new Size(180, 23); this.tscbBBOSelection.SelectedIndexChanged += new EventHandler(this.tscbSelection_SelectedIndexChanged); this.tscbBBOSelection.KeyDown += new KeyEventHandler(this.tscbBBOSelection_KeyDown); this.tsbtnBBOAddStock.ForeColor = Color.LightGray; this.tsbtnBBOAddStock.ImageTransparentColor = Color.Magenta; this.tsbtnBBOAddStock.Margin = new Padding(10, 1, 0, 2); this.tsbtnBBOAddStock.Name = "tsbtnBBOAddStock"; this.tsbtnBBOAddStock.Size = new Size(33, 20); this.tsbtnBBOAddStock.Text = "Add"; this.tsbtnBBOAddStock.Click += new EventHandler(this.tsbtnAddStock_Click); this.tsbtnBBODelStock.ForeColor = Color.LightGray; this.tsbtnBBODelStock.ImageTransparentColor = Color.Magenta; this.tsbtnBBODelStock.Name = "tsbtnBBODelStock"; this.tsbtnBBODelStock.Size = new Size(44, 20); this.tsbtnBBODelStock.Text = "Delete"; this.tsbtnBBODelStock.Click += new EventHandler(this.tsbtnBBODelStock_Click); this.tsbtnColumnSetup.Alignment = ToolStripItemAlignment.Right; this.tsbtnColumnSetup.ForeColor = Color.LightGray; this.tsbtnColumnSetup.ImageTransparentColor = Color.Magenta; this.tsbtnColumnSetup.Name = "tsbtnColumnSetup"; this.tsbtnColumnSetup.Size = new Size(59, 20); this.tsbtnColumnSetup.Text = "Columns"; this.tsbtnColumnSetup.Visible = false; this.tsbtnColumnSetup.Click += new EventHandler(this.tsbtnColEdit_Click); this.contextMenuStrip1.Items.AddRange(new ToolStripItem[] { this.tsmiShowBestBO, this.tsmiShow3BO, this.tsmiShow5BO }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new Size(106, 70); this.contextMenuStrip1.Opening += new CancelEventHandler(this.contextMenuStrip1_Opening); this.tsmiShowBestBO.Name = "tsmiShowBestBO"; this.tsmiShowBestBO.Size = new Size(105, 22); this.tsmiShowBestBO.Text = "1 Bids"; this.tsmiShowBestBO.Click += new EventHandler(this.tsmiShowExpandBBO_Click); this.tsmiShow3BO.Name = "tsmiShow3BO"; this.tsmiShow3BO.Size = new Size(105, 22); this.tsmiShow3BO.Text = "3 Bids"; this.tsmiShow3BO.Click += new EventHandler(this.tsmiShowExpandBBO_Click); this.tsmiShow5BO.Name = "tsmiShow5BO"; this.tsmiShow5BO.Size = new Size(105, 22); this.tsmiShow5BO.Text = "5 Bids"; this.tsmiShow5BO.Click += new EventHandler(this.tsmiShowExpandBBO_Click); this.pictureBox1.BackColor = Color.FromArgb(30, 30, 30); this.pictureBox1.Location = new Point(511, 29); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Size(58, 64); this.pictureBox1.TabIndex = 81; this.pictureBox1.TabStop = false; this.lbChartLoading.AutoSize = true; this.lbChartLoading.BackColor = Color.FromArgb(64, 64, 64); this.lbChartLoading.BorderStyle = BorderStyle.FixedSingle; this.lbChartLoading.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 222); this.lbChartLoading.ForeColor = Color.Yellow; this.lbChartLoading.Location = new Point(602, 118); this.lbChartLoading.Name = "lbChartLoading"; this.lbChartLoading.Padding = new Padding(5, 3, 5, 3); this.lbChartLoading.Size = new Size(69, 21); this.lbChartLoading.TabIndex = 82; this.lbChartLoading.Text = "Loading ..."; this.lbChartLoading.TextAlign = ContentAlignment.MiddleCenter; this.lbChartLoading.Visible = false; this.contextLink.Items.AddRange(new ToolStripItem[] { this.tsmCallHistoricalChart, this.tsmCallNews, this.toolStripMenuItem1, this.tsmCallStockInPlay, this.tsmCallSaleByPrice, this.tsmCallSaleByTime, this.tsmCallOddlot }); this.contextLink.Name = "contextMenuStrip1"; this.contextLink.Size = new Size(212, 142); this.tsmCallHistoricalChart.Name = "tsmCallHistoricalChart"; this.tsmCallHistoricalChart.Size = new Size(211, 22); this.tsmCallHistoricalChart.Text = "Chart"; this.tsmCallHistoricalChart.Click += new EventHandler(this.tsmCallHistoricalChart_Click); this.tsmCallNews.Name = "tsmCallNews"; this.tsmCallNews.Size = new Size(211, 22); this.tsmCallNews.Text = "News - ข่าวตลาดหลักทรัพย์ฯ"; this.tsmCallNews.Click += new EventHandler(this.tsmCallNews_Click); this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new Size(208, 6); this.tsmCallStockInPlay.Name = "tsmCallStockInPlay"; this.tsmCallStockInPlay.Size = new Size(211, 22); this.tsmCallStockInPlay.Text = "Stock in Play"; this.tsmCallStockInPlay.Click += new EventHandler(this.tsmCallStockSummary_Click); this.tsmCallSaleByPrice.Name = "tsmCallSaleByPrice"; this.tsmCallSaleByPrice.Size = new Size(211, 22); this.tsmCallSaleByPrice.Text = "Sale by Price"; this.tsmCallSaleByPrice.Click += new EventHandler(this.tsmCallSaleByPrice_Click); this.tsmCallSaleByTime.Name = "tsmCallSaleByTime"; this.tsmCallSaleByTime.Size = new Size(211, 22); this.tsmCallSaleByTime.Text = "Sale by Time"; this.tsmCallSaleByTime.Click += new EventHandler(this.tsmCallSaleByTime_Click); this.tsmCallOddlot.Name = "tsmCallOddlot"; this.tsmCallOddlot.Size = new Size(211, 22); this.tsmCallOddlot.Text = "View Oddlot"; this.tsmCallOddlot.Click += new EventHandler(this.tsmCallOddlot_Click); this.btnCloseChart.BackColor = Color.FromArgb(30, 30, 30); this.btnCloseChart.FlatAppearance.BorderSize = 0; this.btnCloseChart.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnCloseChart.FlatAppearance.MouseOverBackColor = Color.Teal; this.btnCloseChart.FlatStyle = FlatStyle.Flat; this.btnCloseChart.Image = (Image)componentResourceManager.GetObject("btnCloseChart.Image"); this.btnCloseChart.Location = new Point(523, 70); this.btnCloseChart.Name = "btnCloseChart"; this.btnCloseChart.Size = new Size(19, 19); this.btnCloseChart.TabIndex = 88; this.btnCloseChart.UseVisualStyleBackColor = false; this.btnCloseChart.Visible = false; this.btnCloseChart.Click += new EventHandler(this.tsbtnSwitchChart_Click); this.intzaInfoTFEX.AllowDrop = true; this.intzaInfoTFEX.BackColor = Color.FromArgb(30, 30, 30); this.intzaInfoTFEX.CanDrag = false; this.intzaInfoTFEX.IsAutoRepaint = true; this.intzaInfoTFEX.IsDroped = false; itemGrid.AdjustFontSize = 0f; itemGrid.Alignment = StringAlignment.Near; itemGrid.BackColor = Color.FromArgb(30, 30, 30); itemGrid.Changed = false; itemGrid.FieldType = ItemType.Label2; itemGrid.FontColor = Color.Gainsboro; itemGrid.FontStyle = FontStyle.Regular; itemGrid.Height = 1f; itemGrid.IsBlink = 0; itemGrid.Name = "open_label"; itemGrid.Text = "Open"; itemGrid.ValueFormat = FormatType.Text; itemGrid.Visible = true; itemGrid.Width = 25; itemGrid.X = 0; itemGrid.Y = 0f; itemGrid2.AdjustFontSize = -1f; itemGrid2.Alignment = StringAlignment.Far; itemGrid2.BackColor = Color.FromArgb(30, 30, 30); itemGrid2.Changed = false; itemGrid2.FieldType = ItemType.Text; itemGrid2.FontColor = Color.Yellow; itemGrid2.FontStyle = FontStyle.Regular; itemGrid2.Height = 1f; itemGrid2.IsBlink = 0; itemGrid2.Name = "open_vol"; itemGrid2.Text = ""; itemGrid2.ValueFormat = FormatType.Volume; itemGrid2.Visible = true; itemGrid2.Width = 35; itemGrid2.X = 25; itemGrid2.Y = 0f; itemGrid3.AdjustFontSize = 0f; itemGrid3.Alignment = StringAlignment.Far; itemGrid3.BackColor = Color.FromArgb(30, 30, 30); itemGrid3.Changed = false; itemGrid3.FieldType = ItemType.Text; itemGrid3.FontColor = Color.Yellow; itemGrid3.FontStyle = FontStyle.Regular; itemGrid3.Height = 1f; itemGrid3.IsBlink = 0; itemGrid3.Name = "open_avg"; itemGrid3.Text = ""; itemGrid3.ValueFormat = FormatType.Text; itemGrid3.Visible = false; itemGrid3.Width = 27; itemGrid3.X = 73; itemGrid3.Y = 0f; itemGrid4.AdjustFontSize = 0f; itemGrid4.Alignment = StringAlignment.Near; itemGrid4.BackColor = Color.FromArgb(30, 30, 30); itemGrid4.Changed = false; itemGrid4.FieldType = ItemType.Label2; itemGrid4.FontColor = Color.Gainsboro; itemGrid4.FontStyle = FontStyle.Regular; itemGrid4.Height = 1f; itemGrid4.IsBlink = 0; itemGrid4.Name = "long_label"; itemGrid4.Text = "Long"; itemGrid4.ValueFormat = FormatType.Text; itemGrid4.Visible = true; itemGrid4.Width = 25; itemGrid4.X = 0; itemGrid4.Y = 1.2f; itemGrid5.AdjustFontSize = -1f; itemGrid5.Alignment = StringAlignment.Far; itemGrid5.BackColor = Color.FromArgb(30, 30, 30); itemGrid5.Changed = false; itemGrid5.FieldType = ItemType.Text; itemGrid5.FontColor = Color.Lime; itemGrid5.FontStyle = FontStyle.Regular; itemGrid5.Height = 1f; itemGrid5.IsBlink = 0; itemGrid5.Name = "long_vol"; itemGrid5.Text = ""; itemGrid5.ValueFormat = FormatType.Volume; itemGrid5.Visible = true; itemGrid5.Width = 35; itemGrid5.X = 25; itemGrid5.Y = 1.2f; itemGrid6.AdjustFontSize = 0f; itemGrid6.Alignment = StringAlignment.Far; itemGrid6.BackColor = Color.FromArgb(30, 30, 30); itemGrid6.Changed = false; itemGrid6.FieldType = ItemType.Text; itemGrid6.FontColor = Color.Yellow; itemGrid6.FontStyle = FontStyle.Regular; itemGrid6.Height = 1f; itemGrid6.IsBlink = 0; itemGrid6.Name = "long_avg"; itemGrid6.Text = ""; itemGrid6.ValueFormat = FormatType.Text; itemGrid6.Visible = false; itemGrid6.Width = 27; itemGrid6.X = 73; itemGrid6.Y = 1.2f; itemGrid7.AdjustFontSize = 0f; itemGrid7.Alignment = StringAlignment.Near; itemGrid7.BackColor = Color.FromArgb(30, 30, 30); itemGrid7.Changed = false; itemGrid7.FieldType = ItemType.Label2; itemGrid7.FontColor = Color.Gainsboro; itemGrid7.FontStyle = FontStyle.Regular; itemGrid7.Height = 1f; itemGrid7.IsBlink = 0; itemGrid7.Name = "short_label"; itemGrid7.Text = "Short"; itemGrid7.ValueFormat = FormatType.Text; itemGrid7.Visible = true; itemGrid7.Width = 25; itemGrid7.X = 0; itemGrid7.Y = 2.4f; itemGrid8.AdjustFontSize = -1f; itemGrid8.Alignment = StringAlignment.Far; itemGrid8.BackColor = Color.FromArgb(30, 30, 30); itemGrid8.Changed = false; itemGrid8.FieldType = ItemType.Text; itemGrid8.FontColor = Color.Red; itemGrid8.FontStyle = FontStyle.Regular; itemGrid8.Height = 1f; itemGrid8.IsBlink = 0; itemGrid8.Name = "short_vol"; itemGrid8.Text = ""; itemGrid8.ValueFormat = FormatType.Volume; itemGrid8.Visible = true; itemGrid8.Width = 35; itemGrid8.X = 25; itemGrid8.Y = 2.4f; itemGrid9.AdjustFontSize = 0f; itemGrid9.Alignment = StringAlignment.Far; itemGrid9.BackColor = Color.FromArgb(30, 30, 30); itemGrid9.Changed = false; itemGrid9.FieldType = ItemType.Text; itemGrid9.FontColor = Color.Yellow; itemGrid9.FontStyle = FontStyle.Regular; itemGrid9.Height = 1f; itemGrid9.IsBlink = 0; itemGrid9.Name = "short_avg"; itemGrid9.Text = ""; itemGrid9.ValueFormat = FormatType.Text; itemGrid9.Visible = false; itemGrid9.Width = 27; itemGrid9.X = 73; itemGrid9.Y = 2.4f; itemGrid10.AdjustFontSize = 0f; itemGrid10.Alignment = StringAlignment.Near; itemGrid10.BackColor = Color.FromArgb(30, 30, 30); itemGrid10.Changed = false; itemGrid10.FieldType = ItemType.Text; itemGrid10.FontColor = Color.White; itemGrid10.FontStyle = FontStyle.Regular; itemGrid10.Height = 3.4f; itemGrid10.IsBlink = 0; itemGrid10.Name = "pie"; itemGrid10.Text = ""; itemGrid10.ValueFormat = FormatType.PieChartNew; itemGrid10.Visible = true; itemGrid10.Width = 40; itemGrid10.X = 60; itemGrid10.Y = 0f; itemGrid11.AdjustFontSize = 0f; itemGrid11.Alignment = StringAlignment.Near; itemGrid11.BackColor = Color.FromArgb(30, 30, 30); itemGrid11.Changed = false; itemGrid11.FieldType = ItemType.Label2; itemGrid11.FontColor = Color.Gainsboro; itemGrid11.FontStyle = FontStyle.Regular; itemGrid11.Height = 1f; itemGrid11.IsBlink = 0; itemGrid11.Name = "oi_lable"; itemGrid11.Text = "OI"; itemGrid11.ValueFormat = FormatType.Text; itemGrid11.Visible = true; itemGrid11.Width = 25; itemGrid11.X = 0; itemGrid11.Y = 3.6f; itemGrid12.AdjustFontSize = 0f; itemGrid12.Alignment = StringAlignment.Near; itemGrid12.BackColor = Color.FromArgb(30, 30, 30); itemGrid12.Changed = false; itemGrid12.FieldType = ItemType.Text; itemGrid12.FontColor = Color.Yellow; itemGrid12.FontStyle = FontStyle.Regular; itemGrid12.Height = 1f; itemGrid12.IsBlink = 0; itemGrid12.Name = "oi"; itemGrid12.Text = ""; itemGrid12.ValueFormat = FormatType.Price; itemGrid12.Visible = true; itemGrid12.Width = 24; itemGrid12.X = 25; itemGrid12.Y = 3.6f; itemGrid13.AdjustFontSize = 0f; itemGrid13.Alignment = StringAlignment.Near; itemGrid13.BackColor = Color.FromArgb(30, 30, 30); itemGrid13.Changed = false; itemGrid13.FieldType = ItemType.Label2; itemGrid13.FontColor = Color.Gainsboro; itemGrid13.FontStyle = FontStyle.Regular; itemGrid13.Height = 1f; itemGrid13.IsBlink = 0; itemGrid13.Name = "psettle_label"; itemGrid13.Text = "P.Settle"; itemGrid13.ValueFormat = FormatType.Text; itemGrid13.Visible = true; itemGrid13.Width = 25; itemGrid13.X = 0; itemGrid13.Y = 4.6f; itemGrid14.AdjustFontSize = 0f; itemGrid14.Alignment = StringAlignment.Near; itemGrid14.BackColor = Color.FromArgb(30, 30, 30); itemGrid14.Changed = false; itemGrid14.FieldType = ItemType.Text; itemGrid14.FontColor = Color.Yellow; itemGrid14.FontStyle = FontStyle.Regular; itemGrid14.Height = 1f; itemGrid14.IsBlink = 0; itemGrid14.Name = "psettle"; itemGrid14.Text = ""; itemGrid14.ValueFormat = FormatType.Text; itemGrid14.Visible = true; itemGrid14.Width = 24; itemGrid14.X = 25; itemGrid14.Y = 4.6f; itemGrid15.AdjustFontSize = 0f; itemGrid15.Alignment = StringAlignment.Near; itemGrid15.BackColor = Color.FromArgb(30, 30, 30); itemGrid15.Changed = false; itemGrid15.FieldType = ItemType.Label2; itemGrid15.FontColor = Color.Gainsboro; itemGrid15.FontStyle = FontStyle.Regular; itemGrid15.Height = 1f; itemGrid15.IsBlink = 0; itemGrid15.Name = "settle_label"; itemGrid15.Text = "Settle"; itemGrid15.ValueFormat = FormatType.Text; itemGrid15.Visible = true; itemGrid15.Width = 25; itemGrid15.X = 0; itemGrid15.Y = 5.6f; itemGrid16.AdjustFontSize = 0f; itemGrid16.Alignment = StringAlignment.Near; itemGrid16.BackColor = Color.FromArgb(30, 30, 30); itemGrid16.Changed = false; itemGrid16.FieldType = ItemType.Text; itemGrid16.FontColor = Color.Yellow; itemGrid16.FontStyle = FontStyle.Regular; itemGrid16.Height = 1f; itemGrid16.IsBlink = 0; itemGrid16.Name = "settle"; itemGrid16.Text = ""; itemGrid16.ValueFormat = FormatType.Text; itemGrid16.Visible = true; itemGrid16.Width = 24; itemGrid16.X = 25; itemGrid16.Y = 5.6f; itemGrid17.AdjustFontSize = 0f; itemGrid17.Alignment = StringAlignment.Near; itemGrid17.BackColor = Color.FromArgb(30, 30, 30); itemGrid17.Changed = false; itemGrid17.FieldType = ItemType.Label2; itemGrid17.FontColor = Color.Gainsboro; itemGrid17.FontStyle = FontStyle.Regular; itemGrid17.Height = 1f; itemGrid17.IsBlink = 0; itemGrid17.Name = "ceiling_lable"; itemGrid17.Text = "Ceiling"; itemGrid17.ValueFormat = FormatType.Text; itemGrid17.Visible = true; itemGrid17.Width = 25; itemGrid17.X = 0; itemGrid17.Y = 6.6f; itemGrid18.AdjustFontSize = 0f; itemGrid18.Alignment = StringAlignment.Near; itemGrid18.BackColor = Color.FromArgb(30, 30, 30); itemGrid18.Changed = false; itemGrid18.FieldType = ItemType.Text; itemGrid18.FontColor = Color.Cyan; itemGrid18.FontStyle = FontStyle.Regular; itemGrid18.Height = 1f; itemGrid18.IsBlink = 0; itemGrid18.Name = "ceiling"; itemGrid18.Text = ""; itemGrid18.ValueFormat = FormatType.Text; itemGrid18.Visible = true; itemGrid18.Width = 24; itemGrid18.X = 25; itemGrid18.Y = 6.6f; itemGrid19.AdjustFontSize = 0f; itemGrid19.Alignment = StringAlignment.Near; itemGrid19.BackColor = Color.FromArgb(30, 30, 30); itemGrid19.Changed = false; itemGrid19.FieldType = ItemType.Label2; itemGrid19.FontColor = Color.Gainsboro; itemGrid19.FontStyle = FontStyle.Regular; itemGrid19.Height = 1f; itemGrid19.IsBlink = 0; itemGrid19.Name = "floor_label"; itemGrid19.Text = "Floor"; itemGrid19.ValueFormat = FormatType.Text; itemGrid19.Visible = true; itemGrid19.Width = 25; itemGrid19.X = 0; itemGrid19.Y = 7.6f; itemGrid20.AdjustFontSize = 0f; itemGrid20.Alignment = StringAlignment.Near; itemGrid20.BackColor = Color.FromArgb(30, 30, 30); itemGrid20.Changed = false; itemGrid20.FieldType = ItemType.Text; itemGrid20.FontColor = Color.Magenta; itemGrid20.FontStyle = FontStyle.Regular; itemGrid20.Height = 1f; itemGrid20.IsBlink = 0; itemGrid20.Name = "floor"; itemGrid20.Text = ""; itemGrid20.ValueFormat = FormatType.Text; itemGrid20.Visible = true; itemGrid20.Width = 24; itemGrid20.X = 25; itemGrid20.Y = 7.6f; itemGrid21.AdjustFontSize = 0f; itemGrid21.Alignment = StringAlignment.Near; itemGrid21.BackColor = Color.FromArgb(30, 30, 30); itemGrid21.Changed = false; itemGrid21.FieldType = ItemType.Label2; itemGrid21.FontColor = Color.White; itemGrid21.FontStyle = FontStyle.Regular; itemGrid21.Height = 1f; itemGrid21.IsBlink = 0; itemGrid21.Name = "Multiplier"; itemGrid21.Text = "Multiplier"; itemGrid21.ValueFormat = FormatType.Text; itemGrid21.Visible = true; itemGrid21.Width = 25; itemGrid21.X = 0; itemGrid21.Y = 8.6f; itemGrid22.AdjustFontSize = 0f; itemGrid22.Alignment = StringAlignment.Near; itemGrid22.BackColor = Color.FromArgb(30, 30, 30); itemGrid22.Changed = false; itemGrid22.FieldType = ItemType.Text; itemGrid22.FontColor = Color.Yellow; itemGrid22.FontStyle = FontStyle.Regular; itemGrid22.Height = 1f; itemGrid22.IsBlink = 0; itemGrid22.Name = "multiplier"; itemGrid22.Text = ""; itemGrid22.ValueFormat = FormatType.Text; itemGrid22.Visible = true; itemGrid22.Width = 24; itemGrid22.X = 25; itemGrid22.Y = 8.6f; itemGrid23.AdjustFontSize = 0f; itemGrid23.Alignment = StringAlignment.Near; itemGrid23.BackColor = Color.FromArgb(30, 30, 30); itemGrid23.Changed = false; itemGrid23.FieldType = ItemType.Label2; itemGrid23.FontColor = Color.Gainsboro; itemGrid23.FontStyle = FontStyle.Regular; itemGrid23.Height = 1f; itemGrid23.IsBlink = 0; itemGrid23.Name = "tickSize_lable"; itemGrid23.Text = "Spread"; itemGrid23.ValueFormat = FormatType.Text; itemGrid23.Visible = true; itemGrid23.Width = 25; itemGrid23.X = 0; itemGrid23.Y = 9.6f; itemGrid24.AdjustFontSize = 0f; itemGrid24.Alignment = StringAlignment.Near; itemGrid24.BackColor = Color.FromArgb(30, 30, 30); itemGrid24.Changed = false; itemGrid24.FieldType = ItemType.Text; itemGrid24.FontColor = Color.Yellow; itemGrid24.FontStyle = FontStyle.Regular; itemGrid24.Height = 1f; itemGrid24.IsBlink = 0; itemGrid24.Name = "tickSize"; itemGrid24.Text = ""; itemGrid24.ValueFormat = FormatType.Text; itemGrid24.Visible = true; itemGrid24.Width = 24; itemGrid24.X = 25; itemGrid24.Y = 9.6f; itemGrid25.AdjustFontSize = 0f; itemGrid25.Alignment = StringAlignment.Near; itemGrid25.BackColor = Color.FromArgb(30, 30, 30); itemGrid25.Changed = false; itemGrid25.FieldType = ItemType.Label; itemGrid25.FontColor = Color.Gainsboro; itemGrid25.FontStyle = FontStyle.Regular; itemGrid25.Height = 1f; itemGrid25.IsBlink = 0; itemGrid25.Name = "turnover_label"; itemGrid25.Text = "Turn Over"; itemGrid25.ValueFormat = FormatType.Text; itemGrid25.Visible = false; itemGrid25.Width = 23; itemGrid25.X = 49; itemGrid25.Y = 3.6f; itemGrid26.AdjustFontSize = 0f; itemGrid26.Alignment = StringAlignment.Near; itemGrid26.BackColor = Color.FromArgb(30, 30, 30); itemGrid26.Changed = false; itemGrid26.FieldType = ItemType.Text; itemGrid26.FontColor = Color.Yellow; itemGrid26.FontStyle = FontStyle.Regular; itemGrid26.Height = 1f; itemGrid26.IsBlink = 0; itemGrid26.Name = "turnover"; itemGrid26.Text = ""; itemGrid26.ValueFormat = FormatType.Price; itemGrid26.Visible = false; itemGrid26.Width = 29; itemGrid26.X = 72; itemGrid26.Y = 3.6f; itemGrid27.AdjustFontSize = 0f; itemGrid27.Alignment = StringAlignment.Near; itemGrid27.BackColor = Color.FromArgb(30, 30, 30); itemGrid27.Changed = false; itemGrid27.FieldType = ItemType.Label2; itemGrid27.FontColor = Color.Gainsboro; itemGrid27.FontStyle = FontStyle.Regular; itemGrid27.Height = 1f; itemGrid27.IsBlink = 0; itemGrid27.Name = "basis_label"; itemGrid27.Text = "Basis"; itemGrid27.ValueFormat = FormatType.Text; itemGrid27.Visible = true; itemGrid27.Width = 23; itemGrid27.X = 49; itemGrid27.Y = 3.6f; itemGrid28.AdjustFontSize = 0f; itemGrid28.Alignment = StringAlignment.Near; itemGrid28.BackColor = Color.FromArgb(30, 30, 30); itemGrid28.Changed = false; itemGrid28.FieldType = ItemType.Text; itemGrid28.FontColor = Color.Yellow; itemGrid28.FontStyle = FontStyle.Regular; itemGrid28.Height = 1f; itemGrid28.IsBlink = 0; itemGrid28.Name = "basis"; itemGrid28.Text = ""; itemGrid28.ValueFormat = FormatType.Price; itemGrid28.Visible = true; itemGrid28.Width = 29; itemGrid28.X = 72; itemGrid28.Y = 3.6f; itemGrid29.AdjustFontSize = 0f; itemGrid29.Alignment = StringAlignment.Near; itemGrid29.BackColor = Color.FromArgb(30, 30, 30); itemGrid29.Changed = false; itemGrid29.FieldType = ItemType.Label2; itemGrid29.FontColor = Color.Gainsboro; itemGrid29.FontStyle = FontStyle.Regular; itemGrid29.Height = 1f; itemGrid29.IsBlink = 0; itemGrid29.Name = "open1_label"; itemGrid29.Text = "Open 1"; itemGrid29.ValueFormat = FormatType.Text; itemGrid29.Visible = true; itemGrid29.Width = 23; itemGrid29.X = 49; itemGrid29.Y = 4.6f; itemGrid30.AdjustFontSize = 0f; itemGrid30.Alignment = StringAlignment.Near; itemGrid30.BackColor = Color.FromArgb(30, 30, 30); itemGrid30.Changed = false; itemGrid30.FieldType = ItemType.Text; itemGrid30.FontColor = Color.Yellow; itemGrid30.FontStyle = FontStyle.Regular; itemGrid30.Height = 1f; itemGrid30.IsBlink = 0; itemGrid30.Name = "open1"; itemGrid30.Text = ""; itemGrid30.ValueFormat = FormatType.Text; itemGrid30.Visible = true; itemGrid30.Width = 29; itemGrid30.X = 72; itemGrid30.Y = 4.6f; itemGrid31.AdjustFontSize = 0f; itemGrid31.Alignment = StringAlignment.Near; itemGrid31.BackColor = Color.FromArgb(30, 30, 30); itemGrid31.Changed = false; itemGrid31.FieldType = ItemType.Label2; itemGrid31.FontColor = Color.Gainsboro; itemGrid31.FontStyle = FontStyle.Regular; itemGrid31.Height = 1f; itemGrid31.IsBlink = 0; itemGrid31.Name = "open2_label"; itemGrid31.Text = "Open 2"; itemGrid31.ValueFormat = FormatType.Text; itemGrid31.Visible = true; itemGrid31.Width = 23; itemGrid31.X = 49; itemGrid31.Y = 5.6f; itemGrid32.AdjustFontSize = 0f; itemGrid32.Alignment = StringAlignment.Near; itemGrid32.BackColor = Color.FromArgb(30, 30, 30); itemGrid32.Changed = false; itemGrid32.FieldType = ItemType.Text; itemGrid32.FontColor = Color.Yellow; itemGrid32.FontStyle = FontStyle.Regular; itemGrid32.Height = 1f; itemGrid32.IsBlink = 0; itemGrid32.Name = "open2"; itemGrid32.Text = ""; itemGrid32.ValueFormat = FormatType.Text; itemGrid32.Visible = true; itemGrid32.Width = 29; itemGrid32.X = 72; itemGrid32.Y = 5.6f; itemGrid33.AdjustFontSize = 0f; itemGrid33.Alignment = StringAlignment.Near; itemGrid33.BackColor = Color.FromArgb(30, 30, 30); itemGrid33.Changed = false; itemGrid33.FieldType = ItemType.Label2; itemGrid33.FontColor = Color.Gainsboro; itemGrid33.FontStyle = FontStyle.Regular; itemGrid33.Height = 1f; itemGrid33.IsBlink = 0; itemGrid33.Name = "poclose_label"; itemGrid33.Text = "P.Close"; itemGrid33.ValueFormat = FormatType.Text; itemGrid33.Visible = true; itemGrid33.Width = 23; itemGrid33.X = 49; itemGrid33.Y = 7.6f; itemGrid34.AdjustFontSize = 0f; itemGrid34.Alignment = StringAlignment.Near; itemGrid34.BackColor = Color.FromArgb(30, 30, 30); itemGrid34.Changed = false; itemGrid34.FieldType = ItemType.Text; itemGrid34.FontColor = Color.Yellow; itemGrid34.FontStyle = FontStyle.Regular; itemGrid34.Height = 1f; itemGrid34.IsBlink = 0; itemGrid34.Name = "poclose"; itemGrid34.Text = ""; itemGrid34.ValueFormat = FormatType.Text; itemGrid34.Visible = true; itemGrid34.Width = 29; itemGrid34.X = 72; itemGrid34.Y = 7.6f; itemGrid35.AdjustFontSize = 0f; itemGrid35.Alignment = StringAlignment.Near; itemGrid35.BackColor = Color.FromArgb(30, 30, 30); itemGrid35.Changed = false; itemGrid35.FieldType = ItemType.Label2; itemGrid35.FontColor = Color.Gainsboro; itemGrid35.FontStyle = FontStyle.Regular; itemGrid35.Height = 1f; itemGrid35.IsBlink = 0; itemGrid35.Name = "open3_label"; itemGrid35.Text = "Open 3"; itemGrid35.ValueFormat = FormatType.Text; itemGrid35.Visible = true; itemGrid35.Width = 23; itemGrid35.X = 49; itemGrid35.Y = 6.6f; itemGrid36.AdjustFontSize = 0f; itemGrid36.Alignment = StringAlignment.Near; itemGrid36.BackColor = Color.FromArgb(30, 30, 30); itemGrid36.Changed = false; itemGrid36.FieldType = ItemType.Text; itemGrid36.FontColor = Color.Yellow; itemGrid36.FontStyle = FontStyle.Regular; itemGrid36.Height = 1f; itemGrid36.IsBlink = 0; itemGrid36.Name = "open3"; itemGrid36.Text = ""; itemGrid36.ValueFormat = FormatType.Text; itemGrid36.Visible = true; itemGrid36.Width = 29; itemGrid36.X = 72; itemGrid36.Y = 6.6f; itemGrid37.AdjustFontSize = 0f; itemGrid37.Alignment = StringAlignment.Near; itemGrid37.BackColor = Color.FromArgb(30, 30, 30); itemGrid37.Changed = false; itemGrid37.FieldType = ItemType.Label2; itemGrid37.FontColor = Color.Gainsboro; itemGrid37.FontStyle = FontStyle.Regular; itemGrid37.Height = 1f; itemGrid37.IsBlink = 0; itemGrid37.Name = "first_date_label"; itemGrid37.Text = "First"; itemGrid37.ValueFormat = FormatType.Text; itemGrid37.Visible = false; itemGrid37.Width = 23; itemGrid37.X = 49; itemGrid37.Y = 7.6f; itemGrid38.AdjustFontSize = 0f; itemGrid38.Alignment = StringAlignment.Near; itemGrid38.BackColor = Color.FromArgb(30, 30, 30); itemGrid38.Changed = false; itemGrid38.FieldType = ItemType.Text; itemGrid38.FontColor = Color.Yellow; itemGrid38.FontStyle = FontStyle.Regular; itemGrid38.Height = 1f; itemGrid38.IsBlink = 0; itemGrid38.Name = "first_date"; itemGrid38.Text = ""; itemGrid38.ValueFormat = FormatType.Text; itemGrid38.Visible = false; itemGrid38.Width = 29; itemGrid38.X = 72; itemGrid38.Y = 7.6f; itemGrid39.AdjustFontSize = 0f; itemGrid39.Alignment = StringAlignment.Near; itemGrid39.BackColor = Color.FromArgb(30, 30, 30); itemGrid39.Changed = false; itemGrid39.FieldType = ItemType.Label2; itemGrid39.FontColor = Color.Gainsboro; itemGrid39.FontStyle = FontStyle.Regular; itemGrid39.Height = 1f; itemGrid39.IsBlink = 0; itemGrid39.Name = "last_date_label"; itemGrid39.Text = "Last"; itemGrid39.ValueFormat = FormatType.Text; itemGrid39.Visible = true; itemGrid39.Width = 23; itemGrid39.X = 49; itemGrid39.Y = 8.6f; itemGrid40.AdjustFontSize = 0f; itemGrid40.Alignment = StringAlignment.Near; itemGrid40.BackColor = Color.FromArgb(30, 30, 30); itemGrid40.Changed = false; itemGrid40.FieldType = ItemType.Text; itemGrid40.FontColor = Color.Yellow; itemGrid40.FontStyle = FontStyle.Regular; itemGrid40.Height = 1f; itemGrid40.IsBlink = 0; itemGrid40.Name = "last_date"; itemGrid40.Text = ""; itemGrid40.ValueFormat = FormatType.Text; itemGrid40.Visible = true; itemGrid40.Width = 29; itemGrid40.X = 72; itemGrid40.Y = 8.6f; itemGrid41.AdjustFontSize = 0f; itemGrid41.Alignment = StringAlignment.Near; itemGrid41.BackColor = Color.FromArgb(30, 30, 30); itemGrid41.Changed = false; itemGrid41.FieldType = ItemType.Label2; itemGrid41.FontColor = Color.Gainsboro; itemGrid41.FontStyle = FontStyle.Regular; itemGrid41.Height = 1f; itemGrid41.IsBlink = 0; itemGrid41.Name = "lastIndex_label"; itemGrid41.Text = "Index"; itemGrid41.ValueFormat = FormatType.Text; itemGrid41.Visible = true; itemGrid41.Width = 23; itemGrid41.X = 49; itemGrid41.Y = 9.6f; itemGrid42.AdjustFontSize = 0f; itemGrid42.Alignment = StringAlignment.Near; itemGrid42.BackColor = Color.FromArgb(30, 30, 30); itemGrid42.Changed = false; itemGrid42.FieldType = ItemType.Text; itemGrid42.FontColor = Color.Yellow; itemGrid42.FontStyle = FontStyle.Regular; itemGrid42.Height = 1f; itemGrid42.IsBlink = 0; itemGrid42.Name = "lastIndex"; itemGrid42.Text = ""; itemGrid42.ValueFormat = FormatType.Text; itemGrid42.Visible = true; itemGrid42.Width = 29; itemGrid42.X = 72; itemGrid42.Y = 9.6f; this.intzaInfoTFEX.Items.Add(itemGrid); this.intzaInfoTFEX.Items.Add(itemGrid2); this.intzaInfoTFEX.Items.Add(itemGrid3); this.intzaInfoTFEX.Items.Add(itemGrid4); this.intzaInfoTFEX.Items.Add(itemGrid5); this.intzaInfoTFEX.Items.Add(itemGrid6); this.intzaInfoTFEX.Items.Add(itemGrid7); this.intzaInfoTFEX.Items.Add(itemGrid8); this.intzaInfoTFEX.Items.Add(itemGrid9); this.intzaInfoTFEX.Items.Add(itemGrid10); this.intzaInfoTFEX.Items.Add(itemGrid11); this.intzaInfoTFEX.Items.Add(itemGrid12); this.intzaInfoTFEX.Items.Add(itemGrid13); this.intzaInfoTFEX.Items.Add(itemGrid14); this.intzaInfoTFEX.Items.Add(itemGrid15); this.intzaInfoTFEX.Items.Add(itemGrid16); this.intzaInfoTFEX.Items.Add(itemGrid17); this.intzaInfoTFEX.Items.Add(itemGrid18); this.intzaInfoTFEX.Items.Add(itemGrid19); this.intzaInfoTFEX.Items.Add(itemGrid20); this.intzaInfoTFEX.Items.Add(itemGrid21); this.intzaInfoTFEX.Items.Add(itemGrid22); this.intzaInfoTFEX.Items.Add(itemGrid23); this.intzaInfoTFEX.Items.Add(itemGrid24); this.intzaInfoTFEX.Items.Add(itemGrid25); this.intzaInfoTFEX.Items.Add(itemGrid26); this.intzaInfoTFEX.Items.Add(itemGrid27); this.intzaInfoTFEX.Items.Add(itemGrid28); this.intzaInfoTFEX.Items.Add(itemGrid29); this.intzaInfoTFEX.Items.Add(itemGrid30); this.intzaInfoTFEX.Items.Add(itemGrid31); this.intzaInfoTFEX.Items.Add(itemGrid32); this.intzaInfoTFEX.Items.Add(itemGrid33); this.intzaInfoTFEX.Items.Add(itemGrid34); this.intzaInfoTFEX.Items.Add(itemGrid35); this.intzaInfoTFEX.Items.Add(itemGrid36); this.intzaInfoTFEX.Items.Add(itemGrid37); this.intzaInfoTFEX.Items.Add(itemGrid38); this.intzaInfoTFEX.Items.Add(itemGrid39); this.intzaInfoTFEX.Items.Add(itemGrid40); this.intzaInfoTFEX.Items.Add(itemGrid41); this.intzaInfoTFEX.Items.Add(itemGrid42); this.intzaInfoTFEX.LineColor = Color.Red; this.intzaInfoTFEX.Location = new Point(653, 29); this.intzaInfoTFEX.Margin = new Padding(2); this.intzaInfoTFEX.Name = "intzaInfoTFEX"; this.intzaInfoTFEX.Size = new Size(236, 149); this.intzaInfoTFEX.TabIndex = 90; this.intzaInfoTFEX.TabStop = false; this.intzaVolumeByBoard.AllowDrop = true; this.intzaVolumeByBoard.BackColor = Color.FromArgb(30, 30, 30); this.intzaVolumeByBoard.CanBlink = true; this.intzaVolumeByBoard.CanDrag = false; this.intzaVolumeByBoard.CanGetMouseMove = false; columnItem45.Alignment = StringAlignment.Near; columnItem45.BackColor = Color.FromArgb(64, 64, 64); columnItem45.ColumnAlignment = StringAlignment.Center; columnItem45.FontColor = Color.LightGray; columnItem45.MyStyle = FontStyle.Regular; columnItem45.Name = "h1"; columnItem45.Text = ""; columnItem45.ValueFormat = FormatType.Label; columnItem45.Visible = true; columnItem45.Width = 17; columnItem46.Alignment = StringAlignment.Far; columnItem46.BackColor = Color.DimGray; columnItem46.ColumnAlignment = StringAlignment.Center; columnItem46.FontColor = Color.White; columnItem46.MyStyle = FontStyle.Regular; columnItem46.Name = "deals"; columnItem46.Text = "Deals"; columnItem46.ValueFormat = FormatType.Volume; columnItem46.Visible = true; columnItem46.Width = 20; columnItem47.Alignment = StringAlignment.Far; columnItem47.BackColor = Color.DimGray; columnItem47.ColumnAlignment = StringAlignment.Center; columnItem47.FontColor = Color.White; columnItem47.MyStyle = FontStyle.Regular; columnItem47.Name = "volume"; columnItem47.Text = "Volume"; columnItem47.ValueFormat = FormatType.Volume; columnItem47.Visible = true; columnItem47.Width = 29; columnItem48.Alignment = StringAlignment.Far; columnItem48.BackColor = Color.DimGray; columnItem48.ColumnAlignment = StringAlignment.Center; columnItem48.FontColor = Color.White; columnItem48.MyStyle = FontStyle.Regular; columnItem48.Name = "value"; columnItem48.Text = "Value"; columnItem48.ValueFormat = FormatType.Text; columnItem48.Visible = true; columnItem48.Width = 34; this.intzaVolumeByBoard.Columns.Add(columnItem45); this.intzaVolumeByBoard.Columns.Add(columnItem46); this.intzaVolumeByBoard.Columns.Add(columnItem47); this.intzaVolumeByBoard.Columns.Add(columnItem48); this.intzaVolumeByBoard.CurrentScroll = 0; this.intzaVolumeByBoard.FocusItemIndex = -1; this.intzaVolumeByBoard.ForeColor = Color.Black; this.intzaVolumeByBoard.GridColor = Color.FromArgb(30, 30, 30); this.intzaVolumeByBoard.HeaderPctHeight = 80f; this.intzaVolumeByBoard.IsAutoRepaint = true; this.intzaVolumeByBoard.IsDrawFullRow = false; this.intzaVolumeByBoard.IsDrawGrid = false; this.intzaVolumeByBoard.IsDrawHeader = true; this.intzaVolumeByBoard.IsScrollable = false; this.intzaVolumeByBoard.Location = new Point(30, 127); this.intzaVolumeByBoard.MainColumn = ""; this.intzaVolumeByBoard.Margin = new Padding(0); this.intzaVolumeByBoard.Name = "intzaVolumeByBoard"; this.intzaVolumeByBoard.Rows = 2; this.intzaVolumeByBoard.RowSelectColor = Color.FromArgb(95, 158, 160); this.intzaVolumeByBoard.RowSelectType = 0; this.intzaVolumeByBoard.RowsVisible = 2; this.intzaVolumeByBoard.Size = new Size(221, 62); this.intzaVolumeByBoard.SortColumnName = ""; this.intzaVolumeByBoard.SortType = SortType.Desc; this.intzaVolumeByBoard.TabIndex = 80; this.intzaVolumeByBoard.ItemDragDrop += new SortGrid.ItemDragDropEventHandler(this.intzaLS2_ItemDragDrop); this.intzaInfo.AllowDrop = true; this.intzaInfo.BackColor = Color.FromArgb(30, 30, 30); this.intzaInfo.CanDrag = false; this.intzaInfo.IsAutoRepaint = true; this.intzaInfo.IsDroped = false; itemGrid43.AdjustFontSize = 0f; itemGrid43.Alignment = StringAlignment.Near; itemGrid43.BackColor = Color.FromArgb(30, 30, 30); itemGrid43.Changed = false; itemGrid43.FieldType = ItemType.Label2; itemGrid43.FontColor = Color.Gainsboro; itemGrid43.FontStyle = FontStyle.Regular; itemGrid43.Height = 1f; itemGrid43.IsBlink = 0; itemGrid43.Name = "lb_openvol"; itemGrid43.Text = "OpnVol"; itemGrid43.ValueFormat = FormatType.Text; itemGrid43.Visible = true; itemGrid43.Width = 22; itemGrid43.X = 0; itemGrid43.Y = 0f; itemGrid44.AdjustFontSize = 0f; itemGrid44.Alignment = StringAlignment.Far; itemGrid44.BackColor = Color.FromArgb(30, 30, 30); itemGrid44.Changed = false; itemGrid44.FieldType = ItemType.Text; itemGrid44.FontColor = Color.Yellow; itemGrid44.FontStyle = FontStyle.Regular; itemGrid44.Height = 1f; itemGrid44.IsBlink = 0; itemGrid44.Name = "open_vol"; itemGrid44.Text = ""; itemGrid44.ValueFormat = FormatType.Volume; itemGrid44.Visible = true; itemGrid44.Width = 35; itemGrid44.X = 25; itemGrid44.Y = 0f; itemGrid45.AdjustFontSize = -2f; itemGrid45.Alignment = StringAlignment.Far; itemGrid45.BackColor = Color.FromArgb(30, 30, 30); itemGrid45.Changed = false; itemGrid45.FieldType = ItemType.Text; itemGrid45.FontColor = Color.Yellow; itemGrid45.FontStyle = FontStyle.Regular; itemGrid45.Height = 1f; itemGrid45.IsBlink = 0; itemGrid45.Name = "p_open_vol"; itemGrid45.Text = ""; itemGrid45.ValueFormat = FormatType.Text; itemGrid45.Visible = false; itemGrid45.Width = 19; itemGrid45.X = 57; itemGrid45.Y = 0f; itemGrid46.AdjustFontSize = 0f; itemGrid46.Alignment = StringAlignment.Near; itemGrid46.BackColor = Color.FromArgb(30, 30, 30); itemGrid46.Changed = false; itemGrid46.FieldType = ItemType.Label2; itemGrid46.FontColor = Color.Gainsboro; itemGrid46.FontStyle = FontStyle.Regular; itemGrid46.Height = 1f; itemGrid46.IsBlink = 0; itemGrid46.Name = "lb_buyvol"; itemGrid46.Text = "BuyVol"; itemGrid46.ValueFormat = FormatType.Text; itemGrid46.Visible = true; itemGrid46.Width = 22; itemGrid46.X = 0; itemGrid46.Y = 1.2f; itemGrid47.AdjustFontSize = 0f; itemGrid47.Alignment = StringAlignment.Far; itemGrid47.BackColor = Color.FromArgb(30, 30, 30); itemGrid47.Changed = false; itemGrid47.FieldType = ItemType.Text; itemGrid47.FontColor = Color.Lime; itemGrid47.FontStyle = FontStyle.Regular; itemGrid47.Height = 1f; itemGrid47.IsBlink = 0; itemGrid47.Name = "buy_vol"; itemGrid47.Text = ""; itemGrid47.ValueFormat = FormatType.Volume; itemGrid47.Visible = true; itemGrid47.Width = 35; itemGrid47.X = 25; itemGrid47.Y = 1.2f; itemGrid48.AdjustFontSize = -2f; itemGrid48.Alignment = StringAlignment.Far; itemGrid48.BackColor = Color.FromArgb(30, 30, 30); itemGrid48.Changed = false; itemGrid48.FieldType = ItemType.Text; itemGrid48.FontColor = Color.Lime; itemGrid48.FontStyle = FontStyle.Regular; itemGrid48.Height = 1f; itemGrid48.IsBlink = 0; itemGrid48.Name = "p_buy_vol"; itemGrid48.Text = ""; itemGrid48.ValueFormat = FormatType.Text; itemGrid48.Visible = false; itemGrid48.Width = 19; itemGrid48.X = 57; itemGrid48.Y = 1.2f; itemGrid49.AdjustFontSize = 0f; itemGrid49.Alignment = StringAlignment.Near; itemGrid49.BackColor = Color.FromArgb(30, 30, 30); itemGrid49.Changed = false; itemGrid49.FieldType = ItemType.Label2; itemGrid49.FontColor = Color.Gainsboro; itemGrid49.FontStyle = FontStyle.Regular; itemGrid49.Height = 1f; itemGrid49.IsBlink = 0; itemGrid49.Name = "lb_selvol"; itemGrid49.Text = "SelVol"; itemGrid49.ValueFormat = FormatType.Text; itemGrid49.Visible = true; itemGrid49.Width = 22; itemGrid49.X = 0; itemGrid49.Y = 2.4f; itemGrid50.AdjustFontSize = 0f; itemGrid50.Alignment = StringAlignment.Far; itemGrid50.BackColor = Color.FromArgb(30, 30, 30); itemGrid50.Changed = false; itemGrid50.FieldType = ItemType.Text; itemGrid50.FontColor = Color.Red; itemGrid50.FontStyle = FontStyle.Regular; itemGrid50.Height = 1f; itemGrid50.IsBlink = 0; itemGrid50.Name = "sel_vol"; itemGrid50.Text = ""; itemGrid50.ValueFormat = FormatType.Volume; itemGrid50.Visible = true; itemGrid50.Width = 35; itemGrid50.X = 25; itemGrid50.Y = 2.4f; itemGrid51.AdjustFontSize = -2f; itemGrid51.Alignment = StringAlignment.Far; itemGrid51.BackColor = Color.FromArgb(30, 30, 30); itemGrid51.Changed = false; itemGrid51.FieldType = ItemType.Text; itemGrid51.FontColor = Color.Red; itemGrid51.FontStyle = FontStyle.Regular; itemGrid51.Height = 1f; itemGrid51.IsBlink = 0; itemGrid51.Name = "p_sel_vol"; itemGrid51.Text = ""; itemGrid51.ValueFormat = FormatType.Text; itemGrid51.Visible = false; itemGrid51.Width = 19; itemGrid51.X = 57; itemGrid51.Y = 2.4f; itemGrid52.AdjustFontSize = 0f; itemGrid52.Alignment = StringAlignment.Near; itemGrid52.BackColor = Color.FromArgb(30, 30, 30); itemGrid52.Changed = false; itemGrid52.FieldType = ItemType.Text; itemGrid52.FontColor = Color.White; itemGrid52.FontStyle = FontStyle.Regular; itemGrid52.Height = 3.4f; itemGrid52.IsBlink = 0; itemGrid52.Name = "pie"; itemGrid52.Text = ""; itemGrid52.ValueFormat = FormatType.PieChartNew; itemGrid52.Visible = true; itemGrid52.Width = 40; itemGrid52.X = 60; itemGrid52.Y = 0f; itemGrid53.AdjustFontSize = 0f; itemGrid53.Alignment = StringAlignment.Near; itemGrid53.BackColor = Color.FromArgb(30, 30, 30); itemGrid53.Changed = false; itemGrid53.FieldType = ItemType.Label2; itemGrid53.FontColor = Color.Gainsboro; itemGrid53.FontStyle = FontStyle.Regular; itemGrid53.Height = 1f; itemGrid53.IsBlink = 0; itemGrid53.Name = "lb_prior"; itemGrid53.Text = "Prev"; itemGrid53.ValueFormat = FormatType.Text; itemGrid53.Visible = true; itemGrid53.Width = 22; itemGrid53.X = 0; itemGrid53.Y = 3.6f; itemGrid54.AdjustFontSize = 0f; itemGrid54.Alignment = StringAlignment.Near; itemGrid54.BackColor = Color.FromArgb(30, 30, 30); itemGrid54.Changed = false; itemGrid54.FieldType = ItemType.Text; itemGrid54.FontColor = Color.Yellow; itemGrid54.FontStyle = FontStyle.Regular; itemGrid54.Height = 1f; itemGrid54.IsBlink = 0; itemGrid54.Name = "prior"; itemGrid54.Text = ""; itemGrid54.ValueFormat = FormatType.Text; itemGrid54.Visible = true; itemGrid54.Width = 23; itemGrid54.X = 22; itemGrid54.Y = 3.6f; itemGrid55.AdjustFontSize = 0f; itemGrid55.Alignment = StringAlignment.Near; itemGrid55.BackColor = Color.FromArgb(30, 30, 30); itemGrid55.Changed = false; itemGrid55.FieldType = ItemType.Label2; itemGrid55.FontColor = Color.Gainsboro; itemGrid55.FontStyle = FontStyle.Regular; itemGrid55.Height = 1f; itemGrid55.IsBlink = 0; itemGrid55.Name = "lb_avg"; itemGrid55.Text = "Avg"; itemGrid55.ValueFormat = FormatType.Text; itemGrid55.Visible = false; itemGrid55.Width = 25; itemGrid55.X = 48; itemGrid55.Y = 3.6f; itemGrid56.AdjustFontSize = 0f; itemGrid56.Alignment = StringAlignment.Near; itemGrid56.BackColor = Color.FromArgb(30, 30, 30); itemGrid56.Changed = false; itemGrid56.FieldType = ItemType.Text; itemGrid56.FontColor = Color.White; itemGrid56.FontStyle = FontStyle.Regular; itemGrid56.Height = 1f; itemGrid56.IsBlink = 0; itemGrid56.Name = "avg"; itemGrid56.Text = ""; itemGrid56.ValueFormat = FormatType.Price; itemGrid56.Visible = false; itemGrid56.Width = 26; itemGrid56.X = 73; itemGrid56.Y = 3.6f; itemGrid57.AdjustFontSize = 0f; itemGrid57.Alignment = StringAlignment.Near; itemGrid57.BackColor = Color.FromArgb(30, 30, 30); itemGrid57.Changed = false; itemGrid57.FieldType = ItemType.Label2; itemGrid57.FontColor = Color.Gainsboro; itemGrid57.FontStyle = FontStyle.Regular; itemGrid57.Height = 1f; itemGrid57.IsBlink = 0; itemGrid57.Name = "lbOpen"; itemGrid57.Text = "Open-1"; itemGrid57.ValueFormat = FormatType.Text; itemGrid57.Visible = true; itemGrid57.Width = 22; itemGrid57.X = 45; itemGrid57.Y = 4.6f; itemGrid58.AdjustFontSize = 0f; itemGrid58.Alignment = StringAlignment.Near; itemGrid58.BackColor = Color.FromArgb(30, 30, 30); itemGrid58.Changed = false; itemGrid58.FieldType = ItemType.Text; itemGrid58.FontColor = Color.White; itemGrid58.FontStyle = FontStyle.Regular; itemGrid58.Height = 1f; itemGrid58.IsBlink = 0; itemGrid58.Name = "open1"; itemGrid58.Text = ""; itemGrid58.ValueFormat = FormatType.Price; itemGrid58.Visible = true; itemGrid58.Width = 31; itemGrid58.X = 67; itemGrid58.Y = 4.6f; itemGrid59.AdjustFontSize = 0f; itemGrid59.Alignment = StringAlignment.Near; itemGrid59.BackColor = Color.FromArgb(30, 30, 30); itemGrid59.Changed = false; itemGrid59.FieldType = ItemType.Label2; itemGrid59.FontColor = Color.Gainsboro; itemGrid59.FontStyle = FontStyle.Regular; itemGrid59.Height = 1f; itemGrid59.IsBlink = 0; itemGrid59.Name = "lbOpen2"; itemGrid59.Text = "Open-2"; itemGrid59.ValueFormat = FormatType.Text; itemGrid59.Visible = true; itemGrid59.Width = 22; itemGrid59.X = 45; itemGrid59.Y = 5.6f; itemGrid60.AdjustFontSize = 0f; itemGrid60.Alignment = StringAlignment.Near; itemGrid60.BackColor = Color.FromArgb(30, 30, 30); itemGrid60.Changed = false; itemGrid60.FieldType = ItemType.Text; itemGrid60.FontColor = Color.White; itemGrid60.FontStyle = FontStyle.Regular; itemGrid60.Height = 1f; itemGrid60.IsBlink = 0; itemGrid60.Name = "open2"; itemGrid60.Text = ""; itemGrid60.ValueFormat = FormatType.Price; itemGrid60.Visible = true; itemGrid60.Width = 31; itemGrid60.X = 67; itemGrid60.Y = 5.6f; itemGrid61.AdjustFontSize = 0f; itemGrid61.Alignment = StringAlignment.Near; itemGrid61.BackColor = Color.FromArgb(30, 30, 30); itemGrid61.Changed = false; itemGrid61.FieldType = ItemType.Label2; itemGrid61.FontColor = Color.Gainsboro; itemGrid61.FontStyle = FontStyle.Regular; itemGrid61.Height = 1f; itemGrid61.IsBlink = 0; itemGrid61.Name = "lbHigh"; itemGrid61.Text = "High"; itemGrid61.ValueFormat = FormatType.Text; itemGrid61.Visible = true; itemGrid61.Width = 22; itemGrid61.X = 0; itemGrid61.Y = 4.6f; itemGrid62.AdjustFontSize = 0f; itemGrid62.Alignment = StringAlignment.Near; itemGrid62.BackColor = Color.FromArgb(30, 30, 30); itemGrid62.Changed = false; itemGrid62.FieldType = ItemType.Text; itemGrid62.FontColor = Color.White; itemGrid62.FontStyle = FontStyle.Regular; itemGrid62.Height = 1f; itemGrid62.IsBlink = 0; itemGrid62.Name = "high"; itemGrid62.Text = ""; itemGrid62.ValueFormat = FormatType.Price; itemGrid62.Visible = true; itemGrid62.Width = 23; itemGrid62.X = 22; itemGrid62.Y = 4.6f; itemGrid63.AdjustFontSize = 0f; itemGrid63.Alignment = StringAlignment.Near; itemGrid63.BackColor = Color.FromArgb(30, 30, 30); itemGrid63.Changed = false; itemGrid63.FieldType = ItemType.Label2; itemGrid63.FontColor = Color.Gainsboro; itemGrid63.FontStyle = FontStyle.Regular; itemGrid63.Height = 1f; itemGrid63.IsBlink = 0; itemGrid63.Name = "lbLow"; itemGrid63.Text = "Low"; itemGrid63.ValueFormat = FormatType.Text; itemGrid63.Visible = true; itemGrid63.Width = 22; itemGrid63.X = 0; itemGrid63.Y = 5.6f; itemGrid64.AdjustFontSize = 0f; itemGrid64.Alignment = StringAlignment.Near; itemGrid64.BackColor = Color.FromArgb(30, 30, 30); itemGrid64.Changed = false; itemGrid64.FieldType = ItemType.Text; itemGrid64.FontColor = Color.White; itemGrid64.FontStyle = FontStyle.Regular; itemGrid64.Height = 1f; itemGrid64.IsBlink = 0; itemGrid64.Name = "low"; itemGrid64.Text = ""; itemGrid64.ValueFormat = FormatType.Price; itemGrid64.Visible = true; itemGrid64.Width = 23; itemGrid64.X = 22; itemGrid64.Y = 5.6f; itemGrid65.AdjustFontSize = 0f; itemGrid65.Alignment = StringAlignment.Near; itemGrid65.BackColor = Color.FromArgb(30, 30, 30); itemGrid65.Changed = false; itemGrid65.FieldType = ItemType.Label2; itemGrid65.FontColor = Color.Gainsboro; itemGrid65.FontStyle = FontStyle.Regular; itemGrid65.Height = 1f; itemGrid65.IsBlink = 0; itemGrid65.Name = "lb_ceiling"; itemGrid65.Text = "Ceiling"; itemGrid65.ValueFormat = FormatType.Text; itemGrid65.Visible = true; itemGrid65.Width = 22; itemGrid65.X = 0; itemGrid65.Y = 6.6f; itemGrid66.AdjustFontSize = 0f; itemGrid66.Alignment = StringAlignment.Near; itemGrid66.BackColor = Color.FromArgb(30, 30, 30); itemGrid66.Changed = false; itemGrid66.FieldType = ItemType.Text; itemGrid66.FontColor = Color.Cyan; itemGrid66.FontStyle = FontStyle.Regular; itemGrid66.Height = 1f; itemGrid66.IsBlink = 0; itemGrid66.Name = "ceiling"; itemGrid66.Text = ""; itemGrid66.ValueFormat = FormatType.Price; itemGrid66.Visible = true; itemGrid66.Width = 23; itemGrid66.X = 22; itemGrid66.Y = 6.6f; itemGrid67.AdjustFontSize = 0f; itemGrid67.Alignment = StringAlignment.Near; itemGrid67.BackColor = Color.FromArgb(30, 30, 30); itemGrid67.Changed = false; itemGrid67.FieldType = ItemType.Label2; itemGrid67.FontColor = Color.Gainsboro; itemGrid67.FontStyle = FontStyle.Regular; itemGrid67.Height = 1f; itemGrid67.IsBlink = 0; itemGrid67.Name = "lb_floor"; itemGrid67.Text = "Floor"; itemGrid67.ValueFormat = FormatType.Text; itemGrid67.Visible = true; itemGrid67.Width = 22; itemGrid67.X = 0; itemGrid67.Y = 7.6f; itemGrid68.AdjustFontSize = 0f; itemGrid68.Alignment = StringAlignment.Near; itemGrid68.BackColor = Color.FromArgb(30, 30, 30); itemGrid68.Changed = false; itemGrid68.FieldType = ItemType.Text; itemGrid68.FontColor = Color.FromArgb(187, 44, 189); itemGrid68.FontStyle = FontStyle.Regular; itemGrid68.Height = 1f; itemGrid68.IsBlink = 0; itemGrid68.Name = "floor"; itemGrid68.Text = ""; itemGrid68.ValueFormat = FormatType.Price; itemGrid68.Visible = true; itemGrid68.Width = 23; itemGrid68.X = 22; itemGrid68.Y = 7.6f; itemGrid69.AdjustFontSize = 0f; itemGrid69.Alignment = StringAlignment.Near; itemGrid69.BackColor = Color.FromArgb(30, 30, 30); itemGrid69.Changed = false; itemGrid69.FieldType = ItemType.Label2; itemGrid69.FontColor = Color.Gainsboro; itemGrid69.FontStyle = FontStyle.Regular; itemGrid69.Height = 1f; itemGrid69.IsBlink = 0; itemGrid69.Name = "lb_par"; itemGrid69.Text = "Par"; itemGrid69.ValueFormat = FormatType.Text; itemGrid69.Visible = true; itemGrid69.Width = 22; itemGrid69.X = 45; itemGrid69.Y = 8.6f; itemGrid70.AdjustFontSize = 0f; itemGrid70.Alignment = StringAlignment.Near; itemGrid70.BackColor = Color.FromArgb(30, 30, 30); itemGrid70.Changed = false; itemGrid70.FieldType = ItemType.Text; itemGrid70.FontColor = Color.Yellow; itemGrid70.FontStyle = FontStyle.Regular; itemGrid70.Height = 1f; itemGrid70.IsBlink = 0; itemGrid70.Name = "par"; itemGrid70.Text = ""; itemGrid70.ValueFormat = FormatType.Text; itemGrid70.Visible = true; itemGrid70.Width = 31; itemGrid70.X = 67; itemGrid70.Y = 8.6f; itemGrid71.AdjustFontSize = 0f; itemGrid71.Alignment = StringAlignment.Near; itemGrid71.BackColor = Color.FromArgb(30, 30, 30); itemGrid71.Changed = false; itemGrid71.FieldType = ItemType.Label2; itemGrid71.FontColor = Color.Gainsboro; itemGrid71.FontStyle = FontStyle.Regular; itemGrid71.Height = 1f; itemGrid71.IsBlink = 0; itemGrid71.Name = "lbPoClose"; itemGrid71.Text = "Prj.Close"; itemGrid71.ValueFormat = FormatType.Text; itemGrid71.Visible = true; itemGrid71.Width = 22; itemGrid71.X = 45; itemGrid71.Y = 6.6f; itemGrid72.AdjustFontSize = 0f; itemGrid72.Alignment = StringAlignment.Near; itemGrid72.BackColor = Color.FromArgb(30, 30, 30); itemGrid72.Changed = false; itemGrid72.FieldType = ItemType.Text; itemGrid72.FontColor = Color.White; itemGrid72.FontStyle = FontStyle.Regular; itemGrid72.Height = 1f; itemGrid72.IsBlink = 0; itemGrid72.Name = "poclose"; itemGrid72.Text = ""; itemGrid72.ValueFormat = FormatType.Price; itemGrid72.Visible = true; itemGrid72.Width = 31; itemGrid72.X = 67; itemGrid72.Y = 6.6f; itemGrid73.AdjustFontSize = 0f; itemGrid73.Alignment = StringAlignment.Near; itemGrid73.BackColor = Color.FromArgb(30, 30, 30); itemGrid73.Changed = false; itemGrid73.FieldType = ItemType.Label2; itemGrid73.FontColor = Color.Gainsboro; itemGrid73.FontStyle = FontStyle.Regular; itemGrid73.Height = 1f; itemGrid73.IsBlink = 0; itemGrid73.Name = "lb_spread"; itemGrid73.Text = "Spread"; itemGrid73.ValueFormat = FormatType.Text; itemGrid73.Visible = true; itemGrid73.Width = 22; itemGrid73.X = 0; itemGrid73.Y = 8.6f; itemGrid74.AdjustFontSize = 0f; itemGrid74.Alignment = StringAlignment.Near; itemGrid74.BackColor = Color.FromArgb(30, 30, 30); itemGrid74.Changed = false; itemGrid74.FieldType = ItemType.Text; itemGrid74.FontColor = Color.Yellow; itemGrid74.FontStyle = FontStyle.Regular; itemGrid74.Height = 1f; itemGrid74.IsBlink = 0; itemGrid74.Name = "spread"; itemGrid74.Text = ""; itemGrid74.ValueFormat = FormatType.Price; itemGrid74.Visible = true; itemGrid74.Width = 23; itemGrid74.X = 22; itemGrid74.Y = 8.6f; itemGrid75.AdjustFontSize = 0f; itemGrid75.Alignment = StringAlignment.Near; itemGrid75.BackColor = Color.FromArgb(30, 30, 30); itemGrid75.Changed = false; itemGrid75.FieldType = ItemType.Label2; itemGrid75.FontColor = Color.Gainsboro; itemGrid75.FontStyle = FontStyle.Regular; itemGrid75.Height = 1f; itemGrid75.IsBlink = 0; itemGrid75.Name = "lb_povol"; itemGrid75.Text = "Prj.Vol"; itemGrid75.ValueFormat = FormatType.Text; itemGrid75.Visible = true; itemGrid75.Width = 22; itemGrid75.X = 45; itemGrid75.Y = 7.6f; itemGrid76.AdjustFontSize = 0f; itemGrid76.Alignment = StringAlignment.Near; itemGrid76.BackColor = Color.FromArgb(30, 30, 30); itemGrid76.Changed = false; itemGrid76.FieldType = ItemType.Text; itemGrid76.FontColor = Color.Yellow; itemGrid76.FontStyle = FontStyle.Regular; itemGrid76.Height = 1f; itemGrid76.IsBlink = 0; itemGrid76.Name = "povol"; itemGrid76.Text = ""; itemGrid76.ValueFormat = FormatType.Text; itemGrid76.Visible = true; itemGrid76.Width = 31; itemGrid76.X = 67; itemGrid76.Y = 7.6f; itemGrid77.AdjustFontSize = 0f; itemGrid77.Alignment = StringAlignment.Near; itemGrid77.BackColor = Color.FromArgb(30, 30, 30); itemGrid77.Changed = false; itemGrid77.FieldType = ItemType.Label2; itemGrid77.FontColor = Color.Gainsboro; itemGrid77.FontStyle = FontStyle.Regular; itemGrid77.Height = 1f; itemGrid77.IsBlink = 0; itemGrid77.Name = "lbMarginRate"; itemGrid77.Text = "IM"; itemGrid77.ValueFormat = FormatType.Text; itemGrid77.Visible = true; itemGrid77.Width = 22; itemGrid77.X = 45; itemGrid77.Y = 9.6f; itemGrid78.AdjustFontSize = 0f; itemGrid78.Alignment = StringAlignment.Near; itemGrid78.BackColor = Color.FromArgb(30, 30, 30); itemGrid78.Changed = false; itemGrid78.FieldType = ItemType.Text; itemGrid78.FontColor = Color.Yellow; itemGrid78.FontStyle = FontStyle.Regular; itemGrid78.Height = 1f; itemGrid78.IsBlink = 0; itemGrid78.Name = "tbMarginRate"; itemGrid78.Text = ""; itemGrid78.ValueFormat = FormatType.Text; itemGrid78.Visible = true; itemGrid78.Width = 31; itemGrid78.X = 67; itemGrid78.Y = 9.6f; itemGrid79.AdjustFontSize = 0f; itemGrid79.Alignment = StringAlignment.Near; itemGrid79.BackColor = Color.FromArgb(30, 30, 30); itemGrid79.Changed = false; itemGrid79.FieldType = ItemType.Label2; itemGrid79.FontColor = Color.Gainsboro; itemGrid79.FontStyle = FontStyle.Regular; itemGrid79.Height = 1f; itemGrid79.IsBlink = 0; itemGrid79.Name = "lb_flag"; itemGrid79.Text = "Flag"; itemGrid79.ValueFormat = FormatType.Text; itemGrid79.Visible = true; itemGrid79.Width = 22; itemGrid79.X = 0; itemGrid79.Y = 9.6f; itemGrid80.AdjustFontSize = 0f; itemGrid80.Alignment = StringAlignment.Near; itemGrid80.BackColor = Color.FromArgb(30, 30, 30); itemGrid80.Changed = false; itemGrid80.FieldType = ItemType.Text; itemGrid80.FontColor = Color.Yellow; itemGrid80.FontStyle = FontStyle.Regular; itemGrid80.Height = 1f; itemGrid80.IsBlink = 0; itemGrid80.Name = "flag"; itemGrid80.Text = ""; itemGrid80.ValueFormat = FormatType.Text; itemGrid80.Visible = true; itemGrid80.Width = 23; itemGrid80.X = 22; itemGrid80.Y = 9.6f; itemGrid81.AdjustFontSize = 0f; itemGrid81.Alignment = StringAlignment.Near; itemGrid81.BackColor = Color.FromArgb(30, 30, 30); itemGrid81.Changed = false; itemGrid81.FieldType = ItemType.Label2; itemGrid81.FontColor = Color.Gainsboro; itemGrid81.FontStyle = FontStyle.Regular; itemGrid81.Height = 1f; itemGrid81.IsBlink = 0; itemGrid81.Name = "lb_hl52weel"; itemGrid81.Text = "H/L 52W"; itemGrid81.ValueFormat = FormatType.Text; itemGrid81.Visible = true; itemGrid81.Width = 22; itemGrid81.X = 45; itemGrid81.Y = 3.6f; itemGrid82.AdjustFontSize = -1f; itemGrid82.Alignment = StringAlignment.Near; itemGrid82.BackColor = Color.FromArgb(30, 30, 30); itemGrid82.Changed = false; itemGrid82.FieldType = ItemType.Text; itemGrid82.FontColor = Color.White; itemGrid82.FontStyle = FontStyle.Regular; itemGrid82.Height = 1f; itemGrid82.IsBlink = 0; itemGrid82.Name = "h52w"; itemGrid82.Text = ""; itemGrid82.ValueFormat = FormatType.Price; itemGrid82.Visible = true; itemGrid82.Width = 14; itemGrid82.X = 67; itemGrid82.Y = 3.6f; itemGrid83.AdjustFontSize = 0f; itemGrid83.Alignment = StringAlignment.Center; itemGrid83.BackColor = Color.FromArgb(30, 30, 30); itemGrid83.Changed = false; itemGrid83.FieldType = ItemType.Label; itemGrid83.FontColor = Color.Gainsboro; itemGrid83.FontStyle = FontStyle.Regular; itemGrid83.Height = 1f; itemGrid83.IsBlink = 0; itemGrid83.Name = "lb2"; itemGrid83.Text = "/"; itemGrid83.ValueFormat = FormatType.Label; itemGrid83.Visible = true; itemGrid83.Width = 3; itemGrid83.X = 81; itemGrid83.Y = 3.6f; itemGrid84.AdjustFontSize = -1f; itemGrid84.Alignment = StringAlignment.Near; itemGrid84.BackColor = Color.FromArgb(30, 30, 30); itemGrid84.Changed = false; itemGrid84.FieldType = ItemType.Text; itemGrid84.FontColor = Color.White; itemGrid84.FontStyle = FontStyle.Regular; itemGrid84.Height = 1f; itemGrid84.IsBlink = 0; itemGrid84.Name = "l52w"; itemGrid84.Text = ""; itemGrid84.ValueFormat = FormatType.Price; itemGrid84.Visible = true; itemGrid84.Width = 16; itemGrid84.X = 84; itemGrid84.Y = 3.6f; this.intzaInfo.Items.Add(itemGrid43); this.intzaInfo.Items.Add(itemGrid44); this.intzaInfo.Items.Add(itemGrid45); this.intzaInfo.Items.Add(itemGrid46); this.intzaInfo.Items.Add(itemGrid47); this.intzaInfo.Items.Add(itemGrid48); this.intzaInfo.Items.Add(itemGrid49); this.intzaInfo.Items.Add(itemGrid50); this.intzaInfo.Items.Add(itemGrid51); this.intzaInfo.Items.Add(itemGrid52); this.intzaInfo.Items.Add(itemGrid53); this.intzaInfo.Items.Add(itemGrid54); this.intzaInfo.Items.Add(itemGrid55); this.intzaInfo.Items.Add(itemGrid56); this.intzaInfo.Items.Add(itemGrid57); this.intzaInfo.Items.Add(itemGrid58); this.intzaInfo.Items.Add(itemGrid59); this.intzaInfo.Items.Add(itemGrid60); this.intzaInfo.Items.Add(itemGrid61); this.intzaInfo.Items.Add(itemGrid62); this.intzaInfo.Items.Add(itemGrid63); this.intzaInfo.Items.Add(itemGrid64); this.intzaInfo.Items.Add(itemGrid65); this.intzaInfo.Items.Add(itemGrid66); this.intzaInfo.Items.Add(itemGrid67); this.intzaInfo.Items.Add(itemGrid68); this.intzaInfo.Items.Add(itemGrid69); this.intzaInfo.Items.Add(itemGrid70); this.intzaInfo.Items.Add(itemGrid71); this.intzaInfo.Items.Add(itemGrid72); this.intzaInfo.Items.Add(itemGrid73); this.intzaInfo.Items.Add(itemGrid74); this.intzaInfo.Items.Add(itemGrid75); this.intzaInfo.Items.Add(itemGrid76); this.intzaInfo.Items.Add(itemGrid77); this.intzaInfo.Items.Add(itemGrid78); this.intzaInfo.Items.Add(itemGrid79); this.intzaInfo.Items.Add(itemGrid80); this.intzaInfo.Items.Add(itemGrid81); this.intzaInfo.Items.Add(itemGrid82); this.intzaInfo.Items.Add(itemGrid83); this.intzaInfo.Items.Add(itemGrid84); this.intzaInfo.LineColor = Color.Red; this.intzaInfo.Location = new Point(253, 26); this.intzaInfo.Margin = new Padding(2); this.intzaInfo.Name = "intzaInfo"; this.intzaInfo.Size = new Size(265, 164); this.intzaInfo.TabIndex = 61; this.intzaInfo.TabStop = false; this.intzaInfo.ItemDragDrop += new IntzaCustomGrid.ItemDragDropEventHandler(this.intzaInfo_ItemDragDrop); this.intzaLS.AllowDrop = true; this.intzaLS.BackColor = Color.FromArgb(30, 30, 30); this.intzaLS.CanBlink = true; this.intzaLS.CanDrag = false; this.intzaLS.CanGetMouseMove = false; columnItem49.Alignment = StringAlignment.Center; columnItem49.BackColor = Color.FromArgb(64, 64, 64); columnItem49.ColumnAlignment = StringAlignment.Center; columnItem49.FontColor = Color.LightGray; columnItem49.MyStyle = FontStyle.Regular; columnItem49.Name = "side"; columnItem49.Text = "B/S"; columnItem49.ValueFormat = FormatType.Text; columnItem49.Visible = true; columnItem49.Width = 13; columnItem50.Alignment = StringAlignment.Far; columnItem50.BackColor = Color.FromArgb(64, 64, 64); columnItem50.ColumnAlignment = StringAlignment.Center; columnItem50.FontColor = Color.LightGray; columnItem50.MyStyle = FontStyle.Regular; columnItem50.Name = "volume"; columnItem50.Text = "Volume"; columnItem50.ValueFormat = FormatType.Volume; columnItem50.Visible = true; columnItem50.Width = 36; columnItem51.Alignment = StringAlignment.Far; columnItem51.BackColor = Color.FromArgb(64, 64, 64); columnItem51.ColumnAlignment = StringAlignment.Center; columnItem51.FontColor = Color.LightGray; columnItem51.MyStyle = FontStyle.Regular; columnItem51.Name = "price"; columnItem51.Text = "Price"; columnItem51.ValueFormat = FormatType.Text; columnItem51.Visible = true; columnItem51.Width = 24; columnItem52.Alignment = StringAlignment.Far; columnItem52.BackColor = Color.FromArgb(64, 64, 64); columnItem52.ColumnAlignment = StringAlignment.Center; columnItem52.FontColor = Color.LightGray; columnItem52.MyStyle = FontStyle.Regular; columnItem52.Name = "time"; columnItem52.Text = "Time"; columnItem52.ValueFormat = FormatType.Text; columnItem52.Visible = true; columnItem52.Width = 27; this.intzaLS.Columns.Add(columnItem49); this.intzaLS.Columns.Add(columnItem50); this.intzaLS.Columns.Add(columnItem51); this.intzaLS.Columns.Add(columnItem52); this.intzaLS.CurrentScroll = 0; this.intzaLS.FocusItemIndex = -1; this.intzaLS.ForeColor = Color.Black; this.intzaLS.GridColor = Color.FromArgb(30, 30, 30); this.intzaLS.HeaderPctHeight = 80f; this.intzaLS.IsAutoRepaint = true; this.intzaLS.IsDrawFullRow = true; this.intzaLS.IsDrawGrid = false; this.intzaLS.IsDrawHeader = true; this.intzaLS.IsScrollable = false; this.intzaLS.Location = new Point(575, 29); this.intzaLS.MainColumn = ""; this.intzaLS.Margin = new Padding(2); this.intzaLS.Name = "intzaLS"; this.intzaLS.Rows = 10; this.intzaLS.RowSelectColor = Color.FromArgb(95, 158, 160); this.intzaLS.RowSelectType = 0; this.intzaLS.RowsVisible = 10; this.intzaLS.Size = new Size(121, 77); this.intzaLS.SortColumnName = ""; this.intzaLS.SortType = SortType.Desc; this.intzaLS.TabIndex = 85; this.intzaLS.ItemDragDrop += new SortGrid.ItemDragDropEventHandler(this.intzaLS2_ItemDragDrop); this.intzaBF.AllowDrop = true; this.intzaBF.BackColor = Color.FromArgb(30, 30, 30); this.intzaBF.CanDrag = false; this.intzaBF.IsAutoRepaint = true; this.intzaBF.IsDroped = false; itemGrid85.AdjustFontSize = 0f; itemGrid85.Alignment = StringAlignment.Near; itemGrid85.BackColor = Color.FromArgb(30, 30, 30); itemGrid85.Changed = false; itemGrid85.FieldType = ItemType.Text; itemGrid85.FontColor = Color.White; itemGrid85.FontStyle = FontStyle.Regular; itemGrid85.Height = 1f; itemGrid85.IsBlink = 0; itemGrid85.Name = "item"; itemGrid85.Text = "0"; itemGrid85.ValueFormat = FormatType.BidOfferPct; itemGrid85.Visible = true; itemGrid85.Width = 100; itemGrid85.X = 0; itemGrid85.Y = 0f; this.intzaBF.Items.Add(itemGrid85); this.intzaBF.LineColor = Color.Red; this.intzaBF.Location = new Point(2, 107); this.intzaBF.Name = "intzaBF"; this.intzaBF.Size = new Size(221, 17); this.intzaBF.TabIndex = 83; this.intzaTP.AllowDrop = true; this.intzaTP.BackColor = Color.FromArgb(30, 30, 30); this.intzaTP.CanBlink = true; this.intzaTP.CanDrag = false; this.intzaTP.CanGetMouseMove = false; columnItem53.Alignment = StringAlignment.Far; columnItem53.BackColor = Color.FromArgb(45, 45, 45); columnItem53.ColumnAlignment = StringAlignment.Center; columnItem53.FontColor = Color.LightGray; columnItem53.MyStyle = FontStyle.Regular; columnItem53.Name = "bidvolume"; columnItem53.Text = "Volume"; columnItem53.ValueFormat = FormatType.BidOfferVolume; columnItem53.Visible = true; columnItem53.Width = 31; columnItem54.Alignment = StringAlignment.Far; columnItem54.BackColor = Color.FromArgb(45, 45, 45); columnItem54.ColumnAlignment = StringAlignment.Center; columnItem54.FontColor = Color.LightGray; columnItem54.MyStyle = FontStyle.Regular; columnItem54.Name = "bid"; columnItem54.Text = "Bid"; columnItem54.ValueFormat = FormatType.Text; columnItem54.Visible = true; columnItem54.Width = 19; columnItem55.Alignment = StringAlignment.Far; columnItem55.BackColor = Color.FromArgb(45, 45, 45); columnItem55.ColumnAlignment = StringAlignment.Center; columnItem55.FontColor = Color.LightGray; columnItem55.MyStyle = FontStyle.Regular; columnItem55.Name = "offer"; columnItem55.Text = "Offer"; columnItem55.ValueFormat = FormatType.Text; columnItem55.Visible = true; columnItem55.Width = 19; columnItem56.Alignment = StringAlignment.Far; columnItem56.BackColor = Color.FromArgb(45, 45, 45); columnItem56.ColumnAlignment = StringAlignment.Center; columnItem56.FontColor = Color.LightGray; columnItem56.MyStyle = FontStyle.Regular; columnItem56.Name = "offervolume"; columnItem56.Text = "Volume"; columnItem56.ValueFormat = FormatType.BidOfferVolume; columnItem56.Visible = true; columnItem56.Width = 31; this.intzaTP.Columns.Add(columnItem53); this.intzaTP.Columns.Add(columnItem54); this.intzaTP.Columns.Add(columnItem55); this.intzaTP.Columns.Add(columnItem56); this.intzaTP.CurrentScroll = 0; this.intzaTP.FocusItemIndex = -1; this.intzaTP.ForeColor = Color.Black; this.intzaTP.GridColor = Color.FromArgb(20, 20, 20); this.intzaTP.HeaderPctHeight = 80f; this.intzaTP.IsAutoRepaint = true; this.intzaTP.IsDrawFullRow = false; this.intzaTP.IsDrawGrid = false; this.intzaTP.IsDrawHeader = true; this.intzaTP.IsScrollable = false; this.intzaTP.Location = new Point(30, 26); this.intzaTP.MainColumn = ""; this.intzaTP.Margin = new Padding(2); this.intzaTP.Name = "intzaTP"; this.intzaTP.Rows = 5; this.intzaTP.RowSelectColor = Color.FromArgb(95, 158, 160); this.intzaTP.RowSelectType = 0; this.intzaTP.RowsVisible = 5; this.intzaTP.Size = new Size(218, 80); this.intzaTP.SortColumnName = ""; this.intzaTP.SortType = SortType.Desc; this.intzaTP.TabIndex = 86; this.intzaTP.TableMouseClick += new SortGrid.TableMouseClickEventHandler(this.intzaTP_TableMouseClick); this.intzaTP.ItemDragDrop += new SortGrid.ItemDragDropEventHandler(this.intzaLS2_ItemDragDrop); this.toolTip1.AutoPopDelay = 5000; this.toolTip1.InitialDelay = 300; this.toolTip1.IsBalloon = true; this.toolTip1.ReshowDelay = 500; this.toolTip1.ShowAlways = true; this.toolTip1.ToolTipIcon = ToolTipIcon.Info; this.toolTip1.ToolTipTitle = "Info guide"; clsPermission.DisplayBuySell = enumDisplayBuySell.Yes; clsPermission.HistoricalDay = 30.0; clsPermission.Permission = enumPermission.Visible; clsPermission.VolType = null; clsPermission.WordingType = null; this.wcGraphVolume.ActiveSET = clsPermission; clsPermission2.DisplayBuySell = enumDisplayBuySell.Yes; clsPermission2.HistoricalDay = 30.0; clsPermission2.Permission = enumPermission.Visible; clsPermission2.VolType = null; clsPermission2.WordingType = null; this.wcGraphVolume.ActiveTFEX = clsPermission2; this.wcGraphVolume.BackColor = Color.FromArgb(30, 30, 30); this.wcGraphVolume.ColorBg = Color.FromArgb(30, 30, 30); this.wcGraphVolume.ColorBuy = Color.Lime; this.wcGraphVolume.ColorCeiling = Color.Aqua; this.wcGraphVolume.ColorDown = Color.Red; this.wcGraphVolume.ColorFloor = Color.Fuchsia; this.wcGraphVolume.ColorGrid = Color.DarkGray; this.wcGraphVolume.ColorNoChg = Color.Yellow; this.wcGraphVolume.ColorSell = Color.Red; this.wcGraphVolume.ColorUp = Color.Lime; this.wcGraphVolume.ColorValue = Color.White; this.wcGraphVolume.ColorVolume = Color.Yellow; this.wcGraphVolume.CurDate = null; this.wcGraphVolume.dictIPO = (Dictionary<string, float>)componentResourceManager.GetObject("wcGraphVolume.dictIPO"); this.wcGraphVolume.Dock = DockStyle.Fill; this.wcGraphVolume.FontName = "Arial"; this.wcGraphVolume.FontSize = 10f; this.wcGraphVolume.Location = new Point(1, 1); this.wcGraphVolume.Mode = 0; this.wcGraphVolume.Name = "wcGraphVolume"; this.wcGraphVolume.Size = new Size(197, 69); this.wcGraphVolume.SymbolList = null; this.wcGraphVolume.SymbolType = enumType.eSet; this.wcGraphVolume.TabIndex = 91; this.wcGraphVolume.TextBoxBgColor = Color.Empty; this.wcGraphVolume.TextBoxForeColor = Color.Empty; this.wcGraphVolume.TypeMode = enumMode.Previous; this.panelVolAs.BackColor = Color.Gray; this.panelVolAs.Controls.Add(this.btnVolAsClose); this.panelVolAs.Controls.Add(this.wcGraphVolume); this.panelVolAs.Location = new Point(732, 41); this.panelVolAs.Name = "panelVolAs"; this.panelVolAs.Padding = new Padding(1); this.panelVolAs.Size = new Size(199, 71); this.panelVolAs.TabIndex = 92; this.panelVolAs.Visible = false; this.btnVolAsClose.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.btnVolAsClose.BackColor = Color.FromArgb(30, 30, 30); this.btnVolAsClose.FlatAppearance.BorderSize = 0; this.btnVolAsClose.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnVolAsClose.FlatAppearance.MouseOverBackColor = Color.Teal; this.btnVolAsClose.FlatStyle = FlatStyle.Flat; this.btnVolAsClose.ForeColor = SystemColors.ControlDark; this.btnVolAsClose.Image = (Image)componentResourceManager.GetObject("btnVolAsClose.Image"); this.btnVolAsClose.Location = new Point(178, 1); this.btnVolAsClose.Name = "btnVolAsClose"; this.btnVolAsClose.Size = new Size(18, 18); this.btnVolAsClose.TabIndex = 92; this.btnVolAsClose.UseVisualStyleBackColor = false; this.btnVolAsClose.Click += new EventHandler(this.btnVolAsClose_Click); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.FromArgb(20, 20, 20); base.ClientSize = new Size(963, 398); base.Controls.Add(this.intzaTP); base.Controls.Add(this.intzaInfoTFEX); base.Controls.Add(this.intzaInfo); base.Controls.Add(this.panelVolAs); base.Controls.Add(this.btnCloseChart); base.Controls.Add(this.intzaVolumeByBoard); base.Controls.Add(this.lbBBOLoading); base.Controls.Add(this.intzaLS); base.Controls.Add(this.intzaBF); base.Controls.Add(this.lbSplashInfo); base.Controls.Add(this.lbChartLoading); base.Controls.Add(this.pictureBox1); base.Controls.Add(this.panelBidOffer); base.Controls.Add(this.tStripMenu); base.FormBorderStyle = FormBorderStyle.FixedToolWindow; base.Margin = new Padding(4); base.Name = "frmMarketWatch"; this.Text = "Market Watch"; base.IDoShownDelay += new ClientBaseForm.OnShownDelayEventHandler(this.frmMarketWatch_IDoShownDelay); base.IDoLoadData += new ClientBaseForm.OnIDoLoadDataEventHandler(this.frmMarketWatch_IDoLoadData); base.IDoFontChanged += new ClientBaseForm.OnFontChangedEventHandler(this.frmMarketWatch_IDoFontChanged); base.IDoCustomSizeChanged += new ClientBaseForm.CustomSizeChangedEventHandler(this.frmMarketWatch_IDoCustomSizeChanged); base.IDoSymbolLinked += new ClientBaseForm.OnSymbolLinkEventHandler(this.frmMarketWatch_IDoSymbolLinked); base.IDoMainFormKeyUp += new ClientBaseForm.OnFormKeyUpEventHandler(this.frmMarketWatch_IDoMainFormKeyUp); base.IDoReActivated += new ClientBaseForm.OnReActiveEventHandler(this.frmMarketWatch_IDoReActivated); base.Controls.SetChildIndex(this.tStripMenu, 0); base.Controls.SetChildIndex(this.panelBidOffer, 0); base.Controls.SetChildIndex(this.pictureBox1, 0); base.Controls.SetChildIndex(this.lbChartLoading, 0); base.Controls.SetChildIndex(this.lbSplashInfo, 0); base.Controls.SetChildIndex(this.intzaBF, 0); base.Controls.SetChildIndex(this.intzaLS, 0); base.Controls.SetChildIndex(this.lbBBOLoading, 0); base.Controls.SetChildIndex(this.intzaVolumeByBoard, 0); base.Controls.SetChildIndex(this.btnCloseChart, 0); base.Controls.SetChildIndex(this.panelVolAs, 0); base.Controls.SetChildIndex(this.intzaInfo, 0); base.Controls.SetChildIndex(this.intzaInfoTFEX, 0); base.Controls.SetChildIndex(this.intzaTP, 0); this.tStripMenu.ResumeLayout(false); this.tStripMenu.PerformLayout(); this.panelBidOffer.ResumeLayout(false); this.panelBidOffer.PerformLayout(); this.tStripCP.ResumeLayout(false); this.tStripCP.PerformLayout(); this.tStripBBO.ResumeLayout(false); this.tStripBBO.PerformLayout(); this.contextMenuStrip1.ResumeLayout(false); ((ISupportInitialize)this.pictureBox1).EndInit(); this.contextLink.ResumeLayout(false); this.panelVolAs.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ColumnItem columnItem = new ColumnItem(); ColumnItem columnItem2 = new ColumnItem(); ColumnItem columnItem3 = new ColumnItem(); ColumnItem columnItem4 = new ColumnItem(); ColumnItem columnItem5 = new ColumnItem(); ColumnItem columnItem6 = new ColumnItem(); ColumnItem columnItem7 = new ColumnItem(); ColumnItem columnItem8 = new ColumnItem(); this.gridPzDetail = new ExpandGrid(); this.lbPzRefNo2 = new Label(); this.lbPzRefNo1 = new Label(); this.lbLoading = new Label(); this.panelPzEdit = new Panel(); this.tbPin = new TextBox(); this.lbPin = new Label(); this.label1 = new Label(); this.lbPzEditPrice = new Label(); this.tbPzEditPrice = new TextBox(); this.btnPzEditClose = new Button(); this.btnPzEditSend = new Button(); this.lbPzEditMAvg = new Label(); this.tbPzEditMAvg = new TextBox(); this.lbPzEditMVol = new Label(); this.tbPzEditMVol = new TextBox(); this.lbPzEditVolume = new Label(); this.tbPzEditVolume = new TextBox(); this.btnBack = new Button(); this.btnPzEdit = new Button(); this.btnReloadPzDetail = new Button(); this.panelPzEdit.SuspendLayout(); base.SuspendLayout(); this.gridPzDetail.AllowDrop = true; this.gridPzDetail.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.gridPzDetail.BackColor = Color.FromArgb(20, 20, 20); this.gridPzDetail.CanBlink = true; this.gridPzDetail.CanDrag = false; this.gridPzDetail.CanGetMouseMove = false; columnItem.Alignment = StringAlignment.Center; columnItem.BackColor = Color.FromArgb(64, 64, 64); columnItem.FontColor = Color.LightGray; columnItem.IsExpand = false; columnItem.MyStyle = FontStyle.Regular; columnItem.Name = "no"; columnItem.Text = "No."; columnItem.ValueFormat = FormatType.Text; columnItem.Visible = true; columnItem.Width = 8; columnItem2.Alignment = StringAlignment.Far; columnItem2.BackColor = Color.FromArgb(64, 64, 64); columnItem2.FontColor = Color.LightGray; columnItem2.IsExpand = false; columnItem2.MyStyle = FontStyle.Regular; columnItem2.Name = "price"; columnItem2.Text = "Price"; columnItem2.ValueFormat = FormatType.Text; columnItem2.Visible = true; columnItem2.Width = 13; columnItem3.Alignment = StringAlignment.Far; columnItem3.BackColor = Color.FromArgb(64, 64, 64); columnItem3.FontColor = Color.LightGray; columnItem3.IsExpand = false; columnItem3.MyStyle = FontStyle.Regular; columnItem3.Name = "volume"; columnItem3.Text = "Volume"; columnItem3.ValueFormat = FormatType.Volume; columnItem3.Visible = true; columnItem3.Width = 17; columnItem4.Alignment = StringAlignment.Far; columnItem4.BackColor = Color.FromArgb(64, 64, 64); columnItem4.FontColor = Color.LightGray; columnItem4.IsExpand = false; columnItem4.MyStyle = FontStyle.Regular; columnItem4.Name = "budget"; columnItem4.Text = "Budget"; columnItem4.ValueFormat = FormatType.Volume; columnItem4.Visible = false; columnItem4.Width = 15; columnItem5.Alignment = StringAlignment.Center; columnItem5.BackColor = Color.FromArgb(64, 64, 64); columnItem5.FontColor = Color.LightGray; columnItem5.IsExpand = false; columnItem5.MyStyle = FontStyle.Regular; columnItem5.Name = "sdate"; columnItem5.Text = "S-Date"; columnItem5.ValueFormat = FormatType.Text; columnItem5.Visible = true; columnItem5.Width = 15; columnItem6.Alignment = StringAlignment.Far; columnItem6.BackColor = Color.FromArgb(64, 64, 64); columnItem6.FontColor = Color.LightGray; columnItem6.IsExpand = false; columnItem6.MyStyle = FontStyle.Regular; columnItem6.Name = "matvol"; columnItem6.Text = "M-Volume"; columnItem6.ValueFormat = FormatType.Volume; columnItem6.Visible = true; columnItem6.Width = 17; columnItem7.Alignment = StringAlignment.Far; columnItem7.BackColor = Color.FromArgb(64, 64, 64); columnItem7.FontColor = Color.LightGray; columnItem7.IsExpand = false; columnItem7.MyStyle = FontStyle.Regular; columnItem7.Name = "cost"; columnItem7.Text = "Cost"; columnItem7.ValueFormat = FormatType.Volume; columnItem7.Visible = true; columnItem7.Width = 17; columnItem8.Alignment = StringAlignment.Far; columnItem8.BackColor = Color.FromArgb(64, 64, 64); columnItem8.FontColor = Color.LightGray; columnItem8.IsExpand = false; columnItem8.MyStyle = FontStyle.Regular; columnItem8.Name = "mavg"; columnItem8.Text = "Avg"; columnItem8.ValueFormat = FormatType.Price; columnItem8.Visible = true; columnItem8.Width = 13; this.gridPzDetail.Columns.Add(columnItem); this.gridPzDetail.Columns.Add(columnItem2); this.gridPzDetail.Columns.Add(columnItem3); this.gridPzDetail.Columns.Add(columnItem4); this.gridPzDetail.Columns.Add(columnItem5); this.gridPzDetail.Columns.Add(columnItem6); this.gridPzDetail.Columns.Add(columnItem7); this.gridPzDetail.Columns.Add(columnItem8); this.gridPzDetail.CurrentScroll = 0; this.gridPzDetail.FocusItemIndex = -1; this.gridPzDetail.ForeColor = Color.Black; this.gridPzDetail.GridColor = Color.FromArgb(50, 50, 50); this.gridPzDetail.HeaderPctHeight = 100f; this.gridPzDetail.IsAutoRepaint = true; this.gridPzDetail.IsDrawGrid = true; this.gridPzDetail.IsDrawHeader = true; this.gridPzDetail.IsScrollable = true; this.gridPzDetail.Location = new Point(12, 36); this.gridPzDetail.MainColumn = ""; this.gridPzDetail.Name = "gridPzDetail"; this.gridPzDetail.Rows = 0; this.gridPzDetail.RowSelectColor = Color.FromArgb(50, 50, 50); this.gridPzDetail.RowSelectType = 3; this.gridPzDetail.Size = new Size(763, 371); this.gridPzDetail.SortColumnName = ""; this.gridPzDetail.SortType = SortType.Desc; this.gridPzDetail.TabIndex = 143; this.gridPzDetail.TableMouseClick += new ExpandGrid.TableMouseClickEventHandler(this.gridPzDetail_TableMouseClick); this.lbPzRefNo2.AutoSize = true; this.lbPzRefNo2.ForeColor = Color.Cyan; this.lbPzRefNo2.Location = new Point(119, 12); this.lbPzRefNo2.Name = "lbPzRefNo2"; this.lbPzRefNo2.Size = new Size(10, 13); this.lbPzRefNo2.TabIndex = 146; this.lbPzRefNo2.Text = "-"; this.lbPzRefNo1.AutoSize = true; this.lbPzRefNo1.ForeColor = Color.LightGray; this.lbPzRefNo1.Location = new Point(72, 12); this.lbPzRefNo1.Name = "lbPzRefNo1"; this.lbPzRefNo1.Size = new Size(44, 13); this.lbPzRefNo1.TabIndex = 145; this.lbPzRefNo1.Text = "Ref No."; this.lbLoading.AutoSize = true; this.lbLoading.BackColor = Color.FromArgb(64, 64, 64); this.lbLoading.BorderStyle = BorderStyle.FixedSingle; this.lbLoading.Font = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, 222); this.lbLoading.ForeColor = Color.Yellow; this.lbLoading.Location = new Point(325, 189); this.lbLoading.Name = "lbLoading"; this.lbLoading.Padding = new Padding(4, 3, 4, 3); this.lbLoading.Size = new Size(71, 23); this.lbLoading.TabIndex = 149; this.lbLoading.Text = "Loading..."; this.lbLoading.TextAlign = ContentAlignment.MiddleCenter; this.lbLoading.Visible = false; this.panelPzEdit.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.panelPzEdit.BackColor = Color.FromArgb(50, 50, 50); this.panelPzEdit.Controls.Add(this.tbPin); this.panelPzEdit.Controls.Add(this.lbPin); this.panelPzEdit.Controls.Add(this.label1); this.panelPzEdit.Controls.Add(this.lbPzEditPrice); this.panelPzEdit.Controls.Add(this.tbPzEditPrice); this.panelPzEdit.Controls.Add(this.btnPzEditClose); this.panelPzEdit.Controls.Add(this.btnPzEditSend); this.panelPzEdit.Controls.Add(this.lbPzEditMAvg); this.panelPzEdit.Controls.Add(this.tbPzEditMAvg); this.panelPzEdit.Controls.Add(this.lbPzEditMVol); this.panelPzEdit.Controls.Add(this.tbPzEditMVol); this.panelPzEdit.Controls.Add(this.lbPzEditVolume); this.panelPzEdit.Controls.Add(this.tbPzEditVolume); this.panelPzEdit.Location = new Point(12, 351); this.panelPzEdit.Name = "panelPzEdit"; this.panelPzEdit.Size = new Size(763, 58); this.panelPzEdit.TabIndex = 150; this.panelPzEdit.Visible = false; this.tbPin.AutoCompleteMode = AutoCompleteMode.SuggestAppend; this.tbPin.AutoCompleteSource = AutoCompleteSource.CustomSource; this.tbPin.BackColor = Color.FromArgb(224, 224, 224); this.tbPin.BorderStyle = BorderStyle.FixedSingle; this.tbPin.CharacterCasing = CharacterCasing.Upper; this.tbPin.Location = new Point(437, 29); this.tbPin.Margin = new Padding(2, 3, 2, 3); this.tbPin.MaxLength = 10; this.tbPin.Name = "tbPin"; this.tbPin.PasswordChar = '*'; this.tbPin.Size = new Size(55, 20); this.tbPin.TabIndex = 151; this.lbPin.AutoSize = true; this.lbPin.ForeColor = Color.LightGray; this.lbPin.Location = new Point(408, 33); this.lbPin.Margin = new Padding(2, 0, 2, 0); this.lbPin.Name = "lbPin"; this.lbPin.Size = new Size(25, 13); this.lbPin.TabIndex = 152; this.lbPin.Text = "PIN"; this.lbPin.TextAlign = ContentAlignment.MiddleLeft; this.label1.AutoSize = true; this.label1.BackColor = Color.Gray; this.label1.ForeColor = Color.WhiteSmoke; this.label1.Location = new Point(4, 4); this.label1.Name = "label1"; this.label1.Size = new Size(40, 13); this.label1.TabIndex = 150; this.label1.Text = " Edit "; this.lbPzEditPrice.AutoSize = true; this.lbPzEditPrice.ForeColor = Color.LightGray; this.lbPzEditPrice.Location = new Point(5, 33); this.lbPzEditPrice.Margin = new Padding(2, 0, 2, 0); this.lbPzEditPrice.Name = "lbPzEditPrice"; this.lbPzEditPrice.Size = new Size(31, 13); this.lbPzEditPrice.TabIndex = 147; this.lbPzEditPrice.Text = "Price"; this.lbPzEditPrice.TextAlign = ContentAlignment.MiddleLeft; this.tbPzEditPrice.BackColor = Color.FromArgb(224, 224, 224); this.tbPzEditPrice.BorderStyle = BorderStyle.FixedSingle; this.tbPzEditPrice.Location = new Point(36, 29); this.tbPzEditPrice.Margin = new Padding(2, 3, 2, 3); this.tbPzEditPrice.MaxLength = 10; this.tbPzEditPrice.Name = "tbPzEditPrice"; this.tbPzEditPrice.Size = new Size(43, 20); this.tbPzEditPrice.TabIndex = 148; this.btnPzEditClose.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnPzEditClose.BackColor = Color.Transparent; this.btnPzEditClose.Cursor = Cursors.Hand; this.btnPzEditClose.FlatAppearance.BorderColor = Color.DimGray; this.btnPzEditClose.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnPzEditClose.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnPzEditClose.FlatStyle = FlatStyle.Flat; this.btnPzEditClose.ForeColor = Color.LightGray; this.btnPzEditClose.Image = Resources._1_4type_bt; this.btnPzEditClose.Location = new Point(556, 29); this.btnPzEditClose.Name = "btnPzEditClose"; this.btnPzEditClose.Size = new Size(52, 22); this.btnPzEditClose.TabIndex = 137; this.btnPzEditClose.TabStop = false; this.btnPzEditClose.Text = "Cancel"; this.btnPzEditClose.UseVisualStyleBackColor = false; this.btnPzEditClose.Click += new EventHandler(this.btnPzEditClose_Click); this.btnPzEditSend.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnPzEditSend.BackColor = Color.Transparent; this.btnPzEditSend.Cursor = Cursors.Hand; this.btnPzEditSend.FlatAppearance.BorderColor = Color.DimGray; this.btnPzEditSend.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnPzEditSend.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnPzEditSend.FlatStyle = FlatStyle.Flat; this.btnPzEditSend.ForeColor = Color.LightGray; this.btnPzEditSend.Image = Resources._1_4type_bt; this.btnPzEditSend.Location = new Point(498, 29); this.btnPzEditSend.MaximumSize = new Size(58, 23); this.btnPzEditSend.Name = "btnPzEditSend"; this.btnPzEditSend.Size = new Size(52, 22); this.btnPzEditSend.TabIndex = 136; this.btnPzEditSend.TabStop = false; this.btnPzEditSend.Text = "Confirm"; this.btnPzEditSend.UseVisualStyleBackColor = false; this.btnPzEditSend.Click += new EventHandler(this.btnPzEditSave_Click); this.lbPzEditMAvg.AutoSize = true; this.lbPzEditMAvg.ForeColor = Color.LightGray; this.lbPzEditMAvg.Location = new Point(320, 33); this.lbPzEditMAvg.Margin = new Padding(2, 0, 2, 0); this.lbPzEditMAvg.Name = "lbPzEditMAvg"; this.lbPzEditMAvg.Size = new Size(38, 13); this.lbPzEditMAvg.TabIndex = 125; this.lbPzEditMAvg.Text = "M-Avg"; this.lbPzEditMAvg.TextAlign = ContentAlignment.MiddleLeft; this.tbPzEditMAvg.BackColor = Color.FromArgb(224, 224, 224); this.tbPzEditMAvg.BorderStyle = BorderStyle.FixedSingle; this.tbPzEditMAvg.Location = new Point(361, 29); this.tbPzEditMAvg.Margin = new Padding(2, 3, 2, 3); this.tbPzEditMAvg.MaxLength = 10; this.tbPzEditMAvg.Name = "tbPzEditMAvg"; this.tbPzEditMAvg.Size = new Size(42, 20); this.tbPzEditMAvg.TabIndex = 126; this.lbPzEditMVol.AutoSize = true; this.lbPzEditMVol.ForeColor = Color.LightGray; this.lbPzEditMVol.Location = new Point(195, 33); this.lbPzEditMVol.Margin = new Padding(2, 0, 2, 0); this.lbPzEditMVol.Name = "lbPzEditMVol"; this.lbPzEditMVol.Size = new Size(54, 13); this.lbPzEditMVol.TabIndex = 123; this.lbPzEditMVol.Text = "M-Volume"; this.lbPzEditMVol.TextAlign = ContentAlignment.MiddleLeft; this.tbPzEditMVol.BackColor = Color.FromArgb(224, 224, 224); this.tbPzEditMVol.BorderStyle = BorderStyle.FixedSingle; this.tbPzEditMVol.Location = new Point(251, 29); this.tbPzEditMVol.Margin = new Padding(2, 3, 2, 3); this.tbPzEditMVol.MaxLength = 10; this.tbPzEditMVol.Name = "tbPzEditMVol"; this.tbPzEditMVol.Size = new Size(61, 20); this.tbPzEditMVol.TabIndex = 124; this.lbPzEditVolume.AutoSize = true; this.lbPzEditVolume.ForeColor = Color.LightGray; this.lbPzEditVolume.Location = new Point(83, 33); this.lbPzEditVolume.Margin = new Padding(2, 0, 2, 0); this.lbPzEditVolume.Name = "lbPzEditVolume"; this.lbPzEditVolume.Size = new Size(42, 13); this.lbPzEditVolume.TabIndex = 121; this.lbPzEditVolume.Text = "Volume"; this.lbPzEditVolume.TextAlign = ContentAlignment.MiddleLeft; this.tbPzEditVolume.BackColor = Color.FromArgb(224, 224, 224); this.tbPzEditVolume.BorderStyle = BorderStyle.FixedSingle; this.tbPzEditVolume.Location = new Point(127, 29); this.tbPzEditVolume.Margin = new Padding(2, 3, 2, 3); this.tbPzEditVolume.MaxLength = 10; this.tbPzEditVolume.Name = "tbPzEditVolume"; this.tbPzEditVolume.Size = new Size(61, 20); this.tbPzEditVolume.TabIndex = 122; this.btnBack.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.btnBack.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnBack.BackColor = Color.Transparent; this.btnBack.Cursor = Cursors.Hand; this.btnBack.FlatAppearance.BorderColor = Color.DimGray; this.btnBack.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnBack.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnBack.FlatStyle = FlatStyle.Flat; this.btnBack.ForeColor = Color.LightGray; this.btnBack.Image = Resources.no_side_button; this.btnBack.Location = new Point(722, 7); this.btnBack.MaximumSize = new Size(58, 23); this.btnBack.Name = "btnBack"; this.btnBack.Size = new Size(54, 22); this.btnBack.TabIndex = 148; this.btnBack.TabStop = false; this.btnBack.Text = "Back"; this.btnBack.UseVisualStyleBackColor = false; this.btnBack.Click += new EventHandler(this.btnBack_Click); this.btnPzEdit.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.btnPzEdit.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnPzEdit.BackColor = Color.Transparent; this.btnPzEdit.Cursor = Cursors.Hand; this.btnPzEdit.FlatAppearance.BorderColor = Color.DimGray; this.btnPzEdit.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnPzEdit.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnPzEdit.FlatStyle = FlatStyle.Flat; this.btnPzEdit.ForeColor = Color.LightGray; this.btnPzEdit.Image = Resources.pink__tab; this.btnPzEdit.Location = new Point(658, 7); this.btnPzEdit.MaximumSize = new Size(58, 23); this.btnPzEdit.Name = "btnPzEdit"; this.btnPzEdit.Size = new Size(54, 22); this.btnPzEdit.TabIndex = 147; this.btnPzEdit.TabStop = false; this.btnPzEdit.Text = "Edit"; this.btnPzEdit.UseVisualStyleBackColor = false; this.btnPzEdit.Visible = false; this.btnPzEdit.Click += new EventHandler(this.btnPzEditSend_Click); this.btnReloadPzDetail.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnReloadPzDetail.BackColor = Color.Transparent; this.btnReloadPzDetail.Cursor = Cursors.Hand; this.btnReloadPzDetail.FlatAppearance.BorderColor = Color.DimGray; this.btnReloadPzDetail.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnReloadPzDetail.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnReloadPzDetail.FlatStyle = FlatStyle.Flat; this.btnReloadPzDetail.ForeColor = Color.LightGray; this.btnReloadPzDetail.Image = Resources._1_4type_bt; this.btnReloadPzDetail.Location = new Point(12, 7); this.btnReloadPzDetail.MaximumSize = new Size(58, 23); this.btnReloadPzDetail.Name = "btnReloadPzDetail"; this.btnReloadPzDetail.Size = new Size(54, 22); this.btnReloadPzDetail.TabIndex = 144; this.btnReloadPzDetail.TabStop = false; this.btnReloadPzDetail.Text = "Reload"; this.btnReloadPzDetail.UseVisualStyleBackColor = false; this.btnReloadPzDetail.Click += new EventHandler(this.btnReloadPzDetail_Click); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.FromArgb(30, 30, 30); base.ClientSize = new Size(787, 415); base.Controls.Add(this.panelPzEdit); base.Controls.Add(this.lbLoading); base.Controls.Add(this.btnBack); base.Controls.Add(this.gridPzDetail); base.Controls.Add(this.btnPzEdit); base.Controls.Add(this.lbPzRefNo2); base.Controls.Add(this.lbPzRefNo1); base.Controls.Add(this.btnReloadPzDetail); base.FormBorderStyle = FormBorderStyle.None; base.Name = "frmPzItemsInfo"; this.Text = "frmPzItems"; base.Shown += new EventHandler(this.frmPzItemsInfo_Shown); this.panelPzEdit.ResumeLayout(false); this.panelPzEdit.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ColumnItem columnItem = new ColumnItem(); ColumnItem columnItem2 = new ColumnItem(); ColumnItem columnItem3 = new ColumnItem(); ColumnItem columnItem4 = new ColumnItem(); this.tbPzPChg = new TextBox(); this.lbPzPchg = new Label(); this.tbPzSegment = new TextBox(); this.lbPzStep = new Label(); this.tbPzStartPrice = new TextBox(); this.lbPzPrice = new Label(); this.lbPzCreateNew = new Label(); this.lbPzStock = new Label(); this.cbPzStock = new ComboBox(); this.tbPzBudget = new TextBox(); this.lbPzBudget = new Label(); this.gridPzSimm = new ExpandGrid(); this.tbPin = new TextBox(); this.lbPin = new Label(); this.btnSendOrder = new Button(); this.btnPzClose = new Button(); this.btnPzSimulate = new Button(); base.SuspendLayout(); this.tbPzPChg.BackColor = Color.FromArgb(224, 224, 224); this.tbPzPChg.BorderStyle = BorderStyle.FixedSingle; this.tbPzPChg.Location = new Point(82, 149); this.tbPzPChg.Margin = new Padding(2, 3, 2, 3); this.tbPzPChg.MaxLength = 10; this.tbPzPChg.Name = "tbPzPChg"; this.tbPzPChg.Size = new Size(95, 20); this.tbPzPChg.TabIndex = 142; this.tbPzPChg.KeyDown += new KeyEventHandler(this.tbPzPChg_KeyDown); this.lbPzPchg.AutoSize = true; this.lbPzPchg.ForeColor = Color.LightGray; this.lbPzPchg.Location = new Point(25, 151); this.lbPzPchg.Margin = new Padding(2, 0, 2, 0); this.lbPzPchg.Name = "lbPzPchg"; this.lbPzPchg.Size = new Size(52, 13); this.lbPzPchg.TabIndex = 141; this.lbPzPchg.Text = "%Change"; this.lbPzPchg.TextAlign = ContentAlignment.MiddleLeft; this.tbPzSegment.BackColor = Color.FromArgb(224, 224, 224); this.tbPzSegment.BorderStyle = BorderStyle.FixedSingle; this.tbPzSegment.Location = new Point(82, 123); this.tbPzSegment.Margin = new Padding(2, 3, 2, 3); this.tbPzSegment.MaxLength = 10; this.tbPzSegment.Name = "tbPzSegment"; this.tbPzSegment.Size = new Size(95, 20); this.tbPzSegment.TabIndex = 140; this.tbPzSegment.KeyDown += new KeyEventHandler(this.tbPzSegment_KeyDown); this.lbPzStep.AutoSize = true; this.lbPzStep.ForeColor = Color.LightGray; this.lbPzStep.Location = new Point(28, 127); this.lbPzStep.Margin = new Padding(2, 0, 2, 0); this.lbPzStep.Name = "lbPzStep"; this.lbPzStep.Size = new Size(49, 13); this.lbPzStep.TabIndex = 139; this.lbPzStep.Text = "Segment"; this.lbPzStep.TextAlign = ContentAlignment.MiddleLeft; this.tbPzStartPrice.BackColor = Color.FromArgb(224, 224, 224); this.tbPzStartPrice.BorderStyle = BorderStyle.FixedSingle; this.tbPzStartPrice.Location = new Point(82, 97); this.tbPzStartPrice.Margin = new Padding(2, 3, 2, 3); this.tbPzStartPrice.MaxLength = 10; this.tbPzStartPrice.Name = "tbPzStartPrice"; this.tbPzStartPrice.Size = new Size(95, 20); this.tbPzStartPrice.TabIndex = 138; this.tbPzStartPrice.KeyDown += new KeyEventHandler(this.tbPzStartPrice_KeyDown); this.lbPzPrice.AutoSize = true; this.lbPzPrice.ForeColor = Color.LightGray; this.lbPzPrice.Location = new Point(21, 101); this.lbPzPrice.Margin = new Padding(2, 0, 2, 0); this.lbPzPrice.Name = "lbPzPrice"; this.lbPzPrice.Size = new Size(56, 13); this.lbPzPrice.TabIndex = 137; this.lbPzPrice.Text = "Start Price"; this.lbPzPrice.TextAlign = ContentAlignment.MiddleLeft; this.lbPzCreateNew.AutoSize = true; this.lbPzCreateNew.BackColor = Color.FromArgb(64, 64, 64); this.lbPzCreateNew.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 222); this.lbPzCreateNew.ForeColor = Color.LightGray; this.lbPzCreateNew.Location = new Point(13, 10); this.lbPzCreateNew.Name = "lbPzCreateNew"; this.lbPzCreateNew.Padding = new Padding(3); this.lbPzCreateNew.Size = new Size(126, 19); this.lbPzCreateNew.TabIndex = 133; this.lbPzCreateNew.Tag = "-1"; this.lbPzCreateNew.Text = "Create Pricing Zone"; this.lbPzCreateNew.TextAlign = ContentAlignment.MiddleLeft; this.lbPzStock.AutoSize = true; this.lbPzStock.ForeColor = Color.LightGray; this.lbPzStock.Location = new Point(36, 48); this.lbPzStock.Margin = new Padding(2, 0, 2, 0); this.lbPzStock.Name = "lbPzStock"; this.lbPzStock.Size = new Size(41, 13); this.lbPzStock.TabIndex = 131; this.lbPzStock.Text = "Symbol"; this.lbPzStock.TextAlign = ContentAlignment.MiddleLeft; this.cbPzStock.AutoCompleteMode = AutoCompleteMode.Suggest; this.cbPzStock.AutoCompleteSource = AutoCompleteSource.ListItems; this.cbPzStock.BackColor = Color.FromArgb(224, 224, 224); this.cbPzStock.FlatStyle = FlatStyle.Popup; this.cbPzStock.ForeColor = Color.Black; this.cbPzStock.FormattingEnabled = true; this.cbPzStock.Location = new Point(82, 44); this.cbPzStock.MaxLength = 20; this.cbPzStock.Name = "cbPzStock"; this.cbPzStock.Size = new Size(95, 21); this.cbPzStock.TabIndex = 130; this.cbPzStock.KeyPress += new KeyPressEventHandler(this.cbPzStock_KeyPress); this.cbPzStock.KeyDown += new KeyEventHandler(this.cbPzStock_KeyDown); this.tbPzBudget.BackColor = Color.FromArgb(224, 224, 224); this.tbPzBudget.BorderStyle = BorderStyle.FixedSingle; this.tbPzBudget.Location = new Point(82, 71); this.tbPzBudget.Margin = new Padding(2, 3, 2, 3); this.tbPzBudget.MaxLength = 10; this.tbPzBudget.Name = "tbPzBudget"; this.tbPzBudget.Size = new Size(95, 20); this.tbPzBudget.TabIndex = 133; this.tbPzBudget.TextChanged += new EventHandler(this.tbPzBudget_TextChanged); this.tbPzBudget.KeyDown += new KeyEventHandler(this.tbPzBudget_KeyDown); this.lbPzBudget.AutoSize = true; this.lbPzBudget.ForeColor = Color.LightGray; this.lbPzBudget.Location = new Point(36, 75); this.lbPzBudget.Margin = new Padding(2, 0, 2, 0); this.lbPzBudget.Name = "lbPzBudget"; this.lbPzBudget.Size = new Size(41, 13); this.lbPzBudget.TabIndex = 11; this.lbPzBudget.Text = "Budget"; this.lbPzBudget.TextAlign = ContentAlignment.MiddleLeft; this.gridPzSimm.AllowDrop = true; this.gridPzSimm.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); this.gridPzSimm.BackColor = Color.FromArgb(20, 20, 20); this.gridPzSimm.CanBlink = true; this.gridPzSimm.CanDrag = false; this.gridPzSimm.CanGetMouseMove = false; columnItem.Alignment = StringAlignment.Center; columnItem.BackColor = Color.FromArgb(64, 64, 64); columnItem.FontColor = Color.LightGray; columnItem.IsExpand = false; columnItem.MyStyle = FontStyle.Regular; columnItem.Name = "no"; columnItem.Text = "No."; columnItem.ValueFormat = FormatType.Text; columnItem.Visible = true; columnItem.Width = 15; columnItem2.Alignment = StringAlignment.Far; columnItem2.BackColor = Color.FromArgb(64, 64, 64); columnItem2.FontColor = Color.LightGray; columnItem2.IsExpand = false; columnItem2.MyStyle = FontStyle.Regular; columnItem2.Name = "price"; columnItem2.Text = "Price"; columnItem2.ValueFormat = FormatType.Text; columnItem2.Visible = true; columnItem2.Width = 25; columnItem3.Alignment = StringAlignment.Far; columnItem3.BackColor = Color.FromArgb(64, 64, 64); columnItem3.FontColor = Color.LightGray; columnItem3.IsExpand = false; columnItem3.MyStyle = FontStyle.Regular; columnItem3.Name = "volume"; columnItem3.Text = "Volume"; columnItem3.ValueFormat = FormatType.Volume; columnItem3.Visible = true; columnItem3.Width = 30; columnItem4.Alignment = StringAlignment.Far; columnItem4.BackColor = Color.FromArgb(64, 64, 64); columnItem4.FontColor = Color.LightGray; columnItem4.IsExpand = false; columnItem4.MyStyle = FontStyle.Regular; columnItem4.Name = "budget"; columnItem4.Text = "Budget"; columnItem4.ValueFormat = FormatType.Price; columnItem4.Visible = true; columnItem4.Width = 30; this.gridPzSimm.Columns.Add(columnItem); this.gridPzSimm.Columns.Add(columnItem2); this.gridPzSimm.Columns.Add(columnItem3); this.gridPzSimm.Columns.Add(columnItem4); this.gridPzSimm.CurrentScroll = 0; this.gridPzSimm.FocusItemIndex = -1; this.gridPzSimm.ForeColor = Color.Black; this.gridPzSimm.GridColor = Color.FromArgb(50, 50, 50); this.gridPzSimm.HeaderPctHeight = 100f; this.gridPzSimm.IsAutoRepaint = true; this.gridPzSimm.IsDrawGrid = true; this.gridPzSimm.IsDrawHeader = true; this.gridPzSimm.IsScrollable = true; this.gridPzSimm.Location = new Point(195, 7); this.gridPzSimm.MainColumn = ""; this.gridPzSimm.Name = "gridPzSimm"; this.gridPzSimm.Rows = 0; this.gridPzSimm.RowSelectColor = Color.Navy; this.gridPzSimm.RowSelectType = 0; this.gridPzSimm.Size = new Size(404, 289); this.gridPzSimm.SortColumnName = ""; this.gridPzSimm.SortType = SortType.Desc; this.gridPzSimm.TabIndex = 135; this.tbPin.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.tbPin.AutoCompleteMode = AutoCompleteMode.SuggestAppend; this.tbPin.AutoCompleteSource = AutoCompleteSource.CustomSource; this.tbPin.BackColor = Color.FromArgb(224, 224, 224); this.tbPin.BorderStyle = BorderStyle.FixedSingle; this.tbPin.CharacterCasing = CharacterCasing.Upper; this.tbPin.Location = new Point(416, 305); this.tbPin.Margin = new Padding(2, 3, 2, 3); this.tbPin.MaxLength = 10; this.tbPin.Name = "tbPin"; this.tbPin.PasswordChar = '*'; this.tbPin.Size = new Size(55, 20); this.tbPin.TabIndex = 143; this.lbPin.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.lbPin.AutoSize = true; this.lbPin.ForeColor = Color.LightGray; this.lbPin.Location = new Point(387, 309); this.lbPin.Margin = new Padding(2, 0, 2, 0); this.lbPin.Name = "lbPin"; this.lbPin.Size = new Size(25, 13); this.lbPin.TabIndex = 144; this.lbPin.Text = "PIN"; this.lbPin.TextAlign = ContentAlignment.MiddleLeft; this.btnSendOrder.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.btnSendOrder.AutoEllipsis = true; this.btnSendOrder.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnSendOrder.BackColor = Color.Transparent; this.btnSendOrder.Cursor = Cursors.Hand; this.btnSendOrder.FlatAppearance.BorderColor = Color.DimGray; this.btnSendOrder.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnSendOrder.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnSendOrder.FlatStyle = FlatStyle.Flat; this.btnSendOrder.ForeColor = Color.WhiteSmoke; this.btnSendOrder.Image = Resources.no_side_button; this.btnSendOrder.Location = new Point(478, 304); this.btnSendOrder.MaximumSize = new Size(65, 22); this.btnSendOrder.Name = "btnSendOrder"; this.btnSendOrder.Size = new Size(57, 22); this.btnSendOrder.TabIndex = 145; this.btnSendOrder.TabStop = false; this.btnSendOrder.Text = "Send"; this.btnSendOrder.UseVisualStyleBackColor = false; this.btnSendOrder.Click += new EventHandler(this.btnSendOrder_Click); this.btnPzClose.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); this.btnPzClose.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnPzClose.BackColor = Color.Transparent; this.btnPzClose.Cursor = Cursors.Hand; this.btnPzClose.FlatAppearance.BorderColor = Color.DimGray; this.btnPzClose.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnPzClose.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnPzClose.FlatStyle = FlatStyle.Flat; this.btnPzClose.ForeColor = Color.LightGray; this.btnPzClose.Image = Resources._1_4type_bt; this.btnPzClose.Location = new Point(541, 304); this.btnPzClose.Name = "btnPzClose"; this.btnPzClose.Size = new Size(57, 22); this.btnPzClose.TabIndex = 136; this.btnPzClose.TabStop = false; this.btnPzClose.Text = "Cancel"; this.btnPzClose.UseVisualStyleBackColor = false; this.btnPzClose.Click += new EventHandler(this.btnPzClose_Click); this.btnPzSimulate.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.btnPzSimulate.BackColor = Color.Transparent; this.btnPzSimulate.Cursor = Cursors.Hand; this.btnPzSimulate.FlatAppearance.BorderColor = Color.DimGray; this.btnPzSimulate.FlatAppearance.MouseDownBackColor = Color.FromArgb(255, 128, 0); this.btnPzSimulate.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192); this.btnPzSimulate.FlatStyle = FlatStyle.Flat; this.btnPzSimulate.ForeColor = Color.LightGray; this.btnPzSimulate.Image = Resources._1_4type_bt; this.btnPzSimulate.Location = new Point(112, 185); this.btnPzSimulate.Name = "btnPzSimulate"; this.btnPzSimulate.Size = new Size(65, 22); this.btnPzSimulate.TabIndex = 134; this.btnPzSimulate.TabStop = false; this.btnPzSimulate.Text = "Simulate"; this.btnPzSimulate.UseVisualStyleBackColor = false; this.btnPzSimulate.Click += new EventHandler(this.btnPzSimulate_Click); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.FromArgb(30, 30, 30); base.ClientSize = new Size(605, 331); base.Controls.Add(this.btnSendOrder); base.Controls.Add(this.tbPin); base.Controls.Add(this.lbPin); base.Controls.Add(this.gridPzSimm); base.Controls.Add(this.tbPzPChg); base.Controls.Add(this.lbPzPchg); base.Controls.Add(this.lbPzCreateNew); base.Controls.Add(this.tbPzSegment); base.Controls.Add(this.lbPzBudget); base.Controls.Add(this.lbPzStep); base.Controls.Add(this.tbPzBudget); base.Controls.Add(this.tbPzStartPrice); base.Controls.Add(this.cbPzStock); base.Controls.Add(this.lbPzPrice); base.Controls.Add(this.lbPzStock); base.Controls.Add(this.btnPzClose); base.Controls.Add(this.btnPzSimulate); base.FormBorderStyle = FormBorderStyle.None; base.Name = "frmPzCreateNew"; this.Text = "frmPzCreateNew"; base.ResumeLayout(false); base.PerformLayout(); }