已优化一些BUG并将财经新闻数据导入20221109LK
| | |
| | | <add key="URL" value="http://1.117.218.88:8090/api/IndustryPolicyApp/GetPages?pageIndex" /> |
| | | <!--半导体生产和销售接口--> |
| | | <add key="GetSarchUrl" value="http://1.117.218.88:8090/api/TableProductionSalesApp/SearchPages" /> |
| | | <!--实时财经新闻接口--> |
| | | <add key="ShortNew" value="http://101.133.134.71:9001/TushareNews/GetNewsListNoCheck" /> |
| | | </appSettings> |
| | | <connectionStrings> |
| | | |
| | |
| | | <add key="URL" value="http://1.117.218.88:8090/api/IndustryPolicyApp/GetPages?pageIndex" /> |
| | | <!--半导体生产和销售接口--> |
| | | <add key="GetSarchUrl" value="http://1.117.218.88:8090/api/TableProductionSalesApp/SearchPages" /> |
| | | <!--实时财经新闻接口--> |
| | | <add key="ShortNew" value="http://101.133.134.71:9001/TushareNews/GetNewsListNoCheck" /> |
| | | </appSettings> |
| | | <connectionStrings> |
| | | |
| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | this.monthCalAStockLtd = new Sunny.UI.UIDatePicker(); |
| | | this.dgViewAStockLtd = new Sunny.UI.UIDataGridView(); |
| | | this.lblAStockLtd = new Sunny.UI.UITextBox(); |
| | |
| | | // |
| | | // dgViewAStockLtd |
| | | // |
| | | dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewAStockLtd.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle16; |
| | | this.dgViewAStockLtd.AllowUserToAddRows = false; |
| | | this.dgViewAStockLtd.AllowUserToDeleteRows = false; |
| | | dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewAStockLtd.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6; |
| | | this.dgViewAStockLtd.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
| | | | System.Windows.Forms.AnchorStyles.Left) |
| | | | System.Windows.Forms.AnchorStyles.Right))); |
| | | this.dgViewAStockLtd.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; |
| | | this.dgViewAStockLtd.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewAStockLtd.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; |
| | | dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle17.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle17.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewAStockLtd.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle17; |
| | | dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle7.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewAStockLtd.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; |
| | | this.dgViewAStockLtd.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle18.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle18.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle18.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle18.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.dgViewAStockLtd.DefaultCellStyle = dataGridViewCellStyle18; |
| | | dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle8.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.dgViewAStockLtd.DefaultCellStyle = dataGridViewCellStyle8; |
| | | this.dgViewAStockLtd.EnableHeadersVisualStyles = false; |
| | | this.dgViewAStockLtd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.dgViewAStockLtd.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255))))); |
| | | this.dgViewAStockLtd.Location = new System.Drawing.Point(17, 88); |
| | | this.dgViewAStockLtd.Name = "dgViewAStockLtd"; |
| | | dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle19.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle19.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle19.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewAStockLtd.RowHeadersDefaultCellStyle = dataGridViewCellStyle19; |
| | | dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle9.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle9.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewAStockLtd.RowHeadersDefaultCellStyle = dataGridViewCellStyle9; |
| | | this.dgViewAStockLtd.RowHeight = 27; |
| | | dataGridViewCellStyle20.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle20.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle20.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | this.dgViewAStockLtd.RowsDefaultCellStyle = dataGridViewCellStyle20; |
| | | dataGridViewCellStyle10.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle10.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle10.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | this.dgViewAStockLtd.RowsDefaultCellStyle = dataGridViewCellStyle10; |
| | | this.dgViewAStockLtd.RowTemplate.Height = 27; |
| | | this.dgViewAStockLtd.SelectedIndex = -1; |
| | | this.dgViewAStockLtd.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
| | |
| | | |
| | | private void Asharesemiconductorcompany_Load(object sender, EventArgs e) |
| | | { |
| | | |
| | | |
| | | ht.Add("ts_code", "股票代码"); |
| | | ht.Add("name", "股票简称"); |
| | | ht.Add("stock_type_name", "半导体子类"); |
| | |
| | | ht.Add("circ_mv", "流通市值(万元)"); |
| | | GetCompanyInList(); |
| | | DateTime dateTime = DateTime.Now; |
| | | if (dateTime.Date.Hour >= 16) |
| | | if (dateTime.Hour >= 16) |
| | | { |
| | | if (dateTime.Day > 10) |
| | | if (dateTime.Day < 10) |
| | | { |
| | | this.txtEndDate.Text = dateTime.Year.ToString() + dateTime.Month + "0" + dateTime.Day.ToString(); |
| | | } |
| | |
| | | // |
| | | this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand; |
| | | this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.uiButton1.Location = new System.Drawing.Point(320, 44); |
| | | this.uiButton1.Location = new System.Drawing.Point(315, 44); |
| | | this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1); |
| | | this.uiButton1.Name = "uiButton1"; |
| | | this.uiButton1.Size = new System.Drawing.Size(100, 35); |
| | |
| | | // |
| | | this.btnIndustryIndex.Cursor = System.Windows.Forms.Cursors.Hand; |
| | | this.btnIndustryIndex.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.btnIndustryIndex.Location = new System.Drawing.Point(203, 44); |
| | | this.btnIndustryIndex.Location = new System.Drawing.Point(198, 44); |
| | | this.btnIndustryIndex.MinimumSize = new System.Drawing.Size(1, 1); |
| | | this.btnIndustryIndex.Name = "btnIndustryIndex"; |
| | | this.btnIndustryIndex.Size = new System.Drawing.Size(100, 35); |
| | |
| | | // |
| | | this.txtIndustryIndex.Cursor = System.Windows.Forms.Cursors.IBeam; |
| | | this.txtIndustryIndex.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtIndustryIndex.Location = new System.Drawing.Point(17, 45); |
| | | this.txtIndustryIndex.Location = new System.Drawing.Point(12, 45); |
| | | this.txtIndustryIndex.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
| | | this.txtIndustryIndex.MinimumSize = new System.Drawing.Size(1, 16); |
| | | this.txtIndustryIndex.Name = "txtIndustryIndex"; |
| | |
| | | // |
| | | // dgViewIndustryIndex |
| | | // |
| | | this.dgViewIndustryIndex.AllowUserToAddRows = false; |
| | | this.dgViewIndustryIndex.AllowUserToDeleteRows = false; |
| | | dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewIndustryIndex.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
| | | this.dgViewIndustryIndex.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
| | | | System.Windows.Forms.AnchorStyles.Left) |
| | | | System.Windows.Forms.AnchorStyles.Right))); |
| | | this.dgViewIndustryIndex.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; |
| | | this.dgViewIndustryIndex.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; |
| | | this.dgViewIndustryIndex.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewIndustryIndex.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; |
| | | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | |
| | | this.dgViewIndustryIndex.EnableHeadersVisualStyles = false; |
| | | this.dgViewIndustryIndex.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.dgViewIndustryIndex.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255))))); |
| | | this.dgViewIndustryIndex.Location = new System.Drawing.Point(17, 89); |
| | | this.dgViewIndustryIndex.Location = new System.Drawing.Point(12, 89); |
| | | this.dgViewIndustryIndex.MultiSelect = false; |
| | | this.dgViewIndustryIndex.Name = "dgViewIndustryIndex"; |
| | | dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | public class SugarTableSearchSimple |
| | | { |
| | | /// <summary> |
| | |
| | | { |
| | | dgViewIndustryIndex.Columns[i].Visible = false; |
| | | } |
| | | for (int j = 0; j < dgViewIndustryIndex.Rows.Count - 1; j++) |
| | | for (int j = 0; j < dgViewIndustryIndex.Rows.Count; j++) |
| | | { |
| | | string introduction = dgViewIndustryIndex.Rows[j].Cells[i].Value.ToString(); |
| | | if (introduction.Length > 13) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[i].Value = introduction.Substring(0, 10) + "..."; |
| | | dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 13) + introduction.Substring(13); |
| | | } |
| | | if (introduction.Length > 30) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[i].Value = introduction.Substring(0, 30) + "..."; |
| | | dgViewIndustryIndex.Rows[j].Cells[i].Value = introduction.Substring(0, 10) + "..."; |
| | | dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30); |
| | | } |
| | | if (introduction.Length > 60) |
| | |
| | | |
| | | private void dgViewIndustryIndex_CellContentClick(object sender, DataGridViewCellEventArgs e) |
| | | { |
| | | if (e.ColumnIndex == 7 && e.RowIndex > 0) |
| | | if (e.ColumnIndex == 7) |
| | | { |
| | | System.Diagnostics.Process.Start(dgViewIndustryIndex.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString()); |
| | | System.Diagnostics.Process.Start(dgViewIndustryIndex.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText.ToString()); |
| | | //this.dataGridView2.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString()); |
| | | } |
| | | } |
| | |
| | | { |
| | | dgViewIndustryIndex.Columns[x].Visible = false; |
| | | } |
| | | |
| | | for (int j = 0; j < dgViewIndustryIndex.Rows.Count; j++) |
| | | { |
| | | string introduction = dgViewIndustryIndex.Rows[j].Cells[x].Value.ToString(); |
| | | if (introduction.Length > 13) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].Value = introduction.Substring(0, 13) + "..."; |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 13) + introduction.Substring(13); |
| | | } |
| | | if (introduction.Length > 30) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].Value = introduction.Substring(0, 10) + "..."; |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30); |
| | | } |
| | | if (introduction.Length > 60) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60); |
| | | } |
| | | if (introduction.Length > 90) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90); |
| | | } |
| | | if (introduction.Length > 120) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120); |
| | | } |
| | | if (introduction.Length > 150) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120, 30) + "\n" + introduction.Substring(150); |
| | | } |
| | | if (introduction.Length > 180) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120, 30) + "\n" + introduction.Substring(150, 30) + "\n" + introduction.Substring(180); |
| | | } |
| | | if (introduction.Length > 210) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120, 30) + "\n" + introduction.Substring(150, 30) + "\n" + introduction.Substring(180, 30) + "\n" + introduction.Substring(210); |
| | | } |
| | | if (introduction.Length > 240) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120, 30) + "\n" + introduction.Substring(150, 30) + "\n" + introduction.Substring(180, 30) + "\n" + introduction.Substring(210, 30) + "\n" + introduction.Substring(240); |
| | | } |
| | | } |
| | | dgViewIndustryIndex.Columns[x].HeaderText = GetDgvColumName(colName); |
| | | } |
| | | |
| | |
| | | this.uiPagination1.TabIndex = 37; |
| | | this.uiPagination1.Text = "uiPagination1"; |
| | | this.uiPagination1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
| | | this.uiPagination1.PageChanged += new Sunny.UI.UIPagination.OnPageChangeEventHandler(this.uiPagination1_PageChanged); |
| | | // |
| | | // uiButton1 |
| | | // |
| | |
| | | // |
| | | // dgViewIndustryIndex |
| | | // |
| | | this.dgViewIndustryIndex.AllowUserToAddRows = false; |
| | | this.dgViewIndustryIndex.AllowUserToDeleteRows = false; |
| | | dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewIndustryIndex.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
| | | this.dgViewIndustryIndex.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
| | |
| | | this.dgViewIndustryIndex.SelectedIndex = -1; |
| | | this.dgViewIndustryIndex.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
| | | this.dgViewIndustryIndex.ShowGridLine = true; |
| | | this.dgViewIndustryIndex.Size = new System.Drawing.Size(849, 387); |
| | | this.dgViewIndustryIndex.TabIndex = 33; |
| | | this.dgViewIndustryIndex.Size = new System.Drawing.Size(822, 388); |
| | | this.dgViewIndustryIndex.TabIndex = 28; |
| | | this.dgViewIndustryIndex.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgViewIndustryIndex_CellContentClick); |
| | | // |
| | | // ForeignPolicyData |
| | | // |
| | | this.AllowShowTitle = true; |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; |
| | | this.ClientSize = new System.Drawing.Size(879, 521); |
| | | this.Controls.Add(this.dgViewIndustryIndex); |
| | | this.Controls.Add(this.uiPagination1); |
| | | this.Controls.Add(this.uiButton1); |
| | | this.Controls.Add(this.btnIndustryIndex); |
| | | this.Controls.Add(this.txtIndustryIndex); |
| | | this.Controls.Add(this.dgViewIndustryIndex); |
| | | this.Name = "ForeignPolicyData"; |
| | | this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0); |
| | | this.ShowTitle = true; |
| | |
| | | { |
| | | dgViewIndustryIndex.Columns[i].Visible = false; |
| | | } |
| | | for (int j = 0; j < dgViewIndustryIndex.Rows.Count - 1; j++) |
| | | for (int j = 0; j < dgViewIndustryIndex.Rows.Count; j++) |
| | | { |
| | | string introduction = dgViewIndustryIndex.Rows[j].Cells[i].Value.ToString(); |
| | | if (introduction.Length > 13) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[i].Value = introduction.Substring(0, 10) + "..."; |
| | | dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 13) + introduction.Substring(13); |
| | | } |
| | | if (introduction.Length > 30) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[i].Value = introduction.Substring(0, 30) + "..."; |
| | | dgViewIndustryIndex.Rows[j].Cells[i].Value = introduction.Substring(0, 10) + "..."; |
| | | dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30); |
| | | } |
| | | if (introduction.Length > 60) |
| | |
| | | GetdgViewIndustryIndex(1, uiPagination1.PageSize); |
| | | } |
| | | |
| | | private void dgViewIndustryIndex_CellContentClick(object sender, DataGridViewCellEventArgs e) |
| | | { |
| | | if (e.ColumnIndex == 7 && e.RowIndex > 0) |
| | | { |
| | | System.Diagnostics.Process.Start(dgViewIndustryIndex.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString()); |
| | | //this.dataGridView2.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString()); |
| | | } |
| | | } |
| | | private void uiPagination1_PageLocationChanged(object sender, EventArgs e, int pageIndex, int count) |
| | | private void uiPagination1_PageChanged(object sender, object pagingSource, int pageIndex, int count) |
| | | { |
| | | GetdgViewIndustryIndex(pageIndex, uiPagination1.PageSize); |
| | | } |
| | |
| | | { |
| | | dgViewIndustryIndex.Columns[x].Visible = false; |
| | | } |
| | | for (int j = 0; j < dgViewIndustryIndex.Rows.Count; j++) |
| | | { |
| | | string introduction = dgViewIndustryIndex.Rows[j].Cells[x].Value.ToString(); |
| | | if (introduction.Length > 13) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].Value = introduction.Substring(0, 10) + "..."; |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 13) + introduction.Substring(13); |
| | | } |
| | | if (introduction.Length > 30) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].Value = introduction.Substring(0, 10) + "..."; |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30); |
| | | } |
| | | if (introduction.Length > 60) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60); |
| | | } |
| | | if (introduction.Length > 90) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90); |
| | | } |
| | | if (introduction.Length > 120) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120); |
| | | } |
| | | if (introduction.Length > 150) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120, 30) + "\n" + introduction.Substring(150); |
| | | } |
| | | if (introduction.Length > 180) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120, 30) + "\n" + introduction.Substring(150, 30) + "\n" + introduction.Substring(180); |
| | | } |
| | | if (introduction.Length > 210) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120, 30) + "\n" + introduction.Substring(150, 30) + "\n" + introduction.Substring(180, 30) + "\n" + introduction.Substring(210); |
| | | } |
| | | if (introduction.Length > 240) |
| | | { |
| | | dgViewIndustryIndex.Rows[j].Cells[x].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120, 30) + "\n" + introduction.Substring(150, 30) + "\n" + introduction.Substring(180, 30) + "\n" + introduction.Substring(210, 30) + "\n" + introduction.Substring(240); |
| | | } |
| | | } |
| | | dgViewIndustryIndex.Columns[x].HeaderText = GetDgvColumName(colName); |
| | | } |
| | | } |
| | |
| | | { |
| | | this.txtIndustryIndex.Text = ""; |
| | | } |
| | | |
| | | private void dgViewIndustryIndex_CellContentClick(object sender, DataGridViewCellEventArgs e) |
| | | { |
| | | if (e.ColumnIndex == 7) |
| | | { |
| | | System.Diagnostics.Process.Start(dgViewIndustryIndex.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText.ToString()); |
| | | //this.dataGridView2.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString()); |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | private void InitializeComponent() |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | this.btnClearIn = new Sunny.UI.UIButton(); |
| | | this.btnCompanyIn = new Sunny.UI.UIButton(); |
| | | this.txtCompanyIn = new Sunny.UI.UITextBox(); |
| | |
| | | // txtStartDate |
| | | // |
| | | this.txtStartDate.Cursor = System.Windows.Forms.Cursors.IBeam; |
| | | this.txtStartDate.DoubleValue = 20000101D; |
| | | this.txtStartDate.DoubleValue = 20180629D; |
| | | this.txtStartDate.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtStartDate.IntValue = 20000101; |
| | | this.txtStartDate.IntValue = 20180629; |
| | | this.txtStartDate.Location = new System.Drawing.Point(213, 44); |
| | | this.txtStartDate.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
| | | this.txtStartDate.MinimumSize = new System.Drawing.Size(1, 16); |
| | |
| | | this.txtStartDate.Size = new System.Drawing.Size(123, 34); |
| | | this.txtStartDate.TabIndex = 12; |
| | | this.txtStartDate.TagString = ""; |
| | | this.txtStartDate.Text = "20000101"; |
| | | this.txtStartDate.Text = "20180629"; |
| | | this.txtStartDate.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; |
| | | // |
| | | // txtEndDate |
| | |
| | | // |
| | | this.dgViewCompanyIn.AllowUserToAddRows = false; |
| | | this.dgViewCompanyIn.AllowUserToDeleteRows = false; |
| | | this.dgViewCompanyIn.AllowUserToResizeColumns = false; |
| | | this.dgViewCompanyIn.AllowUserToResizeRows = false; |
| | | dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewCompanyIn.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle16; |
| | | dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewCompanyIn.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
| | | this.dgViewCompanyIn.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
| | | | System.Windows.Forms.AnchorStyles.Left) |
| | | | System.Windows.Forms.AnchorStyles.Right))); |
| | | this.dgViewCompanyIn.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.ColumnHeader; |
| | | this.dgViewCompanyIn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewCompanyIn.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; |
| | | dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle17.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle17.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewCompanyIn.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle17; |
| | | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewCompanyIn.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
| | | this.dgViewCompanyIn.ColumnHeadersHeight = 32; |
| | | dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle18.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle18.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle18.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle18.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.dgViewCompanyIn.DefaultCellStyle = dataGridViewCellStyle18; |
| | | dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle3.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.dgViewCompanyIn.DefaultCellStyle = dataGridViewCellStyle3; |
| | | this.dgViewCompanyIn.EnableHeadersVisualStyles = false; |
| | | this.dgViewCompanyIn.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.dgViewCompanyIn.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255))))); |
| | | this.dgViewCompanyIn.Location = new System.Drawing.Point(17, 87); |
| | | this.dgViewCompanyIn.MultiSelect = false; |
| | | this.dgViewCompanyIn.Name = "dgViewCompanyIn"; |
| | | dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle19.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle19.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle19.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewCompanyIn.RowHeadersDefaultCellStyle = dataGridViewCellStyle19; |
| | | dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewCompanyIn.RowHeadersDefaultCellStyle = dataGridViewCellStyle4; |
| | | this.dgViewCompanyIn.RowHeight = 27; |
| | | dataGridViewCellStyle20.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle20.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle20.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | this.dgViewCompanyIn.RowsDefaultCellStyle = dataGridViewCellStyle20; |
| | | dataGridViewCellStyle5.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | this.dgViewCompanyIn.RowsDefaultCellStyle = dataGridViewCellStyle5; |
| | | this.dgViewCompanyIn.RowTemplate.Height = 27; |
| | | this.dgViewCompanyIn.SelectedIndex = -1; |
| | | this.dgViewCompanyIn.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
| | |
| | | // txtStartDate |
| | | // |
| | | this.txtStartDate.Cursor = System.Windows.Forms.Cursors.IBeam; |
| | | this.txtStartDate.DoubleValue = 20000101D; |
| | | this.txtStartDate.DoubleValue = 20180629D; |
| | | this.txtStartDate.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtStartDate.IntValue = 20000101; |
| | | this.txtStartDate.IntValue = 20180629; |
| | | this.txtStartDate.Location = new System.Drawing.Point(213, 44); |
| | | this.txtStartDate.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
| | | this.txtStartDate.MinimumSize = new System.Drawing.Size(1, 16); |
| | |
| | | this.txtStartDate.Size = new System.Drawing.Size(123, 34); |
| | | this.txtStartDate.TabIndex = 19; |
| | | this.txtStartDate.TagString = ""; |
| | | this.txtStartDate.Text = "20000101"; |
| | | this.txtStartDate.Text = "20180629"; |
| | | this.txtStartDate.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; |
| | | // |
| | | // btnClearIn |
| | |
| | | // |
| | | this.dgViewCompanyIn.AllowUserToAddRows = false; |
| | | this.dgViewCompanyIn.AllowUserToDeleteRows = false; |
| | | this.dgViewCompanyIn.AllowUserToResizeColumns = false; |
| | | this.dgViewCompanyIn.AllowUserToResizeRows = false; |
| | | dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewCompanyIn.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
| | | this.dgViewCompanyIn.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | this.monthCalOutStockLtd = new Sunny.UI.UIDatePicker(); |
| | | this.dgViewOutStockLtd = new Sunny.UI.UIDataGridView(); |
| | | this.lblOutStockLtd = new Sunny.UI.UITextBox(); |
| | |
| | | // |
| | | // dgViewOutStockLtd |
| | | // |
| | | dataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewOutStockLtd.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle21; |
| | | dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewOutStockLtd.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
| | | this.dgViewOutStockLtd.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
| | | | System.Windows.Forms.AnchorStyles.Left) |
| | | | System.Windows.Forms.AnchorStyles.Right))); |
| | | this.dgViewOutStockLtd.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; |
| | | this.dgViewOutStockLtd.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewOutStockLtd.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; |
| | | dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle22.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle22.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle22.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewOutStockLtd.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle22; |
| | | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewOutStockLtd.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
| | | this.dgViewOutStockLtd.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle23.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle23.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle23.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle23.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.dgViewOutStockLtd.DefaultCellStyle = dataGridViewCellStyle23; |
| | | dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle3.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.dgViewOutStockLtd.DefaultCellStyle = dataGridViewCellStyle3; |
| | | this.dgViewOutStockLtd.EnableHeadersVisualStyles = false; |
| | | this.dgViewOutStockLtd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.dgViewOutStockLtd.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255))))); |
| | | this.dgViewOutStockLtd.Location = new System.Drawing.Point(17, 88); |
| | | this.dgViewOutStockLtd.Name = "dgViewOutStockLtd"; |
| | | dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle24.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle24.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle24.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle24.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewOutStockLtd.RowHeadersDefaultCellStyle = dataGridViewCellStyle24; |
| | | dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewOutStockLtd.RowHeadersDefaultCellStyle = dataGridViewCellStyle4; |
| | | this.dgViewOutStockLtd.RowHeight = 27; |
| | | dataGridViewCellStyle25.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle25.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle25.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle25.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | this.dgViewOutStockLtd.RowsDefaultCellStyle = dataGridViewCellStyle25; |
| | | dataGridViewCellStyle5.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | this.dgViewOutStockLtd.RowsDefaultCellStyle = dataGridViewCellStyle5; |
| | | this.dgViewOutStockLtd.RowTemplate.Height = 27; |
| | | this.dgViewOutStockLtd.SelectedIndex = -1; |
| | | this.dgViewOutStockLtd.ShowGridLine = true; |
| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | this.uiMillisecondTimer1 = new Sunny.UI.UIMillisecondTimer(this.components); |
| | | this.uiPanel1 = new Sunny.UI.UIPanel(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | this.uiPagination1 = new Sunny.UI.UIPagination(); |
| | | this.dgViewIndustryIndex = new Sunny.UI.UIDataGridView(); |
| | | this.lblCompanyIn = new Sunny.UI.UITextBox(); |
| | | this.btnClearIn = new Sunny.UI.UIButton(); |
| | | this.btnCompanyIn = new Sunny.UI.UIButton(); |
| | | this.txtCompanyIn = new Sunny.UI.UITextBox(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.dgViewIndustryIndex)).BeginInit(); |
| | | this.SuspendLayout(); |
| | | // |
| | | // uiMillisecondTimer1 |
| | | // uiPagination1 |
| | | // |
| | | this.uiMillisecondTimer1.Enabled = true; |
| | | this.uiPagination1.Dock = System.Windows.Forms.DockStyle.Bottom; |
| | | this.uiPagination1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.uiPagination1.Location = new System.Drawing.Point(0, 501); |
| | | this.uiPagination1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
| | | this.uiPagination1.MinimumSize = new System.Drawing.Size(1, 1); |
| | | this.uiPagination1.Name = "uiPagination1"; |
| | | this.uiPagination1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None; |
| | | this.uiPagination1.ShowText = false; |
| | | this.uiPagination1.Size = new System.Drawing.Size(879, 35); |
| | | this.uiPagination1.TabIndex = 0; |
| | | this.uiPagination1.Text = "uiPagination1"; |
| | | this.uiPagination1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
| | | // |
| | | // uiPanel1 |
| | | // dgViewIndustryIndex |
| | | // |
| | | this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.uiPanel1.Location = new System.Drawing.Point(0, 35); |
| | | this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
| | | this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1); |
| | | this.uiPanel1.Name = "uiPanel1"; |
| | | this.uiPanel1.Size = new System.Drawing.Size(879, 501); |
| | | this.uiPanel1.TabIndex = 0; |
| | | this.uiPanel1.Text = "uiPanel1"; |
| | | this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
| | | this.dgViewIndustryIndex.AllowUserToAddRows = false; |
| | | this.dgViewIndustryIndex.AllowUserToDeleteRows = false; |
| | | dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewIndustryIndex.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
| | | this.dgViewIndustryIndex.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
| | | | System.Windows.Forms.AnchorStyles.Left) |
| | | | System.Windows.Forms.AnchorStyles.Right))); |
| | | this.dgViewIndustryIndex.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; |
| | | this.dgViewIndustryIndex.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewIndustryIndex.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; |
| | | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewIndustryIndex.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
| | | this.dgViewIndustryIndex.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle3.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.dgViewIndustryIndex.DefaultCellStyle = dataGridViewCellStyle3; |
| | | this.dgViewIndustryIndex.EnableHeadersVisualStyles = false; |
| | | this.dgViewIndustryIndex.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.dgViewIndustryIndex.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255))))); |
| | | this.dgViewIndustryIndex.Location = new System.Drawing.Point(9, 81); |
| | | this.dgViewIndustryIndex.Name = "dgViewIndustryIndex"; |
| | | dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewIndustryIndex.RowHeadersDefaultCellStyle = dataGridViewCellStyle4; |
| | | dataGridViewCellStyle5.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | this.dgViewIndustryIndex.RowsDefaultCellStyle = dataGridViewCellStyle5; |
| | | this.dgViewIndustryIndex.RowTemplate.Height = 23; |
| | | this.dgViewIndustryIndex.SelectedIndex = -1; |
| | | this.dgViewIndustryIndex.ShowGridLine = true; |
| | | this.dgViewIndustryIndex.Size = new System.Drawing.Size(835, 400); |
| | | this.dgViewIndustryIndex.TabIndex = 1; |
| | | // |
| | | // lblCompanyIn |
| | | // |
| | | this.lblCompanyIn.AutoSize = true; |
| | | this.lblCompanyIn.Cursor = System.Windows.Forms.Cursors.WaitCursor; |
| | | this.lblCompanyIn.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.lblCompanyIn.Location = new System.Drawing.Point(426, 39); |
| | | this.lblCompanyIn.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
| | | this.lblCompanyIn.MinimumSize = new System.Drawing.Size(1, 16); |
| | | this.lblCompanyIn.Name = "lblCompanyIn"; |
| | | this.lblCompanyIn.ReadOnly = true; |
| | | this.lblCompanyIn.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None; |
| | | this.lblCompanyIn.ShowText = false; |
| | | this.lblCompanyIn.Size = new System.Drawing.Size(265, 35); |
| | | this.lblCompanyIn.TabIndex = 27; |
| | | this.lblCompanyIn.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; |
| | | this.lblCompanyIn.WatermarkColor = System.Drawing.Color.Black; |
| | | // |
| | | // btnClearIn |
| | | // |
| | | this.btnClearIn.Cursor = System.Windows.Forms.Cursors.Hand; |
| | | this.btnClearIn.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.btnClearIn.Location = new System.Drawing.Point(319, 37); |
| | | this.btnClearIn.MinimumSize = new System.Drawing.Size(1, 1); |
| | | this.btnClearIn.Name = "btnClearIn"; |
| | | this.btnClearIn.Size = new System.Drawing.Size(100, 35); |
| | | this.btnClearIn.TabIndex = 24; |
| | | this.btnClearIn.Text = "清空"; |
| | | this.btnClearIn.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | // |
| | | // btnCompanyIn |
| | | // |
| | | this.btnCompanyIn.Cursor = System.Windows.Forms.Cursors.Hand; |
| | | this.btnCompanyIn.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.btnCompanyIn.Location = new System.Drawing.Point(202, 37); |
| | | this.btnCompanyIn.MinimumSize = new System.Drawing.Size(1, 1); |
| | | this.btnCompanyIn.Name = "btnCompanyIn"; |
| | | this.btnCompanyIn.Size = new System.Drawing.Size(100, 35); |
| | | this.btnCompanyIn.TabIndex = 23; |
| | | this.btnCompanyIn.Text = "查询"; |
| | | this.btnCompanyIn.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | // |
| | | // txtCompanyIn |
| | | // |
| | | this.txtCompanyIn.Cursor = System.Windows.Forms.Cursors.IBeam; |
| | | this.txtCompanyIn.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtCompanyIn.Location = new System.Drawing.Point(7, 40); |
| | | this.txtCompanyIn.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
| | | this.txtCompanyIn.MinimumSize = new System.Drawing.Size(1, 16); |
| | | this.txtCompanyIn.Name = "txtCompanyIn"; |
| | | this.txtCompanyIn.ShowText = false; |
| | | this.txtCompanyIn.Size = new System.Drawing.Size(179, 34); |
| | | this.txtCompanyIn.TabIndex = 22; |
| | | this.txtCompanyIn.TagString = ""; |
| | | this.txtCompanyIn.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; |
| | | this.txtCompanyIn.Watermark = "请输入新闻名称"; |
| | | // |
| | | // RealTimeFinancialShortNews |
| | | // |
| | | this.AllowShowTitle = true; |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; |
| | | this.ClientSize = new System.Drawing.Size(879, 536); |
| | | this.Controls.Add(this.uiPanel1); |
| | | this.Controls.Add(this.lblCompanyIn); |
| | | this.Controls.Add(this.btnClearIn); |
| | | this.Controls.Add(this.btnCompanyIn); |
| | | this.Controls.Add(this.txtCompanyIn); |
| | | this.Controls.Add(this.dgViewIndustryIndex); |
| | | this.Controls.Add(this.uiPagination1); |
| | | this.Name = "RealTimeFinancialShortNews"; |
| | | this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0); |
| | | this.ShowTitle = true; |
| | | this.Symbol = 362747; |
| | | this.Text = "实时财经新闻"; |
| | | this.Load += new System.EventHandler(this.RealTimeFinancialShortNews_Load); |
| | | ((System.ComponentModel.ISupportInitialize)(this.dgViewIndustryIndex)).EndInit(); |
| | | this.ResumeLayout(false); |
| | | this.PerformLayout(); |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | private UIMillisecondTimer uiMillisecondTimer1; |
| | | private UIPanel uiPanel1; |
| | | |
| | | private UIPagination uiPagination1; |
| | | private UIDataGridView dgViewIndustryIndex; |
| | | private UITextBox lblCompanyIn; |
| | | private UIButton btnClearIn; |
| | | private UIButton btnCompanyIn; |
| | | private UITextBox txtCompanyIn; |
| | | } |
| | | } |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Configuration; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | using CefSharp; |
| | | using CefSharp.WinForms; |
| | | using CommonHelper; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace Sunny.UI.Demo.Controls |
| | | { |
| | | public partial class RealTimeFinancialShortNews : UIPage |
| | | { |
| | | private ChromiumWebBrowser browser; |
| | | public void InitBrowser(string bimUrl) |
| | | { |
| | | //Cef.Initialize(new CefSettings()); |
| | | ////browser = new ChromiumWebBrowser("www.baidu.com"); |
| | | //browser = new ChromiumWebBrowser("http://101.133.134.71:9001/Pages/index.html#/newList"); |
| | | //this.Controls.Add(browser); |
| | | //browser.Dock = DockStyle.Fill; |
| | | try |
| | | { |
| | | if (string.IsNullOrEmpty(bimUrl)) |
| | | { |
| | | MessageBox.Show("网页地址为空!"); |
| | | return; |
| | | } |
| | | if (!Cef.IsInitialized) |
| | | { |
| | | Cef.Initialize(new CefSettings()); |
| | | } |
| | | browser = new ChromiumWebBrowser(bimUrl); |
| | | uiPanel1.Controls.Add(browser); |
| | | browser.Dock = DockStyle.Fill; |
| | | Control.CheckForIllegalCrossThreadCalls = false; |
| | | //public void InitBrowser(string bimUrl) |
| | | //{ |
| | | // //Cef.Initialize(new CefSettings()); |
| | | // ////browser = new ChromiumWebBrowser("www.baidu.com"); |
| | | // //browser = new ChromiumWebBrowser("http://101.133.134.71:9001/Pages/index.html#/newList"); |
| | | // //this.Controls.Add(browser); |
| | | // //browser.Dock = DockStyle.Fill; |
| | | // try |
| | | // { |
| | | // if (string.IsNullOrEmpty(bimUrl)) |
| | | // { |
| | | // MessageBox.Show("网页地址为空!"); |
| | | // return; |
| | | // } |
| | | // if (!Cef.IsInitialized) |
| | | // { |
| | | // Cef.Initialize(new CefSettings()); |
| | | // } |
| | | // browser = new ChromiumWebBrowser(bimUrl); |
| | | // uiPanel1.Controls.Add(browser); |
| | | // browser.Dock = DockStyle.Fill; |
| | | // Control.CheckForIllegalCrossThreadCalls = false; |
| | | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | throw; |
| | | } |
| | | } |
| | | // } |
| | | // catch (Exception e) |
| | | // { |
| | | // throw; |
| | | // } |
| | | //} |
| | | |
| | | string ShortNew = ConfigurationManager.AppSettings["ShortNew"].ToString(); |
| | | public RealTimeFinancialShortNews() |
| | | { |
| | | InitializeComponent(); |
| | | //InitBrowser("www.baidu.com"); |
| | | //InitBrowser("http://101.133.134.71:9001/Pages/index.html#/newList"); |
| | | JObject item = (JObject)GetChinaStockList(1, 1, ShortNew); |
| | | var items = item["Data"]["TotalItems"]; |
| | | uiPagination1.TotalCount = items.Value<int>(); |
| | | uiPagination1.PageSize = 50; |
| | | } |
| | | |
| | | public object GetChinaStockList(int PageIndex, int PageSize, string fieldValue) |
| | | { |
| | | |
| | | PageSearchParams PageSearchParams = new PageSearchParams(); |
| | | PageSearchParams.PageIndex = PageIndex; |
| | | PageSearchParams.PageSize = PageSize; |
| | | string Content = JsonHelper.ToJson(PageSearchParams); |
| | | string GetSarchUrl = fieldValue; |
| | | string Result = SendRequest(GetSarchUrl, Content, Encoding.UTF8); |
| | | return (JObject)JsonConvert.DeserializeObject(Result); |
| | | } |
| | | |
| | | public void GetdgViewIndustryIndex(int PageIndex, int PageSize) |
| | | { |
| | | try |
| | | { |
| | | string url = ShortNew; |
| | | JObject item = (JObject)GetChinaStockList(PageIndex, PageSize, url); |
| | | if (item["Data"]["TushareNewses"] != null) |
| | | { |
| | | var items = item["Data"]["TushareNewses"]; |
| | | dgViewIndustryIndex.DataSource = items; |
| | | for (int i = 0; i < dgViewIndustryIndex.Columns.Count; i++) |
| | | { |
| | | string colName = dgViewIndustryIndex.Columns[i].Name; |
| | | if (colName == "id") |
| | | { |
| | | dgViewIndustryIndex.Columns[i].Visible = false; |
| | | } |
| | | //for (int j = 0; j < dgViewIndustryIndex.Rows.Count; j++) |
| | | //{ |
| | | // string introduction = dgViewIndustryIndex.Rows[j].Cells[i].Value.ToString(); |
| | | // if (introduction.Length > 13) |
| | | // { |
| | | // dgViewIndustryIndex.Rows[j].Cells[i].Value = introduction.Substring(0, 10) + "..."; |
| | | // dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 13) + introduction.Substring(13); |
| | | // } |
| | | // if (introduction.Length > 30) |
| | | // { |
| | | // dgViewIndustryIndex.Rows[j].Cells[i].Value = introduction.Substring(0, 10) + "..."; |
| | | // dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30); |
| | | // } |
| | | // if (introduction.Length > 60) |
| | | // { |
| | | // dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60); |
| | | // } |
| | | // if (introduction.Length > 90) |
| | | // { |
| | | // dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90); |
| | | // } |
| | | // if (introduction.Length > 120) |
| | | // { |
| | | // dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120); |
| | | // } |
| | | // if (introduction.Length > 150) |
| | | // { |
| | | // dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120, 30) + "\n" + introduction.Substring(150); |
| | | // } |
| | | // if (introduction.Length > 180) |
| | | // { |
| | | // dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120, 30) + "\n" + introduction.Substring(150, 30) + "\n" + introduction.Substring(180); |
| | | // } |
| | | // if (introduction.Length > 210) |
| | | // { |
| | | // dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120, 30) + "\n" + introduction.Substring(150, 30) + "\n" + introduction.Substring(180, 30) + "\n" + introduction.Substring(210); |
| | | // } |
| | | // if (introduction.Length > 240) |
| | | // { |
| | | // dgViewIndustryIndex.Rows[j].Cells[i].ToolTipText = introduction.Substring(0, 30) + "\n" + introduction.Substring(30, 30) + "\n" + introduction.Substring(60, 30) + "\n" + introduction.Substring(90, 30) + "\n" + introduction.Substring(120, 30) + "\n" + introduction.Substring(150, 30) + "\n" + introduction.Substring(180, 30) + "\n" + introduction.Substring(210, 30) + "\n" + introduction.Substring(240); |
| | | // } |
| | | //} |
| | | //dgViewIndustryIndex.Columns[i].HeaderText = GetDgvColumName(colName); |
| | | } |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | |
| | | throw e; |
| | | } |
| | | |
| | | } |
| | | |
| | | public string SendRequest(string url, string content, Encoding encoding) |
| | | { |
| | | try |
| | | { |
| | | HttpWebRequest request = (System.Net.HttpWebRequest)WebRequest.Create(url); |
| | | request.Method = "POST"; |
| | | // 内容类型 |
| | | request.ContentType = "application/json"; |
| | | //WebHeaderCollection headers = request.Headers; |
| | | //headers.Add("X-Access-Token: tokeninfo"); |
| | | var payload = System.Text.Encoding.UTF8.GetBytes(content); |
| | | request.ContentLength = payload.Length; |
| | | Stream writer = request.GetRequestStream(); |
| | | writer.Write(payload, 0, payload.Length); |
| | | writer.Close(); |
| | | System.Net.HttpWebResponse webResponse = (HttpWebResponse)request.GetResponse(); |
| | | StreamReader sr = new StreamReader(webResponse.GetResponseStream(), encoding); |
| | | return sr.ReadToEnd(); |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | return ""; |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | private void RealTimeFinancialShortNews_Load(object sender, EventArgs e) |
| | | { |
| | | LoadingHelper.CloseForm(); |
| | | //LoadingHelper.CloseForm(); |
| | | //this.webBrowser1.Navigate(@"http://101.133.134.71:9001/Pages/index.html#/newList"); |
| | | LoadingHelper.CloseForm(); |
| | | GetdgViewIndustryIndex(1, uiPagination1.PageSize); |
| | | } |
| | | |
| | | private void RealTimeFinancialShortNews_FormClosing(object sender, FormClosingEventArgs e) |
| | | { |
| | | Cef.Shutdown(); |
| | | //Cef.Shutdown(); |
| | | } |
| | | |
| | | public class PageSearchParams |
| | | { |
| | | public int PageIndex { get; set; } |
| | | public int PageSize { get; set; } |
| | | public string ParContent { get { return ""; } } |
| | | public string SubClassId { get { return "0"; } } |
| | | } |
| | | } |
| | | } |
| | |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <metadata name="uiMillisecondTimer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>17, 17</value> |
| | | </metadata> |
| | | </root> |
| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | this.dgViewIndustryIndex = new Sunny.UI.UIDataGridView(); |
| | | this.monthCalIndustry = new Sunny.UI.UIDatePicker(); |
| | | this.lblIndustryIndex = new Sunny.UI.UITextBox(); |
| | |
| | | // |
| | | // dgViewIndustryIndex |
| | | // |
| | | dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewIndustryIndex.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle16; |
| | | this.dgViewIndustryIndex.AllowUserToAddRows = false; |
| | | this.dgViewIndustryIndex.AllowUserToDeleteRows = false; |
| | | dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewIndustryIndex.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
| | | this.dgViewIndustryIndex.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
| | | | System.Windows.Forms.AnchorStyles.Left) |
| | | | System.Windows.Forms.AnchorStyles.Right))); |
| | | this.dgViewIndustryIndex.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.dgViewIndustryIndex.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; |
| | | dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle17.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle17.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewIndustryIndex.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle17; |
| | | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewIndustryIndex.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
| | | this.dgViewIndustryIndex.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle18.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle18.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle18.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle18.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.dgViewIndustryIndex.DefaultCellStyle = dataGridViewCellStyle18; |
| | | dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle3.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.dgViewIndustryIndex.DefaultCellStyle = dataGridViewCellStyle3; |
| | | this.dgViewIndustryIndex.EnableHeadersVisualStyles = false; |
| | | this.dgViewIndustryIndex.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.dgViewIndustryIndex.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255))))); |
| | | this.dgViewIndustryIndex.Location = new System.Drawing.Point(17, 88); |
| | | this.dgViewIndustryIndex.MultiSelect = false; |
| | | this.dgViewIndustryIndex.Name = "dgViewIndustryIndex"; |
| | | dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle19.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle19.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle19.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewIndustryIndex.RowHeadersDefaultCellStyle = dataGridViewCellStyle19; |
| | | dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewIndustryIndex.RowHeadersDefaultCellStyle = dataGridViewCellStyle4; |
| | | this.dgViewIndustryIndex.RowHeight = 27; |
| | | dataGridViewCellStyle20.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle20.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle20.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewIndustryIndex.RowsDefaultCellStyle = dataGridViewCellStyle20; |
| | | dataGridViewCellStyle5.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dgViewIndustryIndex.RowsDefaultCellStyle = dataGridViewCellStyle5; |
| | | this.dgViewIndustryIndex.RowTemplate.Height = 27; |
| | | this.dgViewIndustryIndex.SelectedIndex = -1; |
| | | this.dgViewIndustryIndex.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
| | |
| | | // txtEndDate |
| | | // |
| | | this.txtEndDate.Cursor = System.Windows.Forms.Cursors.IBeam; |
| | | this.txtEndDate.DoubleValue = 20180629D; |
| | | this.txtEndDate.DoubleValue = 20220708D; |
| | | this.txtEndDate.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtEndDate.IntValue = 20180629; |
| | | this.txtEndDate.IntValue = 20220708; |
| | | this.txtEndDate.Location = new System.Drawing.Point(353, 44); |
| | | this.txtEndDate.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); |
| | | this.txtEndDate.MinimumSize = new System.Drawing.Size(1, 16); |
| | |
| | | this.txtEndDate.Size = new System.Drawing.Size(123, 34); |
| | | this.txtEndDate.TabIndex = 25; |
| | | this.txtEndDate.TagString = ""; |
| | | this.txtEndDate.Text = "20180629"; |
| | | this.txtEndDate.Text = "20220708"; |
| | | this.txtEndDate.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; |
| | | // |
| | | // txtStartDate |
| | |
| | | |
| | | private void SemiconductorIndustryIndex_Load(object sender, EventArgs e) |
| | | { |
| | | |
| | | |
| | | ht.Add("ts_code", "股票代码"); |
| | | ht.Add("trade_date", "交易日期"); |
| | | ht.Add("ts_name", "指标名称"); |
| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | this.uiDataGridView1 = new Sunny.UI.UIDataGridView(); |
| | | this.Chinasproduction = new Sunny.UI.UIRadioButton(); |
| | | this.Globalproduction = new Sunny.UI.UIRadioButton(); |
| | |
| | | // |
| | | // uiDataGridView1 |
| | | // |
| | | dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle16; |
| | | this.uiDataGridView1.AllowUserToAddRows = false; |
| | | this.uiDataGridView1.AllowUserToDeleteRows = false; |
| | | dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
| | | this.uiDataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
| | | | System.Windows.Forms.AnchorStyles.Left) |
| | | | System.Windows.Forms.AnchorStyles.Right))); |
| | | this.uiDataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; |
| | | this.uiDataGridView1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.uiDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; |
| | | dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle17.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle17.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle17; |
| | | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
| | | this.uiDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle18.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle18.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle18.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle18.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle18; |
| | | dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle3.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle3; |
| | | this.uiDataGridView1.EnableHeadersVisualStyles = false; |
| | | this.uiDataGridView1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.uiDataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255))))); |
| | | this.uiDataGridView1.Location = new System.Drawing.Point(18, 84); |
| | | this.uiDataGridView1.Name = "uiDataGridView1"; |
| | | dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle19.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle19.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle19.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle19; |
| | | dataGridViewCellStyle20.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle20.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle20.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle20; |
| | | dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle4; |
| | | dataGridViewCellStyle5.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle5; |
| | | this.uiDataGridView1.RowTemplate.Height = 23; |
| | | this.uiDataGridView1.SelectedIndex = -1; |
| | | this.uiDataGridView1.ShowGridLine = true; |
| | |
| | | if (statusCode.Value<int>() == 200) |
| | | { |
| | | this.uiDataGridView1.DataSource = items["data"]["items"]; |
| | | //for (int i = 0; i < uiDataGridView1.Columns.Count; i++) |
| | | //{ |
| | | // for (int j = 0; j < uiDataGridView1.Rows.Count; j++) |
| | | // { |
| | | // uiDataGridView1.Rows[j].Cells[i].Value = ""; |
| | | // } |
| | | //} |
| | | GetDgvColumName(); |
| | | } |
| | | else |
| | |
| | | uiDataGridView1.Columns[i].Visible = false; |
| | | } |
| | | //循环添加该列的所有行的值 |
| | | for (int j = 0; j < uiDataGridView1.Rows.Count - 1; j++) |
| | | for (int j = 0; j < uiDataGridView1.Rows.Count; j++) |
| | | { |
| | | value += uiDataGridView1.Rows[j].Cells[i].Value; |
| | | } |
| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | this.Globalsales = new Sunny.UI.UIRadioButton(); |
| | | this.SalesinChina = new Sunny.UI.UIRadioButton(); |
| | | this.GlobalSemiconductorMaterials = new Sunny.UI.UIRadioButton(); |
| | |
| | | this.GlobalSemiconductorMaterials.MinimumSize = new System.Drawing.Size(1, 1); |
| | | this.GlobalSemiconductorMaterials.Name = "GlobalSemiconductorMaterials"; |
| | | this.GlobalSemiconductorMaterials.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); |
| | | this.GlobalSemiconductorMaterials.Size = new System.Drawing.Size(150, 29); |
| | | this.GlobalSemiconductorMaterials.Size = new System.Drawing.Size(187, 29); |
| | | this.GlobalSemiconductorMaterials.TabIndex = 2; |
| | | this.GlobalSemiconductorMaterials.Text = "全球风电材料"; |
| | | this.GlobalSemiconductorMaterials.Text = "全球半导体材料"; |
| | | this.GlobalSemiconductorMaterials.CheckedChanged += new System.EventHandler(this.GlobalSemiconductorMaterials_CheckedChanged); |
| | | // |
| | | // Globalsemiconductorequipment |
| | |
| | | this.Globalsemiconductorequipment.MinimumSize = new System.Drawing.Size(1, 1); |
| | | this.Globalsemiconductorequipment.Name = "Globalsemiconductorequipment"; |
| | | this.Globalsemiconductorequipment.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); |
| | | this.Globalsemiconductorequipment.Size = new System.Drawing.Size(150, 29); |
| | | this.Globalsemiconductorequipment.Size = new System.Drawing.Size(187, 29); |
| | | this.Globalsemiconductorequipment.TabIndex = 3; |
| | | this.Globalsemiconductorequipment.Text = "全球储能设备 "; |
| | | this.Globalsemiconductorequipment.Text = "全球半导体设备 "; |
| | | this.Globalsemiconductorequipment.CheckedChanged += new System.EventHandler(this.Globalsemiconductorequipment_CheckedChanged); |
| | | // |
| | | // uiDataGridView1 |
| | | // |
| | | dataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle21; |
| | | this.uiDataGridView1.AllowUserToAddRows = false; |
| | | this.uiDataGridView1.AllowUserToDeleteRows = false; |
| | | dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
| | | this.uiDataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
| | | | System.Windows.Forms.AnchorStyles.Left) |
| | | | System.Windows.Forms.AnchorStyles.Right))); |
| | | this.uiDataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; |
| | | this.uiDataGridView1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | this.uiDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; |
| | | dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle22.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle22.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle22.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle22; |
| | | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
| | | dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
| | | this.uiDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle23.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle23.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle23.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle23.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle23; |
| | | dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle3.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle3; |
| | | this.uiDataGridView1.EnableHeadersVisualStyles = false; |
| | | this.uiDataGridView1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.uiDataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255))))); |
| | | this.uiDataGridView1.Location = new System.Drawing.Point(19, 96); |
| | | this.uiDataGridView1.Name = "uiDataGridView1"; |
| | | dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle24.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle24.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle24.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle24.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle24; |
| | | dataGridViewCellStyle25.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle25.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle25.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle25.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle25; |
| | | dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle4; |
| | | dataGridViewCellStyle5.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255))))); |
| | | dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); |
| | | this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle5; |
| | | this.uiDataGridView1.RowTemplate.Height = 23; |
| | | this.uiDataGridView1.SelectedIndex = -1; |
| | | this.uiDataGridView1.ShowGridLine = true; |
| | |
| | | uiDataGridView1.Columns[i].Visible = false; |
| | | } |
| | | //循环添加该列的所有行的值 |
| | | for (int j = 0; j < uiDataGridView1.Rows.Count - 1; j++) |
| | | for (int j = 0; j < uiDataGridView1.Rows.Count ; j++) |
| | | { |
| | | value += uiDataGridView1.Rows[j].Cells[i].Value; |
| | | } |
| | |
| | | if (statusCode.Value<int>() == 200) |
| | | { |
| | | this.uiDataGridView1.DataSource = items["data"]["items"]; |
| | | //for (int i = 0; i < uiDataGridView1.Columns.Count; i++) |
| | | //{ |
| | | // for (int j = 0; j < uiDataGridView1.Rows.Count; j++) |
| | | // { |
| | | // uiDataGridView1.Rows[j].Cells[i].Value = ""; |
| | | // } |
| | | //} |
| | | GetDgvColumName(); |
| | | } |
| | | else |
| | |
| | | this.Aside.ShowOneNode = true; |
| | | this.Aside.ShowSecondBackColor = true; |
| | | this.Aside.ShowTips = true; |
| | | this.Aside.Size = new System.Drawing.Size(260, 573); |
| | | this.Aside.Size = new System.Drawing.Size(252, 573); |
| | | this.Aside.Style = Sunny.UI.UIStyle.Custom; |
| | | // |
| | | // Header |
| | |
| | | treeNode2.Text = "行业数据"; |
| | | treeNode3.Name = "节点2"; |
| | | treeNode3.Text = "公司数据"; |
| | | treeNode4.Name = "节点1"; |
| | | treeNode4.Name = "节点2"; |
| | | treeNode4.Text = "特色数据"; |
| | | this.Header.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { |
| | | treeNode1, |
| | |
| | | // |
| | | // pictureBox1 |
| | | // |
| | | this.pictureBox1.BackColor = System.Drawing.Color.CornflowerBlue; |
| | | this.pictureBox1.BackgroundImage = global::Sunny.UI.Demo.Properties.Resources.仁数集V2; |
| | | this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; |
| | | this.pictureBox1.Location = new System.Drawing.Point(5, 51); |
| | | this.pictureBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); |
| | | this.pictureBox1.Image = global::Sunny.UI.Demo.Properties.Resources.仁数集V2; |
| | | this.pictureBox1.Location = new System.Drawing.Point(16, 51); |
| | | this.pictureBox1.Name = "pictureBox1"; |
| | | this.pictureBox1.Size = new System.Drawing.Size(349, 79); |
| | | this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; |
| | | this.pictureBox1.Size = new System.Drawing.Size(333, 79); |
| | | this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; |
| | | this.pictureBox1.TabIndex = 4; |
| | | this.pictureBox1.TabStop = false; |
| | | // |
| | |
| | | Aside.SelectedNode = Aside.Nodes[0]; |
| | | Aside.SelectPage(1000); |
| | | } |
| | | if (Header.SelectedIndex == 3) |
| | | { |
| | | this.Aside.ClearAll(); |
| | | Header.SetNodePageIndex(Header.Nodes[3], pageIndex); |
| | | Header.SetNodeSymbol(Header.Nodes[3], 362614); |
| | | } |
| | | //if (Header.SelectedIndex == 3) |
| | | //{ |
| | | // this.Aside.ClearAll(); |
| | | // Header.SetNodePageIndex(Header.Nodes[3], pageIndex); |
| | | // Header.SetNodeSymbol(Header.Nodes[3], 362614); |
| | | //} |
| | | //switch (menuIndex) |
| | | //{ |
| | | // // case 4: |
| | |
| | | private void FMain_Load(object sender, EventArgs e) |
| | | { |
| | | this.Text = "仁数集--全面实时专业的垂直数据终端"; |
| | | //this.Text = "仁软水电行业智能投顾终端软件"; |
| | | } |
| | | |
| | | private void uiAvatar_Click(object sender, EventArgs e) |