nr 구매 필수조건 색상 변경,

폼의 최소 크기 조정 옵션 조정
This commit is contained in:
chi
2025-01-14 09:08:12 +09:00
parent 2aca2e9a8c
commit eb82bbf158
4 changed files with 22 additions and 8 deletions

View File

@@ -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();

View File

@@ -181,5 +181,10 @@ namespace FCM0000.Item
tbSid.Enabled = !checkBox1.Enabled;
if (checkBox1.Checked) tbSid.Text = "신규";
}
private void fItemAdd_Load(object sender, EventArgs e)
{
}
}
}

View File

@@ -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)
{

View File

@@ -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);