관리자페이지 개발

This commit is contained in:
hassong
2026-07-03 16:43:53 +09:00
parent 5d6ee943f6
commit 5022eba196
26 changed files with 3940 additions and 758 deletions

View File

@@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle();
lblTerminalName = new Label();
lblTerminalIP = new Label();
label1 = new Label();
@@ -36,28 +37,42 @@
label3 = new Label();
label4 = new Label();
pannUpdate = new Panel();
rdoUpdate5m = new RadioButton();
rdoUpdate3m = new RadioButton();
rdoUpdate1m = new RadioButton();
label7 = new Label();
txtBoxDisplay = new TextBox();
pannStartTime = new Panel();
label8 = new Label();
txtBoxOnSS = new TextBox();
label5 = new Label();
txtBoxOnMM = new TextBox();
txtBoxOnYY = new TextBox();
pannStopTime = new Panel();
label9 = new Label();
txtBoxOffSS = new TextBox();
label6 = new Label();
txtBoxOffMM = new TextBox();
txtBoxOffYY = new TextBox();
btnCancel = new Button();
btnUpdate = new Button();
grdDataList = new DataGridView();
lblBox = new Label();
Col0 = new DataGridViewTextBoxColumn();
Col1 = new DataGridViewTextBoxColumn();
Col2 = new DataGridViewTextBoxColumn();
Col3 = new DataGridViewTextBoxColumn();
Col4 = new DataGridViewTextBoxColumn();
Col5 = new DataGridViewTextBoxColumn();
Col6 = new DataGridViewTextBoxColumn();
pannUpdate.SuspendLayout();
pannStartTime.SuspendLayout();
pannStopTime.SuspendLayout();
((System.ComponentModel.ISupportInitialize)grdDataList).BeginInit();
SuspendLayout();
//
// lblTerminalName
//
lblTerminalName.BackColor = Color.White;
lblTerminalName.Font = new Font("맑은 고딕", 9F, FontStyle.Bold, GraphicsUnit.Point, 129);
lblTerminalName.Location = new Point(430, 42);
lblTerminalName.Location = new Point(256, 102);
lblTerminalName.Name = "lblTerminalName";
lblTerminalName.Size = new Size(288, 50);
lblTerminalName.TabIndex = 0;
@@ -65,7 +80,8 @@
//
// lblTerminalIP
//
lblTerminalIP.Location = new Point(430, 118);
lblTerminalIP.BackColor = Color.White;
lblTerminalIP.Location = new Point(256, 178);
lblTerminalIP.Name = "lblTerminalIP";
lblTerminalIP.Size = new Size(288, 50);
lblTerminalIP.TabIndex = 1;
@@ -73,7 +89,8 @@
//
// label1
//
label1.Location = new Point(254, 42);
label1.BackColor = Color.White;
label1.Location = new Point(103, 102);
label1.Name = "label1";
label1.Size = new Size(147, 50);
label1.TabIndex = 2;
@@ -82,7 +99,8 @@
//
// label2
//
label2.Location = new Point(254, 118);
label2.BackColor = Color.White;
label2.Location = new Point(103, 178);
label2.Name = "label2";
label2.Size = new Size(147, 50);
label2.TabIndex = 3;
@@ -91,20 +109,18 @@
//
// lbl0
//
lbl0.BackColor = SystemColors.ControlDark;
lbl0.BorderStyle = BorderStyle.FixedSingle;
lbl0.Location = new Point(254, 223);
lbl0.BackColor = Color.White;
lbl0.Location = new Point(97, 285);
lbl0.Name = "lbl0";
lbl0.Size = new Size(159, 50);
lbl0.TabIndex = 4;
lbl0.Text = "갱신주기";
lbl0.Text = "표출시간";
lbl0.TextAlign = ContentAlignment.MiddleLeft;
//
// label3
//
label3.BackColor = SystemColors.ControlDark;
label3.BorderStyle = BorderStyle.FixedSingle;
label3.Location = new Point(254, 273);
label3.BackColor = Color.White;
label3.Location = new Point(97, 335);
label3.Name = "label3";
label3.Size = new Size(159, 50);
label3.TabIndex = 5;
@@ -113,9 +129,8 @@
//
// label4
//
label4.BackColor = SystemColors.ControlDark;
label4.BorderStyle = BorderStyle.FixedSingle;
label4.Location = new Point(254, 323);
label4.BackColor = Color.White;
label4.Location = new Point(97, 385);
label4.Name = "label4";
label4.Size = new Size(159, 50);
label4.TabIndex = 6;
@@ -124,59 +139,61 @@
//
// pannUpdate
//
pannUpdate.BorderStyle = BorderStyle.FixedSingle;
pannUpdate.Controls.Add(rdoUpdate5m);
pannUpdate.Controls.Add(rdoUpdate3m);
pannUpdate.Controls.Add(rdoUpdate1m);
pannUpdate.Location = new Point(413, 223);
pannUpdate.BackColor = Color.White;
pannUpdate.Controls.Add(label7);
pannUpdate.Controls.Add(txtBoxDisplay);
pannUpdate.Location = new Point(256, 285);
pannUpdate.Name = "pannUpdate";
pannUpdate.Size = new Size(356, 50);
pannUpdate.TabIndex = 7;
//
// rdoUpdate5m
// label7
//
rdoUpdate5m.AutoSize = true;
rdoUpdate5m.Location = new Point(157, 12);
rdoUpdate5m.Name = "rdoUpdate5m";
rdoUpdate5m.Size = new Size(53, 24);
rdoUpdate5m.TabIndex = 2;
rdoUpdate5m.TabStop = true;
rdoUpdate5m.Text = "5분";
rdoUpdate5m.UseVisualStyleBackColor = true;
label7.AutoSize = true;
label7.Location = new Point(86, 14);
label7.Name = "label7";
label7.Size = new Size(24, 20);
label7.TabIndex = 1;
label7.Text = "초";
//
// rdoUpdate3m
// txtBoxDisplay
//
rdoUpdate3m.AutoSize = true;
rdoUpdate3m.Location = new Point(86, 12);
rdoUpdate3m.Name = "rdoUpdate3m";
rdoUpdate3m.Size = new Size(53, 24);
rdoUpdate3m.TabIndex = 1;
rdoUpdate3m.TabStop = true;
rdoUpdate3m.Text = "3분";
rdoUpdate3m.UseVisualStyleBackColor = true;
//
// rdoUpdate1m
//
rdoUpdate1m.AutoSize = true;
rdoUpdate1m.Location = new Point(16, 12);
rdoUpdate1m.Name = "rdoUpdate1m";
rdoUpdate1m.Size = new Size(53, 24);
rdoUpdate1m.TabIndex = 0;
rdoUpdate1m.TabStop = true;
rdoUpdate1m.Text = "1분";
rdoUpdate1m.UseVisualStyleBackColor = true;
txtBoxDisplay.Location = new Point(16, 11);
txtBoxDisplay.Name = "txtBoxDisplay";
txtBoxDisplay.Size = new Size(64, 27);
txtBoxDisplay.TabIndex = 0;
txtBoxDisplay.Text = "5";
//
// pannStartTime
//
pannStartTime.BorderStyle = BorderStyle.FixedSingle;
pannStartTime.BackColor = Color.White;
pannStartTime.Controls.Add(label8);
pannStartTime.Controls.Add(txtBoxOnSS);
pannStartTime.Controls.Add(label5);
pannStartTime.Controls.Add(txtBoxOnMM);
pannStartTime.Controls.Add(txtBoxOnYY);
pannStartTime.Location = new Point(413, 273);
pannStartTime.Location = new Point(256, 335);
pannStartTime.Name = "pannStartTime";
pannStartTime.Size = new Size(356, 50);
pannStartTime.TabIndex = 8;
//
// label8
//
label8.AutoSize = true;
label8.Location = new Point(171, 14);
label8.Name = "label8";
label8.Size = new Size(12, 20);
label8.TabIndex = 4;
label8.Text = ":";
//
// txtBoxOnSS
//
txtBoxOnSS.Location = new Point(185, 11);
txtBoxOnSS.Name = "txtBoxOnSS";
txtBoxOnSS.Size = new Size(64, 27);
txtBoxOnSS.TabIndex = 3;
txtBoxOnSS.TextAlign = HorizontalAlignment.Center;
//
// label5
//
label5.AutoSize = true;
@@ -204,15 +221,34 @@
//
// pannStopTime
//
pannStopTime.BorderStyle = BorderStyle.FixedSingle;
pannStopTime.BackColor = Color.White;
pannStopTime.Controls.Add(label9);
pannStopTime.Controls.Add(txtBoxOffSS);
pannStopTime.Controls.Add(label6);
pannStopTime.Controls.Add(txtBoxOffMM);
pannStopTime.Controls.Add(txtBoxOffYY);
pannStopTime.Location = new Point(413, 323);
pannStopTime.Location = new Point(256, 385);
pannStopTime.Name = "pannStopTime";
pannStopTime.Size = new Size(356, 50);
pannStopTime.TabIndex = 9;
//
// label9
//
label9.AutoSize = true;
label9.Location = new Point(169, 14);
label9.Name = "label9";
label9.Size = new Size(12, 20);
label9.TabIndex = 7;
label9.Text = ":";
//
// txtBoxOffSS
//
txtBoxOffSS.Location = new Point(185, 11);
txtBoxOffSS.Name = "txtBoxOffSS";
txtBoxOffSS.Size = new Size(64, 27);
txtBoxOffSS.TabIndex = 6;
txtBoxOffSS.TextAlign = HorizontalAlignment.Center;
//
// label6
//
label6.AutoSize = true;
@@ -241,7 +277,7 @@
// btnCancel
//
btnCancel.Font = new Font("맑은 고딕", 10.2F, FontStyle.Bold, GraphicsUnit.Point, 129);
btnCancel.Location = new Point(559, 408);
btnCancel.Location = new Point(386, 497);
btnCancel.Name = "btnCancel";
btnCancel.Size = new Size(174, 56);
btnCancel.TabIndex = 12;
@@ -251,10 +287,10 @@
//
// btnUpdate
//
btnUpdate.BackColor = SystemColors.Desktop;
btnUpdate.BackColor = Color.RoyalBlue;
btnUpdate.Font = new Font("맑은 고딕", 10.2F, FontStyle.Bold, GraphicsUnit.Point, 129);
btnUpdate.ForeColor = SystemColors.Window;
btnUpdate.Location = new Point(309, 408);
btnUpdate.Location = new Point(136, 497);
btnUpdate.Name = "btnUpdate";
btnUpdate.Size = new Size(174, 56);
btnUpdate.TabIndex = 11;
@@ -262,11 +298,92 @@
btnUpdate.UseVisualStyleBackColor = false;
btnUpdate.MouseClick += btnUpdate_MouseClick;
//
// grdDataList
//
dataGridViewCellStyle1.Alignment = DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = SystemColors.Control;
dataGridViewCellStyle1.Font = new Font("맑은 고딕", 7.8F, FontStyle.Regular, GraphicsUnit.Point, 129);
dataGridViewCellStyle1.ForeColor = SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = DataGridViewTriState.True;
grdDataList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
grdDataList.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
grdDataList.Columns.AddRange(new DataGridViewColumn[] { Col0, Col1, Col2, Col3, Col4, Col5, Col6 });
grdDataList.Location = new Point(704, 46);
grdDataList.Name = "grdDataList";
grdDataList.RowHeadersWidth = 51;
grdDataList.Size = new Size(641, 679);
grdDataList.TabIndex = 13;
//
// lblBox
//
lblBox.BackColor = Color.White;
lblBox.Location = new Point(43, 46);
lblBox.Name = "lblBox";
lblBox.Size = new Size(597, 542);
lblBox.TabIndex = 14;
//
// Col0
//
Col0.HeaderText = "경매일자";
Col0.MinimumWidth = 6;
Col0.Name = "Col0";
Col0.ReadOnly = true;
Col0.Width = 125;
//
// Col1
//
Col1.HeaderText = "품목명";
Col1.MinimumWidth = 6;
Col1.Name = "Col1";
Col1.ReadOnly = true;
Col1.Width = 125;
//
// Col2
//
Col2.HeaderText = "산지";
Col2.MinimumWidth = 6;
Col2.Name = "Col2";
Col2.ReadOnly = true;
Col2.Width = 125;
//
// Col3
//
Col3.HeaderText = "전체수량";
Col3.MinimumWidth = 6;
Col3.Name = "Col3";
Col3.ReadOnly = true;
Col3.Width = 80;
//
// Col4
//
Col4.HeaderText = "정가수의 수량";
Col4.MinimumWidth = 6;
Col4.Name = "Col4";
Col4.ReadOnly = true;
//
// Col5
//
Col5.HeaderText = "전체물량";
Col5.MinimumWidth = 6;
Col5.Name = "Col5";
Col5.ReadOnly = true;
Col5.Width = 80;
//
// Col6
//
Col6.HeaderText = "정가수의 물량";
Col6.MinimumWidth = 6;
Col6.Name = "Col6";
Col6.ReadOnly = true;
//
// Form3
//
AutoScaleDimensions = new SizeF(9F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(1008, 563);
ClientSize = new Size(1357, 737);
Controls.Add(grdDataList);
Controls.Add(btnCancel);
Controls.Add(btnUpdate);
Controls.Add(pannStopTime);
@@ -279,14 +396,16 @@
Controls.Add(label1);
Controls.Add(lblTerminalIP);
Controls.Add(lblTerminalName);
Controls.Add(lblBox);
Name = "Form3";
Text = "Form3";
Text = "S";
pannUpdate.ResumeLayout(false);
pannUpdate.PerformLayout();
pannStartTime.ResumeLayout(false);
pannStartTime.PerformLayout();
pannStopTime.ResumeLayout(false);
pannStopTime.PerformLayout();
((System.ComponentModel.ISupportInitialize)grdDataList).EndInit();
ResumeLayout(false);
}
@@ -302,9 +421,6 @@
private Panel pannUpdate;
private Panel pannStartTime;
private Panel pannStopTime;
private RadioButton rdoUpdate1m;
private RadioButton rdoUpdate5m;
private RadioButton rdoUpdate3m;
private TextBox txtBoxOnYY;
private TextBox txtBoxOnMM;
private Label label5;
@@ -313,5 +429,20 @@
private TextBox txtBoxOffYY;
private Button btnCancel;
private Button btnUpdate;
private TextBox txtBoxDisplay;
private Label label7;
private Label label8;
private TextBox txtBoxOnSS;
private Label label9;
private TextBox txtBoxOffSS;
private DataGridView grdDataList;
private Label lblBox;
private DataGridViewTextBoxColumn Col0;
private DataGridViewTextBoxColumn Col1;
private DataGridViewTextBoxColumn Col2;
private DataGridViewTextBoxColumn Col3;
private DataGridViewTextBoxColumn Col4;
private DataGridViewTextBoxColumn Col5;
private DataGridViewTextBoxColumn Col6;
}
}