탭 안보이는 문제

This commit is contained in:
2018-12-26 16:13:23 +09:00
parent 9493b9f4d5
commit 67924744e1
3 changed files with 267 additions and 269 deletions

527
AutoSeller.Designer.cs generated
View File

@@ -41,36 +41,10 @@
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.lvItems = new AutoSellerNS.ListViewNF();
this.chCode = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCodeName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCurPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chBookValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCapitalGains = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chAssessedValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chValuation = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chYield = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chMaxPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCheckCountLimit = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCheckCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.lvNCItem = new AutoSellerNS.ListViewNF();
this.chNCOrderNo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chNCOrgOrderNo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chNCCode = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chNCCodeName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chNCType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chNCPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chNCCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.btCancel = new MaterialSkin.Controls.MaterialRaisedButton();
this.btUpdateNC = new MaterialSkin.Controls.MaterialRaisedButton();
this.tbLog = new System.Windows.Forms.RichTextBox();
this.lvCurPrice = new AutoSellerNS.ListViewNF();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chAskCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCallPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chBidCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.btUpdate = new MaterialSkin.Controls.MaterialRaisedButton();
this.btCybos = new MaterialSkin.Controls.MaterialRaisedButton();
this.tabPage2 = new System.Windows.Forms.TabPage();
@@ -140,6 +114,32 @@
this.tbSimulationLog = new System.Windows.Forms.RichTextBox();
this.btSimulate = new MaterialSkin.Controls.MaterialFlatButton();
this.btLoad = new MaterialSkin.Controls.MaterialFlatButton();
this.lvItems = new AutoSellerNS.ListViewNF();
this.chCode = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCodeName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCurPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chBookValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCapitalGains = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chAssessedValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chValuation = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chYield = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chMaxPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCheckCountLimit = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCheckCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.lvNCItem = new AutoSellerNS.ListViewNF();
this.chNCOrderNo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chNCOrgOrderNo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chNCCode = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chNCCodeName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chNCType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chNCPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chNCCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.lvCurPrice = new AutoSellerNS.ListViewNF();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chAskCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chCallPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chBidCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.materialTabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
@@ -182,9 +182,9 @@
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.materialTabControl1.Controls.Add(this.tabPage1);
this.materialTabControl1.Controls.Add(this.tabPage2);
this.materialTabControl1.Controls.Add(this.tabPage3);
this.materialTabControl1.Controls.Add(this.tabPage4);
this.materialTabControl1.Controls.Add(this.tabPage2);
this.materialTabControl1.Depth = 0;
this.materialTabControl1.Location = new System.Drawing.Point(3, 115);
this.materialTabControl1.MouseState = MaterialSkin.MouseState.HOVER;
@@ -192,7 +192,6 @@
this.materialTabControl1.SelectedIndex = 0;
this.materialTabControl1.Size = new System.Drawing.Size(1141, 662);
this.materialTabControl1.TabIndex = 2;
this.materialTabControl1.Visible = false;
//
// tabPage1
//
@@ -246,12 +245,12 @@
this.lbRQCnt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.lbRQCnt.AutoSize = true;
this.lbRQCnt.Depth = 0;
this.lbRQCnt.Font = new System.Drawing.Font("Roboto", 11F);
this.lbRQCnt.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.lbRQCnt.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.lbRQCnt.Location = new System.Drawing.Point(1026, 6);
this.lbRQCnt.MouseState = MaterialSkin.MouseState.HOVER;
this.lbRQCnt.Name = "lbRQCnt";
this.lbRQCnt.Size = new System.Drawing.Size(0, 19);
this.lbRQCnt.Size = new System.Drawing.Size(0, 18);
this.lbRQCnt.TabIndex = 7;
//
// lbTRCnt
@@ -259,12 +258,12 @@
this.lbTRCnt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.lbTRCnt.AutoSize = true;
this.lbTRCnt.Depth = 0;
this.lbTRCnt.Font = new System.Drawing.Font("Roboto", 11F);
this.lbTRCnt.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.lbTRCnt.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.lbTRCnt.Location = new System.Drawing.Point(1060, 6);
this.lbTRCnt.MouseState = MaterialSkin.MouseState.HOVER;
this.lbTRCnt.Name = "lbTRCnt";
this.lbTRCnt.Size = new System.Drawing.Size(0, 19);
this.lbTRCnt.Size = new System.Drawing.Size(0, 18);
this.lbTRCnt.TabIndex = 6;
//
// lbSBCnt
@@ -272,12 +271,12 @@
this.lbSBCnt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.lbSBCnt.AutoSize = true;
this.lbSBCnt.Depth = 0;
this.lbSBCnt.Font = new System.Drawing.Font("Roboto", 11F);
this.lbSBCnt.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.lbSBCnt.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.lbSBCnt.Location = new System.Drawing.Point(1094, 6);
this.lbSBCnt.MouseState = MaterialSkin.MouseState.HOVER;
this.lbSBCnt.Name = "lbSBCnt";
this.lbSBCnt.Size = new System.Drawing.Size(0, 19);
this.lbSBCnt.Size = new System.Drawing.Size(0, 18);
this.lbSBCnt.TabIndex = 5;
//
// btSell
@@ -351,99 +350,6 @@
this.splitContainer3.SplitterDistance = 273;
this.splitContainer3.TabIndex = 1;
//
// lvItems
//
this.lvItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chCode,
this.chCodeName,
this.chCurPrice,
this.chCount,
this.chBookValue,
this.chCapitalGains,
this.chAssessedValue,
this.chValuation,
this.chYield,
this.chMaxPrice,
this.chCheckCountLimit,
this.chCheckCount});
this.lvItems.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvItems.FullRowSelect = true;
this.lvItems.GridLines = true;
this.lvItems.Location = new System.Drawing.Point(0, 0);
this.lvItems.Name = "lvItems";
this.lvItems.Size = new System.Drawing.Size(859, 273);
this.lvItems.TabIndex = 0;
this.lvItems.UseCompatibleStateImageBehavior = false;
this.lvItems.View = System.Windows.Forms.View.Details;
this.lvItems.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lvItems_ColumnClick);
this.lvItems.SelectedIndexChanged += new System.EventHandler(this.lvList_SelectedIndexChanged);
//
// chCode
//
this.chCode.Text = "코드";
this.chCode.Width = 77;
//
// chCodeName
//
this.chCodeName.Text = "종목명";
this.chCodeName.Width = 86;
//
// chCurPrice
//
this.chCurPrice.Text = "현재가";
this.chCurPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chCurPrice.Width = 71;
//
// chCount
//
this.chCount.Text = "잔고수량";
this.chCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// chBookValue
//
this.chBookValue.Text = "장부가";
this.chBookValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chBookValue.Width = 72;
//
// chCapitalGains
//
this.chCapitalGains.Text = "손익단가";
this.chCapitalGains.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chCapitalGains.Width = 73;
//
// chAssessedValue
//
this.chAssessedValue.Text = "평가금액";
this.chAssessedValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chAssessedValue.Width = 76;
//
// chValuation
//
this.chValuation.Text = "평가손익";
this.chValuation.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chValuation.Width = 79;
//
// chYield
//
this.chYield.Text = "수익률";
this.chYield.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chYield.Width = 79;
//
// chMaxPrice
//
this.chMaxPrice.Text = "최고가";
this.chMaxPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// chCheckCountLimit
//
this.chCheckCountLimit.Text = "조건제한";
this.chCheckCountLimit.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// chCheckCount
//
this.chCheckCount.Text = "조건횟수";
this.chCheckCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// splitContainer4
//
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -462,63 +368,6 @@
this.splitContainer4.SplitterDistance = 772;
this.splitContainer4.TabIndex = 2;
//
// lvNCItem
//
this.lvNCItem.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chNCOrderNo,
this.chNCOrgOrderNo,
this.chNCCode,
this.chNCCodeName,
this.chNCType,
this.chNCPrice,
this.chNCCount});
this.lvNCItem.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvNCItem.FullRowSelect = true;
this.lvNCItem.GridLines = true;
this.lvNCItem.Location = new System.Drawing.Point(0, 0);
this.lvNCItem.Name = "lvNCItem";
this.lvNCItem.Size = new System.Drawing.Size(772, 138);
this.lvNCItem.TabIndex = 1;
this.lvNCItem.UseCompatibleStateImageBehavior = false;
this.lvNCItem.View = System.Windows.Forms.View.Details;
this.lvNCItem.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lvNCItem_ColumnClick);
//
// chNCOrderNo
//
this.chNCOrderNo.Text = "주문번호";
//
// chNCOrgOrderNo
//
this.chNCOrgOrderNo.Text = "원주문번호";
this.chNCOrgOrderNo.Width = 91;
//
// chNCCode
//
this.chNCCode.Text = "코드";
this.chNCCode.Width = 77;
//
// chNCCodeName
//
this.chNCCodeName.Text = "종목명";
this.chNCCodeName.Width = 101;
//
// chNCType
//
this.chNCType.Text = "매매구분";
this.chNCType.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chNCType.Width = 106;
//
// chNCPrice
//
this.chNCPrice.Text = "주문단가";
this.chNCPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chNCPrice.Width = 72;
//
// chNCCount
//
this.chNCCount.Text = "미체결량";
this.chNCCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// btCancel
//
this.btCancel.AutoSize = true;
@@ -556,44 +405,6 @@
this.tbLog.TabIndex = 0;
this.tbLog.Text = "";
//
// lvCurPrice
//
this.lvCurPrice.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.chAskCount,
this.chCallPrice,
this.chBidCount});
this.lvCurPrice.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvCurPrice.FullRowSelect = true;
this.lvCurPrice.GridLines = true;
this.lvCurPrice.Location = new System.Drawing.Point(0, 0);
this.lvCurPrice.Name = "lvCurPrice";
this.lvCurPrice.Size = new System.Drawing.Size(264, 598);
this.lvCurPrice.TabIndex = 0;
this.lvCurPrice.UseCompatibleStateImageBehavior = false;
this.lvCurPrice.View = System.Windows.Forms.View.Details;
//
// columnHeader1
//
this.columnHeader1.Width = 10;
//
// chAskCount
//
this.chAskCount.Text = "매도잔량";
this.chAskCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chAskCount.Width = 75;
//
// chCallPrice
//
this.chCallPrice.Text = "호가";
this.chCallPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// chBidCount
//
this.chBidCount.Text = "매수잔량";
this.chBidCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chBidCount.Width = 75;
//
// btUpdate
//
this.btUpdate.AutoSize = true;
@@ -759,12 +570,12 @@
//
this.materialLabel19.AutoSize = true;
this.materialLabel19.Depth = 0;
this.materialLabel19.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel19.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel19.Location = new System.Drawing.Point(80, 504);
this.materialLabel19.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel19.Name = "materialLabel19";
this.materialLabel19.Size = new System.Drawing.Size(124, 19);
this.materialLabel19.Size = new System.Drawing.Size(145, 18);
this.materialLabel19.TabIndex = 41;
this.materialLabel19.Text = "초 후 미체결 매수 취소";
//
@@ -789,7 +600,7 @@
//
this.cbAutoCancel.AutoSize = true;
this.cbAutoCancel.Depth = 0;
this.cbAutoCancel.Font = new System.Drawing.Font("Roboto", 10F);
this.cbAutoCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.cbAutoCancel.Location = new System.Drawing.Point(23, 497);
this.cbAutoCancel.Margin = new System.Windows.Forms.Padding(0);
this.cbAutoCancel.MouseLocation = new System.Drawing.Point(-1, -1);
@@ -804,7 +615,7 @@
//
this.cbMockTrading.AutoSize = true;
this.cbMockTrading.Depth = 0;
this.cbMockTrading.Font = new System.Drawing.Font("Roboto", 10F);
this.cbMockTrading.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.cbMockTrading.Location = new System.Drawing.Point(23, 580);
this.cbMockTrading.Margin = new System.Windows.Forms.Padding(0);
this.cbMockTrading.MouseLocation = new System.Drawing.Point(-1, -1);
@@ -820,12 +631,12 @@
//
this.materialLabel18.AutoSize = true;
this.materialLabel18.Depth = 0;
this.materialLabel18.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel18.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel18.Location = new System.Drawing.Point(99, 455);
this.materialLabel18.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel18.Name = "materialLabel18";
this.materialLabel18.Size = new System.Drawing.Size(98, 19);
this.materialLabel18.Size = new System.Drawing.Size(111, 18);
this.materialLabel18.TabIndex = 37;
this.materialLabel18.Text = "원 이하 체결 무시";
//
@@ -849,12 +660,12 @@
//
this.materialLabel17.AutoSize = true;
this.materialLabel17.Depth = 0;
this.materialLabel17.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel17.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel17.Location = new System.Drawing.Point(187, 424);
this.materialLabel17.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel17.Name = "materialLabel17";
this.materialLabel17.Size = new System.Drawing.Size(94, 19);
this.materialLabel17.Size = new System.Drawing.Size(107, 18);
this.materialLabel17.TabIndex = 35;
this.materialLabel17.Text = "초 이상이면 매도";
//
@@ -862,12 +673,12 @@
//
this.materialLabel14.AutoSize = true;
this.materialLabel14.Depth = 0;
this.materialLabel14.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel14.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel14.Location = new System.Drawing.Point(209, 389);
this.materialLabel14.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel14.Name = "materialLabel14";
this.materialLabel14.Size = new System.Drawing.Size(13, 19);
this.materialLabel14.Size = new System.Drawing.Size(13, 18);
this.materialLabel14.TabIndex = 34;
this.materialLabel14.Text = "-";
//
@@ -875,12 +686,12 @@
//
this.materialLabel13.AutoSize = true;
this.materialLabel13.Depth = 0;
this.materialLabel13.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel13.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel13.Location = new System.Drawing.Point(143, 390);
this.materialLabel13.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel13.Name = "materialLabel13";
this.materialLabel13.Size = new System.Drawing.Size(18, 19);
this.materialLabel13.Size = new System.Drawing.Size(17, 18);
this.materialLabel13.TabIndex = 34;
this.materialLabel13.Text = "+";
//
@@ -936,12 +747,12 @@
//
this.materialLabel15.AutoSize = true;
this.materialLabel15.Depth = 0;
this.materialLabel15.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel15.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel15.Location = new System.Drawing.Point(25, 391);
this.materialLabel15.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel15.Name = "materialLabel15";
this.materialLabel15.Size = new System.Drawing.Size(57, 19);
this.materialLabel15.Size = new System.Drawing.Size(64, 18);
this.materialLabel15.TabIndex = 30;
this.materialLabel15.Text = "저 변동성";
//
@@ -949,12 +760,12 @@
//
this.materialLabel11.AutoSize = true;
this.materialLabel11.Depth = 0;
this.materialLabel11.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel11.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel11.Location = new System.Drawing.Point(209, 355);
this.materialLabel11.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel11.Name = "materialLabel11";
this.materialLabel11.Size = new System.Drawing.Size(13, 19);
this.materialLabel11.Size = new System.Drawing.Size(13, 18);
this.materialLabel11.TabIndex = 29;
this.materialLabel11.Text = "-";
//
@@ -962,12 +773,12 @@
//
this.materialLabel8.AutoSize = true;
this.materialLabel8.Depth = 0;
this.materialLabel8.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel8.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel8.Location = new System.Drawing.Point(143, 355);
this.materialLabel8.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel8.Name = "materialLabel8";
this.materialLabel8.Size = new System.Drawing.Size(18, 19);
this.materialLabel8.Size = new System.Drawing.Size(17, 18);
this.materialLabel8.TabIndex = 29;
this.materialLabel8.Text = "+";
//
@@ -1023,12 +834,12 @@
//
this.materialLabel12.AutoSize = true;
this.materialLabel12.Depth = 0;
this.materialLabel12.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel12.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel12.Location = new System.Drawing.Point(25, 356);
this.materialLabel12.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel12.Name = "materialLabel12";
this.materialLabel12.Size = new System.Drawing.Size(57, 19);
this.materialLabel12.Size = new System.Drawing.Size(64, 18);
this.materialLabel12.TabIndex = 25;
this.materialLabel12.Text = "고 변동성";
//
@@ -1084,12 +895,12 @@
//
this.materialLabel16.AutoSize = true;
this.materialLabel16.Depth = 0;
this.materialLabel16.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel16.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel16.Location = new System.Drawing.Point(99, 424);
this.materialLabel16.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel16.Name = "materialLabel16";
this.materialLabel16.Size = new System.Drawing.Size(31, 19);
this.materialLabel16.Size = new System.Drawing.Size(34, 18);
this.materialLabel16.TabIndex = 22;
this.materialLabel16.Text = "감소";
//
@@ -1097,12 +908,12 @@
//
this.materialLabel9.AutoSize = true;
this.materialLabel9.Depth = 0;
this.materialLabel9.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel9.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel9.Location = new System.Drawing.Point(26, 424);
this.materialLabel9.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel9.Name = "materialLabel9";
this.materialLabel9.Size = new System.Drawing.Size(31, 19);
this.materialLabel9.Size = new System.Drawing.Size(34, 18);
this.materialLabel9.TabIndex = 22;
this.materialLabel9.Text = "초당";
//
@@ -1110,12 +921,12 @@
//
this.materialLabel10.AutoSize = true;
this.materialLabel10.Depth = 0;
this.materialLabel10.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel10.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel10.Location = new System.Drawing.Point(25, 322);
this.materialLabel10.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel10.Name = "materialLabel10";
this.materialLabel10.Size = new System.Drawing.Size(46, 19);
this.materialLabel10.Size = new System.Drawing.Size(51, 18);
this.materialLabel10.TabIndex = 22;
this.materialLabel10.Text = "체결 수";
//
@@ -1123,12 +934,12 @@
//
this.materialLabel7.AutoSize = true;
this.materialLabel7.Depth = 0;
this.materialLabel7.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel7.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel7.Location = new System.Drawing.Point(224, 229);
this.materialLabel7.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel7.Name = "materialLabel7";
this.materialLabel7.Size = new System.Drawing.Size(20, 19);
this.materialLabel7.Size = new System.Drawing.Size(21, 18);
this.materialLabel7.TabIndex = 12;
this.materialLabel7.Text = "회";
//
@@ -1152,12 +963,12 @@
//
this.materialLabel6.AutoSize = true;
this.materialLabel6.Depth = 0;
this.materialLabel6.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel6.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel6.Location = new System.Drawing.Point(152, 229);
this.materialLabel6.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel6.Name = "materialLabel6";
this.materialLabel6.Size = new System.Drawing.Size(20, 19);
this.materialLabel6.Size = new System.Drawing.Size(21, 18);
this.materialLabel6.TabIndex = 10;
this.materialLabel6.Text = "%";
//
@@ -1181,12 +992,12 @@
//
this.materialLabel5.AutoSize = true;
this.materialLabel5.Depth = 0;
this.materialLabel5.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel5.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel5.Location = new System.Drawing.Point(25, 229);
this.materialLabel5.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel5.Name = "materialLabel5";
this.materialLabel5.Size = new System.Drawing.Size(68, 19);
this.materialLabel5.Size = new System.Drawing.Size(77, 18);
this.materialLabel5.TabIndex = 8;
this.materialLabel5.Text = "최고가 대비";
//
@@ -1194,12 +1005,12 @@
//
this.materialLabel4.AutoSize = true;
this.materialLabel4.Depth = 0;
this.materialLabel4.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel4.Location = new System.Drawing.Point(25, 144);
this.materialLabel4.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel4.Name = "materialLabel4";
this.materialLabel4.Size = new System.Drawing.Size(57, 19);
this.materialLabel4.Size = new System.Drawing.Size(64, 18);
this.materialLabel4.TabIndex = 7;
this.materialLabel4.Text = "조건 횟수";
//
@@ -1208,25 +1019,25 @@
this.materialLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.materialLabel3.AutoSize = true;
this.materialLabel3.Depth = 0;
this.materialLabel3.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel3.Location = new System.Drawing.Point(6, 614);
this.materialLabel3.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel3.Name = "materialLabel3";
this.materialLabel3.Size = new System.Drawing.Size(165, 19);
this.materialLabel3.Size = new System.Drawing.Size(162, 18);
this.materialLabel3.TabIndex = 6;
this.materialLabel3.Text = "Version : 2018.12.04.13";
this.materialLabel3.Text = "Version : 2018.12.26.00";
//
// materialLabel2
//
this.materialLabel2.AutoSize = true;
this.materialLabel2.Depth = 0;
this.materialLabel2.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel2.Location = new System.Drawing.Point(152, 148);
this.materialLabel2.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel2.Name = "materialLabel2";
this.materialLabel2.Size = new System.Drawing.Size(20, 19);
this.materialLabel2.Size = new System.Drawing.Size(21, 18);
this.materialLabel2.TabIndex = 5;
this.materialLabel2.Text = "회";
//
@@ -1250,12 +1061,12 @@
//
this.materialLabel1.AutoSize = true;
this.materialLabel1.Depth = 0;
this.materialLabel1.Font = new System.Drawing.Font("Roboto", 11F);
this.materialLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
this.materialLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.materialLabel1.Location = new System.Drawing.Point(25, 29);
this.materialLabel1.MouseState = MaterialSkin.MouseState.HOVER;
this.materialLabel1.Name = "materialLabel1";
this.materialLabel1.Size = new System.Drawing.Size(65, 19);
this.materialLabel1.Size = new System.Drawing.Size(62, 18);
this.materialLabel1.TabIndex = 3;
this.materialLabel1.Text = "Account";
//
@@ -1330,7 +1141,7 @@
//
this.chSMHalfTrailing.AutoSize = true;
this.chSMHalfTrailing.Depth = 0;
this.chSMHalfTrailing.Font = new System.Drawing.Font("Roboto", 10F);
this.chSMHalfTrailing.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.chSMHalfTrailing.Location = new System.Drawing.Point(516, 116);
this.chSMHalfTrailing.Margin = new System.Windows.Forms.Padding(0);
this.chSMHalfTrailing.MouseLocation = new System.Drawing.Point(-1, -1);
@@ -1479,6 +1290,194 @@
this.btLoad.UseVisualStyleBackColor = true;
this.btLoad.Click += new System.EventHandler(this.btLoad_Click);
//
// lvItems
//
this.lvItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chCode,
this.chCodeName,
this.chCurPrice,
this.chCount,
this.chBookValue,
this.chCapitalGains,
this.chAssessedValue,
this.chValuation,
this.chYield,
this.chMaxPrice,
this.chCheckCountLimit,
this.chCheckCount});
this.lvItems.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvItems.FullRowSelect = true;
this.lvItems.GridLines = true;
this.lvItems.Location = new System.Drawing.Point(0, 0);
this.lvItems.Name = "lvItems";
this.lvItems.Size = new System.Drawing.Size(859, 273);
this.lvItems.TabIndex = 0;
this.lvItems.UseCompatibleStateImageBehavior = false;
this.lvItems.View = System.Windows.Forms.View.Details;
this.lvItems.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lvItems_ColumnClick);
this.lvItems.SelectedIndexChanged += new System.EventHandler(this.lvList_SelectedIndexChanged);
//
// chCode
//
this.chCode.Text = "코드";
this.chCode.Width = 77;
//
// chCodeName
//
this.chCodeName.Text = "종목명";
this.chCodeName.Width = 86;
//
// chCurPrice
//
this.chCurPrice.Text = "현재가";
this.chCurPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chCurPrice.Width = 71;
//
// chCount
//
this.chCount.Text = "잔고수량";
this.chCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// chBookValue
//
this.chBookValue.Text = "장부가";
this.chBookValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chBookValue.Width = 72;
//
// chCapitalGains
//
this.chCapitalGains.Text = "손익단가";
this.chCapitalGains.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chCapitalGains.Width = 73;
//
// chAssessedValue
//
this.chAssessedValue.Text = "평가금액";
this.chAssessedValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chAssessedValue.Width = 76;
//
// chValuation
//
this.chValuation.Text = "평가손익";
this.chValuation.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chValuation.Width = 79;
//
// chYield
//
this.chYield.Text = "수익률";
this.chYield.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chYield.Width = 79;
//
// chMaxPrice
//
this.chMaxPrice.Text = "최고가";
this.chMaxPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// chCheckCountLimit
//
this.chCheckCountLimit.Text = "조건제한";
this.chCheckCountLimit.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// chCheckCount
//
this.chCheckCount.Text = "조건횟수";
this.chCheckCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// lvNCItem
//
this.lvNCItem.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chNCOrderNo,
this.chNCOrgOrderNo,
this.chNCCode,
this.chNCCodeName,
this.chNCType,
this.chNCPrice,
this.chNCCount});
this.lvNCItem.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvNCItem.FullRowSelect = true;
this.lvNCItem.GridLines = true;
this.lvNCItem.Location = new System.Drawing.Point(0, 0);
this.lvNCItem.Name = "lvNCItem";
this.lvNCItem.Size = new System.Drawing.Size(772, 138);
this.lvNCItem.TabIndex = 1;
this.lvNCItem.UseCompatibleStateImageBehavior = false;
this.lvNCItem.View = System.Windows.Forms.View.Details;
this.lvNCItem.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lvNCItem_ColumnClick);
//
// chNCOrderNo
//
this.chNCOrderNo.Text = "주문번호";
//
// chNCOrgOrderNo
//
this.chNCOrgOrderNo.Text = "원주문번호";
this.chNCOrgOrderNo.Width = 91;
//
// chNCCode
//
this.chNCCode.Text = "코드";
this.chNCCode.Width = 77;
//
// chNCCodeName
//
this.chNCCodeName.Text = "종목명";
this.chNCCodeName.Width = 101;
//
// chNCType
//
this.chNCType.Text = "매매구분";
this.chNCType.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chNCType.Width = 106;
//
// chNCPrice
//
this.chNCPrice.Text = "주문단가";
this.chNCPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chNCPrice.Width = 72;
//
// chNCCount
//
this.chNCCount.Text = "미체결량";
this.chNCCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// lvCurPrice
//
this.lvCurPrice.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.chAskCount,
this.chCallPrice,
this.chBidCount});
this.lvCurPrice.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvCurPrice.FullRowSelect = true;
this.lvCurPrice.GridLines = true;
this.lvCurPrice.Location = new System.Drawing.Point(0, 0);
this.lvCurPrice.Name = "lvCurPrice";
this.lvCurPrice.Size = new System.Drawing.Size(264, 598);
this.lvCurPrice.TabIndex = 0;
this.lvCurPrice.UseCompatibleStateImageBehavior = false;
this.lvCurPrice.View = System.Windows.Forms.View.Details;
//
// columnHeader1
//
this.columnHeader1.Width = 10;
//
// chAskCount
//
this.chAskCount.Text = "매도잔량";
this.chAskCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chAskCount.Width = 75;
//
// chCallPrice
//
this.chCallPrice.Text = "호가";
this.chCallPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// chBidCount
//
this.chBidCount.Text = "매수잔량";
this.chBidCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.chBidCount.Width = 75;
//
// AutoSeller
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);

View File

@@ -78,17 +78,16 @@ namespace AutoSellerNS
foreach (TabPage tabPage in materialTabSelector1.BaseTabControl.TabPages)
{
Console.WriteLine(tabPage.Text);
var currentTabIndex = materialTabSelector1.BaseTabControl.TabPages.IndexOf(tabPage);
Console.WriteLine(currentTabIndex);
Console.WriteLine($"{tabPage.Text} : {currentTabIndex}");
}
for(int i=0; i< materialTabSelector1.BaseTabControl.TabPages.Count; i++)
{
var tabPage = materialTabSelector1.BaseTabControl.TabPages[i];
Console.WriteLine(tabPage.Text);
var currentTabIndex = materialTabSelector1.BaseTabControl.TabPages.IndexOf(tabPage);
Console.WriteLine(currentTabIndex);
Console.WriteLine($"{tabPage.Text}: {currentTabIndex}");
//new Rectangle(MaterialSkinManager.Instance.FORM_PADDING,
}

View File

@@ -11,7 +11,7 @@ namespace AutoSellerNS
{
int m_Order = 0;
public T this[int index]
public new T this[int index]
{
get
{