From b9a239898b20afa3fd767a2ef15decd4a884af1d Mon Sep 17 00:00:00 2001 From: kyh <1329522@naver.com> Date: Sat, 24 Sep 2022 11:04:40 +0900 Subject: [PATCH] =?UTF-8?q?Buyer=20Form=20=EC=9E=84=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Million Buyer/MainForm.Designer.cs | 234 +++++++++++++++++++++- Million Hunter/HunterMainForm.Designer.cs | 2 + Million Hunter/HunterMainForm.cs | 10 + Million Hunter/Million Hunter.csproj | 1 + 4 files changed, 243 insertions(+), 4 deletions(-) diff --git a/Million Buyer/MainForm.Designer.cs b/Million Buyer/MainForm.Designer.cs index da008bf..0f8b980 100644 --- a/Million Buyer/MainForm.Designer.cs +++ b/Million Buyer/MainForm.Designer.cs @@ -28,20 +28,246 @@ /// private void InitializeComponent() { + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.label6 = new System.Windows.Forms.Label(); + this.tb_CycleMoneyValue = new System.Windows.Forms.TextBox(); + this.tb_CycleCount = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.label5 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.cb_Indicators = new System.Windows.Forms.ComboBox(); + this.label7 = new System.Windows.Forms.Label(); + this.bt_Modify = new System.Windows.Forms.Button(); + this.lb_TotalMoney = new System.Windows.Forms.Label(); + this.lb_BuyMarketCount = new System.Windows.Forms.Label(); + this.lb_TotalRate = new System.Windows.Forms.Label(); + this.lb_TotalMoneyValue = new System.Windows.Forms.Label(); + this.bt_Start = new System.Windows.Forms.Button(); + this.bt_Stop = new System.Windows.Forms.Button(); + this.groupBox1.SuspendLayout(); + this.groupBox2.SuspendLayout(); this.SuspendLayout(); // - // Form1 + // groupBox1 + // + this.groupBox1.Controls.Add(this.bt_Modify); + this.groupBox1.Controls.Add(this.cb_Indicators); + this.groupBox1.Controls.Add(this.label6); + this.groupBox1.Controls.Add(this.tb_CycleMoneyValue); + this.groupBox1.Controls.Add(this.tb_CycleCount); + this.groupBox1.Controls.Add(this.label2); + this.groupBox1.Controls.Add(this.label1); + this.groupBox1.Location = new System.Drawing.Point(12, 12); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(362, 115); + this.groupBox1.TabIndex = 5; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "데이터 Setting"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(95, 88); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(41, 12); + this.label6.TabIndex = 4; + this.label6.Text = "조건식"; + // + // tb_CycleMoneyValue + // + this.tb_CycleMoneyValue.Location = new System.Drawing.Point(142, 50); + this.tb_CycleMoneyValue.Name = "tb_CycleMoneyValue"; + this.tb_CycleMoneyValue.Size = new System.Drawing.Size(214, 21); + this.tb_CycleMoneyValue.TabIndex = 3; + // + // tb_CycleCount + // + this.tb_CycleCount.Location = new System.Drawing.Point(142, 20); + this.tb_CycleCount.Name = "tb_CycleCount"; + this.tb_CycleCount.Size = new System.Drawing.Size(214, 21); + this.tb_CycleCount.TabIndex = 2; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(35, 53); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(101, 12); + this.label2.TabIndex = 1; + this.label2.Text = "종목 별 구입 금액"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(7, 26); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(129, 12); + this.label1.TabIndex = 0; + this.label1.Text = "한번에 구입 할 종목 수"; + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.lb_TotalMoneyValue); + this.groupBox2.Controls.Add(this.lb_TotalRate); + this.groupBox2.Controls.Add(this.lb_BuyMarketCount); + this.groupBox2.Controls.Add(this.lb_TotalMoney); + this.groupBox2.Controls.Add(this.label7); + this.groupBox2.Controls.Add(this.label5); + this.groupBox2.Controls.Add(this.label3); + this.groupBox2.Controls.Add(this.label4); + this.groupBox2.Location = new System.Drawing.Point(12, 133); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(362, 149); + this.groupBox2.TabIndex = 6; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "데이터 현황"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(27, 91); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(69, 12); + this.label5.TabIndex = 2; + this.label5.Text = "전체 수익율"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(23, 59); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(73, 12); + this.label3.TabIndex = 1; + this.label3.Text = "구입 종목 수"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(7, 26); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(89, 12); + this.label4.TabIndex = 0; + this.label4.Text = "계정 내 총 금액"; + // + // cb_Indicators + // + this.cb_Indicators.FormattingEnabled = true; + this.cb_Indicators.Location = new System.Drawing.Point(142, 84); + this.cb_Indicators.Name = "cb_Indicators"; + this.cb_Indicators.Size = new System.Drawing.Size(121, 20); + this.cb_Indicators.TabIndex = 5; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(27, 126); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(69, 12); + this.label7.TabIndex = 3; + this.label7.Text = "전체 수익금"; + // + // bt_Modify + // + this.bt_Modify.Location = new System.Drawing.Point(279, 80); + this.bt_Modify.Name = "bt_Modify"; + this.bt_Modify.Size = new System.Drawing.Size(68, 23); + this.bt_Modify.TabIndex = 6; + this.bt_Modify.Text = "수정"; + this.bt_Modify.UseVisualStyleBackColor = true; + // + // lb_TotalMoney + // + this.lb_TotalMoney.AutoSize = true; + this.lb_TotalMoney.Location = new System.Drawing.Point(102, 26); + this.lb_TotalMoney.Name = "lb_TotalMoney"; + this.lb_TotalMoney.Size = new System.Drawing.Size(0, 12); + this.lb_TotalMoney.TabIndex = 4; + // + // lb_BuyMarketCount + // + this.lb_BuyMarketCount.AutoSize = true; + this.lb_BuyMarketCount.Location = new System.Drawing.Point(102, 59); + this.lb_BuyMarketCount.Name = "lb_BuyMarketCount"; + this.lb_BuyMarketCount.Size = new System.Drawing.Size(0, 12); + this.lb_BuyMarketCount.TabIndex = 5; + // + // lb_TotalRate + // + this.lb_TotalRate.AutoSize = true; + this.lb_TotalRate.Location = new System.Drawing.Point(102, 91); + this.lb_TotalRate.Name = "lb_TotalRate"; + this.lb_TotalRate.Size = new System.Drawing.Size(0, 12); + this.lb_TotalRate.TabIndex = 6; + // + // lb_TotalMoneyValue + // + this.lb_TotalMoneyValue.AutoSize = true; + this.lb_TotalMoneyValue.Location = new System.Drawing.Point(102, 126); + this.lb_TotalMoneyValue.Name = "lb_TotalMoneyValue"; + this.lb_TotalMoneyValue.Size = new System.Drawing.Size(0, 12); + this.lb_TotalMoneyValue.TabIndex = 7; + // + // bt_Start + // + this.bt_Start.Location = new System.Drawing.Point(203, 289); + this.bt_Start.Name = "bt_Start"; + this.bt_Start.Size = new System.Drawing.Size(75, 23); + this.bt_Start.TabIndex = 7; + this.bt_Start.Text = "Start"; + this.bt_Start.UseVisualStyleBackColor = true; + // + // bt_Stop + // + this.bt_Stop.Location = new System.Drawing.Point(293, 289); + this.bt_Stop.Name = "bt_Stop"; + this.bt_Stop.Size = new System.Drawing.Size(75, 23); + this.bt_Stop.TabIndex = 8; + this.bt_Stop.Text = "Stop"; + this.bt_Stop.UseVisualStyleBackColor = true; + // + // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(657, 388); - this.Name = "Form1"; - this.Text = "Form1"; + this.ClientSize = new System.Drawing.Size(1142, 532); + this.Controls.Add(this.bt_Stop); + this.Controls.Add(this.bt_Start); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.groupBox2); + this.Name = "MainForm"; + this.Text = "Buyer"; + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); this.ResumeLayout(false); } #endregion + + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.ComboBox cb_Indicators; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.TextBox tb_CycleMoneyValue; + private System.Windows.Forms.TextBox tb_CycleCount; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.GroupBox groupBox2; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Button bt_Modify; + private System.Windows.Forms.Label lb_BuyMarketCount; + private System.Windows.Forms.Label lb_TotalMoney; + private System.Windows.Forms.Label lb_TotalMoneyValue; + private System.Windows.Forms.Label lb_TotalRate; + private System.Windows.Forms.Button bt_Start; + private System.Windows.Forms.Button bt_Stop; } } diff --git a/Million Hunter/HunterMainForm.Designer.cs b/Million Hunter/HunterMainForm.Designer.cs index 46ac47b..b4be19c 100644 --- a/Million Hunter/HunterMainForm.Designer.cs +++ b/Million Hunter/HunterMainForm.Designer.cs @@ -279,6 +279,7 @@ namespace Million this.groupBox3.TabIndex = 0; this.groupBox3.TabStop = false; this.groupBox3.Text = "구매 조건 조합"; + this.groupBox3.Enter += new System.EventHandler(this.groupBox3_Enter); // // treeList_BuySetupList // @@ -336,6 +337,7 @@ namespace Million this.groupBox4.TabIndex = 0; this.groupBox4.TabStop = false; this.groupBox4.Text = "판매 조건 조합"; + this.groupBox4.Enter += new System.EventHandler(this.groupBox4_Enter); // // treeList_SellSetupList // diff --git a/Million Hunter/HunterMainForm.cs b/Million Hunter/HunterMainForm.cs index 3def906..b3f4b22 100644 --- a/Million Hunter/HunterMainForm.cs +++ b/Million Hunter/HunterMainForm.cs @@ -464,5 +464,15 @@ namespace Million else MessageBox.Show("데이터 저장 실패"); } + + private void groupBox3_Enter(object sender, EventArgs e) + { + + } + + private void groupBox4_Enter(object sender, EventArgs e) + { + + } } } diff --git a/Million Hunter/Million Hunter.csproj b/Million Hunter/Million Hunter.csproj index 125dc9a..8ff2e74 100644 --- a/Million Hunter/Million Hunter.csproj +++ b/Million Hunter/Million Hunter.csproj @@ -134,6 +134,7 @@ HunterMainForm.cs + ResXFileCodeGenerator Resources.Designer.cs