📄 计算主力支撑位.cs
字号:
this.label11.TabIndex = 21;
this.label11.Text = "CDP=明天多空力量对比的一个均衡点";
this.label11.Click += new System.EventHandler(this.label11_Click);
//
// label12
//
this.label12.Location = new System.Drawing.Point(464, 40);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(240, 16);
this.label12.TabIndex = 22;
this.label12.Text = "CDP=((最高价+最低价)+收盘价*2)/4";
//
// tabControl1
//
this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Controls.Add(this.tabPage4);
this.tabControl1.Location = new System.Drawing.Point(8, 300);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(1024, 400);
this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.FillToRight;
this.tabControl1.TabIndex = 23;
this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
//
// tabPage1
//
this.tabPage1.Controls.Add(this.dcpGrid);
this.tabPage1.Location = new System.Drawing.Point(4, 21);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Size = new System.Drawing.Size(1016, 375);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "主力支撑位";
this.tabPage1.UseVisualStyleBackColor = true;
//
// dcpGrid
//
this.dcpGrid.AlternatingBackColor = System.Drawing.Color.White;
this.dcpGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dcpGrid.BackColor = System.Drawing.Color.White;
this.dcpGrid.BackgroundColor = System.Drawing.Color.Ivory;
this.dcpGrid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.dcpGrid.CaptionBackColor = System.Drawing.Color.DarkSlateBlue;
this.dcpGrid.CaptionForeColor = System.Drawing.Color.Lavender;
this.dcpGrid.DataMember = "";
this.dcpGrid.FlatMode = true;
this.dcpGrid.Font = new System.Drawing.Font("Tahoma", 8F);
this.dcpGrid.ForeColor = System.Drawing.Color.Black;
this.dcpGrid.GridLineColor = System.Drawing.Color.Wheat;
this.dcpGrid.HeaderBackColor = System.Drawing.Color.CadetBlue;
this.dcpGrid.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
this.dcpGrid.HeaderForeColor = System.Drawing.Color.Black;
this.dcpGrid.LinkColor = System.Drawing.Color.DarkSlateBlue;
this.dcpGrid.Location = new System.Drawing.Point(3, 3);
this.dcpGrid.Name = "dcpGrid";
this.dcpGrid.ParentRowsBackColor = System.Drawing.Color.Ivory;
this.dcpGrid.ParentRowsForeColor = System.Drawing.Color.Black;
this.dcpGrid.SelectionBackColor = System.Drawing.Color.Wheat;
this.dcpGrid.SelectionForeColor = System.Drawing.Color.DarkSlateBlue;
this.dcpGrid.Size = new System.Drawing.Size(1000, 355);
this.dcpGrid.TabIndex = 0;
this.dcpGrid.DoubleClick += new System.EventHandler(this.dcpGrid_DoubleClick);
//
// tabPage2
//
this.tabPage2.Controls.Add(this.dataGrid1);
this.tabPage2.Location = new System.Drawing.Point(4, 21);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(1016, 375);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "我的自选股";
this.tabPage2.UseVisualStyleBackColor = true;
//
// dataGrid1
//
this.dataGrid1.AlternatingBackColor = System.Drawing.Color.White;
this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dataGrid1.BackColor = System.Drawing.Color.White;
this.dataGrid1.BackgroundColor = System.Drawing.Color.Ivory;
this.dataGrid1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.dataGrid1.CaptionBackColor = System.Drawing.Color.DarkSlateBlue;
this.dataGrid1.CaptionForeColor = System.Drawing.Color.Lavender;
this.dataGrid1.DataMember = "";
this.dataGrid1.FlatMode = true;
this.dataGrid1.Font = new System.Drawing.Font("Tahoma", 8F);
this.dataGrid1.ForeColor = System.Drawing.Color.Black;
this.dataGrid1.GridLineColor = System.Drawing.Color.Wheat;
this.dataGrid1.HeaderBackColor = System.Drawing.Color.CadetBlue;
this.dataGrid1.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
this.dataGrid1.HeaderForeColor = System.Drawing.Color.Black;
this.dataGrid1.LinkColor = System.Drawing.Color.DarkSlateBlue;
this.dataGrid1.Location = new System.Drawing.Point(8, 10);
this.dataGrid1.Name = "dataGrid1";
this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Ivory;
this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.Black;
this.dataGrid1.SelectionBackColor = System.Drawing.Color.Wheat;
this.dataGrid1.SelectionForeColor = System.Drawing.Color.DarkSlateBlue;
this.dataGrid1.Size = new System.Drawing.Size(1000, 355);
this.dataGrid1.TabIndex = 1;
//
// tabPage3
//
this.tabPage3.Controls.Add(this.dataGridView1);
this.tabPage3.Controls.Add(this.BtnEdit);
this.tabPage3.Controls.Add(this.button6);
this.tabPage3.Controls.Add(this.label15);
this.tabPage3.Controls.Add(this.richTextBox1);
this.tabPage3.Location = new System.Drawing.Point(4, 21);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(1016, 375);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "股票军规";
this.tabPage3.UseVisualStyleBackColor = true;
//
// dataGridView1
//
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.ID,
this.Datetime1,
this.event1});
this.dataGridView1.Location = new System.Drawing.Point(-4, 127);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(967, 228);
this.dataGridView1.TabIndex = 35;
this.dataGridView1.UserAddedRow += new System.Windows.Forms.DataGridViewRowEventHandler(this.dataGridView1_UserAddedRow);
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
this.dataGridView1.CellMouseMove += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView1_CellMouseMove);
this.dataGridView1.UserDeletedRow += new System.Windows.Forms.DataGridViewRowEventHandler(this.dataGridView1_UserDeletedRow);
this.dataGridView1.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellValueChanged);
this.dataGridView1.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView1_CellMouseClick);
//
// BtnEdit
//
this.BtnEdit.Location = new System.Drawing.Point(7, 68);
this.BtnEdit.Name = "BtnEdit";
this.BtnEdit.Size = new System.Drawing.Size(37, 23);
this.BtnEdit.TabIndex = 34;
this.BtnEdit.Text = "更新";
this.BtnEdit.Click += new System.EventHandler(this.BtnEdit_Click);
//
// button6
//
this.button6.Location = new System.Drawing.Point(8, 39);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(37, 23);
this.button6.TabIndex = 34;
this.button6.Text = "增加";
this.button6.Click += new System.EventHandler(this.button6_Click);
//
// label15
//
this.label15.Location = new System.Drawing.Point(6, 6);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(41, 16);
this.label15.TabIndex = 20;
this.label15.Text = "内容";
//
// richTextBox1
//
this.richTextBox1.Location = new System.Drawing.Point(84, 3);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(845, 101);
this.richTextBox1.TabIndex = 0;
this.richTextBox1.Text = "";
//
// tabPage4
//
this.tabPage4.Location = new System.Drawing.Point(4, 21);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
this.tabPage4.Size = new System.Drawing.Size(1016, 375);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "每日一帖";
this.tabPage4.UseVisualStyleBackColor = true;
//
// button2
//
this.button2.Location = new System.Drawing.Point(557, 8);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 24;
this.button2.Text = "写数据库";
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// label13
//
this.label13.Location = new System.Drawing.Point(248, 80);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(40, 23);
this.label13.TabIndex = 25;
this.label13.Text = "今天:";
//
// label14
//
this.label14.Location = new System.Drawing.Point(464, 80);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(56, 23);
this.label14.TabIndex = 26;
this.label14.Text = "明天:";
//
// button3
//
this.button3.Location = new System.Drawing.Point(464, 8);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(75, 23);
this.button3.TabIndex = 29;
this.button3.Text = "搜索数据";
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// date1
//
this.date1.Location = new System.Drawing.Point(312, 72);
this.date1.Name = "date1";
this.date1.Size = new System.Drawing.Size(128, 21);
this.date1.TabIndex = 30;
//
// date2
//
this.date2.Location = new System.Drawing.Point(520, 72);
this.date2.Name = "date2";
this.date2.Size = new System.Drawing.Size(112, 21);
this.date2.TabIndex = 31;
//
// comboBox1
//
this.comboBox1.Location = new System.Drawing.Point(96, 8);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(121, 20);
this.comboBox1.TabIndex = 32;
this.comboBox1.Text = "comboBox1";
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
//
// button4
//
this.button4.Location = new System.Drawing.Point(651, 6);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(75, 23);
this.button4.TabIndex = 33;
this.button4.Text = "查看所有";
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// button5
//
this.button5.Location = new System.Drawing.Point(745, 6);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(110, 23);
this.button5.TabIndex = 34;
this.button5.Text = "查看明天多空";
this.button5.Click += new System.EventHandler(this.button5_Click);
//
// ID
//
this.ID.DataPropertyName = "ID";
this.ID.HeaderText = "ID";
this.ID.Name = "ID";
this.ID.Visible = false;
//
// Datetime1
//
this.Datetime1.DataPropertyName = "Date1";
dataGridViewCellStyle2.Format = "d";
dataGridViewCellStyle2.NullValue = null;
this.Datetime1.DefaultCellStyle = dataGridViewCellStyle2;
this.Datetime1.HeaderText = "日期";
this.Datetime1.Name = "Datetime1";
//
// event1
//
this.event1.DataPropertyName = "event";
this.event1.HeaderText = "内容";
this.event1.Name = "event1";
this.event1.Width = 800;
//
// 计算主力支撑位
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(1016, 739);
this.Controls.Add(this.button5);
this.Controls.Add(this.button4);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.date2);
this.Controls.Add(this.date1);
this.Controls.Add(this.button3);
this.Controls.Add(this.label14);
this.Controls.Add(this.label13);
this.Controls.Add(this.button2);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.label12);
this.Controls.Add(this.label11);
this.Controls.Add(this.al);
this.Controls.Add(this.label10);
this.Controls.Add(this.hl);
this.Controls.Add(this.label9);
this.Controls.Add(this.nh);
this.Controls.Add(this.label8);
this.Controls.Add(this.ah);
this.Controls.Add(this.label7);
this.Controls.Add(this.cdp);
this.Controls.Add(this.label6);
this.Controls.Add(this.price3);
this.Controls.Add(this.label5);
this.Controls.Add(this.price2);
this.Controls.Add(this.label4);
this.Controls.Add(this.price1);
this.Controls.Add(this.label3);
this.Controls.Add(this.code);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "计算主力支撑位";
this.Text = "计算主力支撑位--CDP=明天多空力量对比的一个均衡点";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.计算主力支撑位_FormClosed);
this.Load += new System.EventHandler(this.计算主力支撑位_Load);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dcpGrid)).EndInit();
this.tabPage2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
this.tabPage3.ResumeLayout(false);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -