From 1fafec0296e09e5be5adf686d592d8423c2f05fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=AF=20=E7=8E=8B?= <648428741@qq.com> Date: Thu, 22 Apr 2021 14:18:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vs/WinformGeneralDeveloperFrame/v16/.suo | Bin 387072 -> 468992 bytes .../Entity/stockInfo.cs | 4 +- WinformGeneralDeveloperFrame/Form/Frmstock.cs | 46 +- .../Form/Frmstock.designer.cs | 2373 +++++++++-------- WinformGeneralDeveloperFrame/Test.cs | 781 +----- 5 files changed, 1397 insertions(+), 1807 deletions(-) diff --git a/.vs/WinformGeneralDeveloperFrame/v16/.suo b/.vs/WinformGeneralDeveloperFrame/v16/.suo index 408f865ce530471e03258c44b66389de63a252f0..40d256463ab0983bccb5e1d6b3f63189f6c977b2 100644 GIT binary patch delta 26439 zcmeHw3qVy>y8l^w?TvtlfCz{P2SPOksLEq2iVG| zri5hp$Q%S?o0;JwHFM0&u`)As9P2jbm{X0@boKt$-sc<+irPHxotgi?V?Xw5?e+Lx z>-)aF*Uoan*K#7DINa0OWHL#B{_`-I%q0)`wynp}lfW8a3$PVfN1iKK&mERbRw_+% zH${EdzJKqJ*a2LLb5RSWA?hPMTzZMC-%CZ(3Rx}Wg{|hI;@JTVMNB4FmC3#jhhXo& zZ{EB)2-^vO1qcOvfiD3sU?xxi+(5Z!ux$%q_ht^Z4+4ACakB5Yx3Sj|=mm(Yt*{k$ zY{E7e=l~P}k-#fJ0I(Bq14Q`;uggp0_FgnfxbW{@DdOOE}Z#uTKfjU6c-3HrFaDEZCDL@8L0=xyN7A4a2 zIc_p7#6cl23^=LoQ-b_gVs8>K9f$|~fCWGaSAS6QT5WC@a4&9jcjSiXiTHV=3Nbnx zU-XmsGe`}VeHYw`8y4JU=LYs6HhTX@V!Ia@0XXs}49Cs!N3_-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kxoUR%_m7c /// 保存 @@ -86,6 +116,12 @@ namespace MES.Form /// public override bool CheckInput() { + if(string.IsNullOrEmpty(txtcode.EditValue.ToString())) + { + "代码不能为空".ShowWarning(); + txtcode.Focus(); + return false; + } if(string.IsNullOrEmpty(txtname.EditValue.ToString())) { "名称不能为空".ShowWarning(); @@ -319,13 +355,5 @@ namespace MES.Form } } } - - private void timer1_Tick(object sender, EventArgs e) - { - using (var con = new MESDB()) - { - grdList.DataSource = con.stockInfo.ToList().OrderByDescending(p=>p.turnoverPrice); - } - } - } + } } \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Form/Frmstock.designer.cs b/WinformGeneralDeveloperFrame/Form/Frmstock.designer.cs index 755081a..c794ba4 100644 --- a/WinformGeneralDeveloperFrame/Form/Frmstock.designer.cs +++ b/WinformGeneralDeveloperFrame/Form/Frmstock.designer.cs @@ -33,568 +33,276 @@ namespace MES.Form /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn25 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn26 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn27 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn28 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn29 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn30 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn31 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn32 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn25 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn26 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn27 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn28 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn29 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn30 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn31 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn32 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn33 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.tabDataList = new DevExpress.XtraTab.XtraTabPage(); + this.tabDataDetail = new DevExpress.XtraTab.XtraTabPage(); this.grdList = new DevExpress.XtraGrid.GridControl(); this.grdListView = new DevExpress.XtraGrid.Views.Grid.GridView(); - this.tabDataDetail = new DevExpress.XtraTab.XtraTabPage(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); - this.txtcode = new DevExpress.XtraEditors.TextEdit(); - this.txtname = new DevExpress.XtraEditors.TextEdit(); - this.txtstartPrice = new DevExpress.XtraEditors.TextEdit(); - this.txtolePrice = new DevExpress.XtraEditors.TextEdit(); - this.txtnowPrice = new DevExpress.XtraEditors.TextEdit(); - this.txtmaxPrice = new DevExpress.XtraEditors.TextEdit(); - this.txtminPrice = new DevExpress.XtraEditors.TextEdit(); - this.txtbidderPrice = new DevExpress.XtraEditors.TextEdit(); - this.txtauctionPrice = new DevExpress.XtraEditors.TextEdit(); - this.txtturnover = new DevExpress.XtraEditors.TextEdit(); - this.txtturnoverPrice = new DevExpress.XtraEditors.TextEdit(); - this.txtbuyOneNum = new DevExpress.XtraEditors.TextEdit(); - this.txtbuyOnePrice = new DevExpress.XtraEditors.TextEdit(); - this.txtbuyTwoNum = new DevExpress.XtraEditors.TextEdit(); - this.txtbuyTwoPrice = new DevExpress.XtraEditors.TextEdit(); - this.txtbuyThreeNum = new DevExpress.XtraEditors.TextEdit(); - this.txtbuyThreePrice = new DevExpress.XtraEditors.TextEdit(); - this.txtbuyFourNum = new DevExpress.XtraEditors.TextEdit(); - this.txtbuyFourPrice = new DevExpress.XtraEditors.TextEdit(); - this.txtbuyFiveNum = new DevExpress.XtraEditors.TextEdit(); - this.txtbuyFivePrice = new DevExpress.XtraEditors.TextEdit(); - this.txtsellOneNum = new DevExpress.XtraEditors.TextEdit(); - this.txtsellOnePrice = new DevExpress.XtraEditors.TextEdit(); - this.txtsellTwoNum = new DevExpress.XtraEditors.TextEdit(); - this.txtsellTwoPrice = new DevExpress.XtraEditors.TextEdit(); - this.txtsellThreeNum = new DevExpress.XtraEditors.TextEdit(); - this.txtsellThreePrice = new DevExpress.XtraEditors.TextEdit(); - this.txtsellFourNum = new DevExpress.XtraEditors.TextEdit(); - this.txtsellFourPrice = new DevExpress.XtraEditors.TextEdit(); - this.txtsellFiveNum = new DevExpress.XtraEditors.TextEdit(); - this.txtsellFivePrice = new DevExpress.XtraEditors.TextEdit(); - this.txttimeStr = new DevExpress.XtraEditors.DateEdit(); - this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); - this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem18 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem20 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem22 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem26 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem28 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem30 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem32 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem21 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem23 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem25 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem27 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem29 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem31 = new DevExpress.XtraLayout.LayoutControlItem(); - this.timer1 = new System.Windows.Forms.Timer(this.components); + this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); + + + ////////////////////// + this.txtcode=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtname=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtstartPrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtolePrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtnowPrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtmaxPrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtminPrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtbidderPrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtauctionPrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtturnover=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtturnoverPrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtbuyOneNum=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtbuyOnePrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtbuyTwoNum=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtbuyTwoPrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtbuyThreeNum=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtbuyThreePrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtbuyFourNum=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem18 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtbuyFourPrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtbuyFiveNum=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem20 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtbuyFivePrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem21 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtsellOneNum=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem22 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtsellOnePrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem23 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtsellTwoNum=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtsellTwoPrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem25 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtsellThreeNum=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem26 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtsellThreePrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem27 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtsellFourNum=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem28 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtsellFourPrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem29 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtsellFiveNum=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem30 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtsellFivePrice=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem31 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txttimeStr=new DevExpress.XtraEditors.DateEdit(); + this.layoutControlItem32 = new DevExpress.XtraLayout.LayoutControlItem(); + ////////////////////// + this.txtid=new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem33 = new DevExpress.XtraLayout.LayoutControlItem(); + + + ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); + + this.layoutControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtcode.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtname.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtstartPrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtolePrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtnowPrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtmaxPrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtminPrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbidderPrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtauctionPrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtturnover.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtturnoverPrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyOneNum.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyOnePrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyTwoNum.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyTwoPrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyThreeNum.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyThreePrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyFourNum.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyFourPrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyFiveNum.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyFivePrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellOneNum.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellOnePrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellTwoNum.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellTwoPrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellThreeNum.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellThreePrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellFourNum.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellFourPrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellFiveNum.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellFivePrice.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem31)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txttimeStr.Properties.CalendarTimeProperties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txttimeStr.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).BeginInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtid.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem33)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.tabDataList.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grdListView)).BeginInit(); this.tabDataDetail.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); - this.panelControl2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); - this.layoutControl1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.txtcode.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtname.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtstartPrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtolePrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtnowPrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtmaxPrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtminPrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbidderPrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtauctionPrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtturnover.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtturnoverPrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyOneNum.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyOnePrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyTwoNum.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyTwoPrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyThreeNum.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyThreePrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyFourNum.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyFourPrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyFiveNum.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyFivePrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellOneNum.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellOnePrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellTwoNum.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellTwoPrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellThreeNum.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellThreePrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellFourNum.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellFourPrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellFiveNum.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellFivePrice.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txttimeStr.Properties.CalendarTimeProperties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txttimeStr.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem31)).BeginInit(); + this.SuspendLayout(); - // - // gridColumn1 - // - this.gridColumn1.Caption = "代码"; - this.gridColumn1.FieldName = "code"; - this.gridColumn1.Name = "gridColumn1"; - this.gridColumn1.Visible = true; - this.gridColumn1.VisibleIndex = 0; - this.gridColumn1.Width = 201; - // - // gridColumn2 - // - this.gridColumn2.Caption = "名称"; - this.gridColumn2.FieldName = "name"; - this.gridColumn2.Name = "gridColumn2"; - this.gridColumn2.Visible = true; - this.gridColumn2.VisibleIndex = 1; - this.gridColumn2.Width = 201; - // - // gridColumn3 - // - this.gridColumn3.Caption = "今日开盘价"; - this.gridColumn3.FieldName = "startPrice"; - this.gridColumn3.Name = "gridColumn3"; - this.gridColumn3.Visible = true; - this.gridColumn3.VisibleIndex = 2; - this.gridColumn3.Width = 201; - // - // gridColumn4 - // - this.gridColumn4.Caption = "昨日收盘价"; - this.gridColumn4.FieldName = "olePrice"; - this.gridColumn4.Name = "gridColumn4"; - this.gridColumn4.Visible = true; - this.gridColumn4.VisibleIndex = 3; - this.gridColumn4.Width = 201; - // - // gridColumn5 - // - this.gridColumn5.Caption = "当前价格"; - this.gridColumn5.FieldName = "nowPrice"; - this.gridColumn5.Name = "gridColumn5"; - this.gridColumn5.Visible = true; - this.gridColumn5.VisibleIndex = 4; - this.gridColumn5.Width = 201; - // - // gridColumn6 - // - this.gridColumn6.Caption = "今日最高价"; - this.gridColumn6.FieldName = "maxPrice"; - this.gridColumn6.Name = "gridColumn6"; - this.gridColumn6.Visible = true; - this.gridColumn6.VisibleIndex = 5; - this.gridColumn6.Width = 201; - // - // gridColumn7 - // - this.gridColumn7.Caption = "今日最低价"; - this.gridColumn7.FieldName = "minPrice"; - this.gridColumn7.Name = "gridColumn7"; - this.gridColumn7.Visible = true; - this.gridColumn7.VisibleIndex = 6; - this.gridColumn7.Width = 201; - // - // gridColumn8 - // - this.gridColumn8.Caption = "竞买价"; - this.gridColumn8.FieldName = "bidderPrice"; - this.gridColumn8.Name = "gridColumn8"; - this.gridColumn8.Visible = true; - this.gridColumn8.VisibleIndex = 7; - this.gridColumn8.Width = 201; - // - // gridColumn9 - // - this.gridColumn9.Caption = "竞卖价"; - this.gridColumn9.FieldName = "auctionPrice"; - this.gridColumn9.Name = "gridColumn9"; - this.gridColumn9.Visible = true; - this.gridColumn9.VisibleIndex = 8; - this.gridColumn9.Width = 201; - // - // gridColumn10 - // - this.gridColumn10.Caption = "成交股票数"; - this.gridColumn10.FieldName = "turnover"; - this.gridColumn10.Name = "gridColumn10"; - this.gridColumn10.Visible = true; - this.gridColumn10.VisibleIndex = 9; - this.gridColumn10.Width = 201; - // - // gridColumn11 - // - this.gridColumn11.Caption = "成交金额"; - this.gridColumn11.FieldName = "turnoverPrice"; - this.gridColumn11.Name = "gridColumn11"; - this.gridColumn11.Visible = true; - this.gridColumn11.VisibleIndex = 10; - this.gridColumn11.Width = 201; - // - // gridColumn12 - // - this.gridColumn12.Caption = "买1数量"; - this.gridColumn12.FieldName = "buyOneNum"; - this.gridColumn12.Name = "gridColumn12"; - this.gridColumn12.Visible = true; - this.gridColumn12.VisibleIndex = 11; - this.gridColumn12.Width = 201; - // - // gridColumn13 - // - this.gridColumn13.Caption = "买1价格"; - this.gridColumn13.FieldName = "buyOnePrice"; - this.gridColumn13.Name = "gridColumn13"; - this.gridColumn13.Visible = true; - this.gridColumn13.VisibleIndex = 12; - this.gridColumn13.Width = 201; - // - // gridColumn14 - // - this.gridColumn14.Caption = "买2数量"; - this.gridColumn14.FieldName = "buyTwoNum"; - this.gridColumn14.Name = "gridColumn14"; - this.gridColumn14.Visible = true; - this.gridColumn14.VisibleIndex = 13; - this.gridColumn14.Width = 201; - // - // gridColumn15 - // - this.gridColumn15.Caption = "买2价格"; - this.gridColumn15.FieldName = "buyTwoPrice"; - this.gridColumn15.Name = "gridColumn15"; - this.gridColumn15.Visible = true; - this.gridColumn15.VisibleIndex = 14; - this.gridColumn15.Width = 201; - // - // gridColumn16 - // - this.gridColumn16.Caption = "买3数量"; - this.gridColumn16.FieldName = "buyThreeNum"; - this.gridColumn16.Name = "gridColumn16"; - this.gridColumn16.Visible = true; - this.gridColumn16.VisibleIndex = 15; - this.gridColumn16.Width = 201; - // - // gridColumn17 - // - this.gridColumn17.Caption = "买3价格"; - this.gridColumn17.FieldName = "buyThreePrice"; - this.gridColumn17.Name = "gridColumn17"; - this.gridColumn17.Visible = true; - this.gridColumn17.VisibleIndex = 16; - this.gridColumn17.Width = 201; - // - // gridColumn18 - // - this.gridColumn18.Caption = "买4数量"; - this.gridColumn18.FieldName = "buyFourNum"; - this.gridColumn18.Name = "gridColumn18"; - this.gridColumn18.Visible = true; - this.gridColumn18.VisibleIndex = 17; - this.gridColumn18.Width = 201; - // - // gridColumn19 - // - this.gridColumn19.Caption = "买4价格"; - this.gridColumn19.FieldName = "buyFourPrice"; - this.gridColumn19.Name = "gridColumn19"; - this.gridColumn19.Visible = true; - this.gridColumn19.VisibleIndex = 18; - this.gridColumn19.Width = 201; - // - // gridColumn20 - // - this.gridColumn20.Caption = "买5数量"; - this.gridColumn20.FieldName = "buyFiveNum"; - this.gridColumn20.Name = "gridColumn20"; - this.gridColumn20.Visible = true; - this.gridColumn20.VisibleIndex = 19; - this.gridColumn20.Width = 201; - // - // gridColumn21 - // - this.gridColumn21.Caption = "买5价格"; - this.gridColumn21.FieldName = "buyFivePrice"; - this.gridColumn21.Name = "gridColumn21"; - this.gridColumn21.Visible = true; - this.gridColumn21.VisibleIndex = 20; - this.gridColumn21.Width = 201; - // - // gridColumn22 - // - this.gridColumn22.Caption = "卖1数量"; - this.gridColumn22.FieldName = "sellOneNum"; - this.gridColumn22.Name = "gridColumn22"; - this.gridColumn22.Visible = true; - this.gridColumn22.VisibleIndex = 21; - this.gridColumn22.Width = 201; - // - // gridColumn23 - // - this.gridColumn23.Caption = "卖1价格"; - this.gridColumn23.FieldName = "sellOnePrice"; - this.gridColumn23.Name = "gridColumn23"; - this.gridColumn23.Visible = true; - this.gridColumn23.VisibleIndex = 22; - this.gridColumn23.Width = 201; - // - // gridColumn24 - // - this.gridColumn24.Caption = "卖2数量"; - this.gridColumn24.FieldName = "sellTwoNum"; - this.gridColumn24.Name = "gridColumn24"; - this.gridColumn24.Visible = true; - this.gridColumn24.VisibleIndex = 23; - this.gridColumn24.Width = 201; - // - // gridColumn25 - // - this.gridColumn25.Caption = "卖2价格"; - this.gridColumn25.FieldName = "sellTwoPrice"; - this.gridColumn25.Name = "gridColumn25"; - this.gridColumn25.Visible = true; - this.gridColumn25.VisibleIndex = 24; - this.gridColumn25.Width = 201; - // - // gridColumn26 - // - this.gridColumn26.Caption = "卖3数量"; - this.gridColumn26.FieldName = "sellThreeNum"; - this.gridColumn26.Name = "gridColumn26"; - this.gridColumn26.Visible = true; - this.gridColumn26.VisibleIndex = 25; - this.gridColumn26.Width = 201; - // - // gridColumn27 - // - this.gridColumn27.Caption = "卖3价格"; - this.gridColumn27.FieldName = "sellThreePrice"; - this.gridColumn27.Name = "gridColumn27"; - this.gridColumn27.Visible = true; - this.gridColumn27.VisibleIndex = 26; - this.gridColumn27.Width = 201; - // - // gridColumn28 - // - this.gridColumn28.Caption = "卖4数量"; - this.gridColumn28.FieldName = "sellFourNum"; - this.gridColumn28.Name = "gridColumn28"; - this.gridColumn28.Visible = true; - this.gridColumn28.VisibleIndex = 27; - this.gridColumn28.Width = 201; - // - // gridColumn29 - // - this.gridColumn29.Caption = "卖4价格"; - this.gridColumn29.FieldName = "sellFourPrice"; - this.gridColumn29.Name = "gridColumn29"; - this.gridColumn29.Visible = true; - this.gridColumn29.VisibleIndex = 28; - this.gridColumn29.Width = 201; - // - // gridColumn30 - // - this.gridColumn30.Caption = "卖5数量"; - this.gridColumn30.FieldName = "sellFiveNum"; - this.gridColumn30.Name = "gridColumn30"; - this.gridColumn30.Visible = true; - this.gridColumn30.VisibleIndex = 29; - this.gridColumn30.Width = 201; - // - // gridColumn31 - // - this.gridColumn31.Caption = "卖5价格"; - this.gridColumn31.FieldName = "sellFivePrice"; - this.gridColumn31.Name = "gridColumn31"; - this.gridColumn31.Visible = true; - this.gridColumn31.VisibleIndex = 30; - this.gridColumn31.Width = 201; - // - // gridColumn32 - // - this.gridColumn32.Caption = "时间"; - this.gridColumn32.DisplayFormat.FormatString = "G"; - this.gridColumn32.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; - this.gridColumn32.FieldName = "timeStr"; - this.gridColumn32.Name = "gridColumn32"; - this.gridColumn32.Visible = true; - this.gridColumn32.VisibleIndex = 31; - this.gridColumn32.Width = 201; - // - // xtraTabControl1 - // - this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.xtraTabControl1.Location = new System.Drawing.Point(0, 34); - this.xtraTabControl1.Name = "xtraTabControl1"; - this.xtraTabControl1.SelectedTabPage = this.tabDataList; - this.xtraTabControl1.Size = new System.Drawing.Size(1300, 766); - this.xtraTabControl1.TabIndex = 1; - this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { - this.tabDataList, - this.tabDataDetail}); - // - // tabDataList - // - this.tabDataList.Controls.Add(this.grdList); - this.tabDataList.Name = "tabDataList"; - this.tabDataList.Size = new System.Drawing.Size(1294, 737); - this.tabDataList.Text = "数据列表"; - // - // grdList - // - this.grdList.Dock = System.Windows.Forms.DockStyle.Fill; - this.grdList.Location = new System.Drawing.Point(0, 0); - this.grdList.MainView = this.grdListView; - this.grdList.Name = "grdList"; - this.grdList.Size = new System.Drawing.Size(1294, 737); - this.grdList.TabIndex = 0; - this.grdList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { - this.grdListView}); - // - // grdListView - // - this.grdListView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { - this.gridColumn1, - this.gridColumn2, - this.gridColumn3, - this.gridColumn4, - this.gridColumn5, - this.gridColumn6, - this.gridColumn7, - this.gridColumn8, - this.gridColumn9, - this.gridColumn10, - this.gridColumn11, - this.gridColumn12, - this.gridColumn13, - this.gridColumn14, - this.gridColumn15, - this.gridColumn16, - this.gridColumn17, - this.gridColumn18, - this.gridColumn19, - this.gridColumn20, - this.gridColumn21, - this.gridColumn22, - this.gridColumn23, - this.gridColumn24, - this.gridColumn25, - this.gridColumn26, - this.gridColumn27, - this.gridColumn28, - this.gridColumn29, - this.gridColumn30, - this.gridColumn31, - this.gridColumn32}); - this.grdListView.GridControl = this.grdList; - this.grdListView.Name = "grdListView"; - this.grdListView.OptionsBehavior.Editable = false; - this.grdListView.OptionsView.ColumnAutoWidth = false; - // - // tabDataDetail - // - this.tabDataDetail.Controls.Add(this.panelControl2); - this.tabDataDetail.Name = "tabDataDetail"; - this.tabDataDetail.Size = new System.Drawing.Size(1294, 737); - this.tabDataDetail.Text = "数据编辑"; - // - // panelControl2 - // - this.panelControl2.Controls.Add(this.layoutControl1); - this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panelControl2.Location = new System.Drawing.Point(0, 0); - this.panelControl2.Name = "panelControl2"; - this.panelControl2.Size = new System.Drawing.Size(1294, 737); - this.panelControl2.TabIndex = 0; - // + // layoutControl1 - // + // + + this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.layoutControl1.Location = new System.Drawing.Point(12, 8); + this.layoutControl1.Name = "layoutControl1"; + this.layoutControl1.Root = this.layoutControlGroup1; + layoutControl1.AutoScroll=true; + this.layoutControl1.Size = new System.Drawing.Size(605, 363); + this.layoutControl1.TabIndex = 6; + this.layoutControl1.Text = "layoutControl1"; + this.layoutControl1.Controls.Add(this.txtcode); this.layoutControl1.Controls.Add(this.txtname); this.layoutControl1.Controls.Add(this.txtstartPrice); @@ -627,646 +335,1020 @@ namespace MES.Form this.layoutControl1.Controls.Add(this.txtsellFiveNum); this.layoutControl1.Controls.Add(this.txtsellFivePrice); this.layoutControl1.Controls.Add(this.txttimeStr); - this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.layoutControl1.Location = new System.Drawing.Point(2, 2); - this.layoutControl1.Name = "layoutControl1"; - this.layoutControl1.Root = this.layoutControlGroup1; - this.layoutControl1.Size = new System.Drawing.Size(1290, 733); - this.layoutControl1.TabIndex = 6; - this.layoutControl1.Text = "layoutControl1"; + this.layoutControl1.Controls.Add(this.txtid); +//TextEdit +//DateEdit +//SimpleButton +//CheckEdit +//MemoEdit +//PictureEdit +//LookUpEdit +//ComboBoxEdit // - // txtcode + // txt${ColumnInfo.Name.Alias.ToCapit()} // - this.txtcode.Location = new System.Drawing.Point(75, 12); + this.txtcode.Location = new System.Drawing.Point(112, 12); this.txtcode.Name = "txtcode"; - this.txtcode.Size = new System.Drawing.Size(567, 20); + this.txtcode.Size = new System.Drawing.Size(481, 20); this.txtcode.StyleController = this.layoutControl1; this.txtcode.TabIndex = 1; // - // txtname - // - this.txtname.Location = new System.Drawing.Point(709, 12); - this.txtname.Name = "txtname"; - this.txtname.Size = new System.Drawing.Size(569, 20); - this.txtname.StyleController = this.layoutControl1; - this.txtname.TabIndex = 2; - // - // txtstartPrice - // - this.txtstartPrice.Location = new System.Drawing.Point(75, 36); - this.txtstartPrice.Name = "txtstartPrice"; - this.txtstartPrice.Size = new System.Drawing.Size(567, 20); - this.txtstartPrice.StyleController = this.layoutControl1; - this.txtstartPrice.TabIndex = 3; - // - // txtolePrice - // - this.txtolePrice.Location = new System.Drawing.Point(709, 36); - this.txtolePrice.Name = "txtolePrice"; - this.txtolePrice.Size = new System.Drawing.Size(250, 20); - this.txtolePrice.StyleController = this.layoutControl1; - this.txtolePrice.TabIndex = 4; - // - // txtnowPrice - // - this.txtnowPrice.Location = new System.Drawing.Point(1026, 36); - this.txtnowPrice.Name = "txtnowPrice"; - this.txtnowPrice.Size = new System.Drawing.Size(252, 20); - this.txtnowPrice.StyleController = this.layoutControl1; - this.txtnowPrice.TabIndex = 5; - // - // txtmaxPrice - // - this.txtmaxPrice.Location = new System.Drawing.Point(75, 60); - this.txtmaxPrice.Name = "txtmaxPrice"; - this.txtmaxPrice.Size = new System.Drawing.Size(568, 20); - this.txtmaxPrice.StyleController = this.layoutControl1; - this.txtmaxPrice.TabIndex = 6; - // - // txtminPrice - // - this.txtminPrice.Location = new System.Drawing.Point(710, 60); - this.txtminPrice.Name = "txtminPrice"; - this.txtminPrice.Size = new System.Drawing.Size(568, 20); - this.txtminPrice.StyleController = this.layoutControl1; - this.txtminPrice.TabIndex = 7; - // - // txtbidderPrice - // - this.txtbidderPrice.Location = new System.Drawing.Point(75, 84); - this.txtbidderPrice.Name = "txtbidderPrice"; - this.txtbidderPrice.Size = new System.Drawing.Size(568, 20); - this.txtbidderPrice.StyleController = this.layoutControl1; - this.txtbidderPrice.TabIndex = 8; - // - // txtauctionPrice - // - this.txtauctionPrice.Location = new System.Drawing.Point(710, 84); - this.txtauctionPrice.Name = "txtauctionPrice"; - this.txtauctionPrice.Size = new System.Drawing.Size(568, 20); - this.txtauctionPrice.StyleController = this.layoutControl1; - this.txtauctionPrice.TabIndex = 9; - // - // txtturnover - // - this.txtturnover.Location = new System.Drawing.Point(75, 108); - this.txtturnover.Name = "txtturnover"; - this.txtturnover.Size = new System.Drawing.Size(568, 20); - this.txtturnover.StyleController = this.layoutControl1; - this.txtturnover.TabIndex = 10; - // - // txtturnoverPrice - // - this.txtturnoverPrice.Location = new System.Drawing.Point(710, 108); - this.txtturnoverPrice.Name = "txtturnoverPrice"; - this.txtturnoverPrice.Size = new System.Drawing.Size(568, 20); - this.txtturnoverPrice.StyleController = this.layoutControl1; - this.txtturnoverPrice.TabIndex = 11; - // - // txtbuyOneNum - // - this.txtbuyOneNum.Location = new System.Drawing.Point(75, 132); - this.txtbuyOneNum.Name = "txtbuyOneNum"; - this.txtbuyOneNum.Size = new System.Drawing.Size(568, 20); - this.txtbuyOneNum.StyleController = this.layoutControl1; - this.txtbuyOneNum.TabIndex = 12; - // - // txtbuyOnePrice - // - this.txtbuyOnePrice.Location = new System.Drawing.Point(710, 132); - this.txtbuyOnePrice.Name = "txtbuyOnePrice"; - this.txtbuyOnePrice.Size = new System.Drawing.Size(568, 20); - this.txtbuyOnePrice.StyleController = this.layoutControl1; - this.txtbuyOnePrice.TabIndex = 13; - // - // txtbuyTwoNum - // - this.txtbuyTwoNum.Location = new System.Drawing.Point(75, 156); - this.txtbuyTwoNum.Name = "txtbuyTwoNum"; - this.txtbuyTwoNum.Size = new System.Drawing.Size(568, 20); - this.txtbuyTwoNum.StyleController = this.layoutControl1; - this.txtbuyTwoNum.TabIndex = 14; - // - // txtbuyTwoPrice - // - this.txtbuyTwoPrice.Location = new System.Drawing.Point(710, 156); - this.txtbuyTwoPrice.Name = "txtbuyTwoPrice"; - this.txtbuyTwoPrice.Size = new System.Drawing.Size(568, 20); - this.txtbuyTwoPrice.StyleController = this.layoutControl1; - this.txtbuyTwoPrice.TabIndex = 15; - // - // txtbuyThreeNum - // - this.txtbuyThreeNum.Location = new System.Drawing.Point(75, 180); - this.txtbuyThreeNum.Name = "txtbuyThreeNum"; - this.txtbuyThreeNum.Size = new System.Drawing.Size(568, 20); - this.txtbuyThreeNum.StyleController = this.layoutControl1; - this.txtbuyThreeNum.TabIndex = 16; - // - // txtbuyThreePrice - // - this.txtbuyThreePrice.Location = new System.Drawing.Point(710, 180); - this.txtbuyThreePrice.Name = "txtbuyThreePrice"; - this.txtbuyThreePrice.Size = new System.Drawing.Size(568, 20); - this.txtbuyThreePrice.StyleController = this.layoutControl1; - this.txtbuyThreePrice.TabIndex = 17; - // - // txtbuyFourNum - // - this.txtbuyFourNum.Location = new System.Drawing.Point(75, 204); - this.txtbuyFourNum.Name = "txtbuyFourNum"; - this.txtbuyFourNum.Size = new System.Drawing.Size(568, 20); - this.txtbuyFourNum.StyleController = this.layoutControl1; - this.txtbuyFourNum.TabIndex = 18; - // - // txtbuyFourPrice - // - this.txtbuyFourPrice.Location = new System.Drawing.Point(710, 204); - this.txtbuyFourPrice.Name = "txtbuyFourPrice"; - this.txtbuyFourPrice.Size = new System.Drawing.Size(568, 20); - this.txtbuyFourPrice.StyleController = this.layoutControl1; - this.txtbuyFourPrice.TabIndex = 19; - // - // txtbuyFiveNum - // - this.txtbuyFiveNum.Location = new System.Drawing.Point(75, 228); - this.txtbuyFiveNum.Name = "txtbuyFiveNum"; - this.txtbuyFiveNum.Size = new System.Drawing.Size(568, 20); - this.txtbuyFiveNum.StyleController = this.layoutControl1; - this.txtbuyFiveNum.TabIndex = 20; - // - // txtbuyFivePrice - // - this.txtbuyFivePrice.Location = new System.Drawing.Point(710, 228); - this.txtbuyFivePrice.Name = "txtbuyFivePrice"; - this.txtbuyFivePrice.Size = new System.Drawing.Size(568, 20); - this.txtbuyFivePrice.StyleController = this.layoutControl1; - this.txtbuyFivePrice.TabIndex = 21; - // - // txtsellOneNum - // - this.txtsellOneNum.Location = new System.Drawing.Point(75, 252); - this.txtsellOneNum.Name = "txtsellOneNum"; - this.txtsellOneNum.Size = new System.Drawing.Size(568, 20); - this.txtsellOneNum.StyleController = this.layoutControl1; - this.txtsellOneNum.TabIndex = 22; - // - // txtsellOnePrice - // - this.txtsellOnePrice.Location = new System.Drawing.Point(710, 252); - this.txtsellOnePrice.Name = "txtsellOnePrice"; - this.txtsellOnePrice.Size = new System.Drawing.Size(568, 20); - this.txtsellOnePrice.StyleController = this.layoutControl1; - this.txtsellOnePrice.TabIndex = 23; - // - // txtsellTwoNum - // - this.txtsellTwoNum.Location = new System.Drawing.Point(75, 276); - this.txtsellTwoNum.Name = "txtsellTwoNum"; - this.txtsellTwoNum.Size = new System.Drawing.Size(568, 20); - this.txtsellTwoNum.StyleController = this.layoutControl1; - this.txtsellTwoNum.TabIndex = 24; - // - // txtsellTwoPrice - // - this.txtsellTwoPrice.Location = new System.Drawing.Point(710, 276); - this.txtsellTwoPrice.Name = "txtsellTwoPrice"; - this.txtsellTwoPrice.Size = new System.Drawing.Size(568, 20); - this.txtsellTwoPrice.StyleController = this.layoutControl1; - this.txtsellTwoPrice.TabIndex = 25; - // - // txtsellThreeNum - // - this.txtsellThreeNum.Location = new System.Drawing.Point(75, 300); - this.txtsellThreeNum.Name = "txtsellThreeNum"; - this.txtsellThreeNum.Size = new System.Drawing.Size(568, 20); - this.txtsellThreeNum.StyleController = this.layoutControl1; - this.txtsellThreeNum.TabIndex = 26; - // - // txtsellThreePrice - // - this.txtsellThreePrice.Location = new System.Drawing.Point(710, 300); - this.txtsellThreePrice.Name = "txtsellThreePrice"; - this.txtsellThreePrice.Size = new System.Drawing.Size(568, 20); - this.txtsellThreePrice.StyleController = this.layoutControl1; - this.txtsellThreePrice.TabIndex = 27; - // - // txtsellFourNum - // - this.txtsellFourNum.Location = new System.Drawing.Point(75, 324); - this.txtsellFourNum.Name = "txtsellFourNum"; - this.txtsellFourNum.Size = new System.Drawing.Size(568, 20); - this.txtsellFourNum.StyleController = this.layoutControl1; - this.txtsellFourNum.TabIndex = 28; - // - // txtsellFourPrice - // - this.txtsellFourPrice.Location = new System.Drawing.Point(710, 324); - this.txtsellFourPrice.Name = "txtsellFourPrice"; - this.txtsellFourPrice.Size = new System.Drawing.Size(568, 20); - this.txtsellFourPrice.StyleController = this.layoutControl1; - this.txtsellFourPrice.TabIndex = 29; - // - // txtsellFiveNum - // - this.txtsellFiveNum.Location = new System.Drawing.Point(75, 348); - this.txtsellFiveNum.Name = "txtsellFiveNum"; - this.txtsellFiveNum.Size = new System.Drawing.Size(568, 20); - this.txtsellFiveNum.StyleController = this.layoutControl1; - this.txtsellFiveNum.TabIndex = 30; - // - // txtsellFivePrice - // - this.txtsellFivePrice.Location = new System.Drawing.Point(710, 348); - this.txtsellFivePrice.Name = "txtsellFivePrice"; - this.txtsellFivePrice.Size = new System.Drawing.Size(568, 20); - this.txtsellFivePrice.StyleController = this.layoutControl1; - this.txtsellFivePrice.TabIndex = 31; - // - // txttimeStr - // - this.txttimeStr.EditValue = null; - this.txttimeStr.ImeMode = System.Windows.Forms.ImeMode.Off; - this.txttimeStr.Location = new System.Drawing.Point(75, 372); - this.txttimeStr.Name = "txttimeStr"; - this.txttimeStr.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { - new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); - this.txttimeStr.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { - new DevExpress.XtraEditors.Controls.EditorButton()}); - this.txttimeStr.Properties.DisplayFormat.FormatString = "G"; - this.txttimeStr.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; - this.txttimeStr.Size = new System.Drawing.Size(1203, 20); - this.txttimeStr.StyleController = this.layoutControl1; - this.txttimeStr.TabIndex = 32; - // - // layoutControlGroup1 - // - this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; - this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; - this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem1, - this.layoutControlItem3, - this.layoutControlItem6, - this.layoutControlItem8, - this.layoutControlItem10, - this.layoutControlItem12, - this.layoutControlItem14, - this.layoutControlItem16, - this.layoutControlItem18, - this.layoutControlItem20, - this.layoutControlItem22, - this.layoutControlItem24, - this.layoutControlItem26, - this.layoutControlItem28, - this.layoutControlItem30, - this.layoutControlItem32, - this.layoutControlItem2, - this.layoutControlItem4, - this.layoutControlItem5, - this.layoutControlItem7, - this.layoutControlItem9, - this.layoutControlItem11, - this.layoutControlItem13, - this.layoutControlItem15, - this.layoutControlItem17, - this.layoutControlItem19, - this.layoutControlItem21, - this.layoutControlItem23, - this.layoutControlItem25, - this.layoutControlItem27, - this.layoutControlItem29, - this.layoutControlItem31}); - this.layoutControlGroup1.Name = "layoutControlGroup1"; - this.layoutControlGroup1.Size = new System.Drawing.Size(1290, 733); - this.layoutControlGroup1.TextVisible = false; - // // layoutControlItem1 // this.layoutControlItem1.Control = this.txtcode; this.layoutControlItem1.CustomizationFormText = "代码"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; - this.layoutControlItem1.Size = new System.Drawing.Size(634, 24); + this.layoutControlItem1.Size = new System.Drawing.Size(585, 24); this.layoutControlItem1.Text = "代码"; - this.layoutControlItem1.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem1.TextSize = new System.Drawing.Size(96, 14); + // - // layoutControlItem3 + // txt${ColumnInfo.Name.Alias.ToCapit()} // - this.layoutControlItem3.Control = this.txtstartPrice; - this.layoutControlItem3.CustomizationFormText = "今日开盘价"; - this.layoutControlItem3.Location = new System.Drawing.Point(0, 24); - this.layoutControlItem3.Name = "layoutControlItem3"; - this.layoutControlItem3.Size = new System.Drawing.Size(634, 24); - this.layoutControlItem3.Text = "今日开盘价"; - this.layoutControlItem3.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem6 - // - this.layoutControlItem6.Control = this.txtmaxPrice; - this.layoutControlItem6.CustomizationFormText = "今日最高价"; - this.layoutControlItem6.Location = new System.Drawing.Point(0, 48); - this.layoutControlItem6.Name = "layoutControlItem6"; - this.layoutControlItem6.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem6.Text = "今日最高价"; - this.layoutControlItem6.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem8 - // - this.layoutControlItem8.Control = this.txtbidderPrice; - this.layoutControlItem8.CustomizationFormText = "竞买价"; - this.layoutControlItem8.Location = new System.Drawing.Point(0, 72); - this.layoutControlItem8.Name = "layoutControlItem8"; - this.layoutControlItem8.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem8.Text = "竞买价"; - this.layoutControlItem8.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem10 - // - this.layoutControlItem10.Control = this.txtturnover; - this.layoutControlItem10.CustomizationFormText = "成交股票数"; - this.layoutControlItem10.Location = new System.Drawing.Point(0, 96); - this.layoutControlItem10.Name = "layoutControlItem10"; - this.layoutControlItem10.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem10.Text = "成交股票数"; - this.layoutControlItem10.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem12 - // - this.layoutControlItem12.Control = this.txtbuyOneNum; - this.layoutControlItem12.CustomizationFormText = "买1数量"; - this.layoutControlItem12.Location = new System.Drawing.Point(0, 120); - this.layoutControlItem12.Name = "layoutControlItem12"; - this.layoutControlItem12.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem12.Text = "买1数量"; - this.layoutControlItem12.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem14 - // - this.layoutControlItem14.Control = this.txtbuyTwoNum; - this.layoutControlItem14.CustomizationFormText = "买2数量"; - this.layoutControlItem14.Location = new System.Drawing.Point(0, 144); - this.layoutControlItem14.Name = "layoutControlItem14"; - this.layoutControlItem14.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem14.Text = "买2数量"; - this.layoutControlItem14.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem16 - // - this.layoutControlItem16.Control = this.txtbuyThreeNum; - this.layoutControlItem16.CustomizationFormText = "买3数量"; - this.layoutControlItem16.Location = new System.Drawing.Point(0, 168); - this.layoutControlItem16.Name = "layoutControlItem16"; - this.layoutControlItem16.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem16.Text = "买3数量"; - this.layoutControlItem16.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem18 - // - this.layoutControlItem18.Control = this.txtbuyFourNum; - this.layoutControlItem18.CustomizationFormText = "买4数量"; - this.layoutControlItem18.Location = new System.Drawing.Point(0, 192); - this.layoutControlItem18.Name = "layoutControlItem18"; - this.layoutControlItem18.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem18.Text = "买4数量"; - this.layoutControlItem18.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem20 - // - this.layoutControlItem20.Control = this.txtbuyFiveNum; - this.layoutControlItem20.CustomizationFormText = "买5数量"; - this.layoutControlItem20.Location = new System.Drawing.Point(0, 216); - this.layoutControlItem20.Name = "layoutControlItem20"; - this.layoutControlItem20.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem20.Text = "买5数量"; - this.layoutControlItem20.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem22 - // - this.layoutControlItem22.Control = this.txtsellOneNum; - this.layoutControlItem22.CustomizationFormText = "卖1数量"; - this.layoutControlItem22.Location = new System.Drawing.Point(0, 240); - this.layoutControlItem22.Name = "layoutControlItem22"; - this.layoutControlItem22.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem22.Text = "卖1数量"; - this.layoutControlItem22.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem24 - // - this.layoutControlItem24.Control = this.txtsellTwoNum; - this.layoutControlItem24.CustomizationFormText = "卖2数量"; - this.layoutControlItem24.Location = new System.Drawing.Point(0, 264); - this.layoutControlItem24.Name = "layoutControlItem24"; - this.layoutControlItem24.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem24.Text = "卖2数量"; - this.layoutControlItem24.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem26 - // - this.layoutControlItem26.Control = this.txtsellThreeNum; - this.layoutControlItem26.CustomizationFormText = "卖3数量"; - this.layoutControlItem26.Location = new System.Drawing.Point(0, 288); - this.layoutControlItem26.Name = "layoutControlItem26"; - this.layoutControlItem26.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem26.Text = "卖3数量"; - this.layoutControlItem26.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem28 - // - this.layoutControlItem28.Control = this.txtsellFourNum; - this.layoutControlItem28.CustomizationFormText = "卖4数量"; - this.layoutControlItem28.Location = new System.Drawing.Point(0, 312); - this.layoutControlItem28.Name = "layoutControlItem28"; - this.layoutControlItem28.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem28.Text = "卖4数量"; - this.layoutControlItem28.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem30 - // - this.layoutControlItem30.Control = this.txtsellFiveNum; - this.layoutControlItem30.CustomizationFormText = "卖5数量"; - this.layoutControlItem30.Location = new System.Drawing.Point(0, 336); - this.layoutControlItem30.Name = "layoutControlItem30"; - this.layoutControlItem30.Size = new System.Drawing.Size(635, 24); - this.layoutControlItem30.Text = "卖5数量"; - this.layoutControlItem30.TextSize = new System.Drawing.Size(60, 14); - // - // layoutControlItem32 - // - this.layoutControlItem32.Control = this.txttimeStr; - this.layoutControlItem32.CustomizationFormText = "时间"; - this.layoutControlItem32.Location = new System.Drawing.Point(0, 360); - this.layoutControlItem32.Name = "layoutControlItem32"; - this.layoutControlItem32.Size = new System.Drawing.Size(1270, 353); - this.layoutControlItem32.Text = "时间"; - this.layoutControlItem32.TextSize = new System.Drawing.Size(60, 14); + this.txtname.Location = new System.Drawing.Point(112, 36); + this.txtname.Name = "txtname"; + this.txtname.Size = new System.Drawing.Size(481, 20); + this.txtname.StyleController = this.layoutControl1; + this.txtname.TabIndex = 2; // // layoutControlItem2 // this.layoutControlItem2.Control = this.txtname; this.layoutControlItem2.CustomizationFormText = "名称"; - this.layoutControlItem2.Location = new System.Drawing.Point(634, 0); + this.layoutControlItem2.Location = new System.Drawing.Point(0, 24); this.layoutControlItem2.Name = "layoutControlItem2"; - this.layoutControlItem2.Size = new System.Drawing.Size(636, 24); + this.layoutControlItem2.Size = new System.Drawing.Size(585, 24); this.layoutControlItem2.Text = "名称"; - this.layoutControlItem2.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem2.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtstartPrice.Location = new System.Drawing.Point(112, 60); + this.txtstartPrice.Name = "txtstartPrice"; + this.txtstartPrice.Size = new System.Drawing.Size(481, 20); + this.txtstartPrice.StyleController = this.layoutControl1; + this.txtstartPrice.TabIndex = 3; + // + // layoutControlItem3 + // + this.layoutControlItem3.Control = this.txtstartPrice; + this.layoutControlItem3.CustomizationFormText = "今日开盘价"; + this.layoutControlItem3.Location = new System.Drawing.Point(0, 48); + this.layoutControlItem3.Name = "layoutControlItem3"; + this.layoutControlItem3.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem3.Text = "今日开盘价"; + this.layoutControlItem3.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtolePrice.Location = new System.Drawing.Point(112, 84); + this.txtolePrice.Name = "txtolePrice"; + this.txtolePrice.Size = new System.Drawing.Size(481, 20); + this.txtolePrice.StyleController = this.layoutControl1; + this.txtolePrice.TabIndex = 4; // // layoutControlItem4 // this.layoutControlItem4.Control = this.txtolePrice; this.layoutControlItem4.CustomizationFormText = "昨日收盘价"; - this.layoutControlItem4.Location = new System.Drawing.Point(634, 24); + this.layoutControlItem4.Location = new System.Drawing.Point(0, 72); this.layoutControlItem4.Name = "layoutControlItem4"; - this.layoutControlItem4.Size = new System.Drawing.Size(317, 24); + this.layoutControlItem4.Size = new System.Drawing.Size(585, 24); this.layoutControlItem4.Text = "昨日收盘价"; - this.layoutControlItem4.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem4.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtnowPrice.Location = new System.Drawing.Point(112, 108); + this.txtnowPrice.Name = "txtnowPrice"; + this.txtnowPrice.Size = new System.Drawing.Size(481, 20); + this.txtnowPrice.StyleController = this.layoutControl1; + this.txtnowPrice.TabIndex = 5; // // layoutControlItem5 // this.layoutControlItem5.Control = this.txtnowPrice; this.layoutControlItem5.CustomizationFormText = "当前价格"; - this.layoutControlItem5.Location = new System.Drawing.Point(951, 24); + this.layoutControlItem5.Location = new System.Drawing.Point(0, 96); this.layoutControlItem5.Name = "layoutControlItem5"; - this.layoutControlItem5.Size = new System.Drawing.Size(319, 24); + this.layoutControlItem5.Size = new System.Drawing.Size(585, 24); this.layoutControlItem5.Text = "当前价格"; - this.layoutControlItem5.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem5.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtmaxPrice.Location = new System.Drawing.Point(112, 132); + this.txtmaxPrice.Name = "txtmaxPrice"; + this.txtmaxPrice.Size = new System.Drawing.Size(481, 20); + this.txtmaxPrice.StyleController = this.layoutControl1; + this.txtmaxPrice.TabIndex = 6; + // + // layoutControlItem6 + // + this.layoutControlItem6.Control = this.txtmaxPrice; + this.layoutControlItem6.CustomizationFormText = "今日最高价"; + this.layoutControlItem6.Location = new System.Drawing.Point(0, 120); + this.layoutControlItem6.Name = "layoutControlItem6"; + this.layoutControlItem6.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem6.Text = "今日最高价"; + this.layoutControlItem6.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtminPrice.Location = new System.Drawing.Point(112, 156); + this.txtminPrice.Name = "txtminPrice"; + this.txtminPrice.Size = new System.Drawing.Size(481, 20); + this.txtminPrice.StyleController = this.layoutControl1; + this.txtminPrice.TabIndex = 7; // // layoutControlItem7 // this.layoutControlItem7.Control = this.txtminPrice; this.layoutControlItem7.CustomizationFormText = "今日最低价"; - this.layoutControlItem7.Location = new System.Drawing.Point(635, 48); + this.layoutControlItem7.Location = new System.Drawing.Point(0, 144); this.layoutControlItem7.Name = "layoutControlItem7"; - this.layoutControlItem7.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem7.Size = new System.Drawing.Size(585, 24); this.layoutControlItem7.Text = "今日最低价"; - this.layoutControlItem7.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem7.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtbidderPrice.Location = new System.Drawing.Point(112, 180); + this.txtbidderPrice.Name = "txtbidderPrice"; + this.txtbidderPrice.Size = new System.Drawing.Size(481, 20); + this.txtbidderPrice.StyleController = this.layoutControl1; + this.txtbidderPrice.TabIndex = 8; + // + // layoutControlItem8 + // + this.layoutControlItem8.Control = this.txtbidderPrice; + this.layoutControlItem8.CustomizationFormText = "竞买价"; + this.layoutControlItem8.Location = new System.Drawing.Point(0, 168); + this.layoutControlItem8.Name = "layoutControlItem8"; + this.layoutControlItem8.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem8.Text = "竞买价"; + this.layoutControlItem8.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtauctionPrice.Location = new System.Drawing.Point(112, 204); + this.txtauctionPrice.Name = "txtauctionPrice"; + this.txtauctionPrice.Size = new System.Drawing.Size(481, 20); + this.txtauctionPrice.StyleController = this.layoutControl1; + this.txtauctionPrice.TabIndex = 9; // // layoutControlItem9 // this.layoutControlItem9.Control = this.txtauctionPrice; this.layoutControlItem9.CustomizationFormText = "竞卖价"; - this.layoutControlItem9.Location = new System.Drawing.Point(635, 72); + this.layoutControlItem9.Location = new System.Drawing.Point(0, 192); this.layoutControlItem9.Name = "layoutControlItem9"; - this.layoutControlItem9.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem9.Size = new System.Drawing.Size(585, 24); this.layoutControlItem9.Text = "竞卖价"; - this.layoutControlItem9.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem9.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtturnover.Location = new System.Drawing.Point(112, 228); + this.txtturnover.Name = "txtturnover"; + this.txtturnover.Size = new System.Drawing.Size(481, 20); + this.txtturnover.StyleController = this.layoutControl1; + this.txtturnover.TabIndex = 10; + // + // layoutControlItem10 + // + this.layoutControlItem10.Control = this.txtturnover; + this.layoutControlItem10.CustomizationFormText = "成交股票数"; + this.layoutControlItem10.Location = new System.Drawing.Point(0, 216); + this.layoutControlItem10.Name = "layoutControlItem10"; + this.layoutControlItem10.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem10.Text = "成交股票数"; + this.layoutControlItem10.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtturnoverPrice.Location = new System.Drawing.Point(112, 252); + this.txtturnoverPrice.Name = "txtturnoverPrice"; + this.txtturnoverPrice.Size = new System.Drawing.Size(481, 20); + this.txtturnoverPrice.StyleController = this.layoutControl1; + this.txtturnoverPrice.TabIndex = 11; // // layoutControlItem11 // this.layoutControlItem11.Control = this.txtturnoverPrice; this.layoutControlItem11.CustomizationFormText = "成交金额"; - this.layoutControlItem11.Location = new System.Drawing.Point(635, 96); + this.layoutControlItem11.Location = new System.Drawing.Point(0, 240); this.layoutControlItem11.Name = "layoutControlItem11"; - this.layoutControlItem11.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem11.Size = new System.Drawing.Size(585, 24); this.layoutControlItem11.Text = "成交金额"; - this.layoutControlItem11.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem11.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtbuyOneNum.Location = new System.Drawing.Point(112, 276); + this.txtbuyOneNum.Name = "txtbuyOneNum"; + this.txtbuyOneNum.Size = new System.Drawing.Size(481, 20); + this.txtbuyOneNum.StyleController = this.layoutControl1; + this.txtbuyOneNum.TabIndex = 12; + // + // layoutControlItem12 + // + this.layoutControlItem12.Control = this.txtbuyOneNum; + this.layoutControlItem12.CustomizationFormText = "买1数量"; + this.layoutControlItem12.Location = new System.Drawing.Point(0, 264); + this.layoutControlItem12.Name = "layoutControlItem12"; + this.layoutControlItem12.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem12.Text = "买1数量"; + this.layoutControlItem12.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtbuyOnePrice.Location = new System.Drawing.Point(112, 300); + this.txtbuyOnePrice.Name = "txtbuyOnePrice"; + this.txtbuyOnePrice.Size = new System.Drawing.Size(481, 20); + this.txtbuyOnePrice.StyleController = this.layoutControl1; + this.txtbuyOnePrice.TabIndex = 13; // // layoutControlItem13 // this.layoutControlItem13.Control = this.txtbuyOnePrice; this.layoutControlItem13.CustomizationFormText = "买1价格"; - this.layoutControlItem13.Location = new System.Drawing.Point(635, 120); + this.layoutControlItem13.Location = new System.Drawing.Point(0, 288); this.layoutControlItem13.Name = "layoutControlItem13"; - this.layoutControlItem13.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem13.Size = new System.Drawing.Size(585, 24); this.layoutControlItem13.Text = "买1价格"; - this.layoutControlItem13.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem13.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtbuyTwoNum.Location = new System.Drawing.Point(112, 324); + this.txtbuyTwoNum.Name = "txtbuyTwoNum"; + this.txtbuyTwoNum.Size = new System.Drawing.Size(481, 20); + this.txtbuyTwoNum.StyleController = this.layoutControl1; + this.txtbuyTwoNum.TabIndex = 14; + // + // layoutControlItem14 + // + this.layoutControlItem14.Control = this.txtbuyTwoNum; + this.layoutControlItem14.CustomizationFormText = "买2数量"; + this.layoutControlItem14.Location = new System.Drawing.Point(0, 312); + this.layoutControlItem14.Name = "layoutControlItem14"; + this.layoutControlItem14.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem14.Text = "买2数量"; + this.layoutControlItem14.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtbuyTwoPrice.Location = new System.Drawing.Point(112, 348); + this.txtbuyTwoPrice.Name = "txtbuyTwoPrice"; + this.txtbuyTwoPrice.Size = new System.Drawing.Size(481, 20); + this.txtbuyTwoPrice.StyleController = this.layoutControl1; + this.txtbuyTwoPrice.TabIndex = 15; // // layoutControlItem15 // this.layoutControlItem15.Control = this.txtbuyTwoPrice; this.layoutControlItem15.CustomizationFormText = "买2价格"; - this.layoutControlItem15.Location = new System.Drawing.Point(635, 144); + this.layoutControlItem15.Location = new System.Drawing.Point(0, 336); this.layoutControlItem15.Name = "layoutControlItem15"; - this.layoutControlItem15.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem15.Size = new System.Drawing.Size(585, 24); this.layoutControlItem15.Text = "买2价格"; - this.layoutControlItem15.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem15.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtbuyThreeNum.Location = new System.Drawing.Point(112, 372); + this.txtbuyThreeNum.Name = "txtbuyThreeNum"; + this.txtbuyThreeNum.Size = new System.Drawing.Size(481, 20); + this.txtbuyThreeNum.StyleController = this.layoutControl1; + this.txtbuyThreeNum.TabIndex = 16; + // + // layoutControlItem16 + // + this.layoutControlItem16.Control = this.txtbuyThreeNum; + this.layoutControlItem16.CustomizationFormText = "买3数量"; + this.layoutControlItem16.Location = new System.Drawing.Point(0, 360); + this.layoutControlItem16.Name = "layoutControlItem16"; + this.layoutControlItem16.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem16.Text = "买3数量"; + this.layoutControlItem16.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtbuyThreePrice.Location = new System.Drawing.Point(112, 396); + this.txtbuyThreePrice.Name = "txtbuyThreePrice"; + this.txtbuyThreePrice.Size = new System.Drawing.Size(481, 20); + this.txtbuyThreePrice.StyleController = this.layoutControl1; + this.txtbuyThreePrice.TabIndex = 17; // // layoutControlItem17 // this.layoutControlItem17.Control = this.txtbuyThreePrice; this.layoutControlItem17.CustomizationFormText = "买3价格"; - this.layoutControlItem17.Location = new System.Drawing.Point(635, 168); + this.layoutControlItem17.Location = new System.Drawing.Point(0, 384); this.layoutControlItem17.Name = "layoutControlItem17"; - this.layoutControlItem17.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem17.Size = new System.Drawing.Size(585, 24); this.layoutControlItem17.Text = "买3价格"; - this.layoutControlItem17.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem17.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtbuyFourNum.Location = new System.Drawing.Point(112, 420); + this.txtbuyFourNum.Name = "txtbuyFourNum"; + this.txtbuyFourNum.Size = new System.Drawing.Size(481, 20); + this.txtbuyFourNum.StyleController = this.layoutControl1; + this.txtbuyFourNum.TabIndex = 18; + // + // layoutControlItem18 + // + this.layoutControlItem18.Control = this.txtbuyFourNum; + this.layoutControlItem18.CustomizationFormText = "买4数量"; + this.layoutControlItem18.Location = new System.Drawing.Point(0, 408); + this.layoutControlItem18.Name = "layoutControlItem18"; + this.layoutControlItem18.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem18.Text = "买4数量"; + this.layoutControlItem18.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtbuyFourPrice.Location = new System.Drawing.Point(112, 444); + this.txtbuyFourPrice.Name = "txtbuyFourPrice"; + this.txtbuyFourPrice.Size = new System.Drawing.Size(481, 20); + this.txtbuyFourPrice.StyleController = this.layoutControl1; + this.txtbuyFourPrice.TabIndex = 19; // // layoutControlItem19 // this.layoutControlItem19.Control = this.txtbuyFourPrice; this.layoutControlItem19.CustomizationFormText = "买4价格"; - this.layoutControlItem19.Location = new System.Drawing.Point(635, 192); + this.layoutControlItem19.Location = new System.Drawing.Point(0, 432); this.layoutControlItem19.Name = "layoutControlItem19"; - this.layoutControlItem19.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem19.Size = new System.Drawing.Size(585, 24); this.layoutControlItem19.Text = "买4价格"; - this.layoutControlItem19.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem19.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtbuyFiveNum.Location = new System.Drawing.Point(112, 468); + this.txtbuyFiveNum.Name = "txtbuyFiveNum"; + this.txtbuyFiveNum.Size = new System.Drawing.Size(481, 20); + this.txtbuyFiveNum.StyleController = this.layoutControl1; + this.txtbuyFiveNum.TabIndex = 20; + // + // layoutControlItem20 + // + this.layoutControlItem20.Control = this.txtbuyFiveNum; + this.layoutControlItem20.CustomizationFormText = "买5数量"; + this.layoutControlItem20.Location = new System.Drawing.Point(0, 456); + this.layoutControlItem20.Name = "layoutControlItem20"; + this.layoutControlItem20.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem20.Text = "买5数量"; + this.layoutControlItem20.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtbuyFivePrice.Location = new System.Drawing.Point(112, 492); + this.txtbuyFivePrice.Name = "txtbuyFivePrice"; + this.txtbuyFivePrice.Size = new System.Drawing.Size(481, 20); + this.txtbuyFivePrice.StyleController = this.layoutControl1; + this.txtbuyFivePrice.TabIndex = 21; // // layoutControlItem21 // this.layoutControlItem21.Control = this.txtbuyFivePrice; this.layoutControlItem21.CustomizationFormText = "买5价格"; - this.layoutControlItem21.Location = new System.Drawing.Point(635, 216); + this.layoutControlItem21.Location = new System.Drawing.Point(0, 480); this.layoutControlItem21.Name = "layoutControlItem21"; - this.layoutControlItem21.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem21.Size = new System.Drawing.Size(585, 24); this.layoutControlItem21.Text = "买5价格"; - this.layoutControlItem21.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem21.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtsellOneNum.Location = new System.Drawing.Point(112, 516); + this.txtsellOneNum.Name = "txtsellOneNum"; + this.txtsellOneNum.Size = new System.Drawing.Size(481, 20); + this.txtsellOneNum.StyleController = this.layoutControl1; + this.txtsellOneNum.TabIndex = 22; + // + // layoutControlItem22 + // + this.layoutControlItem22.Control = this.txtsellOneNum; + this.layoutControlItem22.CustomizationFormText = "卖1数量"; + this.layoutControlItem22.Location = new System.Drawing.Point(0, 504); + this.layoutControlItem22.Name = "layoutControlItem22"; + this.layoutControlItem22.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem22.Text = "卖1数量"; + this.layoutControlItem22.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtsellOnePrice.Location = new System.Drawing.Point(112, 540); + this.txtsellOnePrice.Name = "txtsellOnePrice"; + this.txtsellOnePrice.Size = new System.Drawing.Size(481, 20); + this.txtsellOnePrice.StyleController = this.layoutControl1; + this.txtsellOnePrice.TabIndex = 23; // // layoutControlItem23 // this.layoutControlItem23.Control = this.txtsellOnePrice; this.layoutControlItem23.CustomizationFormText = "卖1价格"; - this.layoutControlItem23.Location = new System.Drawing.Point(635, 240); + this.layoutControlItem23.Location = new System.Drawing.Point(0, 528); this.layoutControlItem23.Name = "layoutControlItem23"; - this.layoutControlItem23.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem23.Size = new System.Drawing.Size(585, 24); this.layoutControlItem23.Text = "卖1价格"; - this.layoutControlItem23.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem23.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtsellTwoNum.Location = new System.Drawing.Point(112, 564); + this.txtsellTwoNum.Name = "txtsellTwoNum"; + this.txtsellTwoNum.Size = new System.Drawing.Size(481, 20); + this.txtsellTwoNum.StyleController = this.layoutControl1; + this.txtsellTwoNum.TabIndex = 24; + // + // layoutControlItem24 + // + this.layoutControlItem24.Control = this.txtsellTwoNum; + this.layoutControlItem24.CustomizationFormText = "卖2数量"; + this.layoutControlItem24.Location = new System.Drawing.Point(0, 552); + this.layoutControlItem24.Name = "layoutControlItem24"; + this.layoutControlItem24.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem24.Text = "卖2数量"; + this.layoutControlItem24.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtsellTwoPrice.Location = new System.Drawing.Point(112, 588); + this.txtsellTwoPrice.Name = "txtsellTwoPrice"; + this.txtsellTwoPrice.Size = new System.Drawing.Size(481, 20); + this.txtsellTwoPrice.StyleController = this.layoutControl1; + this.txtsellTwoPrice.TabIndex = 25; // // layoutControlItem25 // this.layoutControlItem25.Control = this.txtsellTwoPrice; this.layoutControlItem25.CustomizationFormText = "卖2价格"; - this.layoutControlItem25.Location = new System.Drawing.Point(635, 264); + this.layoutControlItem25.Location = new System.Drawing.Point(0, 576); this.layoutControlItem25.Name = "layoutControlItem25"; - this.layoutControlItem25.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem25.Size = new System.Drawing.Size(585, 24); this.layoutControlItem25.Text = "卖2价格"; - this.layoutControlItem25.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem25.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtsellThreeNum.Location = new System.Drawing.Point(112, 612); + this.txtsellThreeNum.Name = "txtsellThreeNum"; + this.txtsellThreeNum.Size = new System.Drawing.Size(481, 20); + this.txtsellThreeNum.StyleController = this.layoutControl1; + this.txtsellThreeNum.TabIndex = 26; + // + // layoutControlItem26 + // + this.layoutControlItem26.Control = this.txtsellThreeNum; + this.layoutControlItem26.CustomizationFormText = "卖3数量"; + this.layoutControlItem26.Location = new System.Drawing.Point(0, 600); + this.layoutControlItem26.Name = "layoutControlItem26"; + this.layoutControlItem26.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem26.Text = "卖3数量"; + this.layoutControlItem26.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtsellThreePrice.Location = new System.Drawing.Point(112, 636); + this.txtsellThreePrice.Name = "txtsellThreePrice"; + this.txtsellThreePrice.Size = new System.Drawing.Size(481, 20); + this.txtsellThreePrice.StyleController = this.layoutControl1; + this.txtsellThreePrice.TabIndex = 27; // // layoutControlItem27 // this.layoutControlItem27.Control = this.txtsellThreePrice; this.layoutControlItem27.CustomizationFormText = "卖3价格"; - this.layoutControlItem27.Location = new System.Drawing.Point(635, 288); + this.layoutControlItem27.Location = new System.Drawing.Point(0, 624); this.layoutControlItem27.Name = "layoutControlItem27"; - this.layoutControlItem27.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem27.Size = new System.Drawing.Size(585, 24); this.layoutControlItem27.Text = "卖3价格"; - this.layoutControlItem27.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem27.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtsellFourNum.Location = new System.Drawing.Point(112, 660); + this.txtsellFourNum.Name = "txtsellFourNum"; + this.txtsellFourNum.Size = new System.Drawing.Size(481, 20); + this.txtsellFourNum.StyleController = this.layoutControl1; + this.txtsellFourNum.TabIndex = 28; + // + // layoutControlItem28 + // + this.layoutControlItem28.Control = this.txtsellFourNum; + this.layoutControlItem28.CustomizationFormText = "卖4数量"; + this.layoutControlItem28.Location = new System.Drawing.Point(0, 648); + this.layoutControlItem28.Name = "layoutControlItem28"; + this.layoutControlItem28.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem28.Text = "卖4数量"; + this.layoutControlItem28.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtsellFourPrice.Location = new System.Drawing.Point(112, 684); + this.txtsellFourPrice.Name = "txtsellFourPrice"; + this.txtsellFourPrice.Size = new System.Drawing.Size(481, 20); + this.txtsellFourPrice.StyleController = this.layoutControl1; + this.txtsellFourPrice.TabIndex = 29; // // layoutControlItem29 // this.layoutControlItem29.Control = this.txtsellFourPrice; this.layoutControlItem29.CustomizationFormText = "卖4价格"; - this.layoutControlItem29.Location = new System.Drawing.Point(635, 312); + this.layoutControlItem29.Location = new System.Drawing.Point(0, 672); this.layoutControlItem29.Name = "layoutControlItem29"; - this.layoutControlItem29.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem29.Size = new System.Drawing.Size(585, 24); this.layoutControlItem29.Text = "卖4价格"; - this.layoutControlItem29.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem29.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtsellFiveNum.Location = new System.Drawing.Point(112, 708); + this.txtsellFiveNum.Name = "txtsellFiveNum"; + this.txtsellFiveNum.Size = new System.Drawing.Size(481, 20); + this.txtsellFiveNum.StyleController = this.layoutControl1; + this.txtsellFiveNum.TabIndex = 30; + // + // layoutControlItem30 + // + this.layoutControlItem30.Control = this.txtsellFiveNum; + this.layoutControlItem30.CustomizationFormText = "卖5数量"; + this.layoutControlItem30.Location = new System.Drawing.Point(0, 696); + this.layoutControlItem30.Name = "layoutControlItem30"; + this.layoutControlItem30.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem30.Text = "卖5数量"; + this.layoutControlItem30.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtsellFivePrice.Location = new System.Drawing.Point(112, 732); + this.txtsellFivePrice.Name = "txtsellFivePrice"; + this.txtsellFivePrice.Size = new System.Drawing.Size(481, 20); + this.txtsellFivePrice.StyleController = this.layoutControl1; + this.txtsellFivePrice.TabIndex = 31; // // layoutControlItem31 // this.layoutControlItem31.Control = this.txtsellFivePrice; this.layoutControlItem31.CustomizationFormText = "卖5价格"; - this.layoutControlItem31.Location = new System.Drawing.Point(635, 336); + this.layoutControlItem31.Location = new System.Drawing.Point(0, 720); this.layoutControlItem31.Name = "layoutControlItem31"; - this.layoutControlItem31.Size = new System.Drawing.Size(635, 24); + this.layoutControlItem31.Size = new System.Drawing.Size(585, 24); this.layoutControlItem31.Text = "卖5价格"; - this.layoutControlItem31.TextSize = new System.Drawing.Size(60, 14); + this.layoutControlItem31.TextSize = new System.Drawing.Size(96, 14); + // - // timer1 + // txt${ColumnInfo.Name.Alias.ToCapit()} // - this.timer1.Enabled = true; - this.timer1.Interval = 1000; - this.timer1.Tick += new System.EventHandler(this.timer1_Tick); + this.txttimeStr.EditValue = null; + this.txttimeStr.ImeMode = System.Windows.Forms.ImeMode.Off; + this.txttimeStr.Location = new System.Drawing.Point(112, 756); + this.txttimeStr.Name = "txttimeStr"; + this.txttimeStr.Properties.DisplayFormat.FormatString = "G"; + this.txttimeStr.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.txttimeStr.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.txttimeStr.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton()}); + this.txttimeStr.Size = new System.Drawing.Size(481, 20); + this.txttimeStr.StyleController = this.layoutControl1; + this.txttimeStr.TabIndex = 32; // - // Frmstock + // layoutControlItem32 + // + this.layoutControlItem32.Control = this.txttimeStr; + this.layoutControlItem32.CustomizationFormText = "时间"; + this.layoutControlItem32.Location = new System.Drawing.Point(0, 744); + this.layoutControlItem32.Name = "layoutControlItem32"; + this.layoutControlItem32.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem32.Text = "时间"; + this.layoutControlItem32.TextSize = new System.Drawing.Size(96, 14); + + // + // txt${ColumnInfo.Name.Alias.ToCapit()} + // + this.txtid.Location = new System.Drawing.Point(112, 780); + this.txtid.Name = "txtid"; + this.txtid.Size = new System.Drawing.Size(481, 20); + this.txtid.StyleController = this.layoutControl1; + this.txtid.TabIndex = 33; + // + // layoutControlItem33 + // + this.layoutControlItem33.Control = this.txtid; + this.layoutControlItem33.CustomizationFormText = "id"; + this.layoutControlItem33.Location = new System.Drawing.Point(0, 768); + this.layoutControlItem33.Name = "layoutControlItem33"; + this.layoutControlItem33.Size = new System.Drawing.Size(585, 24); + this.layoutControlItem33.Text = "id"; + this.layoutControlItem33.TextSize = new System.Drawing.Size(96, 14); + + + // + // layoutControlGroup1 + // + this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; + this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; + this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.layoutControlItem1 + ,this.layoutControlItem2 + ,this.layoutControlItem3 + ,this.layoutControlItem4 + ,this.layoutControlItem5 + ,this.layoutControlItem6 + ,this.layoutControlItem7 + ,this.layoutControlItem8 + ,this.layoutControlItem9 + ,this.layoutControlItem10 + ,this.layoutControlItem11 + ,this.layoutControlItem12 + ,this.layoutControlItem13 + ,this.layoutControlItem14 + ,this.layoutControlItem15 + ,this.layoutControlItem16 + ,this.layoutControlItem17 + ,this.layoutControlItem18 + ,this.layoutControlItem19 + ,this.layoutControlItem20 + ,this.layoutControlItem21 + ,this.layoutControlItem22 + ,this.layoutControlItem23 + ,this.layoutControlItem24 + ,this.layoutControlItem25 + ,this.layoutControlItem26 + ,this.layoutControlItem27 + ,this.layoutControlItem28 + ,this.layoutControlItem29 + ,this.layoutControlItem30 + ,this.layoutControlItem31 + ,this.layoutControlItem32 + ,this.layoutControlItem33 + }); + this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); + this.layoutControlGroup1.Name = "layoutControlGroup1"; + this.layoutControlGroup1.Size = new System.Drawing.Size(605, 363); + this.layoutControlGroup1.Text = "layoutControlGroup1"; + this.layoutControlGroup1.TextVisible = false; + + + // + // xtraTabControl1 + // + this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.xtraTabControl1.Location = new System.Drawing.Point(0, 34); + this.xtraTabControl1.Name = "xtraTabControl1"; + this.xtraTabControl1.SelectedTabPage = this.tabDataList; + this.xtraTabControl1.Size = new System.Drawing.Size(585, 436); + this.xtraTabControl1.TabIndex = 1; + this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.tabDataList, + this.tabDataDetail}); + // + // tabDataList + // + this.tabDataList.Controls.Add(this.grdList); + this.tabDataList.Name = "tabDataList"; + this.tabDataList.Size = new System.Drawing.Size(579, 407); + this.tabDataList.Text = "数据列表"; + // + // tabDataDetail + // + this.tabDataDetail.Controls.Add(this.panelControl2); + this.tabDataDetail.Name = "tabDataDetail"; + this.tabDataDetail.Size = new System.Drawing.Size(579, 407); + this.tabDataDetail.Text = "数据编辑"; + // + // grdList + // + this.grdList.Dock = System.Windows.Forms.DockStyle.Fill; + this.grdList.Location = new System.Drawing.Point(0, 0); + this.grdList.MainView = this.grdListView; + this.grdList.Name = "grdList"; + this.grdList.Size = new System.Drawing.Size(579, 407); + this.grdList.TabIndex = 0; + this.grdList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.grdListView}); + // + // grdListView + // + this.grdListView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gridColumn1, + this.gridColumn2, + this.gridColumn3, + this.gridColumn4, + this.gridColumn5, + this.gridColumn6, + this.gridColumn7, + this.gridColumn8, + this.gridColumn9, + this.gridColumn10, + this.gridColumn11, + this.gridColumn12, + this.gridColumn13, + this.gridColumn14, + this.gridColumn15, + this.gridColumn16, + this.gridColumn17, + this.gridColumn18, + this.gridColumn19, + this.gridColumn20, + this.gridColumn21, + this.gridColumn22, + this.gridColumn23, + this.gridColumn24, + this.gridColumn25, + this.gridColumn26, + this.gridColumn27, + this.gridColumn28, + this.gridColumn29, + this.gridColumn30, + this.gridColumn31, + this.gridColumn32, + this.gridColumn33, + }); + this.grdListView.OptionsBehavior.Editable = false; + this.grdListView.GridControl = this.grdList; + this.grdListView.Name = "grdListView"; + this.grdListView.OptionsView.ColumnAutoWidth=false; + this.grdListView.BestFitColumns(); + // + // panelControl2 + // + this.panelControl2.Controls.Add(this.layoutControl1); + this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panelControl2.Location = new System.Drawing.Point(0, 0); + this.panelControl2.Name = "panelControl2"; + this.panelControl2.Size = new System.Drawing.Size(579, 407); + this.panelControl2.TabIndex = 0; + + //////////////////////////////// + (this.gridColumn1).Caption = "代码"; + (this.gridColumn1).Name = "gridColumn1"; + (this.gridColumn1).FieldName = "code"; + (this.gridColumn1).Visible = true; + (this.gridColumn1).VisibleIndex = 1; + + //////////////////////////////// + (this.gridColumn2).Caption = "名称"; + (this.gridColumn2).Name = "gridColumn2"; + (this.gridColumn2).FieldName = "name"; + (this.gridColumn2).Visible = true; + (this.gridColumn2).VisibleIndex = 2; + + //////////////////////////////// + (this.gridColumn3).Caption = "今日开盘价"; + (this.gridColumn3).Name = "gridColumn3"; + (this.gridColumn3).FieldName = "startPrice"; + (this.gridColumn3).Visible = true; + (this.gridColumn3).VisibleIndex = 3; + + //////////////////////////////// + (this.gridColumn4).Caption = "昨日收盘价"; + (this.gridColumn4).Name = "gridColumn4"; + (this.gridColumn4).FieldName = "olePrice"; + (this.gridColumn4).Visible = true; + (this.gridColumn4).VisibleIndex = 4; + + //////////////////////////////// + (this.gridColumn5).Caption = "当前价格"; + (this.gridColumn5).Name = "gridColumn5"; + (this.gridColumn5).FieldName = "nowPrice"; + (this.gridColumn5).Visible = true; + (this.gridColumn5).VisibleIndex = 5; + + //////////////////////////////// + (this.gridColumn6).Caption = "今日最高价"; + (this.gridColumn6).Name = "gridColumn6"; + (this.gridColumn6).FieldName = "maxPrice"; + (this.gridColumn6).Visible = true; + (this.gridColumn6).VisibleIndex = 6; + + //////////////////////////////// + (this.gridColumn7).Caption = "今日最低价"; + (this.gridColumn7).Name = "gridColumn7"; + (this.gridColumn7).FieldName = "minPrice"; + (this.gridColumn7).Visible = true; + (this.gridColumn7).VisibleIndex = 7; + + //////////////////////////////// + (this.gridColumn8).Caption = "竞买价"; + (this.gridColumn8).Name = "gridColumn8"; + (this.gridColumn8).FieldName = "bidderPrice"; + (this.gridColumn8).Visible = true; + (this.gridColumn8).VisibleIndex = 8; + + //////////////////////////////// + (this.gridColumn9).Caption = "竞卖价"; + (this.gridColumn9).Name = "gridColumn9"; + (this.gridColumn9).FieldName = "auctionPrice"; + (this.gridColumn9).Visible = true; + (this.gridColumn9).VisibleIndex = 9; + + //////////////////////////////// + (this.gridColumn10).Caption = "成交股票数"; + (this.gridColumn10).Name = "gridColumn10"; + (this.gridColumn10).FieldName = "turnover"; + (this.gridColumn10).Visible = true; + (this.gridColumn10).VisibleIndex = 10; + + //////////////////////////////// + (this.gridColumn11).Caption = "成交金额"; + (this.gridColumn11).Name = "gridColumn11"; + (this.gridColumn11).FieldName = "turnoverPrice"; + (this.gridColumn11).Visible = true; + (this.gridColumn11).VisibleIndex = 11; + + //////////////////////////////// + (this.gridColumn12).Caption = "买1数量"; + (this.gridColumn12).Name = "gridColumn12"; + (this.gridColumn12).FieldName = "buyOneNum"; + (this.gridColumn12).Visible = true; + (this.gridColumn12).VisibleIndex = 12; + + //////////////////////////////// + (this.gridColumn13).Caption = "买1价格"; + (this.gridColumn13).Name = "gridColumn13"; + (this.gridColumn13).FieldName = "buyOnePrice"; + (this.gridColumn13).Visible = true; + (this.gridColumn13).VisibleIndex = 13; + + //////////////////////////////// + (this.gridColumn14).Caption = "买2数量"; + (this.gridColumn14).Name = "gridColumn14"; + (this.gridColumn14).FieldName = "buyTwoNum"; + (this.gridColumn14).Visible = true; + (this.gridColumn14).VisibleIndex = 14; + + //////////////////////////////// + (this.gridColumn15).Caption = "买2价格"; + (this.gridColumn15).Name = "gridColumn15"; + (this.gridColumn15).FieldName = "buyTwoPrice"; + (this.gridColumn15).Visible = true; + (this.gridColumn15).VisibleIndex = 15; + + //////////////////////////////// + (this.gridColumn16).Caption = "买3数量"; + (this.gridColumn16).Name = "gridColumn16"; + (this.gridColumn16).FieldName = "buyThreeNum"; + (this.gridColumn16).Visible = true; + (this.gridColumn16).VisibleIndex = 16; + + //////////////////////////////// + (this.gridColumn17).Caption = "买3价格"; + (this.gridColumn17).Name = "gridColumn17"; + (this.gridColumn17).FieldName = "buyThreePrice"; + (this.gridColumn17).Visible = true; + (this.gridColumn17).VisibleIndex = 17; + + //////////////////////////////// + (this.gridColumn18).Caption = "买4数量"; + (this.gridColumn18).Name = "gridColumn18"; + (this.gridColumn18).FieldName = "buyFourNum"; + (this.gridColumn18).Visible = true; + (this.gridColumn18).VisibleIndex = 18; + + //////////////////////////////// + (this.gridColumn19).Caption = "买4价格"; + (this.gridColumn19).Name = "gridColumn19"; + (this.gridColumn19).FieldName = "buyFourPrice"; + (this.gridColumn19).Visible = true; + (this.gridColumn19).VisibleIndex = 19; + + //////////////////////////////// + (this.gridColumn20).Caption = "买5数量"; + (this.gridColumn20).Name = "gridColumn20"; + (this.gridColumn20).FieldName = "buyFiveNum"; + (this.gridColumn20).Visible = true; + (this.gridColumn20).VisibleIndex = 20; + + //////////////////////////////// + (this.gridColumn21).Caption = "买5价格"; + (this.gridColumn21).Name = "gridColumn21"; + (this.gridColumn21).FieldName = "buyFivePrice"; + (this.gridColumn21).Visible = true; + (this.gridColumn21).VisibleIndex = 21; + + //////////////////////////////// + (this.gridColumn22).Caption = "卖1数量"; + (this.gridColumn22).Name = "gridColumn22"; + (this.gridColumn22).FieldName = "sellOneNum"; + (this.gridColumn22).Visible = true; + (this.gridColumn22).VisibleIndex = 22; + + //////////////////////////////// + (this.gridColumn23).Caption = "卖1价格"; + (this.gridColumn23).Name = "gridColumn23"; + (this.gridColumn23).FieldName = "sellOnePrice"; + (this.gridColumn23).Visible = true; + (this.gridColumn23).VisibleIndex = 23; + + //////////////////////////////// + (this.gridColumn24).Caption = "卖2数量"; + (this.gridColumn24).Name = "gridColumn24"; + (this.gridColumn24).FieldName = "sellTwoNum"; + (this.gridColumn24).Visible = true; + (this.gridColumn24).VisibleIndex = 24; + + //////////////////////////////// + (this.gridColumn25).Caption = "卖2价格"; + (this.gridColumn25).Name = "gridColumn25"; + (this.gridColumn25).FieldName = "sellTwoPrice"; + (this.gridColumn25).Visible = true; + (this.gridColumn25).VisibleIndex = 25; + + //////////////////////////////// + (this.gridColumn26).Caption = "卖3数量"; + (this.gridColumn26).Name = "gridColumn26"; + (this.gridColumn26).FieldName = "sellThreeNum"; + (this.gridColumn26).Visible = true; + (this.gridColumn26).VisibleIndex = 26; + + //////////////////////////////// + (this.gridColumn27).Caption = "卖3价格"; + (this.gridColumn27).Name = "gridColumn27"; + (this.gridColumn27).FieldName = "sellThreePrice"; + (this.gridColumn27).Visible = true; + (this.gridColumn27).VisibleIndex = 27; + + //////////////////////////////// + (this.gridColumn28).Caption = "卖4数量"; + (this.gridColumn28).Name = "gridColumn28"; + (this.gridColumn28).FieldName = "sellFourNum"; + (this.gridColumn28).Visible = true; + (this.gridColumn28).VisibleIndex = 28; + + //////////////////////////////// + (this.gridColumn29).Caption = "卖4价格"; + (this.gridColumn29).Name = "gridColumn29"; + (this.gridColumn29).FieldName = "sellFourPrice"; + (this.gridColumn29).Visible = true; + (this.gridColumn29).VisibleIndex = 29; + + //////////////////////////////// + (this.gridColumn30).Caption = "卖5数量"; + (this.gridColumn30).Name = "gridColumn30"; + (this.gridColumn30).FieldName = "sellFiveNum"; + (this.gridColumn30).Visible = true; + (this.gridColumn30).VisibleIndex = 30; + + //////////////////////////////// + (this.gridColumn31).Caption = "卖5价格"; + (this.gridColumn31).Name = "gridColumn31"; + (this.gridColumn31).FieldName = "sellFivePrice"; + (this.gridColumn31).Visible = true; + (this.gridColumn31).VisibleIndex = 31; + + (this.gridColumn32).DisplayFormat.FormatString = "G"; + (this.gridColumn32).DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + (this.gridColumn32).Caption = "时间"; + (this.gridColumn32).Name = "gridColumn32"; + (this.gridColumn32).FieldName = "timeStr"; + (this.gridColumn32).Visible = true; + (this.gridColumn32).VisibleIndex = 32; + + //////////////////////////////// + (this.gridColumn33).Caption = "id"; + (this.gridColumn33).Name = "gridColumn33"; + (this.gridColumn33).FieldName = "id"; + + // + // XtraForm1 // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; @@ -1276,82 +1358,116 @@ namespace MES.Form this.Text = "Frmstock"; this.Load += new System.EventHandler(this.Frmstock_Load); this.Controls.SetChildIndex(this.xtraTabControl1, 0); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtcode.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtname.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtstartPrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtolePrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtnowPrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtmaxPrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtminPrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbidderPrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtauctionPrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtturnover.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtturnoverPrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyOneNum.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyOnePrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyTwoNum.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyTwoPrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyThreeNum.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyThreePrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyFourNum.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyFourPrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyFiveNum.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtbuyFivePrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellOneNum.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellOnePrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellTwoNum.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellTwoPrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellThreeNum.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellThreePrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellFourNum.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellFourPrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellFiveNum.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtsellFivePrice.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem31)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txttimeStr.Properties.CalendarTimeProperties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txttimeStr.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).EndInit(); + ///////////////////////// + ((System.ComponentModel.ISupportInitialize)(this.txtid.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem33)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.tabDataList.ResumeLayout(false); + this.tabDataDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grdListView)).EndInit(); - this.tabDataDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); - this.panelControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.txtcode.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtname.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtstartPrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtolePrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtnowPrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtmaxPrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtminPrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbidderPrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtauctionPrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtturnover.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtturnoverPrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyOneNum.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyOnePrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyTwoNum.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyTwoPrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyThreeNum.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyThreePrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyFourNum.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyFourPrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyFiveNum.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtbuyFivePrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellOneNum.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellOnePrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellTwoNum.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellTwoPrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellThreeNum.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellThreePrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellFourNum.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellFourPrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellFiveNum.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtsellFivePrice.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txttimeStr.Properties.CalendarTimeProperties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txttimeStr.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem31)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); + this.ResumeLayout(false); } @@ -1399,6 +1515,7 @@ namespace MES.Form private DevExpress.XtraGrid.Columns.GridColumn gridColumn30; private DevExpress.XtraGrid.Columns.GridColumn gridColumn31; private DevExpress.XtraGrid.Columns.GridColumn gridColumn32; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn33; /////////////////////////////// private DevExpress.XtraEditors.TextEdit txtcode; /////////////////////////////// @@ -1463,6 +1580,8 @@ namespace MES.Form private DevExpress.XtraEditors.TextEdit txtsellFivePrice; /////////////////////////////// private DevExpress.XtraEditors.DateEdit txttimeStr; + /////////////////////////////// + private DevExpress.XtraEditors.TextEdit txtid; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; @@ -1496,6 +1615,6 @@ namespace MES.Form private DevExpress.XtraLayout.LayoutControlItem layoutControlItem30; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem31; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem32; - private System.Windows.Forms.Timer timer1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem33; } } \ No newline at end of file diff --git a/WinformGeneralDeveloperFrame/Test.cs b/WinformGeneralDeveloperFrame/Test.cs index ec8ea55..1c23396 100644 --- a/WinformGeneralDeveloperFrame/Test.cs +++ b/WinformGeneralDeveloperFrame/Test.cs @@ -3,12 +3,14 @@ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; +using System.Data.Entity; using System.Data.Entity.Migrations; using System.Drawing; using System.IO; using System.Linq; using System.Net; using System.Text; +using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using DevExpress.Data.Helpers; @@ -47,701 +49,142 @@ namespace WinformGeneralDeveloperFrame private void GetData() { + DateTime startTime1=DateTime.Parse("09:30:00"); + DateTime endTime1 = DateTime.Parse("11:30:00"); + + DateTime startTime2 = DateTime.Parse("13:00:00"); + DateTime endTime2 = DateTime.Parse("15:00:00"); + Task.Factory.StartNew(() => { while (true) { if (flag) - { - var t1 = Task.Factory.StartNew(() => + if (DateTime.Now >= startTime1 && DateTime.Now <= endTime1 || DateTime.Now >= startTime2 && DateTime.Now <= endTime2) { - try { - string url = "http://hq.sinajs.cn/list={0}"; - var list = new MESDB().stockInfo.ToList().Skip(0).Take(200); + List listtask = new List(); + int num1 = 0; + int num2 = 400; string code = ""; - foreach (var stockInfo in list) - { - code += stockInfo.code + ","; - } - url = string.Format(url, code); - HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); - request.Method = "GET"; - request.ContentType = "text/html;charset=UTF-8"; - request.UserAgent = null; - request.Timeout = 6000; - HttpWebResponse response = (HttpWebResponse)request.GetResponse(); - Stream myResponseStream = response.GetResponseStream(); - StreamReader myStreamReader = new StreamReader(myResponseStream, System.Text.Encoding.Default); - string retString = myStreamReader.ReadToEnd(); - string[] ResData = retString.Split(';'); - List list1 = new List(); - foreach (var item in ResData) - { - var data = item.Split('='); - if (data.Length == 2) - { - var dd = data[1].Split(','); - if (dd.Length >= 33) - { - stockInfo info = new stockInfo() - { - code = data[0].Split('_')[2], - name = dd[0].Replace("\"", ""), - startPrice = decimal.Parse(dd[1]), - olePrice = decimal.Parse(dd[2]), - nowPrice = decimal.Parse(dd[3]), - maxPrice = decimal.Parse(dd[4]), - minPrice = decimal.Parse(dd[5]), - bidderPrice = decimal.Parse(dd[6]), - auctionPrice = decimal.Parse(dd[7]), - turnover = int.Parse(dd[8]), - turnoverPrice = decimal.Parse(dd[9]), - buyOneNum = int.Parse(dd[10]), - buyOnePrice = decimal.Parse(dd[11]), - buyTwoNum = int.Parse(dd[12]), - buyTwoPrice = decimal.Parse(dd[13]), - buyThreeNum = int.Parse(dd[14]), - buyThreePrice = decimal.Parse(dd[15]), - buyFourNum = int.Parse(dd[16]), - buyFourPrice = decimal.Parse(dd[17]), - buyFiveNum = int.Parse(dd[18]), - buyFivePrice = decimal.Parse(dd[19]), - sellOneNum = int.Parse(dd[20]), - sellOnePrice = decimal.Parse(dd[21]), - sellTwoNum = int.Parse(dd[22]), - sellTwoPrice = decimal.Parse(dd[23]), - sellThreeNum = int.Parse(dd[24]), - sellThreePrice = decimal.Parse(dd[25]), - sellFourNum = int.Parse(dd[26]), - sellFourPrice = decimal.Parse(dd[27]), - sellFiveNum = int.Parse(dd[28]), - sellFivePrice = decimal.Parse(dd[29]), - timeStr = DateTime.Parse(dd[30] + " " + dd[31]) - }; - list1.Add(info); - } - } - } + Dictionary stockinfos = null; + List codes = new List(); using (var db = new MESDB()) { - foreach (var info in list1) + num1 = db.stockInfo.GroupBy(P => P.code).ToList().Count; + foreach (var item in db.stockInfo.GroupBy(P => P.code)) { - db.stockInfo.AddOrUpdate(info); + codes.Add(item.Key); } - db.SaveChanges(); } - } - catch (Exception ex) - { - ex.Message.ShowError(); - } - }); - //var t2 = Task.Factory.StartNew(() => - //{ - // try - // { - // string url = "http://hq.sinajs.cn/list={0}"; - // var list = new MESDB().stockInfo.ToList().Skip(500).Take(500); - // string code = ""; - // foreach (var stockInfo in list) - // { - // code += stockInfo.code + ","; - // } - // url = string.Format(url, code); - // HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); - // request.Method = "GET"; - // request.ContentType = "text/html;charset=UTF-8"; - // request.UserAgent = null; - // request.Timeout = 6000; - // HttpWebResponse response = (HttpWebResponse)request.GetResponse(); - // Stream myResponseStream = response.GetResponseStream(); - // StreamReader myStreamReader = new StreamReader(myResponseStream, System.Text.Encoding.Default); - // string retString = myStreamReader.ReadToEnd(); - // string[] ResData = retString.Split(';'); - // List list1 = new List(); - // foreach (var item in ResData) - // { - // var data = item.Split('='); - // if (data.Length == 2) - // { - // var dd = data[1].Split(','); - // if (dd.Length >= 33) - // { - // stockInfo info = new stockInfo() - // { - // code = data[0].Split('_')[2], - // name = dd[0].Replace("\"", ""), - // startPrice = decimal.Parse(dd[1]), - // olePrice = decimal.Parse(dd[2]), - // nowPrice = decimal.Parse(dd[3]), - // maxPrice = decimal.Parse(dd[4]), - // minPrice = decimal.Parse(dd[5]), - // bidderPrice = decimal.Parse(dd[6]), - // auctionPrice = decimal.Parse(dd[7]), - // turnover = int.Parse(dd[8]), - // turnoverPrice = decimal.Parse(dd[9]), - // buyOneNum = int.Parse(dd[10]), - // buyOnePrice = decimal.Parse(dd[11]), - // buyTwoNum = int.Parse(dd[12]), - // buyTwoPrice = decimal.Parse(dd[13]), - // buyThreeNum = int.Parse(dd[14]), - // buyThreePrice = decimal.Parse(dd[15]), - // buyFourNum = int.Parse(dd[16]), - // buyFourPrice = decimal.Parse(dd[17]), - // buyFiveNum = int.Parse(dd[18]), - // buyFivePrice = decimal.Parse(dd[19]), - // sellOneNum = int.Parse(dd[20]), - // sellOnePrice = decimal.Parse(dd[21]), - // sellTwoNum = int.Parse(dd[22]), - // sellTwoPrice = decimal.Parse(dd[23]), - // sellThreeNum = int.Parse(dd[24]), - // sellThreePrice = decimal.Parse(dd[25]), - // sellFourNum = int.Parse(dd[26]), - // sellFourPrice = decimal.Parse(dd[27]), - // sellFiveNum = int.Parse(dd[28]), - // sellFivePrice = decimal.Parse(dd[29]), - // timeStr = DateTime.Parse(dd[30] + " " + dd[31]) - // }; - // list1.Add(info); - // } - // } - // } - // using (var db = new MESDB()) - // { - // foreach (var info in list1) - // { - // db.stockInfo.AddOrUpdate(info); - // } - // db.SaveChanges(); - // } - // } - // catch (Exception ex) - // { - // ex.Message.ShowError(); - // } - //}); - //var t3 = Task.Factory.StartNew(() => - //{ - // try - // { - // string url = "http://hq.sinajs.cn/list={0}"; - // var list = new MESDB().stockInfo.ToList().Skip(1000).Take(500); - // string code = ""; - // foreach (var stockInfo in list) - // { - // code += stockInfo.code + ","; - // } - // url = string.Format(url, code); - // HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); - // request.Method = "GET"; - // request.ContentType = "text/html;charset=UTF-8"; - // request.UserAgent = null; - // request.Timeout = 6000; - // HttpWebResponse response = (HttpWebResponse)request.GetResponse(); - // Stream myResponseStream = response.GetResponseStream(); - // StreamReader myStreamReader = new StreamReader(myResponseStream, System.Text.Encoding.Default); - // string retString = myStreamReader.ReadToEnd(); - // string[] ResData = retString.Split(';'); - // List list1 = new List(); - // foreach (var item in ResData) - // { - // var data = item.Split('='); - // if (data.Length == 2) - // { - // var dd = data[1].Split(','); - // if (dd.Length >= 33) - // { - // stockInfo info = new stockInfo() - // { - // code = data[0].Split('_')[2], - // name = dd[0].Replace("\"", ""), - // startPrice = decimal.Parse(dd[1]), - // olePrice = decimal.Parse(dd[2]), - // nowPrice = decimal.Parse(dd[3]), - // maxPrice = decimal.Parse(dd[4]), - // minPrice = decimal.Parse(dd[5]), - // bidderPrice = decimal.Parse(dd[6]), - // auctionPrice = decimal.Parse(dd[7]), - // turnover = int.Parse(dd[8]), - // turnoverPrice = decimal.Parse(dd[9]), - // buyOneNum = int.Parse(dd[10]), - // buyOnePrice = decimal.Parse(dd[11]), - // buyTwoNum = int.Parse(dd[12]), - // buyTwoPrice = decimal.Parse(dd[13]), - // buyThreeNum = int.Parse(dd[14]), - // buyThreePrice = decimal.Parse(dd[15]), - // buyFourNum = int.Parse(dd[16]), - // buyFourPrice = decimal.Parse(dd[17]), - // buyFiveNum = int.Parse(dd[18]), - // buyFivePrice = decimal.Parse(dd[19]), - // sellOneNum = int.Parse(dd[20]), - // sellOnePrice = decimal.Parse(dd[21]), - // sellTwoNum = int.Parse(dd[22]), - // sellTwoPrice = decimal.Parse(dd[23]), - // sellThreeNum = int.Parse(dd[24]), - // sellThreePrice = decimal.Parse(dd[25]), - // sellFourNum = int.Parse(dd[26]), - // sellFourPrice = decimal.Parse(dd[27]), - // sellFiveNum = int.Parse(dd[28]), - // sellFivePrice = decimal.Parse(dd[29]), - // timeStr = DateTime.Parse(dd[30] + " " + dd[31]) - // }; - // list1.Add(info); - // } - // } - // } - // using (var db = new MESDB()) - // { - // foreach (var info in list1) - // { - // db.stockInfo.AddOrUpdate(info); - // } - // db.SaveChanges(); - // } - // } - // catch (Exception ex) - // { - // ex.Message.ShowError(); - // } - //}); - //var t4 = Task.Factory.StartNew(() => - //{ - // try - // { - // string url = "http://hq.sinajs.cn/list={0}"; - // var list = new MESDB().stockInfo.ToList().Skip(1500).Take(500); - // string code = ""; - // foreach (var stockInfo in list) - // { - // code += stockInfo.code + ","; - // } - // url = string.Format(url, code); - // HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); - // request.Method = "GET"; - // request.ContentType = "text/html;charset=UTF-8"; - // request.UserAgent = null; - // request.Timeout = 6000; - // HttpWebResponse response = (HttpWebResponse)request.GetResponse(); - // Stream myResponseStream = response.GetResponseStream(); - // StreamReader myStreamReader = new StreamReader(myResponseStream, System.Text.Encoding.Default); - // string retString = myStreamReader.ReadToEnd(); - // string[] ResData = retString.Split(';'); - // List list1 = new List(); - // foreach (var item in ResData) - // { - // var data = item.Split('='); - // if (data.Length == 2) - // { - // var dd = data[1].Split(','); - // if (dd.Length >= 33) - // { - // stockInfo info = new stockInfo() - // { - // code = data[0].Split('_')[2], - // name = dd[0].Replace("\"", ""), - // startPrice = decimal.Parse(dd[1]), - // olePrice = decimal.Parse(dd[2]), - // nowPrice = decimal.Parse(dd[3]), - // maxPrice = decimal.Parse(dd[4]), - // minPrice = decimal.Parse(dd[5]), - // bidderPrice = decimal.Parse(dd[6]), - // auctionPrice = decimal.Parse(dd[7]), - // turnover = int.Parse(dd[8]), - // turnoverPrice = decimal.Parse(dd[9]), - // buyOneNum = int.Parse(dd[10]), - // buyOnePrice = decimal.Parse(dd[11]), - // buyTwoNum = int.Parse(dd[12]), - // buyTwoPrice = decimal.Parse(dd[13]), - // buyThreeNum = int.Parse(dd[14]), - // buyThreePrice = decimal.Parse(dd[15]), - // buyFourNum = int.Parse(dd[16]), - // buyFourPrice = decimal.Parse(dd[17]), - // buyFiveNum = int.Parse(dd[18]), - // buyFivePrice = decimal.Parse(dd[19]), - // sellOneNum = int.Parse(dd[20]), - // sellOnePrice = decimal.Parse(dd[21]), - // sellTwoNum = int.Parse(dd[22]), - // sellTwoPrice = decimal.Parse(dd[23]), - // sellThreeNum = int.Parse(dd[24]), - // sellThreePrice = decimal.Parse(dd[25]), - // sellFourNum = int.Parse(dd[26]), - // sellFourPrice = decimal.Parse(dd[27]), - // sellFiveNum = int.Parse(dd[28]), - // sellFivePrice = decimal.Parse(dd[29]), - // timeStr = DateTime.Parse(dd[30] + " " + dd[31]) - // }; - // list1.Add(info); - // } - // } - // } - // using (var db = new MESDB()) - // { - // foreach (var info in list1) - // { - // db.stockInfo.AddOrUpdate(info); - // } - // db.SaveChanges(); - // } - // } - // catch (Exception ex) - // { - // ex.Message.ShowError(); - // } - //}); - //var t5 = Task.Factory.StartNew(() => - //{ - // try - // { - // string url = "http://hq.sinajs.cn/list={0}"; - // var list = new MESDB().stockInfo.ToList().Skip(2000).Take(500); - // string code = ""; - // foreach (var stockInfo in list) - // { - // code += stockInfo.code + ","; - // } - // url = string.Format(url, code); - // HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); - // request.Method = "GET"; - // request.ContentType = "text/html;charset=UTF-8"; - // request.UserAgent = null; - // request.Timeout = 6000; - // HttpWebResponse response = (HttpWebResponse)request.GetResponse(); - // Stream myResponseStream = response.GetResponseStream(); - // StreamReader myStreamReader = new StreamReader(myResponseStream, System.Text.Encoding.Default); - // string retString = myStreamReader.ReadToEnd(); - // string[] ResData = retString.Split(';'); - // List list1 = new List(); - // foreach (var item in ResData) - // { - // var data = item.Split('='); - // if (data.Length == 2) - // { - // var dd = data[1].Split(','); - // if (dd.Length >= 33) - // { - // stockInfo info = new stockInfo() - // { - // code = data[0].Split('_')[2], - // name = dd[0].Replace("\"", ""), - // startPrice = decimal.Parse(dd[1]), - // olePrice = decimal.Parse(dd[2]), - // nowPrice = decimal.Parse(dd[3]), - // maxPrice = decimal.Parse(dd[4]), - // minPrice = decimal.Parse(dd[5]), - // bidderPrice = decimal.Parse(dd[6]), - // auctionPrice = decimal.Parse(dd[7]), - // turnover = int.Parse(dd[8]), - // turnoverPrice = decimal.Parse(dd[9]), - // buyOneNum = int.Parse(dd[10]), - // buyOnePrice = decimal.Parse(dd[11]), - // buyTwoNum = int.Parse(dd[12]), - // buyTwoPrice = decimal.Parse(dd[13]), - // buyThreeNum = int.Parse(dd[14]), - // buyThreePrice = decimal.Parse(dd[15]), - // buyFourNum = int.Parse(dd[16]), - // buyFourPrice = decimal.Parse(dd[17]), - // buyFiveNum = int.Parse(dd[18]), - // buyFivePrice = decimal.Parse(dd[19]), - // sellOneNum = int.Parse(dd[20]), - // sellOnePrice = decimal.Parse(dd[21]), - // sellTwoNum = int.Parse(dd[22]), - // sellTwoPrice = decimal.Parse(dd[23]), - // sellThreeNum = int.Parse(dd[24]), - // sellThreePrice = decimal.Parse(dd[25]), - // sellFourNum = int.Parse(dd[26]), - // sellFourPrice = decimal.Parse(dd[27]), - // sellFiveNum = int.Parse(dd[28]), - // sellFivePrice = decimal.Parse(dd[29]), - // timeStr = DateTime.Parse(dd[30] + " " + dd[31]) - // }; - // list1.Add(info); - // } - // } - // } - // using (var db = new MESDB()) - // { - // foreach (var info in list1) - // { - // db.stockInfo.AddOrUpdate(info); - // } - // db.SaveChanges(); - // } - // } - // catch (Exception ex) - // { - // ex.Message.ShowError(); - // } - //}); - //var t6 = Task.Factory.StartNew(() => - //{ - // try - // { - // string url = "http://hq.sinajs.cn/list={0}"; - // var list = new MESDB().stockInfo.ToList().Skip(2500).Take(500); - // string code = ""; - // foreach (var stockInfo in list) - // { - // code += stockInfo.code + ","; - // } - // url = string.Format(url, code); - // HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); - // request.Method = "GET"; - // request.ContentType = "text/html;charset=UTF-8"; - // request.UserAgent = null; - // request.Timeout = 6000; - // HttpWebResponse response = (HttpWebResponse)request.GetResponse(); - // Stream myResponseStream = response.GetResponseStream(); - // StreamReader myStreamReader = new StreamReader(myResponseStream, System.Text.Encoding.Default); - // string retString = myStreamReader.ReadToEnd(); - // string[] ResData = retString.Split(';'); - // List list1 = new List(); - // foreach (var item in ResData) - // { - // var data = item.Split('='); - // if (data.Length == 2) - // { - // var dd = data[1].Split(','); - // if (dd.Length >= 33) - // { - // stockInfo info = new stockInfo() - // { - // code = data[0].Split('_')[2], - // name = dd[0].Replace("\"", ""), - // startPrice = decimal.Parse(dd[1]), - // olePrice = decimal.Parse(dd[2]), - // nowPrice = decimal.Parse(dd[3]), - // maxPrice = decimal.Parse(dd[4]), - // minPrice = decimal.Parse(dd[5]), - // bidderPrice = decimal.Parse(dd[6]), - // auctionPrice = decimal.Parse(dd[7]), - // turnover = int.Parse(dd[8]), - // turnoverPrice = decimal.Parse(dd[9]), - // buyOneNum = int.Parse(dd[10]), - // buyOnePrice = decimal.Parse(dd[11]), - // buyTwoNum = int.Parse(dd[12]), - // buyTwoPrice = decimal.Parse(dd[13]), - // buyThreeNum = int.Parse(dd[14]), - // buyThreePrice = decimal.Parse(dd[15]), - // buyFourNum = int.Parse(dd[16]), - // buyFourPrice = decimal.Parse(dd[17]), - // buyFiveNum = int.Parse(dd[18]), - // buyFivePrice = decimal.Parse(dd[19]), - // sellOneNum = int.Parse(dd[20]), - // sellOnePrice = decimal.Parse(dd[21]), - // sellTwoNum = int.Parse(dd[22]), - // sellTwoPrice = decimal.Parse(dd[23]), - // sellThreeNum = int.Parse(dd[24]), - // sellThreePrice = decimal.Parse(dd[25]), - // sellFourNum = int.Parse(dd[26]), - // sellFourPrice = decimal.Parse(dd[27]), - // sellFiveNum = int.Parse(dd[28]), - // sellFivePrice = decimal.Parse(dd[29]), - // timeStr = DateTime.Parse(dd[30] + " " + dd[31]) - // }; - // list1.Add(info); - // } - // } - // } - // using (var db = new MESDB()) - // { - // foreach (var info in list1) - // { - // db.stockInfo.AddOrUpdate(info); - // } - // db.SaveChanges(); - // } - // } - // catch (Exception ex) - // { - // ex.Message.ShowError(); - // } - //}); - //var t7 = Task.Factory.StartNew(() => - //{ - // try - // { - // string url = "http://hq.sinajs.cn/list={0}"; - // var list = new MESDB().stockInfo.ToList().Skip(3000).Take(500); - // string code = ""; - // foreach (var stockInfo in list) - // { - // code += stockInfo.code + ","; - // } - // url = string.Format(url, code); - // HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); - // request.Method = "GET"; - // request.ContentType = "text/html;charset=UTF-8"; - // request.UserAgent = null; - // request.Timeout = 6000; - // HttpWebResponse response = (HttpWebResponse)request.GetResponse(); - // Stream myResponseStream = response.GetResponseStream(); - // StreamReader myStreamReader = new StreamReader(myResponseStream, System.Text.Encoding.Default); - // string retString = myStreamReader.ReadToEnd(); - // string[] ResData = retString.Split(';'); - // List list1 = new List(); - // foreach (var item in ResData) - // { - // var data = item.Split('='); - // if (data.Length == 2) - // { - // var dd = data[1].Split(','); - // if (dd.Length >= 33) - // { - // stockInfo info = new stockInfo() - // { - // code = data[0].Split('_')[2], - // name = dd[0].Replace("\"", ""), - // startPrice = decimal.Parse(dd[1]), - // olePrice = decimal.Parse(dd[2]), - // nowPrice = decimal.Parse(dd[3]), - // maxPrice = decimal.Parse(dd[4]), - // minPrice = decimal.Parse(dd[5]), - // bidderPrice = decimal.Parse(dd[6]), - // auctionPrice = decimal.Parse(dd[7]), - // turnover = int.Parse(dd[8]), - // turnoverPrice = decimal.Parse(dd[9]), - // buyOneNum = int.Parse(dd[10]), - // buyOnePrice = decimal.Parse(dd[11]), - // buyTwoNum = int.Parse(dd[12]), - // buyTwoPrice = decimal.Parse(dd[13]), - // buyThreeNum = int.Parse(dd[14]), - // buyThreePrice = decimal.Parse(dd[15]), - // buyFourNum = int.Parse(dd[16]), - // buyFourPrice = decimal.Parse(dd[17]), - // buyFiveNum = int.Parse(dd[18]), - // buyFivePrice = decimal.Parse(dd[19]), - // sellOneNum = int.Parse(dd[20]), - // sellOnePrice = decimal.Parse(dd[21]), - // sellTwoNum = int.Parse(dd[22]), - // sellTwoPrice = decimal.Parse(dd[23]), - // sellThreeNum = int.Parse(dd[24]), - // sellThreePrice = decimal.Parse(dd[25]), - // sellFourNum = int.Parse(dd[26]), - // sellFourPrice = decimal.Parse(dd[27]), - // sellFiveNum = int.Parse(dd[28]), - // sellFivePrice = decimal.Parse(dd[29]), - // timeStr = DateTime.Parse(dd[30] + " " + dd[31]) - // }; - // list1.Add(info); - // } - // } - // } - // using (var db = new MESDB()) - // { - // foreach (var info in list1) - // { - // db.stockInfo.AddOrUpdate(info); - // } - // db.SaveChanges(); - // } - // } - // catch (Exception ex) - // { - // ex.Message.ShowError(); - // } - //}); - List listtask = new List(); - for(int m = 0; m<8; m++) - { - int n = m; - var t=Task.Factory.StartNew(() => - { - try + for (int m = 0; m <= num1 / num2; m++) { - string url = "http://hq.sinajs.cn/list={0}"; - var list = new MESDB().stockInfo.ToList().Skip(400*n).Take(400); - string code = ""; - foreach (var stockInfo in list) + int n = m; + var t = Task.Factory.StartNew(() => { - code += stockInfo.code + ","; - } - url = string.Format(url, code); - HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); - request.Method = "GET"; - request.ContentType = "text/html;charset=UTF-8"; - request.UserAgent = null; - request.Timeout = 60000; - HttpWebResponse response = (HttpWebResponse)request.GetResponse(); - Stream myResponseStream = response.GetResponseStream(); - StreamReader myStreamReader = new StreamReader(myResponseStream, System.Text.Encoding.Default); - string retString = myStreamReader.ReadToEnd(); - string[] ResData = retString.Split(';'); - List list1 = new List(); - foreach (var item in ResData) - { - var data = item.Split('='); - if (data.Length == 2) + try { - var dd = data[1].Split(','); - if (dd.Length >= 33) + string url = "http://hq.sinajs.cn/list={0}"; + var list = codes.Skip(num2 * n).Take(num2); + //string code = ""; + foreach (var str in list) { - stockInfo info = new stockInfo() + code += str + ","; + } + url = string.Format(url, code); + HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); + request.Method = "GET"; + request.ContentType = "text/html;charset=UTF-8"; + request.UserAgent = null; + request.Timeout = 60000; + HttpWebResponse response = (HttpWebResponse)request.GetResponse(); + Stream myResponseStream = response.GetResponseStream(); + StreamReader myStreamReader = new StreamReader(myResponseStream, System.Text.Encoding.Default); + string retString = myStreamReader.ReadToEnd(); + string[] ResData = retString.Split(';'); + List list1 = new List(); + foreach (var item in ResData) + { + var data = item.Split('='); + if (data.Length == 2) { - code = data[0].Split('_')[2], - name = dd[0].Replace("\"", ""), - startPrice = decimal.Parse(dd[1]), - olePrice = decimal.Parse(dd[2]), - nowPrice = decimal.Parse(dd[3]), - maxPrice = decimal.Parse(dd[4]), - minPrice = decimal.Parse(dd[5]), - bidderPrice = decimal.Parse(dd[6]), - auctionPrice = decimal.Parse(dd[7]), - turnover = int.Parse(dd[8]), - turnoverPrice = decimal.Parse(dd[9]), - buyOneNum = int.Parse(dd[10]), - buyOnePrice = decimal.Parse(dd[11]), - buyTwoNum = int.Parse(dd[12]), - buyTwoPrice = decimal.Parse(dd[13]), - buyThreeNum = int.Parse(dd[14]), - buyThreePrice = decimal.Parse(dd[15]), - buyFourNum = int.Parse(dd[16]), - buyFourPrice = decimal.Parse(dd[17]), - buyFiveNum = int.Parse(dd[18]), - buyFivePrice = decimal.Parse(dd[19]), - sellOneNum = int.Parse(dd[20]), - sellOnePrice = decimal.Parse(dd[21]), - sellTwoNum = int.Parse(dd[22]), - sellTwoPrice = decimal.Parse(dd[23]), - sellThreeNum = int.Parse(dd[24]), - sellThreePrice = decimal.Parse(dd[25]), - sellFourNum = int.Parse(dd[26]), - sellFourPrice = decimal.Parse(dd[27]), - sellFiveNum = int.Parse(dd[28]), - sellFivePrice = decimal.Parse(dd[29]), - timeStr = DateTime.Parse(dd[30] + " " + dd[31]) - }; - list1.Add(info); + var dd = data[1].Split(','); + if (dd.Length >= 33) + { + stockInfo info = new stockInfo() + { + code = data[0].Split('_')[2], + name = dd[0].Replace("\"", ""), + startPrice = decimal.Parse(dd[1]), + olePrice = decimal.Parse(dd[2]), + nowPrice = decimal.Parse(dd[3]), + maxPrice = decimal.Parse(dd[4]), + minPrice = decimal.Parse(dd[5]), + bidderPrice = decimal.Parse(dd[6]), + auctionPrice = decimal.Parse(dd[7]), + turnover = int.Parse(dd[8]), + turnoverPrice = decimal.Parse(dd[9]), + buyOneNum = int.Parse(dd[10]), + buyOnePrice = decimal.Parse(dd[11]), + buyTwoNum = int.Parse(dd[12]), + buyTwoPrice = decimal.Parse(dd[13]), + buyThreeNum = int.Parse(dd[14]), + buyThreePrice = decimal.Parse(dd[15]), + buyFourNum = int.Parse(dd[16]), + buyFourPrice = decimal.Parse(dd[17]), + buyFiveNum = int.Parse(dd[18]), + buyFivePrice = decimal.Parse(dd[19]), + sellOneNum = int.Parse(dd[20]), + sellOnePrice = decimal.Parse(dd[21]), + sellTwoNum = int.Parse(dd[22]), + sellTwoPrice = decimal.Parse(dd[23]), + sellThreeNum = int.Parse(dd[24]), + sellThreePrice = decimal.Parse(dd[25]), + sellFourNum = int.Parse(dd[26]), + sellFourPrice = decimal.Parse(dd[27]), + sellFiveNum = int.Parse(dd[28]), + sellFivePrice = decimal.Parse(dd[29]), + timeStr = DateTime.Parse(dd[30] + " " + dd[31]) + }; + list1.Add(info); + } + } + } + using (var db = new MESDB()) + { + db.stockInfo.AddRange(list1); + db.SaveChanges(); } } - } - using (var db = new MESDB()) - { - foreach (var info in list1) + catch (Exception ex) { - db.stockInfo.AddOrUpdate(info); + var action1 = new Action(() => + { + Show(DateTime.Now + ex.Message + "\r\n"); + }); + this.Invoke(action1); } - db.SaveChanges(); - } - } - catch (Exception ex) - { - var action1 = new Action(() => - { - Show(DateTime.Now + ex.Message + "\r\n"); }); - this.Invoke(action1); + listtask.Add(t); } - }); - listtask.Add(t); + Task.WaitAll(listtask.ToArray()); + var action = new Action(() => + { + Show(DateTime.Now + ":采集成功" + "\r\n"); + }); + this.Invoke(action); + } } - Task.WaitAll(listtask.ToArray()); - var action= new Action(() => + else { - Show(DateTime.Now + ":采集成功" + "\r\n"); - }); - this.Invoke(action); - } + var action1 = new Action(() => + { + Show(DateTime.Now + "股票已休市" + "\r\n"); + }); + this.Invoke(action1); + } + + Thread.Sleep(30000); } }); }