.
leo
2022-11-07 a0b6ce0b9f6ed9105100f5e0ed7ef09c4dbd50e6
.
6个文件已删除
39个文件已修改
5个文件已添加
1291 ■■■■ 已修改文件
SunnyUI.Demo/Bin/CommonHelper.dll 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Bin/DawnCache/data_0 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Bin/DawnCache/data_1 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Bin/DawnCache/data_2 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Bin/DawnCache/data_3 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Bin/DawnCache/index 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Bin/SunnyUI.Demo.exe 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/Asharesemiconductorcompany.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/ConsumerElectronicsChip.Designer.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/ConsumerElectronicsChip.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/DataCenterChip.Designer.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/DataCenterChip.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/DomesticNewsData.Designer.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/DomesticNewsData.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/DomesticPolicyData.Designer.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/DomesticPolicyData.cs 190 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/ForeignNewsData.Designer.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/ForeignNewsData.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/ForeignPolicyData.Designer.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/ForeignPolicyData.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/FundamentalsOfChinaSemiconductorCorporation.Designer.cs 69 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/FundamentalsOfChinaSemiconductorCorporation.cs 44 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/FundamentalsOfChinaSemiconductorCorporation.resx 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/FundamentalsOfForeignSemiconductorCompanies.Designer.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/FundamentalsOfForeignSemiconductorCompanies.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/LoaderForm.Designer.cs 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/LoaderForm.cs 153 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/LoaderForm.resx 120 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/MajorSemiconductorCompaniesInTheWorld.Designer.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/MajorSemiconductorCompaniesInTheWorld.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/NewEnergyVehicleChip.Designer.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/NewEnergyVehicleChip.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/OverseasSemiconductorCompanies.cs 89 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/RealTimeFinancialShortNews.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/SemiconductorIndustryIndex.Designer.cs 76 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/SemiconductorIndustryIndex.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/SemiconductorInventoryData.Designer.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/SemiconductorInventoryData.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/SemiconductorPriceData.Designer.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/SemiconductorPriceData.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/SemiconductorProductionData.Designer.cs 99 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/SemiconductorProductionData.cs 148 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/SemiconductorSalesData.Designer.cs 74 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Controls/SemiconductorSalesData.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/FMain.Designer.cs 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/FMain.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Properties/Resources.Designer.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Properties/Resources.resx 37 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/RenDataMarket.Demo.csproj 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Resources/仁数集V2.png 补丁 | 查看 | 原始文档 | blame | 历史
SunnyUI.Demo/Bin/CommonHelper.dll
Binary files differ
SunnyUI.Demo/Bin/DawnCache/data_0
Binary files differ
SunnyUI.Demo/Bin/DawnCache/data_1
Binary files differ
SunnyUI.Demo/Bin/DawnCache/data_2
Binary files differ
SunnyUI.Demo/Bin/DawnCache/data_3
Binary files differ
SunnyUI.Demo/Bin/DawnCache/index
Binary files differ
SunnyUI.Demo/Bin/SunnyUI.Demo.exe
Binary files differ
SunnyUI.Demo/Controls/Asharesemiconductorcompany.cs
@@ -110,6 +110,7 @@
        private void Asharesemiconductorcompany_Load(object sender, EventArgs e)
        {
            ht.Add("ts_code", "股票代码");
            ht.Add("name", "股票简称");
            ht.Add("stock_type_name", "半导体子类");
@@ -174,7 +175,7 @@
                }
            }
            LoadingHelper.CloseForm();
        }
        private void btnAStockLtd_Click_1(object sender, EventArgs e)
SunnyUI.Demo/Controls/ConsumerElectronicsChip.Designer.cs
@@ -40,6 +40,7 @@
            this.ShowTitle = true;
            this.Symbol = 362747;
            this.Text = "消费电子芯片";
            this.Load += new System.EventHandler(this.ConsumerElectronicsChip_Load);
            this.ResumeLayout(false);
        }
SunnyUI.Demo/Controls/ConsumerElectronicsChip.cs
@@ -16,5 +16,10 @@
        {
            InitializeComponent();
        }
        private void ConsumerElectronicsChip_Load(object sender, EventArgs e)
        {
            LoadingHelper.CloseForm();
        }
    }
}
SunnyUI.Demo/Controls/DataCenterChip.Designer.cs
@@ -40,6 +40,7 @@
            this.ShowTitle = true;
            this.Symbol = 362747;
            this.Text = "数据中心芯片";
            this.Load += new System.EventHandler(this.DataCenterChip_Load);
            this.ResumeLayout(false);
        }
SunnyUI.Demo/Controls/DataCenterChip.cs
@@ -16,5 +16,10 @@
        {
            InitializeComponent();
        }
        private void DataCenterChip_Load(object sender, EventArgs e)
        {
            LoadingHelper.CloseForm();
        }
    }
}
SunnyUI.Demo/Controls/DomesticNewsData.Designer.cs
@@ -40,6 +40,7 @@
            this.ShowTitle = true;
            this.Symbol = 362747;
            this.Text = "国内新闻数据";
            this.Load += new System.EventHandler(this.DomesticNewsData_Load);
            this.ResumeLayout(false);
        }
SunnyUI.Demo/Controls/DomesticNewsData.cs
@@ -16,5 +16,10 @@
        {
            InitializeComponent();
        }
        private void DomesticNewsData_Load(object sender, EventArgs e)
        {
            LoadingHelper.CloseForm();
        }
    }
}
SunnyUI.Demo/Controls/DomesticPolicyData.Designer.cs
@@ -64,6 +64,7 @@
            this.btnIndustryIndex.TabIndex = 30;
            this.btnIndustryIndex.Text = "查询";
            this.btnIndustryIndex.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btnIndustryIndex.Click += new System.EventHandler(this.btnIndustryIndex_Click);
            // 
            // txtIndustryIndex
            // 
@@ -78,7 +79,7 @@
            this.txtIndustryIndex.TabIndex = 29;
            this.txtIndustryIndex.TagString = "";
            this.txtIndustryIndex.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.txtIndustryIndex.Watermark = "请输入股票代码或简称";
            this.txtIndustryIndex.Watermark = "请输入关键字";
            // 
            // dgViewIndustryIndex
            // 
SunnyUI.Demo/Controls/DomesticPolicyData.cs
@@ -12,51 +12,149 @@
using System.Windows.Forms;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
using System.Collections;
using SqlSugar;
using Newtonsoft.Json.Converters;
namespace Sunny.UI.Demo.Controls
{
    public partial class DomesticPolicyData : UIPage
    {
        private Hashtable ht = new Hashtable();
        /// <summary>
        /// è¡¨æ ¼æ ‡é¢˜é‡å‘½å
        /// </summary>
        /// <param name="ColName"></param>
        /// <returns></returns>
        private string GetDgvColumName(string ColName)
        {
            if (ht.Contains(ColName)) return ht[ColName].ToString();
            else return ColName;
        }
        public DomesticPolicyData()
        {
            InitializeComponent();
            string url = "http://1.117.218.88:8090/api/IndustryPolicyApp/GetPages?PageIndex=1&PageSize=1";
            JObject item = (JObject)GetChinaStockList(url, 1);
            //string url = "http://1.117.218.88:8090/api/IndustryPolicyApp/GetPages?PageIndex=1&PageSize=1";
            JObject item = (JObject)GetChinaStockList(1, 1, "http://1.117.218.88:8090/api/IndustryPolicyApp/GetPages?PageIndex=1&PageSize=1");
            var items = item["data"]["totalItems"];
            uiPagination1.TotalCount = items.Value<int>();
            uiPagination1.PageSize = 5;
        }
        public static String GetData(String url, Encoding encode)
        //public static String GetData(String url, Encoding encode)
        //{
        //    HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
        //    request.Method = "GET";
        //    request.ContentType = "text/html, application/xhtml+xml, */*";
        //    HttpWebResponse response = (HttpWebResponse)request.GetResponse();
        //    Stream rs = response.GetResponseStream();
        //    StreamReader sr = new StreamReader(rs, encode);
        //    var result = sr.ReadToEnd();
        //    sr.Close();
        //    rs.Close();
        //    return result;
        //}
        //public object GetChinaStockList(string SearchInfo, int ReportType)
        //{
        //    //string URL = Configs.GetValue("HYSiteUrl");
        //    //string GetSarchUrl = $"{URL}/ChinaStock/GetChinaStockList";
        //    string Result = GetData(SearchInfo, Encoding.UTF8);
        //    //JavaMsgData javaMsgData = JsonHelper.ToObject<JavaMsgData>(Result);
        //    return (JObject)JsonConvert.DeserializeObject(Result);
        //}
        public object GetChinaStockList(int PageIndex, int PageSize, string fieldValue)
        {
            HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
            request.Method = "GET";
            request.ContentType = "text/html, application/xhtml+xml, */*";
            HttpWebResponse response = (HttpWebResponse)request.GetResponse();
            Stream rs = response.GetResponseStream();
            StreamReader sr = new StreamReader(rs, encode);
            var result = sr.ReadToEnd();
            sr.Close();
            rs.Close();
            return result;
            PageSearchParam chinaStockListPara = new PageSearchParam();
            List<SugarTableSearchSimple> colCondition = new List<SugarTableSearchSimple>();
            SugarTableSearchSimple colCondition2 = new SugarTableSearchSimple();
            colCondition2.FieldValue = "中国";
            colCondition2.FieldName = "Country";
            colCondition.Add(colCondition2);
            chinaStockListPara.PageIndex = PageIndex;
            chinaStockListPara.PageSize = PageSize;
            chinaStockListPara.ColCondition = colCondition;
            string Content = JsonHelper.ToJson(chinaStockListPara);
            string GetSarchUrl = fieldValue;
            string Result = SendRequest(GetSarchUrl, Content, Encoding.UTF8);
            return (JObject)JsonConvert.DeserializeObject(Result);
        }
        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 "";
            }
        }
        public class PageSearchParam
        {
            /// <summary>
            /// é¡µç 
            /// </summary>
            public int PageIndex { get; set; }
            /// <summary>
            /// æ¡æ•°
            /// </summary>
            public int PageSize { get; set; }
            /// <summary>
            /// æŒ‡æ ‡æŸ¥è¯¢æ¡ä»¶
            /// </summary>
            public List<SugarTableSearchSimple> ColCondition { get; set; }
        }
        public object GetChinaStockList(string SearchInfo, int ReportType)
        public class SugarTableSearchSimple
        {
            //string URL = Configs.GetValue("HYSiteUrl");
            //string GetSarchUrl = $"{URL}/ChinaStock/GetChinaStockList";
            string Result = GetData(SearchInfo, Encoding.UTF8);
            //JavaMsgData javaMsgData = JsonHelper.ToObject<JavaMsgData>(Result);
            return (JObject)JsonConvert.DeserializeObject(Result);
            /// <summary>
            /// å­—段名
            /// </summary>
            public string FieldName { get; set; }
            /// <summary>
            /// æ¡ä»¶ç±»åž‹
            /// https://www.donet5.com/Home/Doc?typeId=2314
            /// </summary>
            [JsonConverter(typeof(StringEnumConverter))]
            public ConditionalType ConditionalType { get; set; }
            /// <summary>
            /// å€¼
            /// </summary>
            public string FieldValue { get; set; }
        }
        public void GetdgViewIndustryIndex(int PageIndex, int PageSize)
        {
            string url = "http://1.117.218.88:8090/api/IndustryPolicyApp/GetPages?PageIndex=" + PageIndex + "&PageSize=" + PageSize;
            JObject item = (JObject)GetChinaStockList(url, 1);
            string url = "http://1.117.218.88:8090/api/IndustryPolicyApp/GetPages?pageIndex=" + PageIndex + "&PageSize=" + PageSize;
            JObject item = (JObject)GetChinaStockList(PageIndex, PageSize, url);
            if (item["data"]["items"] != null)
            {
                var items = item["data"]["items"];
@@ -68,12 +166,22 @@
                    {
                        dgViewIndustryIndex.Columns[i].Visible = false;
                    }
                    dgViewIndustryIndex.Columns[i].HeaderText = GetDgvColumName(colName);
                }
            }
        }
        private void DomesticPolicyData_Load(object sender, EventArgs e)
        {
            LoadingHelper.CloseForm();
            ht.Add("title", "政策名称");
            ht.Add("publishDate", "日期");
            ht.Add("organization", "发布单位");
            ht.Add("content", "主要内容");
            ht.Add("country", "国家");
            ht.Add("area", "区域");
            ht.Add("type", "政策性质");
            ht.Add("url", "来源");
            GetdgViewIndustryIndex(1, uiPagination1.PageSize);
        }
@@ -91,5 +199,45 @@
            GetdgViewIndustryIndex(pageIndex, uiPagination1.PageSize);
        }
        private void btnIndustryIndex_Click(object sender, EventArgs e)
        {
            dgViewIndustryIndex.DataSource = null;
            for (int i = 1; i <= uiPagination1.TotalCount; i++)
            {
                string url = "http://1.117.218.88:8090/api/IndustryPolicyApp/GetPages?pageIndex=" + i + "&PageSize=" + 1;
                JObject item = (JObject)GetChinaStockList(i, 1, url);
                if (item["data"]["items"] != null)
                {
                    var items = item["data"]["items"];
                    var title = items[0]["title"].Value<string>();
                    if (this.txtIndustryIndex.Text.Trim() != "")
                    {
                        if (title.Contains(this.txtIndustryIndex.Text.Trim()))
                        {
                            dgViewIndustryIndex.DataSource = items;
                            for (int x = 0; x < dgViewIndustryIndex.Columns.Count; x++)
                            {
                                string colName = dgViewIndustryIndex.Columns[x].Name;
                                if (colName == "id")
                                {
                                    dgViewIndustryIndex.Columns[x].Visible = false;
                                }
                                dgViewIndustryIndex.Columns[x].HeaderText = GetDgvColumName(colName);
                            }
                        }
                    }
                    else
                    {
                        GetdgViewIndustryIndex(1, uiPagination1.PageSize);
                        //DomesticPolicyData_Load();
                    }
                }
            }
            if (dgViewIndustryIndex.DataSource == null)
            {
                MessageBox.Show("没有查询到匹配数据!");
            }
        }
    }
}
SunnyUI.Demo/Controls/ForeignNewsData.Designer.cs
@@ -40,6 +40,7 @@
            this.ShowTitle = true;
            this.Symbol = 362747;
            this.Text = "国外新闻数据";
            this.Load += new System.EventHandler(this.ForeignNewsData_Load);
            this.ResumeLayout(false);
        }
SunnyUI.Demo/Controls/ForeignNewsData.cs
@@ -15,6 +15,12 @@
        public ForeignNewsData()
        {
            InitializeComponent();
        }
        private void ForeignNewsData_Load(object sender, EventArgs e)
        {
            LoadingHelper.CloseForm();
        }
    }
}
SunnyUI.Demo/Controls/ForeignPolicyData.Designer.cs
@@ -40,6 +40,7 @@
            this.ShowTitle = true;
            this.Symbol = 362747;
            this.Text = "国外政策数据";
            this.Load += new System.EventHandler(this.ForeignPolicyData_Load);
            this.ResumeLayout(false);
        }
SunnyUI.Demo/Controls/ForeignPolicyData.cs
@@ -16,5 +16,10 @@
        {
            InitializeComponent();
        }
        private void ForeignPolicyData_Load(object sender, EventArgs e)
        {
            LoadingHelper.CloseForm();
        }
    }
}
SunnyUI.Demo/Controls/FundamentalsOfChinaSemiconductorCorporation.Designer.cs
@@ -28,6 +28,7 @@
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            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();
@@ -40,6 +41,7 @@
            this.txtEndDate = new Sunny.UI.UITextBox();
            this.lblCompanyIn = new Sunny.UI.UITextBox();
            this.dgViewCompanyIn = new Sunny.UI.UIDataGridView();
            this.uiToolTip1 = new Sunny.UI.UIToolTip(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.dgViewCompanyIn)).BeginInit();
            this.SuspendLayout();
            // 
@@ -83,64 +85,6 @@
            this.txtCompanyIn.TagString = "";
            this.txtCompanyIn.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.txtCompanyIn.Watermark = "请输入股票代码或简称";
            //
            // dgViewCompanyIn
            //
            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.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
            this.dgViewCompanyIn.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("微软雅黑", 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;
            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, 104);
            this.dgViewCompanyIn.Name = "dgViewCompanyIn";
            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;
            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;
            this.dgViewCompanyIn.ShowGridLine = true;
            this.dgViewCompanyIn.Size = new System.Drawing.Size(834, 417);
            this.dgViewCompanyIn.TabIndex = 8;
            this.dgViewCompanyIn.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgViewCompanyIn_CellContentClick);
            this.dgViewCompanyIn.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgViewCompanyIn_CellMouseEnter);
            //this.dgViewCompanyIn.MouseHover += new System.EventHandler(this.dgViewCompanyIn_MouseHover);
            // 
            // txtStartDate
            // 
@@ -254,6 +198,12 @@
            this.dgViewCompanyIn.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgViewCompanyIn_CellContentClick);
            this.dgViewCompanyIn.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgViewCompanyIn_CellMouseEnter);
            // 
            // uiToolTip1
            //
            this.uiToolTip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(54)))));
            this.uiToolTip1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239)))));
            this.uiToolTip1.OwnerDraw = true;
            //
            // FundamentalsOfChinaSemiconductorCorporation
            // 
            this.AllowShowTitle = true;
@@ -270,7 +220,7 @@
            this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
            this.ShowTitle = true;
            this.Symbol = 362747;
            this.Text = "A股半导体公司基本面";
            this.Text = "A股半导体公司详情";
            this.Load += new System.EventHandler(this.FundamentalsOfChinaSemiconductorCorporation_Load);
            ((System.ComponentModel.ISupportInitialize)(this.dgViewCompanyIn)).EndInit();
            this.ResumeLayout(false);
@@ -287,5 +237,6 @@
        private UITextBox txtEndDate;
        private UITextBox lblCompanyIn;
        private UIDataGridView dgViewCompanyIn;
        private UIToolTip uiToolTip1;
    }
}
SunnyUI.Demo/Controls/FundamentalsOfChinaSemiconductorCorporation.cs
@@ -83,6 +83,7 @@
        private void FundamentalsOfChinaSemiconductorCorporation_Load(object sender, EventArgs e)
        {
            ht.Add("ts_code", "股票代码");
            ht.Add("name", "股票简称");
            ht.Add("stock_type_name", "半导体子类");
@@ -102,7 +103,50 @@
            ht.Add("employees", "员工人数");
            ht.Add("main_business_show", "主要业务及产品");
            ht.Add("business_scope_show", "经营范围");
            DateTime dateTime = DateTime.Now;
            if (dateTime.Hour >= 16)
            {
                if (dateTime.Day < 10)
                {
                    this.txtEndDate.Text = dateTime.Year.ToString() + dateTime.Month + "0" + dateTime.Day.ToString();
                }
                else
                {
                    this.txtEndDate.Text = dateTime.Year.ToString() + dateTime.Month + dateTime.Day.ToString();
                }
            }
            else
            {
                if (dateTime.Day < 10 && !(dateTime.Day - 1).Equals(0))
                {
                    this.txtEndDate.Text = dateTime.Year.ToString() + dateTime.Month + "0" + (dateTime.Day - 1).ToString();
                }
                else
                {
                    if ((dateTime.Month - 1).Equals(1) || (dateTime.Month - 1).Equals(3) || (dateTime.Month - 1).Equals(5) || (dateTime.Month - 1).Equals(7) || (dateTime.Month - 1).Equals(8) || (dateTime.Month - 1).Equals(10) || (dateTime.Month - 1).Equals(12) && !(dateTime.Month - 1).Equals(0))
                    {
                        this.txtEndDate.Text = dateTime.Year.ToString() + (dateTime.Month - 1) + "31";
                    }
                    else if ((dateTime.Month - 1).Equals(2))
                    {
                        if ((dateTime.Year % 4 == 0 && dateTime.Year % 100 != 0) || dateTime.Year % 400 == 0)
                        {
                            this.txtEndDate.Text = dateTime.Year.ToString() + (dateTime.Month - 1) + "29";
                        }
                        else
                        {
                            this.txtEndDate.Text = dateTime.Year.ToString() + (dateTime.Month - 1) + "28";
                        }
                    }
                    else if ((dateTime.Month - 1).Equals(0))
                    {
                        this.txtEndDate.Text = (dateTime.Year - 1).ToString() + "12" + "31";
                    }
                }
            }
            GetCompanyInList();
            LoadingHelper.CloseForm();
        }
        private void btnClearIn_Click(object sender, EventArgs e)
SunnyUI.Demo/Controls/FundamentalsOfChinaSemiconductorCorporation.resx
@@ -117,4 +117,7 @@
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <metadata name="uiToolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    <value>17, 17</value>
  </metadata>
</root>
SunnyUI.Demo/Controls/FundamentalsOfForeignSemiconductorCompanies.Designer.cs
@@ -208,7 +208,8 @@
            this.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
            this.ShowTitle = true;
            this.Symbol = 362747;
            this.Text = "海外半导体公司基本面";
            this.Text = "海外半导体公司详情";
            this.Load += new System.EventHandler(this.FundamentalsOfForeignSemiconductorCompanies_Load);
            ((System.ComponentModel.ISupportInitialize)(this.dgViewCompanyIn)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
SunnyUI.Demo/Controls/FundamentalsOfForeignSemiconductorCompanies.cs
@@ -16,5 +16,10 @@
        {
            InitializeComponent();
        }
        private void FundamentalsOfForeignSemiconductorCompanies_Load(object sender, EventArgs e)
        {
            LoadingHelper.CloseForm();
        }
    }
}
SunnyUI.Demo/Controls/LoaderForm.Designer.cs
New file
@@ -0,0 +1,68 @@
namespace Sunny.UI.Demo.Controls
{
    partial class LoaderForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
        #region Windows Form Designer generated code
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.uiProgressIndicator1 = new Sunny.UI.UIProgressIndicator();
            this.SuspendLayout();
            //
            // uiProgressIndicator1
            //
            this.uiProgressIndicator1.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.uiProgressIndicator1.Font = new System.Drawing.Font("微软雅黑", 12F);
            this.uiProgressIndicator1.Location = new System.Drawing.Point(168, 65);
            this.uiProgressIndicator1.MinimumSize = new System.Drawing.Size(1, 1);
            this.uiProgressIndicator1.Name = "uiProgressIndicator1";
            this.uiProgressIndicator1.Size = new System.Drawing.Size(424, 306);
            this.uiProgressIndicator1.TabIndex = 88;
            this.uiProgressIndicator1.Text = "uiProgressIndicator1";
            //
            // LoaderForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(800, 450);
            this.Controls.Add(this.uiProgressIndicator1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Name = "LoaderForm";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "LoaderForm";
            this.TopMost = true;
            this.TransparencyKey = System.Drawing.SystemColors.Control;
            this.ResumeLayout(false);
        }
        #endregion
        private UIProgressIndicator uiProgressIndicator1;
    }
}
SunnyUI.Demo/Controls/LoaderForm.cs
New file
@@ -0,0 +1,153 @@
using Sunny.UI.Demo.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Sunny.UI.Demo.Controls
{
    public partial class LoaderForm : Form
    {
        public LoaderForm()
        {
            InitializeComponent();
        }
        /// <summary>
        /// å…³é—­å‘½ä»¤
        /// </summary>
        public void closeOrder()
        {
            if (this.InvokeRequired)
            {
                CONSTANTDEFINE.SetUISomeInfo UIinfo = new CONSTANTDEFINE.SetUISomeInfo(new Action(() =>
                {
                    while (!this.IsHandleCreated)
                    {
                        ;
                    }
                    if (this.IsDisposed)
                        return;
                    if (!this.IsDisposed)
                    {
                        this.Dispose();
                    }
                }));
                this.Invoke(UIinfo);
            }
            else
            {
                if (this.IsDisposed)
                    return;
                if (!this.IsDisposed)
                {
                    this.Dispose();
                }
            }
        }
        private void LoaderForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (!this.IsDisposed)
            {
                this.Dispose(true);
            }
        }
    }
    class CONSTANTDEFINE
    {
        public delegate void SetUISomeInfo();
    }
    public class LoadingHelper
    {
        #region ç›¸å…³å˜é‡å®šä¹‰
        /// <summary>
        /// å®šä¹‰å§”托进行窗口关闭
        /// </summary>
        private delegate void CloseDelegate();
        private static LoaderForm loadingForm;
        private static readonly Object syncLock = new Object();  //加锁使用
        #endregion
        //private LoadingHelper()
        //{
        //}
        /// <summary>
        /// æ˜¾ç¤ºloading框
        /// </summary>
        public static void ShowLoadingScreen()
        {
            // Make sure it is only launched once.
            if (loadingForm != null)
                return;
            Thread thread = new Thread(new ThreadStart(LoadingHelper.ShowForm));
            thread.IsBackground = true;
            thread.SetApartmentState(ApartmentState.STA);
            thread.Start();
        }
        /// <summary>
        /// æ˜¾ç¤ºçª—口
        /// </summary>
        private static void ShowForm()
        {
            if (loadingForm != null)
            {
                loadingForm.closeOrder();
                loadingForm = null;
            }
            loadingForm = new LoaderForm();
            loadingForm.TopMost = true;
            loadingForm.ShowDialog();
        }
        /// <summary>
        /// å…³é—­çª—口
        /// </summary>
        public static void CloseForm()
        {
            Thread.Sleep(20); //可能到这里线程还未起来,所以进行延时,可以确保线程起来,彻底关闭窗口
            if (loadingForm != null)
            {
                lock (syncLock)
                {
                    Thread.Sleep(20);
                    if (loadingForm != null)
                    {
                        Thread.Sleep(20);  //通过三次延时,确保可以彻底关闭窗口
                        loadingForm.Invoke(new CloseDelegate(LoadingHelper.CloseFormInternal));
                    }
                }
            }
        }
        /// <summary>
        /// å…³é—­çª—口,委托中使用
        /// </summary>
        private static void CloseFormInternal()
        {
            loadingForm.closeOrder();
            loadingForm = null;
        }
    }
}
SunnyUI.Demo/Controls/LoaderForm.resx
New file
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Version 2.0
    The primary goals of this format is to allow a simple XML format
    that is mostly human readable. The generation and parsing of the
    various data types are done through the TypeConverter classes
    associated with the data types.
    Example:
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
    There are any number of "resheader" rows that contain simple
    name/value pairs.
    Each data row contains a name, and value. The row also contains a
    type or mimetype. Type corresponds to a .NET class that support
    text/value conversion through the TypeConverter architecture.
    Classes that don't support this are serialized and stored with the
    mimetype set.
    The mimetype is used for serialized objects, and tells the
    ResXResourceReader how to depersist the object. This is currently not
    extensible. For a given mimetype the value must be set accordingly:
    Note - application/x-microsoft.net.object.binary.base64 is the format
    that the ResXResourceWriter will generate, however the reader can
    read any of the formats listed below.
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
</root>
SunnyUI.Demo/Controls/MajorSemiconductorCompaniesInTheWorld.Designer.cs
@@ -148,7 +148,7 @@
            this.lblCompanyMain.ReadOnly = true;
            this.lblCompanyMain.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
            this.lblCompanyMain.ShowText = false;
            this.lblCompanyMain.Size = new System.Drawing.Size(240, 35);
            this.lblCompanyMain.Size = new System.Drawing.Size(344, 38);
            this.lblCompanyMain.TabIndex = 10;
            this.lblCompanyMain.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.lblCompanyMain.WatermarkColor = System.Drawing.Color.Black;
SunnyUI.Demo/Controls/MajorSemiconductorCompaniesInTheWorld.cs
@@ -23,6 +23,7 @@
        private void MajorSemiconductorCompaniesInTheWorld_Load(object sender, EventArgs e)
        {
            ht.Add("ts_code", "股票代码");
            ht.Add("stock_name", "股票简称");
            ht.Add("stock_type_name", "半导体子类");
@@ -32,6 +33,7 @@
            ht.Add("mid_report_q3", "三季报概览");
            ht.Add("mid_report_y1", "年报概览");
            GetCompanyMainList();
            LoadingHelper.CloseForm();
        }
        private void btnCompanyMain_Click(object sender, EventArgs e)
SunnyUI.Demo/Controls/NewEnergyVehicleChip.Designer.cs
@@ -40,6 +40,7 @@
            this.ShowTitle = true;
            this.Symbol = 362747;
            this.Text = "新能源车芯片";
            this.Load += new System.EventHandler(this.NewEnergyVehicleChip_Load);
            this.ResumeLayout(false);
        }
SunnyUI.Demo/Controls/NewEnergyVehicleChip.cs
@@ -16,5 +16,10 @@
        {
            InitializeComponent();
        }
        private void NewEnergyVehicleChip_Load(object sender, EventArgs e)
        {
            LoadingHelper.CloseForm();
        }
    }
}
SunnyUI.Demo/Controls/OverseasSemiconductorCompanies.cs
@@ -19,11 +19,6 @@
            InitializeComponent();
        }
        private void btnOutStockLtd_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// è¡¨æ ¼æ ‡é¢˜é‡å‘½å
        /// </summary>
@@ -48,6 +43,7 @@
        private void OverseasSemiconductorCompanies_Load(object sender, EventArgs e)
        {
            ht.Add("ts_code", "股票代码");
            ht.Add("stock_type_name", "半导体子类");
            ht.Add("name", "股票简称");
@@ -57,50 +53,51 @@
            ht.Add("low", "最低价");
            ht.Add("close", "收盘价");
            ht.Add("vol", "成交量(手)");
            DateTime dateTime = DateTime.Now;
            if (dateTime.Date.Hour >= 16)
            {
                if (dateTime.Day > 10)
                {
                    this.txtEndDate.Text = dateTime.Year.ToString() + dateTime.Month + "0" + dateTime.Day.ToString();
                }
                else
                {
                    this.txtEndDate.Text = dateTime.Year.ToString() + dateTime.Month + dateTime.Day.ToString();
                }
            //DateTime dateTime = DateTime.Now;
            //if (dateTime.Date.Hour >= 16)
            //{
            //    if (dateTime.Day > 10)
            //    {
            //        this.txtEndDate.Text = dateTime.Year.ToString() + dateTime.Month + "0" + dateTime.Day.ToString();
            //    }
            //    else
            //    {
            //        this.txtEndDate.Text = dateTime.Year.ToString() + dateTime.Month + dateTime.Day.ToString();
            //    }
            }
            else
            {
                if (dateTime.Day < 10 && !(dateTime.Day - 1).Equals(0))
                {
                    this.txtEndDate.Text = dateTime.Year.ToString() + dateTime.Month + "0" + (dateTime.Day - 1).ToString();
                }
                else
                {
                    if ((dateTime.Month - 1).Equals(1) || (dateTime.Month - 1).Equals(3) || (dateTime.Month - 1).Equals(5) || (dateTime.Month - 1).Equals(7) || (dateTime.Month - 1).Equals(8) || (dateTime.Month - 1).Equals(10) || (dateTime.Month - 1).Equals(12) && !(dateTime.Month - 1).Equals(0))
                    {
                        this.txtEndDate.Text = dateTime.Year.ToString() + (dateTime.Month - 1) + "31";
                    }
                    else if ((dateTime.Month - 1).Equals(2))
                    {
                        if ((dateTime.Year % 4 == 0 && dateTime.Year % 100 != 0) || dateTime.Year % 400 == 0)
                        {
                            this.txtEndDate.Text = dateTime.Year.ToString() + (dateTime.Month - 1) + "29";
                        }
                        else
                        {
                            this.txtEndDate.Text = dateTime.Year.ToString() + (dateTime.Month - 1) + "28";
                        }
                    }
                    else if ((dateTime.Month - 1).Equals(0))
                    {
                        this.txtEndDate.Text = (dateTime.Year - 1).ToString() + "12" + "31";
                    }
                }
            //}
            //else
            //{
            //    if (dateTime.Day < 10 && !(dateTime.Day - 1).Equals(0))
            //    {
            //        this.txtEndDate.Text = dateTime.Year.ToString() + dateTime.Month + "0" + (dateTime.Day - 1).ToString();
            //    }
            //    else
            //    {
            //        if ((dateTime.Month - 1).Equals(1) || (dateTime.Month - 1).Equals(3) || (dateTime.Month - 1).Equals(5) || (dateTime.Month - 1).Equals(7) || (dateTime.Month - 1).Equals(8) || (dateTime.Month - 1).Equals(10) || (dateTime.Month - 1).Equals(12) && !(dateTime.Month - 1).Equals(0))
            //        {
            //            this.txtEndDate.Text = dateTime.Year.ToString() + (dateTime.Month - 1) + "31";
            //        }
            //        else if ((dateTime.Month - 1).Equals(2))
            //        {
            //            if ((dateTime.Year % 4 == 0 && dateTime.Year % 100 != 0) || dateTime.Year % 400 == 0)
            //            {
            //                this.txtEndDate.Text = dateTime.Year.ToString() + (dateTime.Month - 1) + "29";
            //            }
            //            else
            //            {
            //                this.txtEndDate.Text = dateTime.Year.ToString() + (dateTime.Month - 1) + "28";
            //            }
            //        }
            //        else if ((dateTime.Month - 1).Equals(0))
            //        {
            //            this.txtEndDate.Text = (dateTime.Year - 1).ToString() + "12" + "31";
            //        }
            //    }
            }
            //}
            this.btnOutStockLtd_Click_1(sender, e);
            LoadingHelper.CloseForm();
        }
        private void btnOutStockLtd_Click_1(object sender, EventArgs e)
SunnyUI.Demo/Controls/RealTimeFinancialShortNews.cs
@@ -37,7 +37,7 @@
                uiPanel1.Controls.Add(browser);
                browser.Dock = DockStyle.Fill;
                Control.CheckForIllegalCrossThreadCalls = false;
            }
            catch (Exception e)
            {
@@ -48,8 +48,7 @@
        public RealTimeFinancialShortNews()
        {
            InitializeComponent();
            InitBrowser("www.baidu.com");
            //InitBrowser("www.baidu.com");
            //InitBrowser("http://101.133.134.71:9001/Pages/index.html#/newList");
        }
@@ -58,6 +57,7 @@
        private void RealTimeFinancialShortNews_Load(object sender, EventArgs e)
        {
            LoadingHelper.CloseForm();
            //this.webBrowser1.Navigate(@"http://101.133.134.71:9001/Pages/index.html#/newList");
        }
SunnyUI.Demo/Controls/SemiconductorIndustryIndex.Designer.cs
@@ -28,11 +28,11 @@
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = 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();
@@ -46,52 +46,52 @@
            // 
            // dgViewIndustryIndex
            // 
            dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
            this.dgViewIndustryIndex.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
            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;
            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
            dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            dataGridViewCellStyle12.ForeColor = System.Drawing.Color.White;
            dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
            dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dgViewIndustryIndex.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
            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;
            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle13.BackColor = System.Drawing.Color.White;
            dataGridViewCellStyle13.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            dataGridViewCellStyle13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
            dataGridViewCellStyle13.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
            dataGridViewCellStyle13.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
            dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.dgViewIndustryIndex.DefaultCellStyle = dataGridViewCellStyle13;
            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";
            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
            dataGridViewCellStyle14.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            dataGridViewCellStyle14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
            dataGridViewCellStyle14.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
            dataGridViewCellStyle14.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
            dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dgViewIndustryIndex.RowHeadersDefaultCellStyle = dataGridViewCellStyle14;
            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;
            dataGridViewCellStyle15.BackColor = System.Drawing.Color.White;
            dataGridViewCellStyle15.Font = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            dataGridViewCellStyle15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
            dataGridViewCellStyle15.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
            dataGridViewCellStyle15.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
            dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dgViewIndustryIndex.RowsDefaultCellStyle = dataGridViewCellStyle15;
            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;
SunnyUI.Demo/Controls/SemiconductorIndustryIndex.cs
@@ -6,6 +6,7 @@
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using ZTIC.BLL;
@@ -43,6 +44,7 @@
        private void SemiconductorIndustryIndex_Load(object sender, EventArgs e)
        {
            ht.Add("ts_code", "股票代码");
            ht.Add("trade_date", "交易日期");
            ht.Add("ts_name", "指标名称");
@@ -56,9 +58,9 @@
            ht.Add("vol", "成交量(手)");
            ht.Add("amount", "成交额(千元)");
            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();
                }
@@ -98,6 +100,7 @@
                }
            }
            btnIndustryIndex_Click_1(sender, e);
            LoadingHelper.CloseForm();
        }
        private void uiButton1_Click(object sender, EventArgs e)
SunnyUI.Demo/Controls/SemiconductorInventoryData.Designer.cs
@@ -40,6 +40,7 @@
            this.ShowTitle = true;
            this.Symbol = 362747;
            this.Text = "半导体库存数据";
            this.Load += new System.EventHandler(this.SemiconductorInventoryData_Load);
            this.ResumeLayout(false);
        }
SunnyUI.Demo/Controls/SemiconductorInventoryData.cs
@@ -16,5 +16,10 @@
        {
            InitializeComponent();
        }
        private void SemiconductorInventoryData_Load(object sender, EventArgs e)
        {
            LoadingHelper.CloseForm();
        }
    }
}
SunnyUI.Demo/Controls/SemiconductorPriceData.Designer.cs
@@ -40,6 +40,7 @@
            this.ShowTitle = true;
            this.Symbol = 362747;
            this.Text = "半导体价格数据";
            this.Load += new System.EventHandler(this.SemiconductorPriceData_Load);
            this.ResumeLayout(false);
        }
SunnyUI.Demo/Controls/SemiconductorPriceData.cs
@@ -16,5 +16,10 @@
        {
            InitializeComponent();
        }
        private void SemiconductorPriceData_Load(object sender, EventArgs e)
        {
            LoadingHelper.CloseForm();
        }
    }
}
SunnyUI.Demo/Controls/SemiconductorProductionData.Designer.cs
@@ -28,22 +28,119 @@
        /// </summary>
        private void InitializeComponent()
        {
            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.uiDataGridView1 = new Sunny.UI.UIDataGridView();
            this.Chinasproduction = new Sunny.UI.UIRadioButton();
            this.Globalproduction = new Sunny.UI.UIRadioButton();
            ((System.ComponentModel.ISupportInitialize)(this.uiDataGridView1)).BeginInit();
            this.SuspendLayout();
            //
            // uiDataGridView1
            //
            dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
            this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6;
            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;
            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("微软雅黑", 12F, 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.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
            this.uiDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle8.BackColor = System.Drawing.Color.White;
            dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 12F, 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.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle8;
            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";
            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("微软雅黑", 12F, 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.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle9;
            dataGridViewCellStyle10.BackColor = System.Drawing.Color.White;
            dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 12F, 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.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle10;
            this.uiDataGridView1.RowTemplate.Height = 23;
            this.uiDataGridView1.SelectedIndex = -1;
            this.uiDataGridView1.ShowGridLine = true;
            this.uiDataGridView1.Size = new System.Drawing.Size(834, 417);
            this.uiDataGridView1.TabIndex = 9;
            //
            // Chinasproduction
            //
            this.Chinasproduction.Cursor = System.Windows.Forms.Cursors.Hand;
            this.Chinasproduction.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.Chinasproduction.Location = new System.Drawing.Point(188, 48);
            this.Chinasproduction.MinimumSize = new System.Drawing.Size(1, 1);
            this.Chinasproduction.Name = "Chinasproduction";
            this.Chinasproduction.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
            this.Chinasproduction.Size = new System.Drawing.Size(150, 29);
            this.Chinasproduction.TabIndex = 6;
            this.Chinasproduction.Text = "中国生产额";
            this.Chinasproduction.CheckedChanged += new System.EventHandler(this.Chinasproduction_CheckedChanged);
            //
            // Globalproduction
            //
            this.Globalproduction.Checked = true;
            this.Globalproduction.Cursor = System.Windows.Forms.Cursors.Hand;
            this.Globalproduction.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.Globalproduction.Location = new System.Drawing.Point(18, 48);
            this.Globalproduction.MinimumSize = new System.Drawing.Size(1, 1);
            this.Globalproduction.Name = "Globalproduction";
            this.Globalproduction.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
            this.Globalproduction.Size = new System.Drawing.Size(150, 29);
            this.Globalproduction.TabIndex = 5;
            this.Globalproduction.Text = "全球生产额";
            this.Globalproduction.CheckedChanged += new System.EventHandler(this.Globalproduction_CheckedChanged);
            // 
            // SemiconductorProductionData
            // 
            this.AllowShowTitle = true;
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
            this.ClientSize = new System.Drawing.Size(800, 450);
            this.ClientSize = new System.Drawing.Size(879, 536);
            this.Controls.Add(this.uiDataGridView1);
            this.Controls.Add(this.Chinasproduction);
            this.Controls.Add(this.Globalproduction);
            this.Name = "SemiconductorProductionData";
            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.SemiconductorProductionData_Load);
            ((System.ComponentModel.ISupportInitialize)(this.uiDataGridView1)).EndInit();
            this.ResumeLayout(false);
        }
        #endregion
        private UIDataGridView uiDataGridView1;
        private UIRadioButton Chinasproduction;
        private UIRadioButton Globalproduction;
    }
}
SunnyUI.Demo/Controls/SemiconductorProductionData.cs
@@ -1,9 +1,15 @@
using System;
using CommonHelper;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
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;
@@ -12,9 +18,149 @@
{
    public partial class SemiconductorProductionData : UIPage
    {
        private Hashtable ht = new Hashtable();
        public SemiconductorProductionData()
        {
            InitializeComponent();
        }
        public object GetChinaStockList(string fieldValue)
        {
            ChinaStockListPara chinaStockListPara = new ChinaStockListPara();
            List<colCondition> colCondition = new List<colCondition>();
            colCondition colCondition2 = new colCondition();
            colCondition2.fieldValue = fieldValue;
            colCondition.Add(colCondition2);
            dateRange dateRange = new dateRange();
            chinaStockListPara.colCondition = colCondition;
            chinaStockListPara.dateRange = dateRange;
            string Content = JsonHelper.ToJson(chinaStockListPara);
            string GetSarchUrl = "http://1.117.218.88:8090/api/TableProductionSalesApp/SearchPages";
            string Result = SendRequest(GetSarchUrl, Content, Encoding.UTF8);
            return (JObject)JsonConvert.DeserializeObject(Result);
        }
        private class colCondition
        {
            public string fieldName { get { return "name"; } }
            public int conditionalType { get { return 1; } }
            public string fieldValue { get; set; }
        }
        private class dateRange
        {
            public string startTime { get { return "2000-01-01T00:00:00.000Z"; } }
            public string endTime { get { return "2022-11-04T06:46:16.092Z"; } }
        }
        private class ChinaStockListPara
        {
            public int pageIndex { get { return 1; } }
            public int pageSize { get { return 15; } }
            public List<colCondition> colCondition { set; get; }
            public dateRange dateRange { set; get; }
        }
        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 SemiconductorProductionData_Load(object sender, EventArgs e)
        {
            ht.Add("name", "指标名称");
            ht.Add("frequency", "频率");
            ht.Add("unit", "单位");
            ht.Add("source", "来源");
            ht.Add("country", "国家");
            ht.Add("updateTime", "跟新时间");
            var items = (JObject)GetChinaStockList("半导体材料:出货量");
            this.uiDataGridView1.DataSource = items["data"]["items"];
            GetDgvColumName();
            LoadingHelper.CloseForm();
        }
        private void GetDgvColumName()
        {
            for (int i = 0; i < uiDataGridView1.Columns.Count; i++)
            {
                string colName = uiDataGridView1.Columns[i].Name;
                if (colName == "id")
                {
                    uiDataGridView1.Columns[i].Visible = false;
                }
                uiDataGridView1.Columns[i].HeaderText = GetDgvColumName(colName);
            }
        }
        /// <summary>
        /// è¡¨æ ¼æ ‡é¢˜é‡å‘½å
        /// </summary>
        /// <param name="ColName"></param>
        /// <returns></returns>
        private string GetDgvColumName(string ColName)
        {
            if (ht.Contains(ColName)) return ht[ColName].ToString();
            else return ColName;
        }
        private void Chinasproduction_CheckedChanged(object sender, EventArgs e)
        {
            if (this.Chinasproduction.Checked)
            {
                JObject items = (JObject)GetChinaStockList("产量:集成电路");
                this.uiDataGridView1.DataSource = items["data"]["items"];
                GetDgvColumName();
            }
            else
            {
                JObject items = (JObject)GetChinaStockList("半导体材料:出货量");
                this.uiDataGridView1.DataSource = items["data"]["items"];
                GetDgvColumName();
            }
        }
        private void Globalproduction_CheckedChanged(object sender, EventArgs e)
        {
            if (this.Chinasproduction.Checked)
            {
                JObject items = (JObject)GetChinaStockList("产量:集成电路");
                this.uiDataGridView1.DataSource = items["data"]["items"];
                GetDgvColumName();
            }
            else
            {
                JObject items = (JObject)GetChinaStockList("半导体材料:出货量");
                this.uiDataGridView1.DataSource = items["data"]["items"];
                GetDgvColumName();
            }
        }
    }
}
SunnyUI.Demo/Controls/SemiconductorSalesData.Designer.cs
@@ -28,11 +28,11 @@
        /// </summary>
        private void InitializeComponent()
        {
            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();
            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();
            this.Globalsales = new Sunny.UI.UIRadioButton();
            this.SalesinChina = new Sunny.UI.UIRadioButton();
            this.GlobalSemiconductorMaterials = new Sunny.UI.UIRadioButton();
@@ -96,50 +96,50 @@
            // 
            // uiDataGridView1
            // 
            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
            this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
            dataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
            this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle21;
            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;
            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;
            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;
            this.uiDataGridView1.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.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle3;
            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;
            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";
            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;
            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;
            this.uiDataGridView1.RowTemplate.Height = 23;
            this.uiDataGridView1.SelectedIndex = -1;
            this.uiDataGridView1.ShowGridLine = true;
SunnyUI.Demo/Controls/SemiconductorSalesData.cs
@@ -22,6 +22,7 @@
        public SemiconductorSalesData()
        {
            InitializeComponent();
        }
        /// <summary>
@@ -49,6 +50,7 @@
        }
        private void SemiconductorSalesData_Load(object sender, EventArgs e)
        {
            ht.Add("name", "指标名称");
            ht.Add("frequency", "频率");
            ht.Add("unit", "单位");
@@ -58,6 +60,7 @@
            var items = (JObject)GetChinaStockList("半导体:销售额");
            this.uiDataGridView1.DataSource = items["data"]["items"];
            GetDgvColumName();
            LoadingHelper.CloseForm();
        }
        public object GetChinaStockList(string fieldValue)
SunnyUI.Demo/FMain.Designer.cs
@@ -60,7 +60,7 @@
            this.Aside.ShowOneNode = true;
            this.Aside.ShowSecondBackColor = true;
            this.Aside.ShowTips = true;
            this.Aside.Size = new System.Drawing.Size(313, 573);
            this.Aside.Size = new System.Drawing.Size(260, 573);
            this.Aside.Style = Sunny.UI.UIStyle.Custom;
            // 
            // Header
@@ -136,10 +136,13 @@
            // 
            // pictureBox1
            // 
            this.pictureBox1.Image = global::Sunny.UI.Demo.Properties.Resources.RenSoftlogoblue网址版本1;
            this.pictureBox1.Location = new System.Drawing.Point(7, 46);
            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.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(357, 79);
            this.pictureBox1.Size = new System.Drawing.Size(466, 79);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
            this.pictureBox1.TabIndex = 4;
            this.pictureBox1.TabStop = false;
            // 
@@ -158,10 +161,8 @@
            this.ShowDragStretch = true;
            this.ShowRadius = false;
            this.ShowShadow = true;
            this.Text = "仁数集[半导体版]--全面实时专业的垂直数据终端";
            this.TitleFont = new System.Drawing.Font("微软雅黑", 9.6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.TransparencyKey = System.Drawing.Color.Black;
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Selecting += new Sunny.UI.UIMainFrame.OnSelecting(this.FMain_Selecting);
SunnyUI.Demo/FMain.cs
@@ -207,10 +207,7 @@
        {
            if (page != null)
            {
                if (!page.Text.Contains("实时财经新闻"))
                {
                }
                LoadingHelper.ShowLoadingScreen();
                Console.WriteLine(page.Text);
            }
        }
SunnyUI.Demo/Properties/Resources.Designer.cs
@@ -689,5 +689,15 @@
                return ((System.Drawing.Bitmap)(obj));
            }
        }
        /// <summary>
        ///   æŸ¥æ‰¾ System.Drawing.Bitmap ç±»åž‹çš„æœ¬åœ°åŒ–资源。
        /// </summary>
        internal static System.Drawing.Bitmap ä»æ•°é›†V2 {
            get {
                object obj = ResourceManager.GetObject("仁数集V2", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }
    }
}
SunnyUI.Demo/Properties/Resources.resx
@@ -133,8 +133,8 @@
  <data name="relationship0" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\relationship0.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="relationship" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\relationship.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  <data name="milan" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\milan.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="benfica" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\benfica.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@@ -202,17 +202,20 @@
  <data name="inter" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\inter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="AHM" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\AHM.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="SunnyUI" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\SunnyUI.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="HAM" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\HAM.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  <data name="仁数集V2" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\仁数集V2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="Home_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\Home_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="save0" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\save0.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  <data name="lazio" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\lazio.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="HMF1" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\HMF1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@@ -241,11 +244,14 @@
  <data name="heerenveen" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\heerenveen.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="milan" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\milan.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  <data name="ajax" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\ajax.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="psv" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\psv.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="RenSoftlogoblue网址版本1" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\RenSoftlogoblue网址版本1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="zaragoza" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\zaragoza.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@@ -274,14 +280,14 @@
  <data name="_4" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="AHM" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\AHM.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  <data name="save0" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\save0.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="SunnyLogin" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\SunnyLogin.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="ajax" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\ajax.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  <data name="HAM" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\HAM.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="deportivo" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\deportivo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@@ -289,8 +295,8 @@
  <data name="real_madrid" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\real_madrid.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="lazio" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\lazio.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  <data name="relationship" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\relationship.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="_3" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\3.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@@ -303,8 +309,5 @@
  </data>
  <data name="AM1" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\AM1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
  <data name="RenSoftlogoblue网址版本1" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>..\Resources\RenSoftlogoblue网址版本1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>
</root>
SunnyUI.Demo/RenDataMarket.Demo.csproj
@@ -249,6 +249,12 @@
    <Compile Include="Controls\FundamentalsOfForeignSemiconductorCompanies.Designer.cs">
      <DependentUpon>FundamentalsOfForeignSemiconductorCompanies.cs</DependentUpon>
    </Compile>
    <Compile Include="Controls\LoaderForm.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Controls\LoaderForm.Designer.cs">
      <DependentUpon>LoaderForm.cs</DependentUpon>
    </Compile>
    <Compile Include="Controls\MajorSemiconductorCompaniesInTheWorld.cs">
      <SubType>Form</SubType>
    </Compile>
@@ -635,6 +641,9 @@
    <EmbeddedResource Include="Controls\FundamentalsOfForeignSemiconductorCompanies.resx">
      <DependentUpon>FundamentalsOfForeignSemiconductorCompanies.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Controls\LoaderForm.resx">
      <DependentUpon>LoaderForm.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Controls\MajorSemiconductorCompaniesInTheWorld.resx">
      <DependentUpon>MajorSemiconductorCompaniesInTheWorld.cs</DependentUpon>
    </EmbeddedResource>
@@ -974,6 +983,7 @@
    <None Include="Resources\Home_32x32.png" />
    <Content Include="Resources\RenSoftlogoblue网址版本.png" />
    <None Include="Resources\RenSoftlogoblue网址版本1.png" />
    <None Include="Resources\仁数集V2.png" />
    <Content Include="SunnyUI.ico" />
  </ItemGroup>
  <ItemGroup>
SunnyUI.Demo/Resources/ÈÊÊý¼¯V2.png