From eb82bbf158bcacee6a7ec630105a44d8233ef3cb Mon Sep 17 00:00:00 2001 From: chi Date: Tue, 14 Jan 2025 09:08:12 +0900 Subject: [PATCH] =?UTF-8?q?nr=20=EA=B5=AC=EB=A7=A4=20=ED=95=84=EC=88=98?= =?UTF-8?q?=EC=A1=B0=EA=B1=B4=20=EC=83=89=EC=83=81=20=EB=B3=80=EA=B2=BD,?= =?UTF-8?q?=20=ED=8F=BC=EC=9D=98=20=EC=B5=9C=EC=86=8C=20=ED=81=AC=EA=B8=B0?= =?UTF-8?q?=20=EC=A1=B0=EC=A0=95=20=EC=98=B5=EC=85=98=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SubProject/FCM0000/Item/fItemAdd.Designer.cs | 3 ++- SubProject/FCM0000/Item/fItemAdd.cs | 5 +++++ SubProject/FCOMMON/fBase.cs | 9 +++++++-- .../FEQ0000/PurchaseNR/fPurchase_Add.Designer.cs | 13 ++++++++----- 4 files changed, 22 insertions(+), 8 deletions(-) diff --git a/SubProject/FCM0000/Item/fItemAdd.Designer.cs b/SubProject/FCM0000/Item/fItemAdd.Designer.cs index 5b14eda..60c71ed 100644 --- a/SubProject/FCM0000/Item/fItemAdd.Designer.cs +++ b/SubProject/FCM0000/Item/fItemAdd.Designer.cs @@ -377,9 +377,10 @@ this.Controls.Add(this.tbUnit); this.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.MinimumSize = new System.Drawing.Size(685, 448); + this.MinimumSize = new System.Drawing.Size(685, 559); this.Name = "fItemAdd"; this.Text = "품목 추가"; + this.Load += new System.EventHandler(this.fItemAdd_Load); ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); diff --git a/SubProject/FCM0000/Item/fItemAdd.cs b/SubProject/FCM0000/Item/fItemAdd.cs index 186ed06..73bf0b4 100644 --- a/SubProject/FCM0000/Item/fItemAdd.cs +++ b/SubProject/FCM0000/Item/fItemAdd.cs @@ -181,5 +181,10 @@ namespace FCM0000.Item tbSid.Enabled = !checkBox1.Enabled; if (checkBox1.Checked) tbSid.Text = "신규"; } + + private void fItemAdd_Load(object sender, EventArgs e) + { + + } } } diff --git a/SubProject/FCOMMON/fBase.cs b/SubProject/FCOMMON/fBase.cs index 78adc96..7f862ca 100644 --- a/SubProject/FCOMMON/fBase.cs +++ b/SubProject/FCOMMON/fBase.cs @@ -56,8 +56,13 @@ namespace FCOMMON { CenterToScreen(); } - var minW = Math.Max(480, this.MinimumSize.Width); - var minH = Math.Max(640, this.MinimumSize.Height); + + var minW = this.MinimumSize.Width; + var minH = this.MinimumSize.Height; + if (minW < 10) minW = 10; + if (minH < 10) minH = 10; + //var minW = Math.Max(480, this.MinimumSize.Width); + //var minH = Math.Max(640, this.MinimumSize.Height); if (Width < minW || Height < minH) { diff --git a/SubProject/FEQ0000/PurchaseNR/fPurchase_Add.Designer.cs b/SubProject/FEQ0000/PurchaseNR/fPurchase_Add.Designer.cs index b2ce882..d3976de 100644 --- a/SubProject/FEQ0000/PurchaseNR/fPurchase_Add.Designer.cs +++ b/SubProject/FEQ0000/PurchaseNR/fPurchase_Add.Designer.cs @@ -1021,28 +1021,31 @@ // // btEQModel // + this.btEQModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.btEQModel.Location = new System.Drawing.Point(112, 90); this.btEQModel.Name = "btEQModel"; this.btEQModel.Size = new System.Drawing.Size(286, 28); this.btEQModel.TabIndex = 21; this.btEQModel.Tag = "07"; this.btEQModel.Text = "공용코드 07"; - this.btEQModel.UseVisualStyleBackColor = true; + this.btEQModel.UseVisualStyleBackColor = false; this.btEQModel.Click += new System.EventHandler(this.button8_Click_1); // // btEQManu // + this.btEQManu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.btEQManu.Location = new System.Drawing.Point(112, 56); this.btEQManu.Name = "btEQManu"; this.btEQManu.Size = new System.Drawing.Size(286, 28); this.btEQManu.TabIndex = 19; this.btEQManu.Tag = "06"; this.btEQManu.Text = "공용코드 06"; - this.btEQManu.UseVisualStyleBackColor = true; + this.btEQManu.UseVisualStyleBackColor = false; this.btEQManu.Click += new System.EventHandler(this.btProcess_Click); // // btProcess // + this.btProcess.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.btProcess.Location = new System.Drawing.Point(112, 397); this.btProcess.Name = "btProcess"; this.btProcess.Size = new System.Drawing.Size(286, 28); @@ -1050,18 +1053,19 @@ this.btProcess.Tag = "09"; this.btProcess.Text = "공용코드 09"; this.toolTip1.SetToolTip(this.btProcess, "공용코드(09)"); - this.btProcess.UseVisualStyleBackColor = true; + this.btProcess.UseVisualStyleBackColor = false; this.btProcess.Click += new System.EventHandler(this.btProcess_Click); // // btManuProc // + this.btManuProc.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.btManuProc.Location = new System.Drawing.Point(112, 23); this.btManuProc.Name = "btManuProc"; this.btManuProc.Size = new System.Drawing.Size(286, 28); this.btManuProc.TabIndex = 17; this.btManuProc.Tag = "08"; this.btManuProc.Text = "공용코드 08"; - this.btManuProc.UseVisualStyleBackColor = true; + this.btManuProc.UseVisualStyleBackColor = false; this.btManuProc.Click += new System.EventHandler(this.btProcess_Click); // // button7 @@ -1170,7 +1174,6 @@ this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "fPurchase_Add"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Purchase ADD/EDIT"; this.Load += new System.EventHandler(this.@__Load); this.groupBox1.ResumeLayout(false);