diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomForm/Promotion.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomForm/Promotion.cs index 2716c64..cf2b69e 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomForm/Promotion.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomForm/Promotion.cs @@ -1,6 +1,5 @@ using MetroFramework.Forms; using System; -using System.Diagnostics; using System.Windows.Forms; namespace HSUCO_Cargo_Garage_Operation_Program.CustomForm @@ -35,6 +34,8 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomForm private void metroDateTime_Start_ValueChanged(object sender, EventArgs e) { + //TODO: 요금 업데이트 필요 + /* long cost = Global.GlobalSettings.UsageFee; var days = (metroDateTime_End.Value - metroDateTime_Start.Value).TotalDays; @@ -51,7 +52,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomForm doubleCost -= (doubleCost % 10); // 10의 자리 버림 int totalCost = (int)doubleCost; metroTextBox_Cost.Text = totalCost.ToString(); - + */ } } diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomForm/WaitingCount.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomForm/WaitingCount.cs index 5e48e36..79e9b95 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomForm/WaitingCount.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomForm/WaitingCount.cs @@ -1,12 +1,4 @@ using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Diagnostics; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Windows.Forms; namespace HSUCO_Cargo_Garage_Operation_Program.CustomForm @@ -17,10 +9,10 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomForm public DateTime StartDate { get; set; } public DateTime EndDate { get; set; } public int TotalCost { get; set; } - + private int _MaxCount = 0; // 대기자 전체 카운트 private int _WaitngCount = 0; // 순번이 있는 대기자 카운트 - + public WaitingCount(int maxCount, int waitngCount) { InitializeComponent(); @@ -28,13 +20,13 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomForm _WaitngCount = waitngCount; metroLabel_MaxCount.Text = _MaxCount + "명"; - metroLabel_WaitingCount.Text = _WaitngCount + "명"; + metroLabel_WaitingCount.Text = _WaitngCount + "명"; } private void metroButton_Ok_Click(object sender, EventArgs e) { int count = int.Parse(metroLabel_WaitingCount.Text); - if(count < 1) + if (count < 1) { DialogResult = DialogResult.Cancel; } @@ -42,13 +34,13 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomForm { count = _MaxCount; } - ResultCount=count; + ResultCount = count; StartDate = metroDateTime_Start.Value; EndDate = metroDateTime_End.Value; int.TryParse(metroTextBox_Cost.Text, out var tempCost); TotalCost = tempCost; DialogResult = DialogResult.OK; - + } @@ -67,7 +59,9 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomForm private void metroDateTime_Start_ValueChanged(object sender, EventArgs e) { - long cost = Global.GlobalSettings.UsageFee; + //TODO: 요금계산 부분 다시 작성 요망 + /* + //long cost = Global.GlobalSettings.UsageFee; var days = (metroDateTime_End.Value - metroDateTime_Start.Value).TotalDays; if (days == 365) @@ -83,6 +77,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomForm doubleCost -= (doubleCost % 10); // 10의 자리 버림 int totalCost = (int)doubleCost; metroTextBox_Cost.Text = totalCost.ToString(); + */ } } } diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/AboutBox1.Designer.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/AboutBox1.Designer.cs deleted file mode 100644 index d24347b..0000000 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/AboutBox1.Designer.cs +++ /dev/null @@ -1,190 +0,0 @@ -namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl -{ - partial class AboutBox1 - { - /// - /// 필수 디자이너 변수입니다. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// 사용 중인 모든 리소스를 정리합니다. - /// - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form 디자이너에서 생성한 코드 - - /// - /// 디자이너 지원에 필요한 메서드입니다. - /// 이 메서드의 내용을 코드 편집기로 수정하지 마세요. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutBox1)); - this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel(); - this.logoPictureBox = new System.Windows.Forms.PictureBox(); - this.labelProductName = new System.Windows.Forms.Label(); - this.labelVersion = new System.Windows.Forms.Label(); - this.labelCopyright = new System.Windows.Forms.Label(); - this.labelCompanyName = new System.Windows.Forms.Label(); - this.textBoxDescription = new System.Windows.Forms.TextBox(); - this.okButton = new System.Windows.Forms.Button(); - this.tableLayoutPanel.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit(); - this.SuspendLayout(); - // - // tableLayoutPanel - // - this.tableLayoutPanel.ColumnCount = 2; - this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33F)); - this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 67F)); - this.tableLayoutPanel.Controls.Add(this.logoPictureBox, 0, 0); - this.tableLayoutPanel.Controls.Add(this.labelProductName, 1, 0); - this.tableLayoutPanel.Controls.Add(this.labelVersion, 1, 1); - this.tableLayoutPanel.Controls.Add(this.labelCopyright, 1, 2); - this.tableLayoutPanel.Controls.Add(this.labelCompanyName, 1, 3); - this.tableLayoutPanel.Controls.Add(this.textBoxDescription, 1, 4); - this.tableLayoutPanel.Controls.Add(this.okButton, 1, 5); - this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel.Location = new System.Drawing.Point(10, 8); - this.tableLayoutPanel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tableLayoutPanel.Name = "tableLayoutPanel"; - this.tableLayoutPanel.RowCount = 6; - this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); - this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); - this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); - this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); - this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); - this.tableLayoutPanel.Size = new System.Drawing.Size(487, 245); - this.tableLayoutPanel.TabIndex = 0; - // - // logoPictureBox - // - this.logoPictureBox.Dock = System.Windows.Forms.DockStyle.Fill; - this.logoPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("logoPictureBox.Image"))); - this.logoPictureBox.Location = new System.Drawing.Point(4, 3); - this.logoPictureBox.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.logoPictureBox.Name = "logoPictureBox"; - this.tableLayoutPanel.SetRowSpan(this.logoPictureBox, 6); - this.logoPictureBox.Size = new System.Drawing.Size(152, 239); - this.logoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.logoPictureBox.TabIndex = 12; - this.logoPictureBox.TabStop = false; - // - // labelProductName - // - this.labelProductName.Dock = System.Windows.Forms.DockStyle.Fill; - this.labelProductName.Location = new System.Drawing.Point(167, 0); - this.labelProductName.Margin = new System.Windows.Forms.Padding(7, 0, 4, 0); - this.labelProductName.MaximumSize = new System.Drawing.Size(0, 16); - this.labelProductName.Name = "labelProductName"; - this.labelProductName.Size = new System.Drawing.Size(316, 16); - this.labelProductName.TabIndex = 19; - this.labelProductName.Text = "제품 이름"; - this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // labelVersion - // - this.labelVersion.Dock = System.Windows.Forms.DockStyle.Fill; - this.labelVersion.Location = new System.Drawing.Point(167, 24); - this.labelVersion.Margin = new System.Windows.Forms.Padding(7, 0, 4, 0); - this.labelVersion.MaximumSize = new System.Drawing.Size(0, 16); - this.labelVersion.Name = "labelVersion"; - this.labelVersion.Size = new System.Drawing.Size(316, 16); - this.labelVersion.TabIndex = 0; - this.labelVersion.Text = "버전"; - this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // labelCopyright - // - this.labelCopyright.Dock = System.Windows.Forms.DockStyle.Fill; - this.labelCopyright.Location = new System.Drawing.Point(167, 48); - this.labelCopyright.Margin = new System.Windows.Forms.Padding(7, 0, 4, 0); - this.labelCopyright.MaximumSize = new System.Drawing.Size(0, 16); - this.labelCopyright.Name = "labelCopyright"; - this.labelCopyright.Size = new System.Drawing.Size(316, 16); - this.labelCopyright.TabIndex = 21; - this.labelCopyright.Text = "저작권"; - this.labelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // labelCompanyName - // - this.labelCompanyName.Dock = System.Windows.Forms.DockStyle.Fill; - this.labelCompanyName.Location = new System.Drawing.Point(167, 72); - this.labelCompanyName.Margin = new System.Windows.Forms.Padding(7, 0, 4, 0); - this.labelCompanyName.MaximumSize = new System.Drawing.Size(0, 16); - this.labelCompanyName.Name = "labelCompanyName"; - this.labelCompanyName.Size = new System.Drawing.Size(316, 16); - this.labelCompanyName.TabIndex = 22; - this.labelCompanyName.Text = "회사 이름"; - this.labelCompanyName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // textBoxDescription - // - this.textBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxDescription.Location = new System.Drawing.Point(167, 99); - this.textBoxDescription.Margin = new System.Windows.Forms.Padding(7, 3, 4, 3); - this.textBoxDescription.Multiline = true; - this.textBoxDescription.Name = "textBoxDescription"; - this.textBoxDescription.ReadOnly = true; - this.textBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.textBoxDescription.Size = new System.Drawing.Size(316, 116); - this.textBoxDescription.TabIndex = 23; - this.textBoxDescription.TabStop = false; - this.textBoxDescription.Text = "설명"; - // - // okButton - // - this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.okButton.Location = new System.Drawing.Point(395, 221); - this.okButton.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.okButton.Name = "okButton"; - this.okButton.Size = new System.Drawing.Size(88, 21); - this.okButton.TabIndex = 24; - this.okButton.Text = "확인(&O)"; - // - // AboutBox1 - // - this.AcceptButton = this.okButton; - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(507, 261); - this.Controls.Add(this.tableLayoutPanel); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "AboutBox1"; - this.Padding = new System.Windows.Forms.Padding(10, 8, 10, 8); - this.ShowIcon = false; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "AboutBox1"; - this.tableLayoutPanel.ResumeLayout(false); - this.tableLayoutPanel.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit(); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel; - private System.Windows.Forms.PictureBox logoPictureBox; - private System.Windows.Forms.Label labelProductName; - private System.Windows.Forms.Label labelVersion; - private System.Windows.Forms.Label labelCopyright; - private System.Windows.Forms.Label labelCompanyName; - private System.Windows.Forms.TextBox textBoxDescription; - private System.Windows.Forms.Button okButton; - } -} diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/AboutBox1.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/AboutBox1.cs deleted file mode 100644 index f665c36..0000000 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/AboutBox1.cs +++ /dev/null @@ -1,105 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Drawing; -using System.Linq; -using System.Reflection; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl -{ - partial class AboutBox1 : Form - { - public AboutBox1() - { - InitializeComponent(); - this.Text = String.Format("{0} 정보", AssemblyTitle); - this.labelProductName.Text = AssemblyProduct; - this.labelVersion.Text = String.Format("버전 {0}", AssemblyVersion); - this.labelCopyright.Text = AssemblyCopyright; - this.labelCompanyName.Text = AssemblyCompany; - this.textBoxDescription.Text = AssemblyDescription; - } - - #region 어셈블리 특성 접근자 - - public string AssemblyTitle - { - get - { - object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false); - if (attributes.Length > 0) - { - AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0]; - if (titleAttribute.Title != "") - { - return titleAttribute.Title; - } - } - return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase); - } - } - - public string AssemblyVersion - { - get - { - return Assembly.GetExecutingAssembly().GetName().Version.ToString(); - } - } - - public string AssemblyDescription - { - get - { - object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false); - if (attributes.Length == 0) - { - return ""; - } - return ((AssemblyDescriptionAttribute)attributes[0]).Description; - } - } - - public string AssemblyProduct - { - get - { - object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute), false); - if (attributes.Length == 0) - { - return ""; - } - return ((AssemblyProductAttribute)attributes[0]).Product; - } - } - - public string AssemblyCopyright - { - get - { - object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); - if (attributes.Length == 0) - { - return ""; - } - return ((AssemblyCopyrightAttribute)attributes[0]).Copyright; - } - } - - public string AssemblyCompany - { - get - { - object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false); - if (attributes.Length == 0) - { - return ""; - } - return ((AssemblyCompanyAttribute)attributes[0]).Company; - } - } - #endregion - } -} diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/AboutBox1.resx b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/AboutBox1.resx deleted file mode 100644 index 76cc9af..0000000 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/AboutBox1.resx +++ /dev/null @@ -1,603 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - - iVBORw0KGgoAAAANSUhEUgAAAHgAAAEGCAIAAAAhWcaAAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 - JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AABvkklEQVR4Xu29B1hUd9r+z3X939+7bzax - RQWmnZmhS++9i4KCXRRRsKGoiKKIKIJKlSrSpTdpioWmYm9gLzEao4kliTGmZ3ez6767yb7/+3u+M8fD - DBiTTVE33+u5cKSe85n73M/9nJk5oyEsE4rKRaIKkbhKLKmVMPUM08hIW6Ty3XL5PrlOl45Ot47uEV3d - 47p6J/X0TrGFG8f09I7o6Xbr6u7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cuXNJSUn2rvYrklY09jaqCHagQkyGkPVP62OwVqSLhgFMGQGDnsVHDXzm - EyWNIb4cGhpKtYzFaZlGZvpMAXoKlB8zfunZpN/1vIrOz01YtmS2l6ej02iHFSnL63trjz06rCxV5arU - /MtziSO3s46sELKWoFRLsF1LAAmjqCkjYGzVEqQjYMCUNbU3a2pvhJZpqSpae5nmCLs3fXzcVywPo3Je - HbVkTfTStTHLYc2bEDOSYrekxudkJeZtS91enFlZvq2+trCpoax1J7HmzvaGg/tbug/sPHKIyBnufPxY - 28njHb+lopE6MzMz9Q31Zyyakbkj8+hHR1XU+ozacm8LiRYn+zpyXyH3MeVcXsAYICyjmOUM8nJ4eDg/ - Y/DHv66uLvrQFDb+6tWrdM7+iH2JHz9m/ArWzK0BFb0pYTmGKycHS0cv+yXxi0oOFh19dJhfz1Z04Xv5 - vj1jmENi4R5tYSOihZaggidkomVS2lxSVjVllXqqZa25I4ebDvP391kesRByZmPG4jWrl8TGLF+/bkVC - /OrEzYgZG7IyN27bipiRUV62tbamAKl5V0vFntaajrYGNmm0HDrYCjkfO7L32JF9cOcTx9t/VUVfvHgR - QQLG5+ztHL4uvGBfwcnHJ1V0+uza/Xj37OuzySMjh3R125QZmUYLdSGXk6SsOLOMqe+ZpoxiQsl5jOjo - aBUtc77MaZmezoeWucj8JftyVf6jU7+Olukiik5NXrU0PMh/vKe5maGDh+3cVSEZDVs6brcpzkX0FTJX - 6opu+aAp+EIQ7JjkihZtQb2WoEpLUM53ZKWQizS1CzW1t2lpZ/cV8lNTVimiZc2JI95khs4InLA8YkHk - 8oWw5qiVi6JXLVkbs4xoecOqpM0xqcnrMzM25m5NLirYUsZOgDvqiluaylt3VbfthTVjCGxGcD50cNfR - w3tQx4/uY+PzL6/owMBASwfLwIWBcXlxNSdqfvB8cb+179N9C28stDlro3eUPcnZytoxP1dwQuY9EKU4 - fUFNeeCkjJImSCUBEoFEsGXLFv55DDr70byMjDGQltUfaf01tUyXxrbdW9tu7eVOpPVTalqmRe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WC - mOiFsWvC1q1dtH6tUrxxyzbGR27eGJm4aUXy5qhU6DcZ+o3J2EKyRA5x4bhtOfF5ucjFmwrzEoupikuI - iivIq2vhyBk1lVk1ldl11TlIFztqiZZ31G1jtZzfhPGPuvN/gqJhtRd/zHWQIV5ECL5+YcFckFBx4f9k - CassjY0blm1KiNicsDxxY2TSJkxxMF9WvDDf1DXpqTGZ6WuzMmJzMtdtzVrPuvCG/NyEgm0bi/I3Fxcg - FydtL04pK0GlkdfVlqZXlqdXwZErM2urkC6IllFUyw11qDylO/+HKRpW+6Oug8z3X75+qYSh398l3O/S - SE+NzkiLztiyJnPLmqz0tdkZyA+xrHjhv8SCqX4L8jYVF0DCiSXkFYlJpcXkRbVlxI5TWTveAjumV+1Q - aLlaoeX6mq2o3xVN3v0Ni7otNEsnNypb2C6nXIQHFfFy/vu7fp9naeQS2cblbd2Ays+NL9iWUMBeV4gt - ouKSQhTiBH2BeErZ9hTWixVX7SBa5l2BhmSMKuTl3xWtpmi+YKlmVWSLpaJcLMXd9Pt67qVRmLcRRSXM - ipcU73XhimscoJ7nmkq/K3pARbMxQSFYLIVi2aW4L35fP8fS4CSscnUDZfV/BZrfFf2jFa0A/vv6hdfP - cJWw3xX9u6JfoPW7on9X9Ku1flf074p+tdbviv5d0a/S+r//+/8BPTxUq6Ub7iwAAAAASUVORK5CYII= - - - \ No newline at end of file diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantControl.Designer.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantControl.Designer.cs index 45c2046..9c2f6d1 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantControl.Designer.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantControl.Designer.cs @@ -31,20 +31,26 @@ this.groupBox1 = new System.Windows.Forms.GroupBox(); this.metroRadioButton_Waiting = new MetroFramework.Controls.MetroRadioButton(); this.metroRadioButton_Draw = new MetroFramework.Controls.MetroRadioButton(); - this.metroLabel_RegistrationNumberTruck = new MetroFramework.Controls.MetroLabel(); - this.metroLabel_RegistrationNumberPassenger = new MetroFramework.Controls.MetroLabel(); + this.metroLabel_CargoVehicleNumber = new MetroFramework.Controls.MetroLabel(); + this.metroLabel_PassengerVehicleNumber = new MetroFramework.Controls.MetroLabel(); this.metroLabel_Name = new MetroFramework.Controls.MetroLabel(); this.metroLabel_Phone = new MetroFramework.Controls.MetroLabel(); this.metroLabel_Address = new MetroFramework.Controls.MetroLabel(); - this.metroLabel_Inspection = new MetroFramework.Controls.MetroLabel(); - this.metroTextBox_RegistrationNumberTruck = new MetroFramework.Controls.MetroTextBox(); - this.metroTextBox_RegistrationNumberPassenger = new MetroFramework.Controls.MetroTextBox(); + this.metroTextBox_CargoVehicleNumber = new MetroFramework.Controls.MetroTextBox(); + this.metroTextBox_PassengerVehicleNumber = new MetroFramework.Controls.MetroTextBox(); this.metroTextBox_Name = new MetroFramework.Controls.MetroTextBox(); this.maskedTextBox_Phone = new System.Windows.Forms.MaskedTextBox(); this.metroTextBox_Address = new MetroFramework.Controls.MetroTextBox(); - this.metroCheckBox_Inspection = new MetroFramework.Controls.MetroCheckBox(); this.metroButton_Register = new MetroFramework.Controls.MetroButton(); this.metroButton_Cancel = new MetroFramework.Controls.MetroButton(); + this.metroTextBox_CargoVehicleName = new MetroFramework.Controls.MetroTextBox(); + this.metroLabel1 = new MetroFramework.Controls.MetroLabel(); + this.metroTextBox_PassengerVehicleName = new MetroFramework.Controls.MetroTextBox(); + this.metroLabel2 = new MetroFramework.Controls.MetroLabel(); + this.metroTextBox_PersonalNumber = new MetroFramework.Controls.MetroTextBox(); + this.metroLabel3 = new MetroFramework.Controls.MetroLabel(); + this.metroLabel4 = new MetroFramework.Controls.MetroLabel(); + this.metroComboBox_VehicleType = new MetroFramework.Controls.MetroComboBox(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // @@ -83,123 +89,110 @@ this.metroRadioButton_Draw.Text = "추첨 접수"; this.metroRadioButton_Draw.UseSelectable = true; // - // metroLabel_RegistrationNumberTruck + // metroLabel_CargoVehicleNumber // - this.metroLabel_RegistrationNumberTruck.AutoSize = true; - this.metroLabel_RegistrationNumberTruck.Location = new System.Drawing.Point(30, 80); - this.metroLabel_RegistrationNumberTruck.Name = "metroLabel_RegistrationNumberTruck"; - this.metroLabel_RegistrationNumberTruck.Size = new System.Drawing.Size(101, 19); - this.metroLabel_RegistrationNumberTruck.TabIndex = 1; - this.metroLabel_RegistrationNumberTruck.Text = "차량번호(화물)"; + this.metroLabel_CargoVehicleNumber.AutoSize = true; + this.metroLabel_CargoVehicleNumber.Location = new System.Drawing.Point(30, 80); + this.metroLabel_CargoVehicleNumber.Name = "metroLabel_CargoVehicleNumber"; + this.metroLabel_CargoVehicleNumber.Size = new System.Drawing.Size(101, 19); + this.metroLabel_CargoVehicleNumber.TabIndex = 1; + this.metroLabel_CargoVehicleNumber.Text = "차량번호(화물)"; // - // metroLabel_RegistrationNumberPassenger + // metroLabel_PassengerVehicleNumber // - this.metroLabel_RegistrationNumberPassenger.AutoSize = true; - this.metroLabel_RegistrationNumberPassenger.Location = new System.Drawing.Point(30, 110); - this.metroLabel_RegistrationNumberPassenger.Name = "metroLabel_RegistrationNumberPassenger"; - this.metroLabel_RegistrationNumberPassenger.Size = new System.Drawing.Size(101, 19); - this.metroLabel_RegistrationNumberPassenger.TabIndex = 2; - this.metroLabel_RegistrationNumberPassenger.Text = "차량번호(승용)"; + this.metroLabel_PassengerVehicleNumber.AutoSize = true; + this.metroLabel_PassengerVehicleNumber.Location = new System.Drawing.Point(30, 140); + this.metroLabel_PassengerVehicleNumber.Name = "metroLabel_PassengerVehicleNumber"; + this.metroLabel_PassengerVehicleNumber.Size = new System.Drawing.Size(101, 19); + this.metroLabel_PassengerVehicleNumber.TabIndex = 2; + this.metroLabel_PassengerVehicleNumber.Text = "차량번호(승용)"; // // metroLabel_Name // this.metroLabel_Name.AutoSize = true; - this.metroLabel_Name.Location = new System.Drawing.Point(30, 140); + this.metroLabel_Name.Location = new System.Drawing.Point(30, 240); this.metroLabel_Name.Name = "metroLabel_Name"; - this.metroLabel_Name.Size = new System.Drawing.Size(37, 19); + this.metroLabel_Name.Size = new System.Drawing.Size(101, 19); this.metroLabel_Name.TabIndex = 3; - this.metroLabel_Name.Text = "이름"; + this.metroLabel_Name.Text = "이     름"; // // metroLabel_Phone // this.metroLabel_Phone.AutoSize = true; - this.metroLabel_Phone.Location = new System.Drawing.Point(30, 170); + this.metroLabel_Phone.Location = new System.Drawing.Point(30, 330); this.metroLabel_Phone.Name = "metroLabel_Phone"; - this.metroLabel_Phone.Size = new System.Drawing.Size(51, 19); + this.metroLabel_Phone.Size = new System.Drawing.Size(103, 19); this.metroLabel_Phone.TabIndex = 4; - this.metroLabel_Phone.Text = "연락처"; + this.metroLabel_Phone.Text = "연  락  처"; // // metroLabel_Address // this.metroLabel_Address.AutoSize = true; - this.metroLabel_Address.Location = new System.Drawing.Point(30, 200); + this.metroLabel_Address.Location = new System.Drawing.Point(30, 360); this.metroLabel_Address.Name = "metroLabel_Address"; - this.metroLabel_Address.Size = new System.Drawing.Size(37, 19); + this.metroLabel_Address.Size = new System.Drawing.Size(101, 19); this.metroLabel_Address.TabIndex = 5; - this.metroLabel_Address.Text = "주소"; + this.metroLabel_Address.Text = "주     소"; // - // metroLabel_Inspection - // - this.metroLabel_Inspection.AutoSize = true; - this.metroLabel_Inspection.Location = new System.Drawing.Point(30, 230); - this.metroLabel_Inspection.Name = "metroLabel_Inspection"; - this.metroLabel_Inspection.Size = new System.Drawing.Size(69, 19); - this.metroLabel_Inspection.TabIndex = 8; - this.metroLabel_Inspection.Text = "서류 검토"; - // - // metroTextBox_RegistrationNumberTruck + // metroTextBox_CargoVehicleNumber // // // // - this.metroTextBox_RegistrationNumberTruck.CustomButton.Image = null; - this.metroTextBox_RegistrationNumberTruck.CustomButton.Location = new System.Drawing.Point(68, 1); - this.metroTextBox_RegistrationNumberTruck.CustomButton.Name = ""; - this.metroTextBox_RegistrationNumberTruck.CustomButton.Size = new System.Drawing.Size(21, 21); - this.metroTextBox_RegistrationNumberTruck.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; - this.metroTextBox_RegistrationNumberTruck.CustomButton.TabIndex = 1; - this.metroTextBox_RegistrationNumberTruck.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; - this.metroTextBox_RegistrationNumberTruck.CustomButton.UseSelectable = true; - this.metroTextBox_RegistrationNumberTruck.CustomButton.Visible = false; - this.metroTextBox_RegistrationNumberTruck.Lines = new string[] { - "경기90바9999"}; - this.metroTextBox_RegistrationNumberTruck.Location = new System.Drawing.Point(140, 80); - this.metroTextBox_RegistrationNumberTruck.MaxLength = 32767; - this.metroTextBox_RegistrationNumberTruck.Name = "metroTextBox_RegistrationNumberTruck"; - this.metroTextBox_RegistrationNumberTruck.PasswordChar = '\0'; - this.metroTextBox_RegistrationNumberTruck.ScrollBars = System.Windows.Forms.ScrollBars.None; - this.metroTextBox_RegistrationNumberTruck.SelectedText = ""; - this.metroTextBox_RegistrationNumberTruck.SelectionLength = 0; - this.metroTextBox_RegistrationNumberTruck.SelectionStart = 0; - this.metroTextBox_RegistrationNumberTruck.ShortcutsEnabled = true; - this.metroTextBox_RegistrationNumberTruck.Size = new System.Drawing.Size(90, 23); - this.metroTextBox_RegistrationNumberTruck.TabIndex = 2; - this.metroTextBox_RegistrationNumberTruck.Text = "경기90바9999"; - this.metroTextBox_RegistrationNumberTruck.UseSelectable = true; - this.metroTextBox_RegistrationNumberTruck.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - this.metroTextBox_RegistrationNumberTruck.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + this.metroTextBox_CargoVehicleNumber.CustomButton.Image = null; + this.metroTextBox_CargoVehicleNumber.CustomButton.Location = new System.Drawing.Point(108, 1); + this.metroTextBox_CargoVehicleNumber.CustomButton.Name = ""; + this.metroTextBox_CargoVehicleNumber.CustomButton.Size = new System.Drawing.Size(21, 21); + this.metroTextBox_CargoVehicleNumber.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.metroTextBox_CargoVehicleNumber.CustomButton.TabIndex = 1; + this.metroTextBox_CargoVehicleNumber.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.metroTextBox_CargoVehicleNumber.CustomButton.UseSelectable = true; + this.metroTextBox_CargoVehicleNumber.CustomButton.Visible = false; + this.metroTextBox_CargoVehicleNumber.Lines = new string[0]; + this.metroTextBox_CargoVehicleNumber.Location = new System.Drawing.Point(140, 76); + this.metroTextBox_CargoVehicleNumber.MaxLength = 32767; + this.metroTextBox_CargoVehicleNumber.Name = "metroTextBox_CargoVehicleNumber"; + this.metroTextBox_CargoVehicleNumber.PasswordChar = '\0'; + this.metroTextBox_CargoVehicleNumber.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.metroTextBox_CargoVehicleNumber.SelectedText = ""; + this.metroTextBox_CargoVehicleNumber.SelectionLength = 0; + this.metroTextBox_CargoVehicleNumber.SelectionStart = 0; + this.metroTextBox_CargoVehicleNumber.ShortcutsEnabled = true; + this.metroTextBox_CargoVehicleNumber.Size = new System.Drawing.Size(130, 23); + this.metroTextBox_CargoVehicleNumber.TabIndex = 2; + this.metroTextBox_CargoVehicleNumber.UseSelectable = true; + this.metroTextBox_CargoVehicleNumber.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.metroTextBox_CargoVehicleNumber.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); // - // metroTextBox_RegistrationNumberPassenger + // metroTextBox_PassengerVehicleNumber // // // // - this.metroTextBox_RegistrationNumberPassenger.CustomButton.Image = null; - this.metroTextBox_RegistrationNumberPassenger.CustomButton.Location = new System.Drawing.Point(68, 1); - this.metroTextBox_RegistrationNumberPassenger.CustomButton.Name = ""; - this.metroTextBox_RegistrationNumberPassenger.CustomButton.Size = new System.Drawing.Size(21, 21); - this.metroTextBox_RegistrationNumberPassenger.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; - this.metroTextBox_RegistrationNumberPassenger.CustomButton.TabIndex = 1; - this.metroTextBox_RegistrationNumberPassenger.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; - this.metroTextBox_RegistrationNumberPassenger.CustomButton.UseSelectable = true; - this.metroTextBox_RegistrationNumberPassenger.CustomButton.Visible = false; - this.metroTextBox_RegistrationNumberPassenger.Lines = new string[] { - "경기90바9999"}; - this.metroTextBox_RegistrationNumberPassenger.Location = new System.Drawing.Point(140, 110); - this.metroTextBox_RegistrationNumberPassenger.MaxLength = 32767; - this.metroTextBox_RegistrationNumberPassenger.Name = "metroTextBox_RegistrationNumberPassenger"; - this.metroTextBox_RegistrationNumberPassenger.PasswordChar = '\0'; - this.metroTextBox_RegistrationNumberPassenger.ScrollBars = System.Windows.Forms.ScrollBars.None; - this.metroTextBox_RegistrationNumberPassenger.SelectedText = ""; - this.metroTextBox_RegistrationNumberPassenger.SelectionLength = 0; - this.metroTextBox_RegistrationNumberPassenger.SelectionStart = 0; - this.metroTextBox_RegistrationNumberPassenger.ShortcutsEnabled = true; - this.metroTextBox_RegistrationNumberPassenger.Size = new System.Drawing.Size(90, 23); - this.metroTextBox_RegistrationNumberPassenger.TabIndex = 3; - this.metroTextBox_RegistrationNumberPassenger.Text = "경기90바9999"; - this.metroTextBox_RegistrationNumberPassenger.UseSelectable = true; - this.metroTextBox_RegistrationNumberPassenger.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - this.metroTextBox_RegistrationNumberPassenger.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + this.metroTextBox_PassengerVehicleNumber.CustomButton.Image = null; + this.metroTextBox_PassengerVehicleNumber.CustomButton.Location = new System.Drawing.Point(108, 1); + this.metroTextBox_PassengerVehicleNumber.CustomButton.Name = ""; + this.metroTextBox_PassengerVehicleNumber.CustomButton.Size = new System.Drawing.Size(21, 21); + this.metroTextBox_PassengerVehicleNumber.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.metroTextBox_PassengerVehicleNumber.CustomButton.TabIndex = 1; + this.metroTextBox_PassengerVehicleNumber.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.metroTextBox_PassengerVehicleNumber.CustomButton.UseSelectable = true; + this.metroTextBox_PassengerVehicleNumber.CustomButton.Visible = false; + this.metroTextBox_PassengerVehicleNumber.Lines = new string[0]; + this.metroTextBox_PassengerVehicleNumber.Location = new System.Drawing.Point(140, 136); + this.metroTextBox_PassengerVehicleNumber.MaxLength = 32767; + this.metroTextBox_PassengerVehicleNumber.Name = "metroTextBox_PassengerVehicleNumber"; + this.metroTextBox_PassengerVehicleNumber.PasswordChar = '\0'; + this.metroTextBox_PassengerVehicleNumber.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.metroTextBox_PassengerVehicleNumber.SelectedText = ""; + this.metroTextBox_PassengerVehicleNumber.SelectionLength = 0; + this.metroTextBox_PassengerVehicleNumber.SelectionStart = 0; + this.metroTextBox_PassengerVehicleNumber.ShortcutsEnabled = true; + this.metroTextBox_PassengerVehicleNumber.Size = new System.Drawing.Size(130, 23); + this.metroTextBox_PassengerVehicleNumber.TabIndex = 4; + this.metroTextBox_PassengerVehicleNumber.UseSelectable = true; + this.metroTextBox_PassengerVehicleNumber.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.metroTextBox_PassengerVehicleNumber.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); // // metroTextBox_Name // @@ -207,7 +200,7 @@ // // this.metroTextBox_Name.CustomButton.Image = null; - this.metroTextBox_Name.CustomButton.Location = new System.Drawing.Point(67, 1); + this.metroTextBox_Name.CustomButton.Location = new System.Drawing.Point(108, 1); this.metroTextBox_Name.CustomButton.Name = ""; this.metroTextBox_Name.CustomButton.Size = new System.Drawing.Size(21, 21); this.metroTextBox_Name.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; @@ -216,7 +209,7 @@ this.metroTextBox_Name.CustomButton.UseSelectable = true; this.metroTextBox_Name.CustomButton.Visible = false; this.metroTextBox_Name.Lines = new string[0]; - this.metroTextBox_Name.Location = new System.Drawing.Point(140, 140); + this.metroTextBox_Name.Location = new System.Drawing.Point(140, 240); this.metroTextBox_Name.MaxLength = 32767; this.metroTextBox_Name.Name = "metroTextBox_Name"; this.metroTextBox_Name.PasswordChar = '\0'; @@ -225,8 +218,8 @@ this.metroTextBox_Name.SelectionLength = 0; this.metroTextBox_Name.SelectionStart = 0; this.metroTextBox_Name.ShortcutsEnabled = true; - this.metroTextBox_Name.Size = new System.Drawing.Size(89, 23); - this.metroTextBox_Name.TabIndex = 4; + this.metroTextBox_Name.Size = new System.Drawing.Size(130, 23); + this.metroTextBox_Name.TabIndex = 7; this.metroTextBox_Name.UseSelectable = true; this.metroTextBox_Name.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); this.metroTextBox_Name.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); @@ -234,11 +227,11 @@ // maskedTextBox_Phone // this.maskedTextBox_Phone.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.maskedTextBox_Phone.Location = new System.Drawing.Point(140, 170); + this.maskedTextBox_Phone.Location = new System.Drawing.Point(140, 328); this.maskedTextBox_Phone.Mask = "000-9000-0000"; this.maskedTextBox_Phone.Name = "maskedTextBox_Phone"; this.maskedTextBox_Phone.Size = new System.Drawing.Size(89, 21); - this.maskedTextBox_Phone.TabIndex = 5; + this.maskedTextBox_Phone.TabIndex = 9; // // metroTextBox_Address // @@ -255,7 +248,7 @@ this.metroTextBox_Address.CustomButton.UseSelectable = true; this.metroTextBox_Address.CustomButton.Visible = false; this.metroTextBox_Address.Lines = new string[0]; - this.metroTextBox_Address.Location = new System.Drawing.Point(140, 200); + this.metroTextBox_Address.Location = new System.Drawing.Point(140, 356); this.metroTextBox_Address.MaxLength = 32767; this.metroTextBox_Address.Name = "metroTextBox_Address"; this.metroTextBox_Address.PasswordChar = '\0'; @@ -265,30 +258,18 @@ this.metroTextBox_Address.SelectionStart = 0; this.metroTextBox_Address.ShortcutsEnabled = true; this.metroTextBox_Address.Size = new System.Drawing.Size(313, 23); - this.metroTextBox_Address.TabIndex = 6; + this.metroTextBox_Address.TabIndex = 10; this.metroTextBox_Address.UseSelectable = true; this.metroTextBox_Address.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); this.metroTextBox_Address.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); // - // metroCheckBox_Inspection - // - this.metroCheckBox_Inspection.AutoSize = true; - this.metroCheckBox_Inspection.Checked = true; - this.metroCheckBox_Inspection.CheckState = System.Windows.Forms.CheckState.Checked; - this.metroCheckBox_Inspection.Location = new System.Drawing.Point(140, 234); - this.metroCheckBox_Inspection.Name = "metroCheckBox_Inspection"; - this.metroCheckBox_Inspection.Size = new System.Drawing.Size(74, 15); - this.metroCheckBox_Inspection.TabIndex = 8; - this.metroCheckBox_Inspection.Text = "검토 완료"; - this.metroCheckBox_Inspection.UseSelectable = true; - // // metroButton_Register // this.metroButton_Register.FontSize = MetroFramework.MetroButtonSize.Tall; - this.metroButton_Register.Location = new System.Drawing.Point(100, 270); + this.metroButton_Register.Location = new System.Drawing.Point(96, 399); this.metroButton_Register.Name = "metroButton_Register"; this.metroButton_Register.Size = new System.Drawing.Size(170, 50); - this.metroButton_Register.TabIndex = 9; + this.metroButton_Register.TabIndex = 11; this.metroButton_Register.Text = "접 수 "; this.metroButton_Register.UseSelectable = true; this.metroButton_Register.Click += new System.EventHandler(this.metroButton_Register_Click); @@ -296,37 +277,183 @@ // metroButton_Cancel // this.metroButton_Cancel.FontSize = MetroFramework.MetroButtonSize.Tall; - this.metroButton_Cancel.Location = new System.Drawing.Point(283, 270); + this.metroButton_Cancel.Location = new System.Drawing.Point(279, 399); this.metroButton_Cancel.Name = "metroButton_Cancel"; this.metroButton_Cancel.Size = new System.Drawing.Size(170, 50); - this.metroButton_Cancel.TabIndex = 10; + this.metroButton_Cancel.TabIndex = 12; this.metroButton_Cancel.Text = "취 소"; this.metroButton_Cancel.UseSelectable = true; this.metroButton_Cancel.Click += new System.EventHandler(this.metroButton_Cancel_Click); // + // metroTextBox_CargoVehicleName + // + // + // + // + this.metroTextBox_CargoVehicleName.CustomButton.Image = null; + this.metroTextBox_CargoVehicleName.CustomButton.Location = new System.Drawing.Point(180, 1); + this.metroTextBox_CargoVehicleName.CustomButton.Name = ""; + this.metroTextBox_CargoVehicleName.CustomButton.Size = new System.Drawing.Size(21, 21); + this.metroTextBox_CargoVehicleName.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.metroTextBox_CargoVehicleName.CustomButton.TabIndex = 1; + this.metroTextBox_CargoVehicleName.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.metroTextBox_CargoVehicleName.CustomButton.UseSelectable = true; + this.metroTextBox_CargoVehicleName.CustomButton.Visible = false; + this.metroTextBox_CargoVehicleName.Lines = new string[0]; + this.metroTextBox_CargoVehicleName.Location = new System.Drawing.Point(140, 106); + this.metroTextBox_CargoVehicleName.MaxLength = 32767; + this.metroTextBox_CargoVehicleName.Name = "metroTextBox_CargoVehicleName"; + this.metroTextBox_CargoVehicleName.PasswordChar = '\0'; + this.metroTextBox_CargoVehicleName.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.metroTextBox_CargoVehicleName.SelectedText = ""; + this.metroTextBox_CargoVehicleName.SelectionLength = 0; + this.metroTextBox_CargoVehicleName.SelectionStart = 0; + this.metroTextBox_CargoVehicleName.ShortcutsEnabled = true; + this.metroTextBox_CargoVehicleName.Size = new System.Drawing.Size(202, 23); + this.metroTextBox_CargoVehicleName.TabIndex = 3; + this.metroTextBox_CargoVehicleName.UseSelectable = true; + this.metroTextBox_CargoVehicleName.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.metroTextBox_CargoVehicleName.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + // + // metroLabel1 + // + this.metroLabel1.AutoSize = true; + this.metroLabel1.Location = new System.Drawing.Point(30, 110); + this.metroLabel1.Name = "metroLabel1"; + this.metroLabel1.Size = new System.Drawing.Size(101, 19); + this.metroLabel1.TabIndex = 11; + this.metroLabel1.Text = "차  종(화물)"; + // + // metroTextBox_PassengerVehicleName + // + // + // + // + this.metroTextBox_PassengerVehicleName.CustomButton.Image = null; + this.metroTextBox_PassengerVehicleName.CustomButton.Location = new System.Drawing.Point(180, 1); + this.metroTextBox_PassengerVehicleName.CustomButton.Name = ""; + this.metroTextBox_PassengerVehicleName.CustomButton.Size = new System.Drawing.Size(21, 21); + this.metroTextBox_PassengerVehicleName.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.metroTextBox_PassengerVehicleName.CustomButton.TabIndex = 1; + this.metroTextBox_PassengerVehicleName.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.metroTextBox_PassengerVehicleName.CustomButton.UseSelectable = true; + this.metroTextBox_PassengerVehicleName.CustomButton.Visible = false; + this.metroTextBox_PassengerVehicleName.Lines = new string[0]; + this.metroTextBox_PassengerVehicleName.Location = new System.Drawing.Point(140, 166); + this.metroTextBox_PassengerVehicleName.MaxLength = 32767; + this.metroTextBox_PassengerVehicleName.Name = "metroTextBox_PassengerVehicleName"; + this.metroTextBox_PassengerVehicleName.PasswordChar = '\0'; + this.metroTextBox_PassengerVehicleName.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.metroTextBox_PassengerVehicleName.SelectedText = ""; + this.metroTextBox_PassengerVehicleName.SelectionLength = 0; + this.metroTextBox_PassengerVehicleName.SelectionStart = 0; + this.metroTextBox_PassengerVehicleName.ShortcutsEnabled = true; + this.metroTextBox_PassengerVehicleName.Size = new System.Drawing.Size(202, 23); + this.metroTextBox_PassengerVehicleName.TabIndex = 5; + this.metroTextBox_PassengerVehicleName.UseSelectable = true; + this.metroTextBox_PassengerVehicleName.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.metroTextBox_PassengerVehicleName.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + // + // metroLabel2 + // + this.metroLabel2.AutoSize = true; + this.metroLabel2.Location = new System.Drawing.Point(30, 170); + this.metroLabel2.Name = "metroLabel2"; + this.metroLabel2.Size = new System.Drawing.Size(101, 19); + this.metroLabel2.TabIndex = 13; + this.metroLabel2.Text = "차  종(승용)"; + // + // metroTextBox_PersonalNumber + // + // + // + // + this.metroTextBox_PersonalNumber.CustomButton.Image = null; + this.metroTextBox_PersonalNumber.CustomButton.Location = new System.Drawing.Point(108, 1); + this.metroTextBox_PersonalNumber.CustomButton.Name = ""; + this.metroTextBox_PersonalNumber.CustomButton.Size = new System.Drawing.Size(21, 21); + this.metroTextBox_PersonalNumber.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.metroTextBox_PersonalNumber.CustomButton.TabIndex = 1; + this.metroTextBox_PersonalNumber.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.metroTextBox_PersonalNumber.CustomButton.UseSelectable = true; + this.metroTextBox_PersonalNumber.CustomButton.Visible = false; + this.metroTextBox_PersonalNumber.Lines = new string[0]; + this.metroTextBox_PersonalNumber.Location = new System.Drawing.Point(140, 278); + this.metroTextBox_PersonalNumber.MaxLength = 32767; + this.metroTextBox_PersonalNumber.Name = "metroTextBox_PersonalNumber"; + this.metroTextBox_PersonalNumber.PasswordChar = '\0'; + this.metroTextBox_PersonalNumber.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.metroTextBox_PersonalNumber.SelectedText = ""; + this.metroTextBox_PersonalNumber.SelectionLength = 0; + this.metroTextBox_PersonalNumber.SelectionStart = 0; + this.metroTextBox_PersonalNumber.ShortcutsEnabled = true; + this.metroTextBox_PersonalNumber.Size = new System.Drawing.Size(130, 23); + this.metroTextBox_PersonalNumber.TabIndex = 8; + this.metroTextBox_PersonalNumber.UseSelectable = true; + this.metroTextBox_PersonalNumber.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.metroTextBox_PersonalNumber.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + // + // metroLabel3 + // + this.metroLabel3.AutoSize = true; + this.metroLabel3.Location = new System.Drawing.Point(30, 270); + this.metroLabel3.Name = "metroLabel3"; + this.metroLabel3.Size = new System.Drawing.Size(105, 38); + this.metroLabel3.TabIndex = 15; + this.metroLabel3.Text = "생 년  월 일\r\n (법인등록번호)"; + // + // metroLabel4 + // + this.metroLabel4.AutoSize = true; + this.metroLabel4.Location = new System.Drawing.Point(30, 200); + this.metroLabel4.Name = "metroLabel4"; + this.metroLabel4.Size = new System.Drawing.Size(101, 19); + this.metroLabel4.TabIndex = 17; + this.metroLabel4.Text = "차 량  구 분"; + // + // metroComboBox_VehicleType + // + this.metroComboBox_VehicleType.FormattingEnabled = true; + this.metroComboBox_VehicleType.ItemHeight = 23; + this.metroComboBox_VehicleType.Items.AddRange(new object[] { + "대형(4.5톤 미만)", + "특대형(4.5톤 이상)"}); + this.metroComboBox_VehicleType.Location = new System.Drawing.Point(139, 200); + this.metroComboBox_VehicleType.Name = "metroComboBox_VehicleType"; + this.metroComboBox_VehicleType.Size = new System.Drawing.Size(203, 29); + this.metroComboBox_VehicleType.TabIndex = 6; + this.metroComboBox_VehicleType.UseSelectable = true; + this.metroComboBox_VehicleType.SelectedIndex = 0; + // // ApplicantControl // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; + this.Controls.Add(this.metroComboBox_VehicleType); + this.Controls.Add(this.metroLabel4); + this.Controls.Add(this.metroTextBox_PersonalNumber); + this.Controls.Add(this.metroLabel3); + this.Controls.Add(this.metroTextBox_PassengerVehicleName); + this.Controls.Add(this.metroLabel2); + this.Controls.Add(this.metroTextBox_CargoVehicleName); + this.Controls.Add(this.metroLabel1); this.Controls.Add(this.metroButton_Cancel); this.Controls.Add(this.metroButton_Register); - this.Controls.Add(this.metroCheckBox_Inspection); this.Controls.Add(this.maskedTextBox_Phone); this.Controls.Add(this.metroTextBox_Address); this.Controls.Add(this.metroTextBox_Name); - this.Controls.Add(this.metroTextBox_RegistrationNumberPassenger); - this.Controls.Add(this.metroTextBox_RegistrationNumberTruck); - this.Controls.Add(this.metroLabel_Inspection); + this.Controls.Add(this.metroTextBox_PassengerVehicleNumber); + this.Controls.Add(this.metroTextBox_CargoVehicleNumber); this.Controls.Add(this.metroLabel_Address); this.Controls.Add(this.metroLabel_Phone); this.Controls.Add(this.metroLabel_Name); - this.Controls.Add(this.metroLabel_RegistrationNumberPassenger); - this.Controls.Add(this.metroLabel_RegistrationNumberTruck); + this.Controls.Add(this.metroLabel_PassengerVehicleNumber); + this.Controls.Add(this.metroLabel_CargoVehicleNumber); this.Controls.Add(this.groupBox1); this.Margin = new System.Windows.Forms.Padding(0); this.Name = "ApplicantControl"; - this.Size = new System.Drawing.Size(480, 380); + this.Size = new System.Drawing.Size(480, 480); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); @@ -339,19 +466,25 @@ private System.Windows.Forms.GroupBox groupBox1; private MetroFramework.Controls.MetroRadioButton metroRadioButton_Draw; private MetroFramework.Controls.MetroRadioButton metroRadioButton_Waiting; - private MetroFramework.Controls.MetroLabel metroLabel_RegistrationNumberTruck; - private MetroFramework.Controls.MetroLabel metroLabel_RegistrationNumberPassenger; + private MetroFramework.Controls.MetroLabel metroLabel_CargoVehicleNumber; + private MetroFramework.Controls.MetroLabel metroLabel_PassengerVehicleNumber; private MetroFramework.Controls.MetroLabel metroLabel_Name; private MetroFramework.Controls.MetroLabel metroLabel_Phone; private MetroFramework.Controls.MetroLabel metroLabel_Address; - private MetroFramework.Controls.MetroLabel metroLabel_Inspection; - private MetroFramework.Controls.MetroTextBox metroTextBox_RegistrationNumberTruck; - private MetroFramework.Controls.MetroTextBox metroTextBox_RegistrationNumberPassenger; + private MetroFramework.Controls.MetroTextBox metroTextBox_CargoVehicleNumber; + private MetroFramework.Controls.MetroTextBox metroTextBox_PassengerVehicleNumber; private MetroFramework.Controls.MetroTextBox metroTextBox_Name; private System.Windows.Forms.MaskedTextBox maskedTextBox_Phone; private MetroFramework.Controls.MetroTextBox metroTextBox_Address; - private MetroFramework.Controls.MetroCheckBox metroCheckBox_Inspection; private MetroFramework.Controls.MetroButton metroButton_Register; private MetroFramework.Controls.MetroButton metroButton_Cancel; + private MetroFramework.Controls.MetroTextBox metroTextBox_CargoVehicleName; + private MetroFramework.Controls.MetroLabel metroLabel1; + private MetroFramework.Controls.MetroTextBox metroTextBox_PassengerVehicleName; + private MetroFramework.Controls.MetroLabel metroLabel2; + private MetroFramework.Controls.MetroTextBox metroTextBox_PersonalNumber; + private MetroFramework.Controls.MetroLabel metroLabel3; + private MetroFramework.Controls.MetroLabel metroLabel4; + private MetroFramework.Controls.MetroComboBox metroComboBox_VehicleType; } } diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantControl.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantControl.cs index ef9642c..182016f 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantControl.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantControl.cs @@ -1,4 +1,7 @@ -using System; +using HSUCO_Cargo_Garage_Operation_Program.Properties; +using MetroFramework; +using System; +using System.Collections.Generic; using System.Windows.Forms; namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl @@ -13,22 +16,34 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl void metroButton_Register_Click(object sender, EventArgs e) { - if (metroTextBox_RegistrationNumberTruck.Text.Trim() == string.Empty) + if (metroTextBox_CargoVehicleNumber.Text.Trim() == string.Empty) { - MessageBox.Show(this, "차량번호(화물)이 입력되지 않았습니다.", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); - metroTextBox_RegistrationNumberTruck.Text = string.Empty; - metroTextBox_RegistrationNumberTruck.Focus(); + MessageBox.Show(this, "차량번호(화물)가 입력되지 않았습니다.", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + metroTextBox_CargoVehicleNumber.Text = string.Empty; + metroTextBox_CargoVehicleNumber.Focus(); return; } - - if (metroTextBox_RegistrationNumberPassenger.Text.Trim() == string.Empty) + if (metroTextBox_CargoVehicleName.Text.Trim() == string.Empty) { - MessageBox.Show(this, "차량번호(승용)이 입력되지 않았습니다.", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); - metroTextBox_RegistrationNumberPassenger.Text = string.Empty; - metroTextBox_RegistrationNumberPassenger.Focus(); + MessageBox.Show(this, "차  종(화물)이 입력되지 않았습니다.", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + metroTextBox_CargoVehicleName.Text = string.Empty; + metroTextBox_CargoVehicleName.Focus(); + return; + } + if (metroTextBox_PassengerVehicleNumber.Text.Trim() == string.Empty) + { + MessageBox.Show(this, "차량번호(승용)가 입력되지 않았습니다.", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + metroTextBox_PassengerVehicleNumber.Text = string.Empty; + metroTextBox_PassengerVehicleNumber.Focus(); + return; + } + if (metroTextBox_PassengerVehicleName.Text.Trim() == string.Empty) + { + MessageBox.Show(this, "차  종(승용)이 입력되지 않았습니다.", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + metroTextBox_PassengerVehicleName.Text = string.Empty; + metroTextBox_PassengerVehicleName.Focus(); return; } - if (metroTextBox_Name.Text.Trim() == string.Empty) { MessageBox.Show(this, "이름이 입력되지 않았습니다.", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); @@ -36,7 +51,13 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl metroTextBox_Name.Focus(); return; } - + if (metroTextBox_PersonalNumber.Text.Trim() == string.Empty) + { + MessageBox.Show(this, "생년월일(법인등록번호)이 입력되지 않았습니다..", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + metroTextBox_PersonalNumber.Text = string.Empty; + metroTextBox_PersonalNumber.Focus(); + return; + } if (maskedTextBox_Phone.Text.Trim() == string.Empty) { MessageBox.Show(this, "연락처가 입력되지 않았습니다.", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); @@ -52,44 +73,68 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl metroTextBox_Address.Focus(); return; } - - bool already = Database.ApplicantCheckAlready(metroTextBox_RegistrationNumberTruck.Text.Trim()); - if(already) - { - MessageBox.Show(this, metroTextBox_RegistrationNumberTruck.Text.Trim() +"차량은 이미 신청된 차량입니다.", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); - ResetInput(); - metroTextBox_RegistrationNumberTruck.Focus(); - return; - } + bool already = Database.ApplicantCheckAlready(metroTextBox_CargoVehicleNumber.Text.Trim()); - already = Database.UserListCheckAlready(metroTextBox_RegistrationNumberTruck.Text.Trim()); if (already) { - MessageBox.Show(this, metroTextBox_RegistrationNumberTruck.Text.Trim() + "현재 사용중인 차량입니다.", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show(this, metroTextBox_CargoVehicleNumber.Text.Trim() + "차량은 이미 신청된 차량입니다.", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); ResetInput(); - metroTextBox_RegistrationNumberTruck.Focus(); + metroTextBox_CargoVehicleNumber.Focus(); return; } - var applicant = new Applicant(); + + already = Database.UserListCheckAlready(metroTextBox_CargoVehicleNumber.Text.Trim()); + if (already) + { + MessageBox.Show(this, metroTextBox_CargoVehicleNumber.Text.Trim() + "현재 사용중인 차량입니다.", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + ResetInput(); + metroTextBox_CargoVehicleNumber.Focus(); + return; + } + var applicant = new ApplicantInformation(); applicant.ApplicantType = metroRadioButton_Draw.Checked; // 추첨이 true, 대기가 false - applicant.RegistrationNumberTruck = metroTextBox_RegistrationNumberTruck.Text.Trim(); - applicant.RegistrationNumberPassenger = metroTextBox_RegistrationNumberPassenger.Text.Trim(); + applicant.CargoVehicleNumber = metroTextBox_CargoVehicleNumber.Text.Trim(); + applicant.CargoVehicleName = metroTextBox_CargoVehicleName.Text.Trim(); + applicant.PassengerVehicleNumber = metroTextBox_PassengerVehicleNumber.Text.Trim(); + applicant.PassengerVehicleName = metroTextBox_PassengerVehicleName.Text.Trim(); + applicant.VehicleType = (EVehicleType)metroComboBox_VehicleType.SelectedIndex; + applicant.Name = metroTextBox_Name.Text.Trim(); + applicant.PersonalNumber = metroTextBox_PersonalNumber.Text.Trim(); applicant.Phone = maskedTextBox_Phone.Text.Trim(); applicant.Address = metroTextBox_Address.Text.Trim(); applicant.DateOfApplication = DateTime.Now; - applicant.Inspection = metroCheckBox_Inspection.Checked; - bool resultInsert = Database.ApplicantInsert(applicant); - if(resultInsert) + + var resultInsert = Database.SetApplicant(applicant); + if (resultInsert.Result) { ResetInput(); - MessageBox.Show("정상적으로 등록되었습니다.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Hand); + MetroMessageBox.Show(this, "정상적으로 등록되었습니다.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information); + PrintFilingReceiptInformation printFilingReceiptInformation = new PrintFilingReceiptInformation(); + printFilingReceiptInformation.No = resultInsert.No; + printFilingReceiptInformation.WaitingOrder = resultInsert.WaitingOrder; + printFilingReceiptInformation.Name = applicant.Name; + printFilingReceiptInformation.PersonalNumber = applicant.PersonalNumber; + + printFilingReceiptInformation.Address = applicant.Address; + printFilingReceiptInformation.CargoVehicleNumber = applicant.CargoVehicleNumber; + printFilingReceiptInformation.PassengerVehicleNumber = applicant.PassengerVehicleNumber; + printFilingReceiptInformation.DateReception = applicant.DateOfApplication; + + PrintFilingReceipt printFilingReceipt = new PrintFilingReceipt(new List() { printFilingReceiptInformation }); + var printPreviewDialog = new PrintPreviewDialog(); + printPreviewDialog.Icon = Resources.free_icon_trucks_8552082; + printPreviewDialog.WindowState = FormWindowState.Maximized; + printPreviewDialog.Document = printFilingReceipt.printDocument; + printPreviewDialog.ShowDialog(); + + } else { - MessageBox.Show("등록에 실패하였습니다.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + MetroMessageBox.Show(this, "등록에 실패하였습니다.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } @@ -99,17 +144,18 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl } void ResetInput() { - metroTextBox_RegistrationNumberTruck.Text = string.Empty; + metroTextBox_CargoVehicleNumber.Text = string.Empty; + metroTextBox_CargoVehicleName.Text = string.Empty; - metroTextBox_RegistrationNumberPassenger.Text = string.Empty; + metroTextBox_PassengerVehicleNumber.Text = string.Empty; + metroTextBox_PassengerVehicleName.Text = string.Empty; metroTextBox_Name.Text = string.Empty; - + metroTextBox_PersonalNumber.Text = string.Empty; maskedTextBox_Phone.Text = string.Empty; - metroTextBox_Address.Text = string.Empty; - metroTextBox_RegistrationNumberTruck.Focus(); + metroTextBox_CargoVehicleNumber.Focus(); } } } \ No newline at end of file diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantList.Designer.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantList.Designer.cs index db36b94..39a31ca 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantList.Designer.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantList.Designer.cs @@ -42,8 +42,6 @@ this.metroButton_Search = new MetroFramework.Controls.MetroButton(); this.metroTextBox_Search = new MetroFramework.Controls.MetroTextBox(); this.metroComboBox_SearchType = new MetroFramework.Controls.MetroComboBox(); - this.metroButton_InspectionFalse = new MetroFramework.Controls.MetroButton(); - this.metroButton_InspectionTrue = new MetroFramework.Controls.MetroButton(); this.metroButton_UpdateUser = new MetroFramework.Controls.MetroButton(); this.dataGridView_List = new System.Windows.Forms.DataGridView(); this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); @@ -103,8 +101,6 @@ this.metroPanel1.Controls.Add(this.metroButton_ExportExcel); this.metroPanel1.Controls.Add(this.metroButton_Delete); this.metroPanel1.Controls.Add(this.groupBox2); - this.metroPanel1.Controls.Add(this.metroButton_InspectionFalse); - this.metroPanel1.Controls.Add(this.metroButton_InspectionTrue); this.metroPanel1.Controls.Add(this.metroButton_UpdateUser); this.metroPanel1.Controls.Add(this.dataGridView_List); this.metroPanel1.Controls.Add(this.groupBox1); @@ -236,30 +232,6 @@ this.metroComboBox_SearchType.TabIndex = 3; this.metroComboBox_SearchType.UseSelectable = true; // - // metroButton_InspectionFalse - // - this.metroButton_InspectionFalse.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.metroButton_InspectionFalse.FontSize = MetroFramework.MetroButtonSize.Tall; - this.metroButton_InspectionFalse.Location = new System.Drawing.Point(626, 230); - this.metroButton_InspectionFalse.Name = "metroButton_InspectionFalse"; - this.metroButton_InspectionFalse.Size = new System.Drawing.Size(121, 40); - this.metroButton_InspectionFalse.TabIndex = 9; - this.metroButton_InspectionFalse.Text = "서류 미비 전환"; - this.metroButton_InspectionFalse.UseSelectable = true; - this.metroButton_InspectionFalse.Click += new System.EventHandler(this.metroButton_InspectionFalse_Click); - // - // metroButton_InspectionTrue - // - this.metroButton_InspectionTrue.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.metroButton_InspectionTrue.FontSize = MetroFramework.MetroButtonSize.Tall; - this.metroButton_InspectionTrue.Location = new System.Drawing.Point(626, 184); - this.metroButton_InspectionTrue.Name = "metroButton_InspectionTrue"; - this.metroButton_InspectionTrue.Size = new System.Drawing.Size(121, 40); - this.metroButton_InspectionTrue.TabIndex = 8; - this.metroButton_InspectionTrue.Text = "서류 완료 전환"; - this.metroButton_InspectionTrue.UseSelectable = true; - this.metroButton_InspectionTrue.Click += new System.EventHandler(this.metroButton_InspectionTrue_Click); - // // metroButton_UpdateUser // this.metroButton_UpdateUser.Anchor = System.Windows.Forms.AnchorStyles.Right; @@ -325,8 +297,6 @@ private MetroFramework.Controls.MetroButton metroButton_Search; private MetroFramework.Controls.MetroTextBox metroTextBox_Search; private MetroFramework.Controls.MetroComboBox metroComboBox_SearchType; - private MetroFramework.Controls.MetroButton metroButton_InspectionFalse; - private MetroFramework.Controls.MetroButton metroButton_InspectionTrue; private MetroFramework.Controls.MetroButton metroButton_UpdateUser; private System.Windows.Forms.DataGridView dataGridView_List; private MetroFramework.Controls.MetroButton metroButton_Delete; diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantList.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantList.cs index 31f504e..fdc7003 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantList.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ApplicantList.cs @@ -17,48 +17,29 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl metroComboBox_SearchType.SelectedIndex = 0; } - List InspectionType() - { - var applicants = Database.GetApplicant(); - List nowApplicants; - - if (metroRadioButton_InspectionTrue.Checked) - { - nowApplicants = applicants.Where(x => x.Inspection).ToList(); - } - else if (metroRadioButton_InspectionFalse.Checked) - { - nowApplicants = applicants.Where(x => !x.Inspection).ToList(); - } - else - { - nowApplicants = applicants; - } - - return nowApplicants; - } + void DataChange() { - var nowApplicants = InspectionType(); + var applicants = Database.GetApplicant(); switch (metroComboBox_SearchType.SelectedIndex) { case 0: - nowApplicants = nowApplicants.Where(x => x.RegistrationNumberTruck.Contains(metroTextBox_Search.Text.Trim())).ToList(); + applicants = applicants.Where(x => x.CargoVehicleNumber.Contains(metroTextBox_Search.Text.Trim())).ToList(); break; case 1: - nowApplicants = nowApplicants.Where(x => x.RegistrationNumberPassenger.Contains(metroTextBox_Search.Text.Trim())).ToList(); + applicants = applicants.Where(x => x.PassengerVehicleNumber.Contains(metroTextBox_Search.Text.Trim())).ToList(); break; case 2: - nowApplicants = nowApplicants.Where(x => x.Name.Contains(metroTextBox_Search.Text.Trim())).ToList(); + applicants = applicants.Where(x => x.Name.Contains(metroTextBox_Search.Text.Trim())).ToList(); break; case 3: - nowApplicants = nowApplicants.Where(x => x.Phone.Contains(metroTextBox_Search.Text.Trim())).ToList(); + applicants = applicants.Where(x => x.Phone.Contains(metroTextBox_Search.Text.Trim())).ToList(); break; case 4: - nowApplicants = nowApplicants.Where(x => x.Address.Contains(metroTextBox_Search.Text.Trim())).ToList(); + applicants = applicants.Where(x => x.Address.Contains(metroTextBox_Search.Text.Trim())).ToList(); break; } @@ -70,19 +51,17 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl dataTable.Columns.Add("연락처"); dataTable.Columns.Add("주소"); dataTable.Columns.Add("신청일"); - dataTable.Columns.Add("서류 검토"); - for (int i = 0; i < nowApplicants.Count; i++) + for (int i = 0; i < applicants.Count; i++) { dataTable.Rows .Add( - nowApplicants[i].RegistrationNumberTruck, - nowApplicants[i].RegistrationNumberPassenger, - nowApplicants[i].Name, - nowApplicants[i].Phone, - nowApplicants[i].Address, - nowApplicants[i].DateOfApplication, - nowApplicants[i].Inspection ? "Y" : "N" + applicants[i].CargoVehicleNumber, + applicants[i].PassengerVehicleNumber, + applicants[i].Name, + applicants[i].Phone, + applicants[i].Address, + applicants[i].DateOfApplication ); } @@ -103,80 +82,17 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl void metroButton_Search_Click(object sender, EventArgs e) => DataChange(); - void metroButton_InspectionTrue_Click(object sender, EventArgs e) - { - var allCount = dataGridView_List.SelectedRows.Count; - if (allCount == 0) return; - - var RegistrationNumberTruck = new List(); - - for (int i = 0; i < dataGridView_List.SelectedRows.Count; i++) - { - if (dataGridView_List.SelectedRows[i].Cells[6].Value.ToString() == "N") - { - RegistrationNumberTruck.Add(dataGridView_List.SelectedRows[i].Cells[0].Value.ToString()); - } - } - - if (RegistrationNumberTruck.Count == 0) - { - MetroMessageBox.Show(this, "선택하신 건수 중에 전환할수 있는 건수가 없습니다.", "서류 완료 전환", MessageBoxButtons.OK, MessageBoxIcon.Information); - } - else - { - var message = "선태하신 전체 건수(" + allCount + ")중 서류 미비 상태인 건수(" + RegistrationNumberTruck.Count + ")를 서류 완료 상태로 전환합니다."; - - if (MetroMessageBox.Show(this, message, "서류 완료 전환", MessageBoxButtons.OKCancel, MessageBoxIcon.Information) == DialogResult.OK) - { - Database.ChangeInspection(RegistrationNumberTruck, true); - } - } - - DataChange(); - } - - void metroButton_InspectionFalse_Click(object sender, EventArgs e) - { - var allCount = dataGridView_List.SelectedRows.Count; - if (allCount == 0) return; - - var RegistrationNumberTruck = new List(); - - for (int i = 0; i < dataGridView_List.SelectedRows.Count; i++) - { - if (dataGridView_List.SelectedRows[i].Cells[6].Value.ToString() == "Y") - { - RegistrationNumberTruck.Add(dataGridView_List.SelectedRows[i].Cells[0].Value.ToString()); - } - } - - if (RegistrationNumberTruck.Count == 0) - { - MetroMessageBox.Show(this, "선택하신 건수 중에 전환할수 있는 건수가 없습니다.", "서류 미비 전환", MessageBoxButtons.OK, MessageBoxIcon.Information); - } - else - { - var message = "선태하신 전체 건수(" + allCount + ")중 서류 완료 상태인 건수(" + RegistrationNumberTruck.Count + ")를 서류 미비 상태로 전환합니다."; - - if (MetroMessageBox.Show(this, message, "서류 미비 전환", MessageBoxButtons.OKCancel, MessageBoxIcon.Information) == DialogResult.OK) - { - Database.ChangeInspection(RegistrationNumberTruck, false); - } - } - - DataChange(); - } void metroButton_Delete_Click(object sender, EventArgs e) { var allCount = dataGridView_List.SelectedRows.Count; if (allCount == 0) return; - var RegistrationNumberTruck = new List(); + var CargoVehicleNumber = new List(); for (int i = 0; i < dataGridView_List.SelectedRows.Count; i++) { - RegistrationNumberTruck.Add(dataGridView_List.SelectedRows[i].Cells[0].Value.ToString()); + CargoVehicleNumber.Add(dataGridView_List.SelectedRows[i].Cells[0].Value.ToString()); } var message = "선태하신 " + allCount + "건을 삭제 하시겠습니까?"; @@ -187,7 +103,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl if (deleteReason.ShowDialog() == DialogResult.OK) { - Database.DeleteInspection(RegistrationNumberTruck, deleteReason.ResultName, deleteReason.ResultReason); + Database.DeleteInspection(CargoVehicleNumber, deleteReason.ResultName, deleteReason.ResultReason); DataChange(); } } @@ -198,17 +114,17 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl var allCount = dataGridView_List.SelectedRows.Count; if (allCount == 0) return; - var RegistrationNumberTruck = new List(); + var CargoVehicleNumber = new List(); for (int i = 0; i < dataGridView_List.SelectedRows.Count; i++) { if (dataGridView_List.SelectedRows[i].Cells[6].Value.ToString() == "Y") { - RegistrationNumberTruck.Add(dataGridView_List.SelectedRows[i].Cells[0].Value.ToString()); + CargoVehicleNumber.Add(dataGridView_List.SelectedRows[i].Cells[0].Value.ToString()); } } - if (RegistrationNumberTruck.Count == 0) + if (CargoVehicleNumber.Count == 0) { MetroMessageBox.Show(this, "선택하신 건수 중에 당첨 처리 할수 있는 건이 없습니다.", "당첨 처리", MessageBoxButtons.OK, MessageBoxIcon.Error); return; @@ -222,7 +138,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl if (promotion.ShowDialog() == DialogResult.OK) { - Database.AddUserList(RegistrationNumberTruck, promotion.StartDate, promotion.EndDate, promotion.TotalCost); + Database.AddUserList(CargoVehicleNumber, promotion.StartDate, promotion.EndDate, promotion.TotalCost); DataChange(); } } diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ListCertificate.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ListCertificate.cs index 8c45a72..feb34e4 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ListCertificate.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ListCertificate.cs @@ -1,15 +1,9 @@ -using MetroFramework; +using HSUCO_Cargo_Garage_Operation_Program.Properties; +using MetroFramework; using System; using System.Collections.Generic; -using System.ComponentModel; using System.Data; -using System.Drawing; -using System.Drawing.Printing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Windows.Forms; -using HSUCO_Cargo_Garage_Operation_Program.Properties; namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl { @@ -35,7 +29,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl private void metroButton_ReCertificate_Click(object sender, EventArgs e) { - if(dataGridView_List.SelectedRows.Count == 0) return; + if (dataGridView_List.SelectedRows.Count == 0) return; var x = dataGridView_List.SelectedRows[0]; //if(dataGridView_List.select) // 재발급 인쇠 @@ -52,8 +46,8 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl dataTable.Columns.Add("차량번호(화물)"); dataTable.Columns.Add("차량번호(승용)"); dataTable.Columns.Add("이름"); - - + + dataTable.Columns.Add("증명일자 시작일"); dataTable.Columns.Add("발급일자 종료일"); @@ -65,11 +59,11 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl certificateDatas[i].IssueNumber, certificateDatas[i].IssueDate, - certificateDatas[i].RegistrationNumberTruck, - certificateDatas[i].RegistrationNumberPassenger, + certificateDatas[i].CargoVehicleNumber, + certificateDatas[i].PassengerVehicleNumber, certificateDatas[i].Name, - - + + certificateDatas[i].StartDate, certificateDatas[i].EndDate @@ -91,7 +85,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl private void metroButton_RePrint_Click(object sender, EventArgs e) { - int count = dataGridView_List.SelectedRows.Count; + int count = dataGridView_List.SelectedRows.Count; if (count == 0) { MetroMessageBox.Show(this, "선택된 이용자가 없습니다.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); @@ -101,18 +95,17 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl string issueNumber = dataGridView_List.SelectedRows[0].Cells[0].Value.ToString(); CertificateData certificateData = Database.GetCertificate(issueNumber); - var print = new PrintCertificate(new List(){certificateData}); - var printDocument = new PrintDocument(); - printDocument.DocumentName = "차고지 이용 증명서"; + var print = new PrintCertificate(new List() { certificateData }); + + - printDocument.PrintPage += print.PrintPage; var printPreviewDialog = new PrintPreviewDialog(); printPreviewDialog.Icon = Resources.free_icon_trucks_8552082; printPreviewDialog.WindowState = FormWindowState.Maximized; - printPreviewDialog.Document = printDocument; + printPreviewDialog.Document = print.printDocument; printPreviewDialog.ShowDialog(); } } - } +} diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ListProceeds.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ListProceeds.cs index cdefb8a..cdb393f 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ListProceeds.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/ListProceeds.cs @@ -1,12 +1,6 @@ using System; using System.Collections.Generic; -using System.ComponentModel; using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Documents; using System.Windows.Forms; namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl @@ -33,8 +27,8 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl private void metroButton_Search_Click(object sender, EventArgs e) { - - List proceedsDatas = Database.GetLedgerProceeds(metroDateTime_StartDate.Value, metroDateTime_EndDate.Value); + + List proceedsDatas = Database.GetLedgerProceeds(metroDateTime_StartDate.Value, metroDateTime_EndDate.Value); var dataTable = new DataTable(); @@ -59,9 +53,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl case ProceedsType.Certificate: typeString = "인증서 발급비용"; break; - case ProceedsType.ReCertificate: - typeString = "인증서 재발급비용"; - break; + case ProceedsType.Refunds: typeString = "환불"; break; @@ -72,8 +64,8 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl dataTable.Rows .Add( - proceedsDatas[i].RegistrationNumberTruck, - proceedsDatas[i].RegistrationNumberPassenger, + proceedsDatas[i].CargoVehicleNumber, + proceedsDatas[i].PassengerVehicleNumber, proceedsDatas[i].Name, typeString, String.Format("{0:n0}", proceedsDatas[i].Amount), @@ -88,7 +80,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl dataGridView_List.Columns[4].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight; dataGridView_List.Columns[0].MinimumWidth = 100; dataGridView_List.Columns[0].FillWeight = 100; - + dataGridView_List.Columns[1].MinimumWidth = 100; dataGridView_List.Columns[1].FillWeight = 100; diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/SettingControl.Designer.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/SettingControl.Designer.cs index bb29025..a235481 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/SettingControl.Designer.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/SettingControl.Designer.cs @@ -32,21 +32,29 @@ this.metroLabel2 = new MetroFramework.Controls.MetroLabel(); this.metroLabel3 = new MetroFramework.Controls.MetroLabel(); this.metroLabel4 = new MetroFramework.Controls.MetroLabel(); - this.metroTextBox_UsageFee = new MetroFramework.Controls.MetroTextBox(); - this.metroTextBox_ExtendedFee = new MetroFramework.Controls.MetroTextBox(); - this.metroTextBox_CertificateFee = new MetroFramework.Controls.MetroTextBox(); - this.metroTextBox_ReCertificateFee = new MetroFramework.Controls.MetroTextBox(); + this.metroTextBox_CargoLargeMaxCount = new MetroFramework.Controls.MetroTextBox(); + this.metroTextBox_CargoOversizedMaxCount = new MetroFramework.Controls.MetroTextBox(); + this.metroTextBox_CargoLargeFee = new MetroFramework.Controls.MetroTextBox(); + this.metroTextBox_CargoOversizedFee = new MetroFramework.Controls.MetroTextBox(); this.metroButton_Save = new MetroFramework.Controls.MetroButton(); this.metroLabel5 = new MetroFramework.Controls.MetroLabel(); this.metroLabel6 = new MetroFramework.Controls.MetroLabel(); this.metroLabel7 = new MetroFramework.Controls.MetroLabel(); this.metroLabel8 = new MetroFramework.Controls.MetroLabel(); + this.metroLabel9 = new MetroFramework.Controls.MetroLabel(); + this.metroTextBox_GarageName = new MetroFramework.Controls.MetroTextBox(); + this.metroLabel10 = new MetroFramework.Controls.MetroLabel(); + this.metroLabel11 = new MetroFramework.Controls.MetroLabel(); + this.metroTextBox_CargoOversizedCertificateFee = new MetroFramework.Controls.MetroTextBox(); + this.metroTextBox_CargoLargeCertificateFee = new MetroFramework.Controls.MetroTextBox(); + this.metroLabel12 = new MetroFramework.Controls.MetroLabel(); + this.metroLabel13 = new MetroFramework.Controls.MetroLabel(); this.SuspendLayout(); // // metroLabel1 // this.metroLabel1.AutoSize = true; - this.metroLabel1.Location = new System.Drawing.Point(20, 20); + this.metroLabel1.Location = new System.Drawing.Point(20, 66); this.metroLabel1.Name = "metroLabel1"; this.metroLabel1.Size = new System.Drawing.Size(96, 19); this.metroLabel1.TabIndex = 0; @@ -55,7 +63,7 @@ // metroLabel2 // this.metroLabel2.AutoSize = true; - this.metroLabel2.Location = new System.Drawing.Point(20, 50); + this.metroLabel2.Location = new System.Drawing.Point(20, 96); this.metroLabel2.Name = "metroLabel2"; this.metroLabel2.Size = new System.Drawing.Size(96, 19); this.metroLabel2.TabIndex = 1; @@ -64,7 +72,7 @@ // metroLabel3 // this.metroLabel3.AutoSize = true; - this.metroLabel3.Location = new System.Drawing.Point(20, 80); + this.metroLabel3.Location = new System.Drawing.Point(20, 126); this.metroLabel3.Name = "metroLabel3"; this.metroLabel3.Size = new System.Drawing.Size(115, 19); this.metroLabel3.TabIndex = 2; @@ -73,140 +81,140 @@ // metroLabel4 // this.metroLabel4.AutoSize = true; - this.metroLabel4.Location = new System.Drawing.Point(20, 110); + this.metroLabel4.Location = new System.Drawing.Point(20, 156); this.metroLabel4.Name = "metroLabel4"; this.metroLabel4.Size = new System.Drawing.Size(129, 19); this.metroLabel4.TabIndex = 3; this.metroLabel4.Text = "증명서 재발급 금액"; // - // metroTextBox_UsageFee + // metroTextBox_CargoLargeMaxCount // // // // - this.metroTextBox_UsageFee.CustomButton.Image = null; - this.metroTextBox_UsageFee.CustomButton.Location = new System.Drawing.Point(78, 1); - this.metroTextBox_UsageFee.CustomButton.Name = ""; - this.metroTextBox_UsageFee.CustomButton.Size = new System.Drawing.Size(21, 21); - this.metroTextBox_UsageFee.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; - this.metroTextBox_UsageFee.CustomButton.TabIndex = 1; - this.metroTextBox_UsageFee.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; - this.metroTextBox_UsageFee.CustomButton.UseSelectable = true; - this.metroTextBox_UsageFee.CustomButton.Visible = false; - this.metroTextBox_UsageFee.Lines = new string[0]; - this.metroTextBox_UsageFee.Location = new System.Drawing.Point(150, 16); - this.metroTextBox_UsageFee.MaxLength = 32767; - this.metroTextBox_UsageFee.Name = "metroTextBox_UsageFee"; - this.metroTextBox_UsageFee.PasswordChar = '\0'; - this.metroTextBox_UsageFee.ScrollBars = System.Windows.Forms.ScrollBars.None; - this.metroTextBox_UsageFee.SelectedText = ""; - this.metroTextBox_UsageFee.SelectionLength = 0; - this.metroTextBox_UsageFee.SelectionStart = 0; - this.metroTextBox_UsageFee.ShortcutsEnabled = true; - this.metroTextBox_UsageFee.Size = new System.Drawing.Size(100, 23); - this.metroTextBox_UsageFee.TabIndex = 4; - this.metroTextBox_UsageFee.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.metroTextBox_UsageFee.UseSelectable = true; - this.metroTextBox_UsageFee.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - this.metroTextBox_UsageFee.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + this.metroTextBox_CargoLargeMaxCount.CustomButton.Image = null; + this.metroTextBox_CargoLargeMaxCount.CustomButton.Location = new System.Drawing.Point(78, 1); + this.metroTextBox_CargoLargeMaxCount.CustomButton.Name = ""; + this.metroTextBox_CargoLargeMaxCount.CustomButton.Size = new System.Drawing.Size(21, 21); + this.metroTextBox_CargoLargeMaxCount.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.metroTextBox_CargoLargeMaxCount.CustomButton.TabIndex = 1; + this.metroTextBox_CargoLargeMaxCount.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.metroTextBox_CargoLargeMaxCount.CustomButton.UseSelectable = true; + this.metroTextBox_CargoLargeMaxCount.CustomButton.Visible = false; + this.metroTextBox_CargoLargeMaxCount.Lines = new string[0]; + this.metroTextBox_CargoLargeMaxCount.Location = new System.Drawing.Point(150, 62); + this.metroTextBox_CargoLargeMaxCount.MaxLength = 32767; + this.metroTextBox_CargoLargeMaxCount.Name = "metroTextBox_CargoLargeMaxCount"; + this.metroTextBox_CargoLargeMaxCount.PasswordChar = '\0'; + this.metroTextBox_CargoLargeMaxCount.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.metroTextBox_CargoLargeMaxCount.SelectedText = ""; + this.metroTextBox_CargoLargeMaxCount.SelectionLength = 0; + this.metroTextBox_CargoLargeMaxCount.SelectionStart = 0; + this.metroTextBox_CargoLargeMaxCount.ShortcutsEnabled = true; + this.metroTextBox_CargoLargeMaxCount.Size = new System.Drawing.Size(100, 23); + this.metroTextBox_CargoLargeMaxCount.TabIndex = 4; + this.metroTextBox_CargoLargeMaxCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.metroTextBox_CargoLargeMaxCount.UseSelectable = true; + this.metroTextBox_CargoLargeMaxCount.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.metroTextBox_CargoLargeMaxCount.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); // - // metroTextBox_ExtendedFee + // metroTextBox_CargoOversizedMaxCount // // // // - this.metroTextBox_ExtendedFee.CustomButton.Image = null; - this.metroTextBox_ExtendedFee.CustomButton.Location = new System.Drawing.Point(78, 1); - this.metroTextBox_ExtendedFee.CustomButton.Name = ""; - this.metroTextBox_ExtendedFee.CustomButton.Size = new System.Drawing.Size(21, 21); - this.metroTextBox_ExtendedFee.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; - this.metroTextBox_ExtendedFee.CustomButton.TabIndex = 1; - this.metroTextBox_ExtendedFee.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; - this.metroTextBox_ExtendedFee.CustomButton.UseSelectable = true; - this.metroTextBox_ExtendedFee.CustomButton.Visible = false; - this.metroTextBox_ExtendedFee.Lines = new string[0]; - this.metroTextBox_ExtendedFee.Location = new System.Drawing.Point(150, 45); - this.metroTextBox_ExtendedFee.MaxLength = 32767; - this.metroTextBox_ExtendedFee.Name = "metroTextBox_ExtendedFee"; - this.metroTextBox_ExtendedFee.PasswordChar = '\0'; - this.metroTextBox_ExtendedFee.ScrollBars = System.Windows.Forms.ScrollBars.None; - this.metroTextBox_ExtendedFee.SelectedText = ""; - this.metroTextBox_ExtendedFee.SelectionLength = 0; - this.metroTextBox_ExtendedFee.SelectionStart = 0; - this.metroTextBox_ExtendedFee.ShortcutsEnabled = true; - this.metroTextBox_ExtendedFee.Size = new System.Drawing.Size(100, 23); - this.metroTextBox_ExtendedFee.TabIndex = 5; - this.metroTextBox_ExtendedFee.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.metroTextBox_ExtendedFee.UseSelectable = true; - this.metroTextBox_ExtendedFee.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - this.metroTextBox_ExtendedFee.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + this.metroTextBox_CargoOversizedMaxCount.CustomButton.Image = null; + this.metroTextBox_CargoOversizedMaxCount.CustomButton.Location = new System.Drawing.Point(78, 1); + this.metroTextBox_CargoOversizedMaxCount.CustomButton.Name = ""; + this.metroTextBox_CargoOversizedMaxCount.CustomButton.Size = new System.Drawing.Size(21, 21); + this.metroTextBox_CargoOversizedMaxCount.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.metroTextBox_CargoOversizedMaxCount.CustomButton.TabIndex = 1; + this.metroTextBox_CargoOversizedMaxCount.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.metroTextBox_CargoOversizedMaxCount.CustomButton.UseSelectable = true; + this.metroTextBox_CargoOversizedMaxCount.CustomButton.Visible = false; + this.metroTextBox_CargoOversizedMaxCount.Lines = new string[0]; + this.metroTextBox_CargoOversizedMaxCount.Location = new System.Drawing.Point(150, 91); + this.metroTextBox_CargoOversizedMaxCount.MaxLength = 32767; + this.metroTextBox_CargoOversizedMaxCount.Name = "metroTextBox_CargoOversizedMaxCount"; + this.metroTextBox_CargoOversizedMaxCount.PasswordChar = '\0'; + this.metroTextBox_CargoOversizedMaxCount.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.metroTextBox_CargoOversizedMaxCount.SelectedText = ""; + this.metroTextBox_CargoOversizedMaxCount.SelectionLength = 0; + this.metroTextBox_CargoOversizedMaxCount.SelectionStart = 0; + this.metroTextBox_CargoOversizedMaxCount.ShortcutsEnabled = true; + this.metroTextBox_CargoOversizedMaxCount.Size = new System.Drawing.Size(100, 23); + this.metroTextBox_CargoOversizedMaxCount.TabIndex = 5; + this.metroTextBox_CargoOversizedMaxCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.metroTextBox_CargoOversizedMaxCount.UseSelectable = true; + this.metroTextBox_CargoOversizedMaxCount.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.metroTextBox_CargoOversizedMaxCount.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); // - // metroTextBox_CertificateFee + // metroTextBox_CargoLargeFee // // // // - this.metroTextBox_CertificateFee.CustomButton.Image = null; - this.metroTextBox_CertificateFee.CustomButton.Location = new System.Drawing.Point(78, 1); - this.metroTextBox_CertificateFee.CustomButton.Name = ""; - this.metroTextBox_CertificateFee.CustomButton.Size = new System.Drawing.Size(21, 21); - this.metroTextBox_CertificateFee.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; - this.metroTextBox_CertificateFee.CustomButton.TabIndex = 1; - this.metroTextBox_CertificateFee.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; - this.metroTextBox_CertificateFee.CustomButton.UseSelectable = true; - this.metroTextBox_CertificateFee.CustomButton.Visible = false; - this.metroTextBox_CertificateFee.Lines = new string[0]; - this.metroTextBox_CertificateFee.Location = new System.Drawing.Point(150, 76); - this.metroTextBox_CertificateFee.MaxLength = 32767; - this.metroTextBox_CertificateFee.Name = "metroTextBox_CertificateFee"; - this.metroTextBox_CertificateFee.PasswordChar = '\0'; - this.metroTextBox_CertificateFee.ScrollBars = System.Windows.Forms.ScrollBars.None; - this.metroTextBox_CertificateFee.SelectedText = ""; - this.metroTextBox_CertificateFee.SelectionLength = 0; - this.metroTextBox_CertificateFee.SelectionStart = 0; - this.metroTextBox_CertificateFee.ShortcutsEnabled = true; - this.metroTextBox_CertificateFee.Size = new System.Drawing.Size(100, 23); - this.metroTextBox_CertificateFee.TabIndex = 6; - this.metroTextBox_CertificateFee.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.metroTextBox_CertificateFee.UseSelectable = true; - this.metroTextBox_CertificateFee.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - this.metroTextBox_CertificateFee.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + this.metroTextBox_CargoLargeFee.CustomButton.Image = null; + this.metroTextBox_CargoLargeFee.CustomButton.Location = new System.Drawing.Point(78, 1); + this.metroTextBox_CargoLargeFee.CustomButton.Name = ""; + this.metroTextBox_CargoLargeFee.CustomButton.Size = new System.Drawing.Size(21, 21); + this.metroTextBox_CargoLargeFee.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.metroTextBox_CargoLargeFee.CustomButton.TabIndex = 1; + this.metroTextBox_CargoLargeFee.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.metroTextBox_CargoLargeFee.CustomButton.UseSelectable = true; + this.metroTextBox_CargoLargeFee.CustomButton.Visible = false; + this.metroTextBox_CargoLargeFee.Lines = new string[0]; + this.metroTextBox_CargoLargeFee.Location = new System.Drawing.Point(150, 122); + this.metroTextBox_CargoLargeFee.MaxLength = 32767; + this.metroTextBox_CargoLargeFee.Name = "metroTextBox_CargoLargeFee"; + this.metroTextBox_CargoLargeFee.PasswordChar = '\0'; + this.metroTextBox_CargoLargeFee.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.metroTextBox_CargoLargeFee.SelectedText = ""; + this.metroTextBox_CargoLargeFee.SelectionLength = 0; + this.metroTextBox_CargoLargeFee.SelectionStart = 0; + this.metroTextBox_CargoLargeFee.ShortcutsEnabled = true; + this.metroTextBox_CargoLargeFee.Size = new System.Drawing.Size(100, 23); + this.metroTextBox_CargoLargeFee.TabIndex = 6; + this.metroTextBox_CargoLargeFee.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.metroTextBox_CargoLargeFee.UseSelectable = true; + this.metroTextBox_CargoLargeFee.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.metroTextBox_CargoLargeFee.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); // - // metroTextBox_ReCertificateFee + // metroTextBox_CargoOversizedFee // // // // - this.metroTextBox_ReCertificateFee.CustomButton.Image = null; - this.metroTextBox_ReCertificateFee.CustomButton.Location = new System.Drawing.Point(78, 1); - this.metroTextBox_ReCertificateFee.CustomButton.Name = ""; - this.metroTextBox_ReCertificateFee.CustomButton.Size = new System.Drawing.Size(21, 21); - this.metroTextBox_ReCertificateFee.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; - this.metroTextBox_ReCertificateFee.CustomButton.TabIndex = 1; - this.metroTextBox_ReCertificateFee.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; - this.metroTextBox_ReCertificateFee.CustomButton.UseSelectable = true; - this.metroTextBox_ReCertificateFee.CustomButton.Visible = false; - this.metroTextBox_ReCertificateFee.Lines = new string[0]; - this.metroTextBox_ReCertificateFee.Location = new System.Drawing.Point(150, 106); - this.metroTextBox_ReCertificateFee.MaxLength = 32767; - this.metroTextBox_ReCertificateFee.Name = "metroTextBox_ReCertificateFee"; - this.metroTextBox_ReCertificateFee.PasswordChar = '\0'; - this.metroTextBox_ReCertificateFee.ScrollBars = System.Windows.Forms.ScrollBars.None; - this.metroTextBox_ReCertificateFee.SelectedText = ""; - this.metroTextBox_ReCertificateFee.SelectionLength = 0; - this.metroTextBox_ReCertificateFee.SelectionStart = 0; - this.metroTextBox_ReCertificateFee.ShortcutsEnabled = true; - this.metroTextBox_ReCertificateFee.Size = new System.Drawing.Size(100, 23); - this.metroTextBox_ReCertificateFee.TabIndex = 7; - this.metroTextBox_ReCertificateFee.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.metroTextBox_ReCertificateFee.UseSelectable = true; - this.metroTextBox_ReCertificateFee.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - this.metroTextBox_ReCertificateFee.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + this.metroTextBox_CargoOversizedFee.CustomButton.Image = null; + this.metroTextBox_CargoOversizedFee.CustomButton.Location = new System.Drawing.Point(78, 1); + this.metroTextBox_CargoOversizedFee.CustomButton.Name = ""; + this.metroTextBox_CargoOversizedFee.CustomButton.Size = new System.Drawing.Size(21, 21); + this.metroTextBox_CargoOversizedFee.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.metroTextBox_CargoOversizedFee.CustomButton.TabIndex = 1; + this.metroTextBox_CargoOversizedFee.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.metroTextBox_CargoOversizedFee.CustomButton.UseSelectable = true; + this.metroTextBox_CargoOversizedFee.CustomButton.Visible = false; + this.metroTextBox_CargoOversizedFee.Lines = new string[0]; + this.metroTextBox_CargoOversizedFee.Location = new System.Drawing.Point(150, 152); + this.metroTextBox_CargoOversizedFee.MaxLength = 32767; + this.metroTextBox_CargoOversizedFee.Name = "metroTextBox_CargoOversizedFee"; + this.metroTextBox_CargoOversizedFee.PasswordChar = '\0'; + this.metroTextBox_CargoOversizedFee.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.metroTextBox_CargoOversizedFee.SelectedText = ""; + this.metroTextBox_CargoOversizedFee.SelectionLength = 0; + this.metroTextBox_CargoOversizedFee.SelectionStart = 0; + this.metroTextBox_CargoOversizedFee.ShortcutsEnabled = true; + this.metroTextBox_CargoOversizedFee.Size = new System.Drawing.Size(100, 23); + this.metroTextBox_CargoOversizedFee.TabIndex = 7; + this.metroTextBox_CargoOversizedFee.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.metroTextBox_CargoOversizedFee.UseSelectable = true; + this.metroTextBox_CargoOversizedFee.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.metroTextBox_CargoOversizedFee.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); // // metroButton_Save // this.metroButton_Save.FontSize = MetroFramework.MetroButtonSize.Tall; - this.metroButton_Save.Location = new System.Drawing.Point(173, 140); + this.metroButton_Save.Location = new System.Drawing.Point(173, 274); this.metroButton_Save.Name = "metroButton_Save"; this.metroButton_Save.Size = new System.Drawing.Size(100, 40); this.metroButton_Save.TabIndex = 8; @@ -217,7 +225,7 @@ // metroLabel5 // this.metroLabel5.AutoSize = true; - this.metroLabel5.Location = new System.Drawing.Point(250, 20); + this.metroLabel5.Location = new System.Drawing.Point(250, 66); this.metroLabel5.Name = "metroLabel5"; this.metroLabel5.Size = new System.Drawing.Size(23, 19); this.metroLabel5.TabIndex = 9; @@ -226,7 +234,7 @@ // metroLabel6 // this.metroLabel6.AutoSize = true; - this.metroLabel6.Location = new System.Drawing.Point(250, 50); + this.metroLabel6.Location = new System.Drawing.Point(250, 96); this.metroLabel6.Name = "metroLabel6"; this.metroLabel6.Size = new System.Drawing.Size(23, 19); this.metroLabel6.TabIndex = 9; @@ -235,7 +243,7 @@ // metroLabel7 // this.metroLabel7.AutoSize = true; - this.metroLabel7.Location = new System.Drawing.Point(250, 80); + this.metroLabel7.Location = new System.Drawing.Point(250, 126); this.metroLabel7.Name = "metroLabel7"; this.metroLabel7.Size = new System.Drawing.Size(23, 19); this.metroLabel7.TabIndex = 9; @@ -244,32 +252,178 @@ // metroLabel8 // this.metroLabel8.AutoSize = true; - this.metroLabel8.Location = new System.Drawing.Point(250, 110); + this.metroLabel8.Location = new System.Drawing.Point(250, 156); this.metroLabel8.Name = "metroLabel8"; this.metroLabel8.Size = new System.Drawing.Size(23, 19); this.metroLabel8.TabIndex = 9; this.metroLabel8.Text = "원"; // + // metroLabel9 + // + this.metroLabel9.AutoSize = true; + this.metroLabel9.Location = new System.Drawing.Point(20, 21); + this.metroLabel9.Name = "metroLabel9"; + this.metroLabel9.Size = new System.Drawing.Size(96, 19); + this.metroLabel9.TabIndex = 10; + this.metroLabel9.Text = "이용 금액(1년)"; + // + // metroTextBox_GarageName + // + // + // + // + this.metroTextBox_GarageName.CustomButton.Image = null; + this.metroTextBox_GarageName.CustomButton.Location = new System.Drawing.Point(78, 1); + this.metroTextBox_GarageName.CustomButton.Name = ""; + this.metroTextBox_GarageName.CustomButton.Size = new System.Drawing.Size(21, 21); + this.metroTextBox_GarageName.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.metroTextBox_GarageName.CustomButton.TabIndex = 1; + this.metroTextBox_GarageName.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.metroTextBox_GarageName.CustomButton.UseSelectable = true; + this.metroTextBox_GarageName.CustomButton.Visible = false; + this.metroTextBox_GarageName.Lines = new string[0]; + this.metroTextBox_GarageName.Location = new System.Drawing.Point(141, 17); + this.metroTextBox_GarageName.MaxLength = 32767; + this.metroTextBox_GarageName.Name = "metroTextBox_GarageName"; + this.metroTextBox_GarageName.PasswordChar = '\0'; + this.metroTextBox_GarageName.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.metroTextBox_GarageName.SelectedText = ""; + this.metroTextBox_GarageName.SelectionLength = 0; + this.metroTextBox_GarageName.SelectionStart = 0; + this.metroTextBox_GarageName.ShortcutsEnabled = true; + this.metroTextBox_GarageName.Size = new System.Drawing.Size(100, 23); + this.metroTextBox_GarageName.TabIndex = 11; + this.metroTextBox_GarageName.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.metroTextBox_GarageName.UseSelectable = true; + this.metroTextBox_GarageName.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.metroTextBox_GarageName.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + // + // metroLabel10 + // + this.metroLabel10.AutoSize = true; + this.metroLabel10.Location = new System.Drawing.Point(250, 222); + this.metroLabel10.Name = "metroLabel10"; + this.metroLabel10.Size = new System.Drawing.Size(23, 19); + this.metroLabel10.TabIndex = 16; + this.metroLabel10.Text = "원"; + // + // metroLabel11 + // + this.metroLabel11.AutoSize = true; + this.metroLabel11.Location = new System.Drawing.Point(250, 192); + this.metroLabel11.Name = "metroLabel11"; + this.metroLabel11.Size = new System.Drawing.Size(23, 19); + this.metroLabel11.TabIndex = 17; + this.metroLabel11.Text = "원"; + // + // metroTextBox_CargoOversizedCertificateFee + // + // + // + // + this.metroTextBox_CargoOversizedCertificateFee.CustomButton.Image = null; + this.metroTextBox_CargoOversizedCertificateFee.CustomButton.Location = new System.Drawing.Point(78, 1); + this.metroTextBox_CargoOversizedCertificateFee.CustomButton.Name = ""; + this.metroTextBox_CargoOversizedCertificateFee.CustomButton.Size = new System.Drawing.Size(21, 21); + this.metroTextBox_CargoOversizedCertificateFee.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.metroTextBox_CargoOversizedCertificateFee.CustomButton.TabIndex = 1; + this.metroTextBox_CargoOversizedCertificateFee.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.metroTextBox_CargoOversizedCertificateFee.CustomButton.UseSelectable = true; + this.metroTextBox_CargoOversizedCertificateFee.CustomButton.Visible = false; + this.metroTextBox_CargoOversizedCertificateFee.Lines = new string[0]; + this.metroTextBox_CargoOversizedCertificateFee.Location = new System.Drawing.Point(150, 218); + this.metroTextBox_CargoOversizedCertificateFee.MaxLength = 32767; + this.metroTextBox_CargoOversizedCertificateFee.Name = "metroTextBox_CargoOversizedCertificateFee"; + this.metroTextBox_CargoOversizedCertificateFee.PasswordChar = '\0'; + this.metroTextBox_CargoOversizedCertificateFee.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.metroTextBox_CargoOversizedCertificateFee.SelectedText = ""; + this.metroTextBox_CargoOversizedCertificateFee.SelectionLength = 0; + this.metroTextBox_CargoOversizedCertificateFee.SelectionStart = 0; + this.metroTextBox_CargoOversizedCertificateFee.ShortcutsEnabled = true; + this.metroTextBox_CargoOversizedCertificateFee.Size = new System.Drawing.Size(100, 23); + this.metroTextBox_CargoOversizedCertificateFee.TabIndex = 15; + this.metroTextBox_CargoOversizedCertificateFee.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.metroTextBox_CargoOversizedCertificateFee.UseSelectable = true; + this.metroTextBox_CargoOversizedCertificateFee.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.metroTextBox_CargoOversizedCertificateFee.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + // + // metroTextBox_CargoLargeCertificateFee + // + // + // + // + this.metroTextBox_CargoLargeCertificateFee.CustomButton.Image = null; + this.metroTextBox_CargoLargeCertificateFee.CustomButton.Location = new System.Drawing.Point(78, 1); + this.metroTextBox_CargoLargeCertificateFee.CustomButton.Name = ""; + this.metroTextBox_CargoLargeCertificateFee.CustomButton.Size = new System.Drawing.Size(21, 21); + this.metroTextBox_CargoLargeCertificateFee.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; + this.metroTextBox_CargoLargeCertificateFee.CustomButton.TabIndex = 1; + this.metroTextBox_CargoLargeCertificateFee.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; + this.metroTextBox_CargoLargeCertificateFee.CustomButton.UseSelectable = true; + this.metroTextBox_CargoLargeCertificateFee.CustomButton.Visible = false; + this.metroTextBox_CargoLargeCertificateFee.Lines = new string[0]; + this.metroTextBox_CargoLargeCertificateFee.Location = new System.Drawing.Point(150, 188); + this.metroTextBox_CargoLargeCertificateFee.MaxLength = 32767; + this.metroTextBox_CargoLargeCertificateFee.Name = "metroTextBox_CargoLargeCertificateFee"; + this.metroTextBox_CargoLargeCertificateFee.PasswordChar = '\0'; + this.metroTextBox_CargoLargeCertificateFee.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.metroTextBox_CargoLargeCertificateFee.SelectedText = ""; + this.metroTextBox_CargoLargeCertificateFee.SelectionLength = 0; + this.metroTextBox_CargoLargeCertificateFee.SelectionStart = 0; + this.metroTextBox_CargoLargeCertificateFee.ShortcutsEnabled = true; + this.metroTextBox_CargoLargeCertificateFee.Size = new System.Drawing.Size(100, 23); + this.metroTextBox_CargoLargeCertificateFee.TabIndex = 14; + this.metroTextBox_CargoLargeCertificateFee.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.metroTextBox_CargoLargeCertificateFee.UseSelectable = true; + this.metroTextBox_CargoLargeCertificateFee.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + this.metroTextBox_CargoLargeCertificateFee.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); + // + // metroLabel12 + // + this.metroLabel12.AutoSize = true; + this.metroLabel12.Location = new System.Drawing.Point(20, 222); + this.metroLabel12.Name = "metroLabel12"; + this.metroLabel12.Size = new System.Drawing.Size(129, 19); + this.metroLabel12.TabIndex = 13; + this.metroLabel12.Text = "증명서 재발급 금액"; + // + // metroLabel13 + // + this.metroLabel13.AutoSize = true; + this.metroLabel13.Location = new System.Drawing.Point(20, 192); + this.metroLabel13.Name = "metroLabel13"; + this.metroLabel13.Size = new System.Drawing.Size(115, 19); + this.metroLabel13.TabIndex = 12; + this.metroLabel13.Text = "증명서 발급 금액"; + // // SettingControl // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; + this.Controls.Add(this.metroLabel10); + this.Controls.Add(this.metroLabel11); + this.Controls.Add(this.metroTextBox_CargoOversizedCertificateFee); + this.Controls.Add(this.metroTextBox_CargoLargeCertificateFee); + this.Controls.Add(this.metroLabel12); + this.Controls.Add(this.metroLabel13); + this.Controls.Add(this.metroTextBox_GarageName); + this.Controls.Add(this.metroLabel9); this.Controls.Add(this.metroLabel8); this.Controls.Add(this.metroLabel7); this.Controls.Add(this.metroLabel6); this.Controls.Add(this.metroLabel5); this.Controls.Add(this.metroButton_Save); - this.Controls.Add(this.metroTextBox_ReCertificateFee); - this.Controls.Add(this.metroTextBox_CertificateFee); - this.Controls.Add(this.metroTextBox_ExtendedFee); - this.Controls.Add(this.metroTextBox_UsageFee); + this.Controls.Add(this.metroTextBox_CargoOversizedFee); + this.Controls.Add(this.metroTextBox_CargoLargeFee); + this.Controls.Add(this.metroTextBox_CargoOversizedMaxCount); + this.Controls.Add(this.metroTextBox_CargoLargeMaxCount); this.Controls.Add(this.metroLabel4); this.Controls.Add(this.metroLabel3); this.Controls.Add(this.metroLabel2); this.Controls.Add(this.metroLabel1); this.Name = "SettingControl"; - this.Size = new System.Drawing.Size(300, 200); + this.Size = new System.Drawing.Size(346, 377); this.Paint += new System.Windows.Forms.PaintEventHandler(this.Settings_Paint); this.ResumeLayout(false); this.PerformLayout(); @@ -282,14 +436,22 @@ private MetroFramework.Controls.MetroLabel metroLabel2; private MetroFramework.Controls.MetroLabel metroLabel3; private MetroFramework.Controls.MetroLabel metroLabel4; - private MetroFramework.Controls.MetroTextBox metroTextBox_UsageFee; - private MetroFramework.Controls.MetroTextBox metroTextBox_ExtendedFee; - private MetroFramework.Controls.MetroTextBox metroTextBox_CertificateFee; - private MetroFramework.Controls.MetroTextBox metroTextBox_ReCertificateFee; + private MetroFramework.Controls.MetroTextBox metroTextBox_CargoLargeMaxCount; + private MetroFramework.Controls.MetroTextBox metroTextBox_CargoOversizedMaxCount; + private MetroFramework.Controls.MetroTextBox metroTextBox_CargoLargeFee; + private MetroFramework.Controls.MetroTextBox metroTextBox_CargoOversizedFee; private MetroFramework.Controls.MetroButton metroButton_Save; private MetroFramework.Controls.MetroLabel metroLabel5; private MetroFramework.Controls.MetroLabel metroLabel6; private MetroFramework.Controls.MetroLabel metroLabel7; private MetroFramework.Controls.MetroLabel metroLabel8; + private MetroFramework.Controls.MetroLabel metroLabel9; + private MetroFramework.Controls.MetroTextBox metroTextBox_GarageName; + private MetroFramework.Controls.MetroLabel metroLabel10; + private MetroFramework.Controls.MetroLabel metroLabel11; + private MetroFramework.Controls.MetroTextBox metroTextBox_CargoOversizedCertificateFee; + private MetroFramework.Controls.MetroTextBox metroTextBox_CargoLargeCertificateFee; + private MetroFramework.Controls.MetroLabel metroLabel12; + private MetroFramework.Controls.MetroLabel metroLabel13; } } diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/SettingControl.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/SettingControl.cs index 0d92115..addbc0f 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/SettingControl.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/SettingControl.cs @@ -1,15 +1,5 @@ -using HSUCO_Cargo_Garage_Operation_Program.Properties; -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Diagnostics; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System; using System.Windows.Forms; -using System.Windows.Media; namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl { @@ -23,11 +13,15 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl public void SettingReset() { + metroTextBox_GarageName.Text = Global.GlobalSettings.GarageName.ToString(); + metroTextBox_CargoLargeMaxCount.Text = Global.GlobalSettings.CargoLargeMaxCount.ToString(); + metroTextBox_CargoOversizedMaxCount.Text = Global.GlobalSettings.CargoOversizedMaxCount.ToString(); - metroTextBox_UsageFee.Text = Global.GlobalSettings.UsageFee.ToString(); - metroTextBox_ExtendedFee.Text = Global.GlobalSettings.ExtendedFee.ToString(); - metroTextBox_CertificateFee.Text = Global.GlobalSettings.CertificateFee.ToString(); - metroTextBox_ReCertificateFee.Text = Global.GlobalSettings.ReCertificateFee.ToString(); + metroTextBox_CargoLargeFee.Text = Global.GlobalSettings.CargoLargeFee.ToString(); + metroTextBox_CargoOversizedFee.Text = Global.GlobalSettings.CargoOversizedFee.ToString(); + + metroTextBox_CargoLargeCertificateFee.Text = Global.GlobalSettings.CargoLargeCertificateFee.ToString(); + metroTextBox_CargoOversizedCertificateFee.Text = Global.GlobalSettings.CargoOversizedCertificateFee.ToString(); } @@ -42,19 +36,23 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl int value; Settings settings = new Settings(); - int.TryParse(metroTextBox_UsageFee.Text, out value); - settings.UsageFee = value; + settings.GarageName = metroTextBox_GarageName.Text.Trim(); + int.TryParse(metroTextBox_CargoLargeMaxCount.Text, out value); + settings.CargoLargeMaxCount = value; - int.TryParse(metroTextBox_ExtendedFee.Text, out value); - settings.ExtendedFee = value; - - int.TryParse(metroTextBox_CertificateFee.Text, out value); - settings.CertificateFee = value; - int.TryParse(metroTextBox_ReCertificateFee.Text, out value); - settings.ReCertificateFee = value; + int.TryParse(metroTextBox_CargoOversizedMaxCount.Text, out value); + settings.CargoOversizedMaxCount = value; + int.TryParse(metroTextBox_CargoLargeFee.Text, out value); + settings.CargoLargeFee = value; + int.TryParse(metroTextBox_CargoOversizedFee.Text, out value); + settings.CargoOversizedFee = value; + int.TryParse(metroTextBox_CargoLargeCertificateFee.Text, out value); + settings.CargoLargeCertificateFee = value; + int.TryParse(metroTextBox_CargoOversizedCertificateFee.Text, out value); + settings.CargoOversizedCertificateFee = value; Database.SaveSettings(settings); - + } } diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/UserList.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/UserList.cs index 0f57621..cd99e2a 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/UserList.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/UserList.cs @@ -1,12 +1,11 @@ -using System; +using HSUCO_Cargo_Garage_Operation_Program.Properties; +using MetroFramework; +using System; using System.Collections.Generic; using System.Data; using System.Drawing.Printing; using System.Linq; -using System.Windows.Documents; using System.Windows.Forms; -using HSUCO_Cargo_Garage_Operation_Program.Properties; -using MetroFramework; namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl { @@ -45,12 +44,12 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl { case 0: nowUserList = nowUserList - .Where(x => x.RegistrationNumberTruck.Contains(metroTextBox_Search.Text.Trim())).ToList(); + .Where(x => x.CargoVehicleNumber.Contains(metroTextBox_Search.Text.Trim())).ToList(); break; case 1: nowUserList = nowUserList - .Where(x => x.RegistrationNumberPassenger.Contains(metroTextBox_Search.Text.Trim())).ToList(); + .Where(x => x.PassengerVehicleNumber.Contains(metroTextBox_Search.Text.Trim())).ToList(); break; case 2: nowUserList = nowUserList.Where(x => x.Name.Contains(metroTextBox_Search.Text.Trim())).ToList(); @@ -80,8 +79,8 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl dataTable.Rows .Add( nowUserList[i].No, - nowUserList[i].RegistrationNumberTruck, - nowUserList[i].RegistrationNumberPassenger, + nowUserList[i].CargoVehicleNumber, + nowUserList[i].PassengerVehicleNumber, nowUserList[i].Name, nowUserList[i].Phone, nowUserList[i].Address, @@ -134,7 +133,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl if (dataGridView_List.SelectedRows[i].Cells[8].Value.ToString() == "N") { var extended = new Extended(); - extended.RegistrationNumberTruck = dataGridView_List.SelectedRows[i].Cells[0].Value.ToString(); + extended.CargoVehicleNumber = dataGridView_List.SelectedRows[i].Cells[0].Value.ToString(); extended.DateEnd = DateTime.Parse(dataGridView_List.SelectedRows[i].Cells[7].Value.ToString()); extendeds.Add(extended); } @@ -183,14 +182,14 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl int code = int.Parse(dataGridView_List.SelectedRows[0].Cells[0].Value.ToString()); CertificateData certificateData = new CertificateData(); - certificateData.RegistrationNumberTruck = + certificateData.CargoVehicleNumber = dataGridView_List.SelectedRows[0].Cells[1].Value.ToString(); - certificateData.RegistrationNumberPassenger = dataGridView_List.SelectedRows[0].Cells[2].Value.ToString(); + certificateData.PassengerVehicleNumber = dataGridView_List.SelectedRows[0].Cells[2].Value.ToString(); certificateData.Name = dataGridView_List.SelectedRows[0].Cells[3].Value.ToString(); certificateData.StartDate = DateTime.Parse(dataGridView_List.SelectedRows[0].Cells[7].Value.ToString()); - certificateData.EndDate= DateTime.Parse(dataGridView_List.SelectedRows[0].Cells[8].Value.ToString()); + certificateData.EndDate = DateTime.Parse(dataGridView_List.SelectedRows[0].Cells[8].Value.ToString()); certificateData.IssueDate = nowDateTime; int lastNo = Database.GetLastCertificate(nowDateTime.Year); @@ -205,16 +204,17 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl certificate.StartDate = certificateData.StartDate; certificate.EndDate = certificateData.EndDate; bool dbResult = Database.SetCertificate(certificate); - + // 요금 상계 SetProceedsInfo setProceedsInfo = new SetProceedsInfo(); setProceedsInfo.No = certificate.No; setProceedsInfo.Date = nowDateTime; setProceedsInfo.Type = ProceedsType.Certificate; - setProceedsInfo.Amount = Global.GlobalSettings.CertificateFee; + // 요금 상계 부분 + // setProceedsInfo.Amount = Global.GlobalSettings.CertificateFee; dbResult = Database.SetProceeds(setProceedsInfo); - // 요금 ? + diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/WaitingList.Designer.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/WaitingList.Designer.cs index 7d635f5..df1089a 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/WaitingList.Designer.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/WaitingList.Designer.cs @@ -29,10 +29,6 @@ private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.metroRadioButton_InspectionFalse = new MetroFramework.Controls.MetroRadioButton(); - this.metroRadioButton_InspectionTrue = new MetroFramework.Controls.MetroRadioButton(); - this.metroRadioButton_InspectionAll = new MetroFramework.Controls.MetroRadioButton(); this.metroPanel1 = new MetroFramework.Controls.MetroPanel(); this.metroButton_ExportExcel = new MetroFramework.Controls.MetroButton(); this.metroButton_Delete = new MetroFramework.Controls.MetroButton(); @@ -42,72 +38,21 @@ this.metroButton_Search = new MetroFramework.Controls.MetroButton(); this.metroTextBox_Search = new MetroFramework.Controls.MetroTextBox(); this.metroComboBox_SearchType = new MetroFramework.Controls.MetroComboBox(); - this.metroButton_InspectionFalse = new MetroFramework.Controls.MetroButton(); - this.metroButton_InspectionTrue = new MetroFramework.Controls.MetroButton(); this.metroButton_UpdateUser = new MetroFramework.Controls.MetroButton(); this.dataGridView_List = new System.Windows.Forms.DataGridView(); this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); - this.groupBox1.SuspendLayout(); this.metroPanel1.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView_List)).BeginInit(); this.SuspendLayout(); // - // groupBox1 - // - this.groupBox1.BackColor = System.Drawing.Color.Transparent; - this.groupBox1.Controls.Add(this.metroRadioButton_InspectionFalse); - this.groupBox1.Controls.Add(this.metroRadioButton_InspectionTrue); - this.groupBox1.Controls.Add(this.metroRadioButton_InspectionAll); - this.groupBox1.Location = new System.Drawing.Point(20, 20); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(150, 90); - this.groupBox1.TabIndex = 4; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "그룹 필터"; - // - // metroRadioButton_InspectionFalse - // - this.metroRadioButton_InspectionFalse.AutoSize = true; - this.metroRadioButton_InspectionFalse.Location = new System.Drawing.Point(30, 60); - this.metroRadioButton_InspectionFalse.Name = "metroRadioButton_InspectionFalse"; - this.metroRadioButton_InspectionFalse.Size = new System.Drawing.Size(74, 15); - this.metroRadioButton_InspectionFalse.TabIndex = 2; - this.metroRadioButton_InspectionFalse.Text = "서류 미비"; - this.metroRadioButton_InspectionFalse.UseSelectable = true; - // - // metroRadioButton_InspectionTrue - // - this.metroRadioButton_InspectionTrue.AutoSize = true; - this.metroRadioButton_InspectionTrue.Location = new System.Drawing.Point(30, 40); - this.metroRadioButton_InspectionTrue.Name = "metroRadioButton_InspectionTrue"; - this.metroRadioButton_InspectionTrue.Size = new System.Drawing.Size(74, 15); - this.metroRadioButton_InspectionTrue.TabIndex = 1; - this.metroRadioButton_InspectionTrue.Text = "서류 완료"; - this.metroRadioButton_InspectionTrue.UseSelectable = true; - // - // metroRadioButton_InspectionAll - // - this.metroRadioButton_InspectionAll.AutoSize = true; - this.metroRadioButton_InspectionAll.Checked = true; - this.metroRadioButton_InspectionAll.Location = new System.Drawing.Point(30, 20); - this.metroRadioButton_InspectionAll.Name = "metroRadioButton_InspectionAll"; - this.metroRadioButton_InspectionAll.Size = new System.Drawing.Size(47, 15); - this.metroRadioButton_InspectionAll.TabIndex = 0; - this.metroRadioButton_InspectionAll.TabStop = true; - this.metroRadioButton_InspectionAll.Text = "전체"; - this.metroRadioButton_InspectionAll.UseSelectable = true; - // // metroPanel1 // this.metroPanel1.Controls.Add(this.metroButton_ExportExcel); this.metroPanel1.Controls.Add(this.metroButton_Delete); this.metroPanel1.Controls.Add(this.groupBox2); - this.metroPanel1.Controls.Add(this.metroButton_InspectionFalse); - this.metroPanel1.Controls.Add(this.metroButton_InspectionTrue); this.metroPanel1.Controls.Add(this.metroButton_UpdateUser); this.metroPanel1.Controls.Add(this.dataGridView_List); - this.metroPanel1.Controls.Add(this.groupBox1); this.metroPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.metroPanel1.HorizontalScrollbarBarColor = true; this.metroPanel1.HorizontalScrollbarHighlightOnWheel = false; @@ -138,11 +83,11 @@ // this.metroButton_Delete.Anchor = System.Windows.Forms.AnchorStyles.Right; this.metroButton_Delete.FontSize = MetroFramework.MetroButtonSize.Tall; - this.metroButton_Delete.Location = new System.Drawing.Point(626, 276); + this.metroButton_Delete.Location = new System.Drawing.Point(626, 184); this.metroButton_Delete.Name = "metroButton_Delete"; this.metroButton_Delete.Size = new System.Drawing.Size(121, 40); this.metroButton_Delete.TabIndex = 10; - this.metroButton_Delete.Text = "삭제"; + this.metroButton_Delete.Text = "대기자 삭제"; this.metroButton_Delete.UseSelectable = true; this.metroButton_Delete.Click += new System.EventHandler(this.metroButton_Delete_Click); // @@ -154,9 +99,9 @@ this.groupBox2.Controls.Add(this.metroButton_Search); this.groupBox2.Controls.Add(this.metroTextBox_Search); this.groupBox2.Controls.Add(this.metroComboBox_SearchType); - this.groupBox2.Location = new System.Drawing.Point(200, 20); + this.groupBox2.Location = new System.Drawing.Point(20, 20); this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(530, 90); + this.groupBox2.Size = new System.Drawing.Size(710, 90); this.groupBox2.TabIndex = 8; this.groupBox2.TabStop = false; this.groupBox2.Text = "검색"; @@ -236,30 +181,6 @@ this.metroComboBox_SearchType.TabIndex = 3; this.metroComboBox_SearchType.UseSelectable = true; // - // metroButton_InspectionFalse - // - this.metroButton_InspectionFalse.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.metroButton_InspectionFalse.FontSize = MetroFramework.MetroButtonSize.Tall; - this.metroButton_InspectionFalse.Location = new System.Drawing.Point(626, 230); - this.metroButton_InspectionFalse.Name = "metroButton_InspectionFalse"; - this.metroButton_InspectionFalse.Size = new System.Drawing.Size(121, 40); - this.metroButton_InspectionFalse.TabIndex = 9; - this.metroButton_InspectionFalse.Text = "서류 미비 전환"; - this.metroButton_InspectionFalse.UseSelectable = true; - this.metroButton_InspectionFalse.Click += new System.EventHandler(this.metroButton_InspectionFalse_Click); - // - // metroButton_InspectionTrue - // - this.metroButton_InspectionTrue.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.metroButton_InspectionTrue.FontSize = MetroFramework.MetroButtonSize.Tall; - this.metroButton_InspectionTrue.Location = new System.Drawing.Point(626, 184); - this.metroButton_InspectionTrue.Name = "metroButton_InspectionTrue"; - this.metroButton_InspectionTrue.Size = new System.Drawing.Size(121, 40); - this.metroButton_InspectionTrue.TabIndex = 8; - this.metroButton_InspectionTrue.Text = "서류 완료 전환"; - this.metroButton_InspectionTrue.UseSelectable = true; - this.metroButton_InspectionTrue.Click += new System.EventHandler(this.metroButton_InspectionTrue_Click); - // // metroButton_UpdateUser // this.metroButton_UpdateUser.Anchor = System.Windows.Forms.AnchorStyles.Right; @@ -304,8 +225,6 @@ this.Name = "WaitingList"; this.Size = new System.Drawing.Size(750, 470); this.Load += new System.EventHandler(this.ApplicantList_Load); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); this.metroPanel1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); @@ -315,18 +234,11 @@ } #endregion - - private System.Windows.Forms.GroupBox groupBox1; - private MetroFramework.Controls.MetroRadioButton metroRadioButton_InspectionFalse; - private MetroFramework.Controls.MetroRadioButton metroRadioButton_InspectionTrue; - private MetroFramework.Controls.MetroRadioButton metroRadioButton_InspectionAll; private MetroFramework.Controls.MetroPanel metroPanel1; private System.Windows.Forms.GroupBox groupBox2; private MetroFramework.Controls.MetroButton metroButton_Search; private MetroFramework.Controls.MetroTextBox metroTextBox_Search; private MetroFramework.Controls.MetroComboBox metroComboBox_SearchType; - private MetroFramework.Controls.MetroButton metroButton_InspectionFalse; - private MetroFramework.Controls.MetroButton metroButton_InspectionTrue; private MetroFramework.Controls.MetroButton metroButton_UpdateUser; private System.Windows.Forms.DataGridView dataGridView_List; private MetroFramework.Controls.MetroButton metroButton_Delete; diff --git a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/WaitingList.cs b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/WaitingList.cs index 8dcd2eb..b909009 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/WaitingList.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/CustomUserControl/WaitingList.cs @@ -17,76 +17,54 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl metroComboBox_SearchType.SelectedIndex = 0; } - List InspectionType() - { - // 순위? - var applicants = Database.GetApplicantWiat(); - List nowApplicants; - if (metroRadioButton_InspectionTrue.Checked) - { - nowApplicants = applicants.Where(x => x.Inspection).ToList(); - } - else if (metroRadioButton_InspectionFalse.Checked) - { - nowApplicants = applicants.Where(x => !x.Inspection).ToList(); - } - else - { - nowApplicants = applicants; - } - - return nowApplicants; - } void DataChange() { - var nowApplicants = InspectionType(); - + var applicants = Database.GetApplicantWiat(); + //TODO: 정렬 하여 순위 결정 switch (metroComboBox_SearchType.SelectedIndex) { case 0: - nowApplicants = nowApplicants.Where(x => x.RegistrationNumberTruck.Contains(metroTextBox_Search.Text.Trim())).ToList(); + applicants = applicants.Where(x => x.CargoVehicleNumber.Contains(metroTextBox_Search.Text.Trim())).ToList(); break; case 1: - nowApplicants = nowApplicants.Where(x => x.RegistrationNumberPassenger.Contains(metroTextBox_Search.Text.Trim())).ToList(); + applicants = applicants.Where(x => x.PassengerVehicleNumber.Contains(metroTextBox_Search.Text.Trim())).ToList(); break; case 2: - nowApplicants = nowApplicants.Where(x => x.Name.Contains(metroTextBox_Search.Text.Trim())).ToList(); + applicants = applicants.Where(x => x.Name.Contains(metroTextBox_Search.Text.Trim())).ToList(); break; case 3: - nowApplicants = nowApplicants.Where(x => x.Phone.Contains(metroTextBox_Search.Text.Trim())).ToList(); + applicants = applicants.Where(x => x.Phone.Contains(metroTextBox_Search.Text.Trim())).ToList(); break; case 4: - nowApplicants = nowApplicants.Where(x => x.Address.Contains(metroTextBox_Search.Text.Trim())).ToList(); + applicants = applicants.Where(x => x.Address.Contains(metroTextBox_Search.Text.Trim())).ToList(); break; } - // 소팅 - // 가져올때? + var dataTable = new DataTable(); - dataTable.Columns.Add("순위"); + //dataTable.Columns.Add("순위"); dataTable.Columns.Add("차량번호(화물)"); dataTable.Columns.Add("차량번호(승용)"); dataTable.Columns.Add("이름"); dataTable.Columns.Add("연락처"); dataTable.Columns.Add("주소"); dataTable.Columns.Add("신청일"); - dataTable.Columns.Add("서류 검토"); - for (int i = 0; i < nowApplicants.Count; i++) + for (int i = 0; i < applicants.Count; i++) { dataTable.Rows .Add( - (nowApplicants[i].Inspection ? i + 1 : 0), - nowApplicants[i].RegistrationNumberTruck, - nowApplicants[i].RegistrationNumberPassenger, - nowApplicants[i].Name, - nowApplicants[i].Phone, - nowApplicants[i].Address, - nowApplicants[i].DateOfApplication, - nowApplicants[i].Inspection ? "Y" : "N" + + applicants[i].CargoVehicleNumber, + applicants[i].PassengerVehicleNumber, + applicants[i].Name, + applicants[i].Phone, + applicants[i].Address, + applicants[i].DateOfApplication + ); } @@ -104,80 +82,16 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl void metroButton_Search_Click(object sender, EventArgs e) => DataChange(); - void metroButton_InspectionTrue_Click(object sender, EventArgs e) - { - var allCount = dataGridView_List.SelectedRows.Count; - if (allCount == 0) return; - - var RegistrationNumberTruck = new List(); - - for (int i = 0; i < dataGridView_List.SelectedRows.Count; i++) - { - if (dataGridView_List.SelectedRows[i].Cells[6].Value.ToString() == "N") - { - RegistrationNumberTruck.Add(dataGridView_List.SelectedRows[i].Cells[0].Value.ToString()); - } - } - - if (RegistrationNumberTruck.Count == 0) - { - MetroMessageBox.Show(this, "선택하신 건수 중에 전환할수 있는 건수가 없습니다.", "서류 완료 전환", MessageBoxButtons.OK, MessageBoxIcon.Information); - } - else - { - var message = "선태하신 전체 건수(" + allCount + ")중 서류 미비 상태인 건수(" + RegistrationNumberTruck.Count + ")를 서류 완료 상태로 전환합니다."; - - if (MetroMessageBox.Show(this, message, "서류 완료 전환", MessageBoxButtons.OKCancel, MessageBoxIcon.Information) == DialogResult.OK) - { - Database.ChangeInspection(RegistrationNumberTruck, true); - } - } - - DataChange(); - } - - void metroButton_InspectionFalse_Click(object sender, EventArgs e) - { - var allCount = dataGridView_List.SelectedRows.Count; - if (allCount == 0) return; - - var RegistrationNumberTruck = new List(); - - for (int i = 0; i < dataGridView_List.SelectedRows.Count; i++) - { - if (dataGridView_List.SelectedRows[i].Cells[6].Value.ToString() == "Y") - { - RegistrationNumberTruck.Add(dataGridView_List.SelectedRows[i].Cells[0].Value.ToString()); - } - } - - if (RegistrationNumberTruck.Count == 0) - { - MetroMessageBox.Show(this, "선택하신 건수 중에 전환할수 있는 건수가 없습니다.", "서류 미비 전환", MessageBoxButtons.OK, MessageBoxIcon.Information); - } - else - { - var message = "선태하신 전체 건수(" + allCount + ")중 서류 완료 상태인 건수(" + RegistrationNumberTruck.Count + ")를 서류 미비 상태로 전환합니다."; - - if (MetroMessageBox.Show(this, message, "서류 미비 전환", MessageBoxButtons.OKCancel, MessageBoxIcon.Information) == DialogResult.OK) - { - Database.ChangeInspection(RegistrationNumberTruck, false); - } - } - - DataChange(); - } - void metroButton_Delete_Click(object sender, EventArgs e) { var allCount = dataGridView_List.SelectedRows.Count; if (allCount == 0) return; - var RegistrationNumberTruck = new List(); + var CargoVehicleNumber = new List(); for (int i = 0; i < dataGridView_List.SelectedRows.Count; i++) { - RegistrationNumberTruck.Add(dataGridView_List.SelectedRows[i].Cells[0].Value.ToString()); + CargoVehicleNumber.Add(dataGridView_List.SelectedRows[i].Cells[0].Value.ToString()); } var message = "선태하신 " + allCount + "건을 삭제 하시겠습니까?"; @@ -188,7 +102,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl if (deleteReason.ShowDialog() == DialogResult.OK) { - Database.DeleteInspection(RegistrationNumberTruck, deleteReason.ResultName, deleteReason.ResultReason); + Database.DeleteInspection(CargoVehicleNumber, deleteReason.ResultName, deleteReason.ResultReason); DataChange(); } } @@ -199,26 +113,26 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl var allCount = dataGridView_List.Rows.Count - 1; if (allCount == 0) return; - var RegistrationNumberTruck = new List(); + var CargoVehicleNumber = new List(); for (int i = 0; i < allCount; i++) { if (dataGridView_List.Rows[i].Cells[7].Value.ToString() == "Y") { - RegistrationNumberTruck.Add(dataGridView_List.Rows[i].Cells[1].Value.ToString()); + CargoVehicleNumber.Add(dataGridView_List.Rows[i].Cells[1].Value.ToString()); } } - if (RegistrationNumberTruck.Count == 0) + if (CargoVehicleNumber.Count == 0) { MetroMessageBox.Show(this, "당첨 처리 할수 있는 건이 없습니다.", "당첨 처리", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } - var waitingCount = new WaitingCount(allCount, RegistrationNumberTruck.Count); + var waitingCount = new WaitingCount(allCount, CargoVehicleNumber.Count); if (waitingCount.ShowDialog() != DialogResult.OK) return; - var list = RegistrationNumberTruck.GetRange(0, waitingCount.ResultCount); + var list = CargoVehicleNumber.GetRange(0, waitingCount.ResultCount); //TODO: 업데이트 필요함 Database.AddUserList(list, waitingCount.StartDate, waitingCount.EndDate, waitingCount.TotalCost); DataChange(); diff --git a/HSUCO_Cargo_Garage_Operation_Program/DataModel.cs b/HSUCO_Cargo_Garage_Operation_Program/DataModel.cs index 818aa23..249f207 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/DataModel.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/DataModel.cs @@ -2,24 +2,36 @@ namespace HSUCO_Cargo_Garage_Operation_Program { - public struct Applicant + public struct ApplicantInformation { public bool ApplicantType { get; set; } - public string RegistrationNumberTruck { get; set; } - public string RegistrationNumberPassenger { get; set; } - public string Name { get; set; } + public string CargoVehicleNumber { get; set; } + public string CargoVehicleName { get; set; } + public string PassengerVehicleNumber { get; set; } + public string PassengerVehicleName { get; set; } + public EVehicleType VehicleType { get; set; } + public string Name { get; set; } // 성명 혹은 법인명 + public string PersonalNumber { get; set; } // 생년월일 및 법인등록변호 public string Phone { get; set; } public string Address { get; set; } public DateTime DateOfApplication { get; set; } - public bool Inspection { get; set; } } - + public struct ResultApplicantInsertInformation + { + public bool Result { get; set; } + public string No { get; set; } + public int WaitingOrder { get; set; } + } public struct User { public int No; - public string RegistrationNumberTruck { get; set; } - public string RegistrationNumberPassenger { get; set; } + public string CargoVehicleNumber { get; set; } + public string CargoVehicleName { get; set; } + public string PassengerVehicleNumber { get; set; } + public string PassengerVehicleName { get; set; } + public EVehicleType VehicleType { get; set; } public string Name { get; set; } + public string PersonalNumber { get; set; } public string Phone { get; set; } public string Address { get; set; } public DateTime DateOfApplicant { get; set; } @@ -31,14 +43,14 @@ namespace HSUCO_Cargo_Garage_Operation_Program public struct Extended { - public string RegistrationNumberTruck { get; set; } + public string CargoVehicleNumber { get; set; } public DateTime DateEnd { get; set; } } public struct ProceedsData { - public string RegistrationNumberTruck { get; set; } - public string RegistrationNumberPassenger { get; set; } + public string CargoVehicleNumber { get; set; } + public string PassengerVehicleNumber { get; set; } public string Name { get; set; } public ProceedsType Type { get; set; } public int Amount { get; set; } @@ -61,30 +73,42 @@ namespace HSUCO_Cargo_Garage_Operation_Program public DateTime EndDate { get; set; } } - + public struct CertificateData { - public string RegistrationNumberTruck { get; set; } - public string RegistrationNumberPassenger { get; set; } + public string CargoVehicleNumber { get; set; } + public string PassengerVehicleNumber { get; set; } public string Name { get; set; } public string IssueNumber { get; set; } public DateTime IssueDate { get; set; } public DateTime StartDate { get; set; } public DateTime EndDate { get; set; } - + } + /// + /// 인쇄용 + /// + public struct PrintFilingReceiptInformation + { + public string No { get; set; } + public DateTime DateReception { get; set; } + public string Name { get; set; } + public string PersonalNumber { get; set; } + public string Address { get; set; } + public string CargoVehicleNumber { get; set; } + public string PassengerVehicleNumber { get; set; } + public int WaitingOrder { get; set; } + } + public struct Settings { - public int UsageFee { get; set; } - public int ExtendedFee { get; set; } - public int CertificateFee { get; set; } - public int ReCertificateFee { get; set; } - - // 현재 세팅값은 네임/밸류/Date 로 저장하게 되어있는데 이게 필요할까? 고정으로 바꾸는 방법이 더 좋지 않을까? - // 이용금액 Usage Fee - // 연장금액 Extended Fee - // 증명서발급 비용 Certificate Fee - // 재발급 비용 ReCertificate Fee + public string GarageName { get; set; } + public int CargoLargeMaxCount { get; set; } + public int CargoOversizedMaxCount { get; set; } + public int CargoLargeFee { get; set; } + public int CargoOversizedFee { get; set; } + public int CargoLargeCertificateFee { get; set; } + public int CargoOversizedCertificateFee { get; set; } } public enum ProceedsType @@ -92,7 +116,12 @@ namespace HSUCO_Cargo_Garage_Operation_Program Fees, ExtensionFees, Certificate, - ReCertificate, Refunds } + + public enum EVehicleType + { + Large, + Oversized + } } \ No newline at end of file diff --git a/HSUCO_Cargo_Garage_Operation_Program/Database.cs b/HSUCO_Cargo_Garage_Operation_Program/Database.cs index a04d604..201ba1d 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/Database.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/Database.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Data.SQLite; using System.IO; +using System.Windows.Controls; namespace HSUCO_Cargo_Garage_Operation_Program { @@ -28,35 +29,38 @@ namespace HSUCO_Cargo_Garage_Operation_Program var createKeyTable = @" CREATE TABLE ""ApplicantList"" ( ""ApplicantType"" INTEGER NOT NULL, + ""No"" TEXT NOT NULL, ""CargoVehicleNumber"" TEXT NOT NULL, ""CargoVehicleName"" TEXT NOT NULL, ""PassengerVehicleNumber"" TEXT NOT NULL, - ""PassengerVehicleName"" INTEGER NOT NULL, + ""PassengerVehicleName"" TEXT NOT NULL, ""VehicleType"" INTEGER NOT NULL, ""Name"" TEXT NOT NULL, ""PersonalNumber"" TEXT NOT NULL, ""Phone"" TEXT NOT NULL, ""Address"" TEXT NOT NULL, - ""DateOfApplicant"" TEXT NOT NULL + ""DateOfApplicant"" TEXT NOT NULL, + PRIMARY KEY(""No"") ); - CREATE TABLE ""DeleteList"" ( - ""ApplicantType"" INTEGER NOT NULL, - ""CargoVehicleNumber"" TEXT NOT NULL, - ""CargoVehicleName"" TEXT NOT NULL, - ""PassengerVehicleNumber"" TEXT NOT NULL, - ""PassengerVehicleName"" TEXT NOT NULL, - ""VehicleType"" INTEGER NOT NULL, - ""Name"" TEXT NOT NULL, - ""PersonalNumber"" TEXT NOT NULL, - ""Phone"" TEXT NOT NULL, - ""Address"" TEXT NOT NULL, - ""DateOfApplicant"" TEXT NOT NULL, - ""Inspection"" INTEGER NOT NULL, - ""DeleteDate"" TEXT NOT NULL, - ""DeleterName"" TEXT NOT NULL, - ""DeleteReason"" TEXT NOT NULL - ); + CREATE TABLE ""DeleteList"" ( + ""No"" TEXT NOT NULL, + ""ApplicantType"" INTEGER NOT NULL, + ""CargoVehicleNumber"" TEXT NOT NULL, + ""CargoVehicleName"" TEXT NOT NULL, + ""PassengerVehicleNumber"" TEXT NOT NULL, + ""PassengerVehicleName"" TEXT NOT NULL, + ""VehicleType"" INTEGER NOT NULL, + ""Name"" TEXT NOT NULL, + ""PersonalNumber"" TEXT NOT NULL, + ""Phone"" TEXT NOT NULL, + ""Address"" TEXT NOT NULL, + ""DateOfApplicant"" TEXT NOT NULL, + ""DeleteDate"" TEXT NOT NULL, + ""DeleterName"" TEXT NOT NULL, + ""DeleteReason"" TEXT NOT NULL, + PRIMARY KEY(""No"") + ); CREATE TABLE ""LedgerCertificate"" ( ""No"" INTEGER NOT NULL, @@ -64,6 +68,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program ""IssueDate"" TEXT NOT NULL, ""StartDate"" TEXT NOT NULL, ""EndDate"" TEXT NOT NULL + PRIMARY KEY(""No"") ); CREATE TABLE ""LedgerProceeds"" ( @@ -130,13 +135,13 @@ namespace HSUCO_Cargo_Garage_Operation_Program /// /// 신청자 리스트에서 화물차 번호로 중복자 조회 /// - /// 화물차 번호 + /// 화물차 번호 /// - public static bool ApplicantCheckAlready(string RegistrationNumberTruck) + public static bool ApplicantCheckAlready(string CargoVehicleNumber) { var count = 0; - var query = string.Format("SELECT COUNT(*) From ApplicantList Where RegistrationNumberTruck = '{0}';", - RegistrationNumberTruck.Trim()); + var query = string.Format("SELECT COUNT(*) From ApplicantList Where CargoVehicleNumber = '{0}';", + CargoVehicleNumber.Trim()); using (var command = _sqLiteConnection.CreateCommand()) { @@ -152,11 +157,11 @@ namespace HSUCO_Cargo_Garage_Operation_Program return count > 0; } - public static bool UserListCheckAlready(string RegistrationNumberTruck) + public static bool UserListCheckAlready(string CargoVehicleNumber) { var count = 0; var query = "SELECT COUNT(*) From UserList WHERE DateEnd >= \"" + DateTime.Now + - "\" And RegistrationNumberTruck = \"" + RegistrationNumberTruck + "\""; + "\" And CargoVehicleNumber = \"" + CargoVehicleNumber + "\""; using (var command = _sqLiteConnection.CreateCommand()) { @@ -172,25 +177,57 @@ namespace HSUCO_Cargo_Garage_Operation_Program return count > 0; } - public static bool ApplicantInsert(Applicant applicant) + public static ResultApplicantInsertInformation SetApplicant(ApplicantInformation applicant) { - var result = 0; + + string year = DateTime.Now.Year.ToString(); + string suffix = applicant.ApplicantType ? Global.SuffixApplicantLot : Global.SuffixApplicantWait; + int lastNo = GetLastApplicant(year, suffix); + lastNo++; + string no = $"{year}-{suffix}{lastNo.ToString("D4")}"; + int waitOrder = 0; + string query; + if (!applicant.ApplicantType) + { + query = $"SELECT COUNT(*) From ApplicantList Where No Like '{year}-{suffix}%'"; + using (var command = _sqLiteConnection.CreateCommand()) + { + command.CommandText = query; - var query = - $"INSERT INTO ApplicantList VALUES('{applicant.ApplicantType.BoolToInt()}','{applicant.RegistrationNumberTruck}','{applicant.RegistrationNumberPassenger}','{applicant.Name}','{applicant.Phone}','{applicant.Address}','{applicant.DateOfApplication.DateTimeDatabase()}','{applicant.Inspection.BoolToInt()}') "; + using (var reader = command.ExecuteReader()) + { + while (reader.Read()) + { + string data = reader[0].ToString(); + waitOrder = int.Parse(data); + } + } + } + } + query = + $"INSERT INTO ApplicantList VALUES('{applicant.ApplicantType.BoolToInt()}','{no}','{applicant.CargoVehicleNumber}','{applicant.CargoVehicleName}','{applicant.PassengerVehicleNumber}','{applicant.PassengerVehicleName}','{applicant.VehicleType}','{applicant.Name}','{applicant.PersonalNumber}','{applicant.Phone}','{applicant.Address}','{applicant.DateOfApplication.DateTimeDatabase()}') "; + + int insertResult; using (var command = _sqLiteConnection.CreateCommand()) { command.CommandText = query; - result = command.ExecuteNonQuery(); + insertResult = command.ExecuteNonQuery(); } + if (insertResult > 0) + { - return result > 0; + return new ResultApplicantInsertInformation { Result = true, No = no, WaitingOrder = waitOrder }; + } + else + { + return new ResultApplicantInsertInformation { Result = false }; + } } - public static List GetApplicant() + public static List GetApplicant() { - var applicants = new List(); + var applicants = new List(); var query = "SELECT * From ApplicantList Where ApplicantType=1"; using (var command = _sqLiteConnection.CreateCommand()) @@ -201,15 +238,18 @@ namespace HSUCO_Cargo_Garage_Operation_Program { while (reader.Read()) { - var applicant = new Applicant(); + var applicant = new ApplicantInformation(); applicant.ApplicantType = reader["ApplicantType"].ToString() == "1"; - applicant.RegistrationNumberTruck = reader["RegistrationNumberTruck"].ToString(); - applicant.RegistrationNumberPassenger = reader["RegistrationNumberPassenger"].ToString(); + applicant.CargoVehicleNumber = reader["CargoVehicleNumber"].ToString(); + applicant.CargoVehicleName = reader["CargoVehicleName"].ToString(); + applicant.PassengerVehicleNumber = reader["PassengerVehicleNumber"].ToString(); + applicant.PassengerVehicleName = reader["PassengerVehicleName"].ToString(); + applicant.VehicleType = (EVehicleType)int.Parse(reader["VehicleType"].ToString()); applicant.Name = reader["Name"].ToString(); + applicant.PersonalNumber = reader["PersonalNumber"].ToString(); applicant.Phone = reader["Phone"].ToString(); applicant.Address = reader["Address"].ToString(); applicant.DateOfApplication = DateTime.Parse(reader["DateOfApplicant"].ToString()); - applicant.Inspection = reader["Inspection"].ToString() == "1"; applicants.Add(applicant); } @@ -219,9 +259,9 @@ namespace HSUCO_Cargo_Garage_Operation_Program return applicants; } - public static List GetApplicantWiat() + public static List GetApplicantWiat() { - var applicants = new List(); + var applicants = new List(); var query = "SELECT * From ApplicantList Where ApplicantType=0 Order By Inspection DESC, DateOfApplicant"; using (var command = _sqLiteConnection.CreateCommand()) @@ -232,15 +272,19 @@ namespace HSUCO_Cargo_Garage_Operation_Program { while (reader.Read()) { - var applicant = new Applicant(); + var applicant = new ApplicantInformation(); applicant.ApplicantType = reader["ApplicantType"].ToString() == "1"; - applicant.RegistrationNumberTruck = reader["RegistrationNumberTruck"].ToString(); - applicant.RegistrationNumberPassenger = reader["RegistrationNumberPassenger"].ToString(); + applicant.CargoVehicleNumber = reader["CargoVehicleNumber"].ToString(); + applicant.CargoVehicleName = reader["CargoVehicleName"].ToString(); + applicant.PassengerVehicleNumber = reader["PassengerVehicleNumber"].ToString(); + applicant.PassengerVehicleName = reader["PassengerVehicleName"].ToString(); + applicant.VehicleType = (EVehicleType)int.Parse(reader["VehicleType"].ToString()); applicant.Name = reader["Name"].ToString(); + applicant.PersonalNumber = reader["PersonalNumber"].ToString(); applicant.Phone = reader["Phone"].ToString(); applicant.Address = reader["Address"].ToString(); applicant.DateOfApplication = DateTime.Parse(reader["DateOfApplicant"].ToString()); - applicant.Inspection = reader["Inspection"].ToString() == "1"; + applicants.Add(applicant); } @@ -266,8 +310,8 @@ namespace HSUCO_Cargo_Garage_Operation_Program var user = new User { No = int.Parse(reader["No"].ToString()), - RegistrationNumberTruck = reader["RegistrationNumberTruck"].ToString(), - RegistrationNumberPassenger = reader["RegistrationNumberPassenger"].ToString(), + CargoVehicleNumber = reader["CargoVehicleNumber"].ToString(), + PassengerVehicleNumber = reader["PassengerVehicleNumber"].ToString(), Name = reader["Name"].ToString(), Phone = reader["Phone"].ToString(), Address = reader["Address"].ToString(), @@ -286,28 +330,14 @@ namespace HSUCO_Cargo_Garage_Operation_Program return userList; } - public static void ChangeInspection(List RegistrationNumberTruck, bool result) - { - for (var i = 0; i < RegistrationNumberTruck.Count; i++) - { - var query = "UPDATE ApplicantList SET Inspection=" + result.BoolToInt() + ", DateOfApplicant=\"" + - DateTime.Now.DateTimeDatabase() + "\" Where RegistrationNumberTruck=\"" + RegistrationNumberTruck[i] + "\""; - - using (var command = _sqLiteConnection.CreateCommand()) - { - command.CommandText = query; - command.ExecuteNonQuery(); - } - } - } public static void UpdateExtended(List extendeds) { for (var i = 0; i < extendeds.Count; i++) { var query = "UPDATE UserList Set DateEnd=\"" + extendeds[i].DateEnd.AddYears(1).EndDateTime() + "\" Extended=\"" + - true.BoolToInt() + "\" Where RegistrationNumberTruck=\"" + - extendeds[i].RegistrationNumberTruck + "\""; + true.BoolToInt() + "\" Where CargoVehicleNumber=\"" + + extendeds[i].CargoVehicleNumber + "\""; using (var command = _sqLiteConnection.CreateCommand()) { command.CommandText = query; @@ -316,13 +346,13 @@ namespace HSUCO_Cargo_Garage_Operation_Program } } - public static List GetApplicantList(List RegistrationNumberTruck) + public static List GetApplicantList(List CargoVehicleNumber) { - var applicants = new List(); + var applicants = new List(); - for (var i = 0; i < RegistrationNumberTruck.Count; i++) + for (var i = 0; i < CargoVehicleNumber.Count; i++) { - var query = $"SELECT * From ApplicantList Where RegistrationNumberTruck='{RegistrationNumberTruck[i]}'"; + var query = $"SELECT * From ApplicantList Where CargoVehicleNumber='{CargoVehicleNumber[i]}'"; using (var command = _sqLiteConnection.CreateCommand()) { @@ -332,15 +362,15 @@ namespace HSUCO_Cargo_Garage_Operation_Program { while (reader.Read()) { - var applicant = new Applicant(); + var applicant = new ApplicantInformation(); applicant.ApplicantType = reader["ApplicantType"].ToString() == "1"; - applicant.RegistrationNumberTruck = reader["RegistrationNumberTruck"].ToString(); - applicant.RegistrationNumberPassenger = reader["RegistrationNumberPassenger"].ToString(); + applicant.CargoVehicleNumber = reader["CargoVehicleNumber"].ToString(); + applicant.PassengerVehicleNumber = reader["PassengerVehicleNumber"].ToString(); applicant.Name = reader["Name"].ToString(); applicant.Phone = reader["Phone"].ToString(); applicant.Address = reader["Address"].ToString(); applicant.DateOfApplication = DateTime.Parse(reader["DateOfApplicant"].ToString()); - applicant.Inspection = reader["Inspection"].ToString() == "1"; + applicants.Add(applicant); } } @@ -350,15 +380,15 @@ namespace HSUCO_Cargo_Garage_Operation_Program return applicants; } - public static void AddUserList(List registrationNumberTruck, DateTime start, DateTime end, + public static void AddUserList(List CargoVehicleNumber, DateTime start, DateTime end, int totalCost) { - var applicants = GetApplicantList(registrationNumberTruck); + var applicants = GetApplicantList(CargoVehicleNumber); for (var i = 0; i < applicants.Count; i++) { var query = - $"INSERT INTO UserList (RegistrationNumberTruck,RegistrationNumberPassenger,Name,Phone,Address,DateOfApplicant,DateStart,DateEnd,Extended,RefundCheck) VALUES('{applicants[i].RegistrationNumberTruck}','{applicants[i].RegistrationNumberPassenger}','{applicants[i].Name}','{applicants[i].Phone}','{applicants[i].Address}','{applicants[i].DateOfApplication.DateTimeDatabase()}','{start.StartDateTime()}','{end.EndDateTime()}','0','0') "; + $"INSERT INTO UserList (CargoVehicleNumber,PassengerVehicleNumber,Name,Phone,Address,DateOfApplicant,DateStart,DateEnd,Extended,RefundCheck) VALUES('{applicants[i].CargoVehicleNumber}','{applicants[i].PassengerVehicleNumber}','{applicants[i].Name}','{applicants[i].Phone}','{applicants[i].Address}','{applicants[i].DateOfApplication.DateTimeDatabase()}','{start.StartDateTime()}','{end.EndDateTime()}','0','0') "; using (var insertCommand = _sqLiteConnection.CreateCommand()) { insertCommand.CommandText = query; @@ -375,7 +405,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program } query = - $"DELETE FROM ApplicantList Where RegistrationNumberTruck=\"{applicants[i].RegistrationNumberTruck}\""; + $"DELETE FROM ApplicantList Where CargoVehicleNumber=\"{applicants[i].CargoVehicleNumber}\""; using (var deleteCommand = _sqLiteConnection.CreateCommand()) { @@ -385,14 +415,14 @@ namespace HSUCO_Cargo_Garage_Operation_Program } } - public static void DeleteInspection(List RegistrationNumberTruck, string DeleterName, string Reason) + public static void DeleteInspection(List CargoVehicleNumber, string DeleterName, string Reason) { - var applicants = GetApplicantList(RegistrationNumberTruck); + var applicants = GetApplicantList(CargoVehicleNumber); for (var i = 0; i < applicants.Count; i++) { var query = - $"INSERT INTO DeleteList VALUES('{applicants[i].ApplicantType.BoolToInt()}','{applicants[i].RegistrationNumberTruck}','{applicants[i].RegistrationNumberPassenger}','{applicants[i].Name}','{applicants[i].Phone}','{applicants[i].Address}','{applicants[i].DateOfApplication.DateTimeDatabase()}','{applicants[i].Inspection.BoolToInt()}','{DateTime.Now.DateTimeDatabase()}','{DeleterName}','{Reason}') "; + $"INSERT INTO DeleteList VALUES(''{applicants[i].ApplicantType.BoolToInt()}','{applicants[i].CargoVehicleNumber}','{applicants[i].CargoVehicleName}','{applicants[i].PassengerVehicleNumber}','{applicants[i].PassengerVehicleName}','{applicants[i].VehicleType}','{applicants[i].Name}','{applicants[i].PersonalNumber}','{applicants[i].Phone}','{applicants[i].Address}','{applicants[i].DateOfApplication.DateTimeDatabase()}','{DateTime.Now.DateTimeDatabase()}','{DeleterName}','{Reason}') "; using (var insertCommand = _sqLiteConnection.CreateCommand()) { @@ -401,7 +431,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program } query = - $"DELETE FROM ApplicantList Where RegistrationNumberTruck=\"{applicants[i].RegistrationNumberTruck}\""; + $"DELETE FROM ApplicantList Where CargoVehicleNumber=\"{applicants[i].CargoVehicleNumber}\""; using (var deleteCommand = _sqLiteConnection.CreateCommand()) { @@ -416,7 +446,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program var proceedsDatas = new List(); var query = - $"SELECT UserList.RegistrationNumberTruck, UserList.RegistrationNumberPassenger, UserList.Name, LedgerProceeds.Type, LedgerProceeds.Amount, LedgerProceeds.Date From LedgerProceeds INNER JOIN UserList ON LedgerProceeds.No = UserList.No Where LedgerProceeds.Date >='{startDateTime.StartDateTime()}' And LedgerProceeds.Date <='{endDateTime.EndDateTime()}'"; + $"SELECT UserList.CargoVehicleNumber, UserList.PassengerVehicleNumber, UserList.Name, LedgerProceeds.Type, LedgerProceeds.Amount, LedgerProceeds.Date From LedgerProceeds INNER JOIN UserList ON LedgerProceeds.No = UserList.No Where LedgerProceeds.Date >='{startDateTime.StartDateTime()}' And LedgerProceeds.Date <='{endDateTime.EndDateTime()}'"; using (var command = _sqLiteConnection.CreateCommand()) { @@ -427,8 +457,8 @@ namespace HSUCO_Cargo_Garage_Operation_Program while (reader.Read()) { var proceedsData = new ProceedsData(); - proceedsData.RegistrationNumberTruck = reader["RegistrationNumberTruck"].ToString(); - proceedsData.RegistrationNumberPassenger = reader["RegistrationNumberPassenger"].ToString(); + proceedsData.CargoVehicleNumber = reader["CargoVehicleNumber"].ToString(); + proceedsData.PassengerVehicleNumber = reader["PassengerVehicleNumber"].ToString(); proceedsData.Name = reader["Name"].ToString(); proceedsData.Amount = int.Parse(reader["Amount"].ToString()); proceedsData.Date = DateTime.Parse(reader["Date"].ToString()); @@ -445,7 +475,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program { var certificateDatas = new List(); var query = - $"SELECT UserList.RegistrationNumberTruck, UserList.RegistrationNumberPassenger, UserList.Name, LedgerCertificate.IssueNumber, LedgerCertificate.IssueDate, LedgerCertificate.StartDate, LedgerCertificate.EndDate From LedgerCertificate INNER JOIN UserList ON LedgerCertificate.No = UserList.No Where LedgerCertificate.IssueDate >='{startDateTime.StartDateTime()}' And LedgerCertificate.IssueDate <='{endDateTime.EndDateTime()}'"; + $"SELECT UserList.CargoVehicleNumber, UserList.PassengerVehicleNumber, UserList.Name, LedgerCertificate.IssueNumber, LedgerCertificate.IssueDate, LedgerCertificate.StartDate, LedgerCertificate.EndDate From LedgerCertificate INNER JOIN UserList ON LedgerCertificate.No = UserList.No Where LedgerCertificate.IssueDate >='{startDateTime.StartDateTime()}' And LedgerCertificate.IssueDate <='{endDateTime.EndDateTime()}'"; using (var command = _sqLiteConnection.CreateCommand()) { @@ -456,8 +486,8 @@ namespace HSUCO_Cargo_Garage_Operation_Program while (reader.Read()) { var certificateData = new CertificateData(); - certificateData.RegistrationNumberTruck = reader["RegistrationNumberTruck"].ToString(); - certificateData.RegistrationNumberPassenger = reader["RegistrationNumberPassenger"].ToString(); + certificateData.CargoVehicleNumber = reader["CargoVehicleNumber"].ToString(); + certificateData.PassengerVehicleNumber = reader["PassengerVehicleNumber"].ToString(); certificateData.Name = reader["Name"].ToString(); certificateData.IssueNumber = reader["IssueNumber"].ToString(); certificateData.IssueDate = DateTime.Parse(reader["IssueDate"].ToString()); @@ -474,7 +504,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program public static CertificateData GetCertificate(string issueNumber) { var certificateData = new CertificateData(); - var query = $"SELECT UserList.RegistrationNumberTruck, UserList.RegistrationNumberPassenger, UserList.Name, LedgerCertificate.IssueNumber, LedgerCertificate.IssueDate, LedgerCertificate.StartDate, LedgerCertificate.EndDate From LedgerCertificate INNER JOIN UserList ON LedgerCertificate.No = UserList.No Where IssueNumber='{issueNumber}'"; + var query = $"SELECT UserList.CargoVehicleNumber, UserList.PassengerVehicleNumber, UserList.Name, LedgerCertificate.IssueNumber, LedgerCertificate.IssueDate, LedgerCertificate.StartDate, LedgerCertificate.EndDate From LedgerCertificate INNER JOIN UserList ON LedgerCertificate.No = UserList.No Where IssueNumber='{issueNumber}'"; using (var command = _sqLiteConnection.CreateCommand()) { command.CommandText = query; @@ -483,8 +513,8 @@ namespace HSUCO_Cargo_Garage_Operation_Program { while (reader.Read()) { - certificateData.RegistrationNumberTruck = reader["RegistrationNumberTruck"].ToString(); - certificateData.RegistrationNumberPassenger = reader["RegistrationNumberPassenger"].ToString(); + certificateData.CargoVehicleNumber = reader["CargoVehicleNumber"].ToString(); + certificateData.PassengerVehicleNumber = reader["PassengerVehicleNumber"].ToString(); certificateData.Name = reader["Name"].ToString(); certificateData.IssueNumber = reader["IssueNumber"].ToString(); certificateData.IssueDate = DateTime.Parse(reader["IssueDate"].ToString()); @@ -497,6 +527,26 @@ namespace HSUCO_Cargo_Garage_Operation_Program return certificateData; } + public static int GetLastApplicant(string year, string suffix) + { + var query = $"SELECT No From ApplicantList Where No Like '{year}-{suffix}%' Order By No DESC LIMIT 1"; + int lastNo = 0; + using (var command = _sqLiteConnection.CreateCommand()) + { + command.CommandText = query; + + using (var reader = command.ExecuteReader()) + { + while (reader.Read()) + { + var no = reader[0].ToString(); + no = no.Substring(7, no.Length - 7); + lastNo = int.Parse(no); + } + } + } + return lastNo; + } public static int GetLastCertificate(int year) { var certificateDatas = new List(); @@ -548,6 +598,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program public static Settings LoadSettings() { var settings = new Settings(); + settings.GarageName = string.Empty; // Null 방지; var query = "SELECT * FROM(SELECT * From Settings Where (SettingName, SettingDate) in (Select SettingName, MAX(SettingDate) as SettingDate From Settings Group by SettingName) Order by SettingDate desc) t Group By t.SettingName"; using (var command = _sqLiteConnection.CreateCommand()) @@ -562,27 +613,41 @@ namespace HSUCO_Cargo_Garage_Operation_Program var value = reader["SettingValue"].ToString(); var date = reader["SettingDate"].ToString(); int intValue; + switch (name) { - case "UsageFee": + case "GarageName": + settings.GarageName = value; + break; + case "CargoLargeMaxCount": int.TryParse(value, out intValue); - settings.UsageFee = intValue; + settings.CargoLargeMaxCount = intValue; break; - case "ExtendedFee": - + case "CargoOversizedMaxCount": int.TryParse(value, out intValue); - settings.ExtendedFee = intValue; + settings.CargoOversizedMaxCount = intValue; break; - case "CertificateFee": + case "CargoLargeFee": int.TryParse(value, out intValue); - settings.CertificateFee = intValue; + settings.CargoLargeFee = intValue; break; - case "ReCertificateFee": + case "CargoOversizedFee": + int.TryParse(value, out intValue); - settings.ReCertificateFee = intValue; + settings.CargoOversizedFee = intValue; + break; + + case "CargoLargeCertificateFee": + int.TryParse(value, out intValue); + settings.CargoLargeCertificateFee = intValue; + break; + + case "CargoOversizedCertificateFee": + int.TryParse(value, out intValue); + settings.CargoOversizedCertificateFee = intValue; break; } } @@ -596,10 +661,10 @@ namespace HSUCO_Cargo_Garage_Operation_Program { var originalSettings = LoadSettings(); - if (settings.UsageFee != originalSettings.UsageFee) + if (settings.GarageName != originalSettings.GarageName) { var query = - $"INSERT INTO Settings VALUES('UsageFee','{settings.UsageFee}','{DateTime.Now.ToString()}') "; + $"INSERT INTO Settings VALUES('GarageName','{settings.GarageName}','{DateTime.Now.ToString()}') "; using (var insertCommand = _sqLiteConnection.CreateCommand()) { insertCommand.CommandText = query; @@ -607,10 +672,10 @@ namespace HSUCO_Cargo_Garage_Operation_Program } } - if (settings.ExtendedFee != originalSettings.ExtendedFee) + if (settings.CargoLargeMaxCount != originalSettings.CargoLargeMaxCount) { var query = - $"INSERT INTO Settings VALUES('ExtendedFee','{settings.ExtendedFee}','{DateTime.Now.ToString()}') "; + $"INSERT INTO Settings VALUES('CargoLargeMaxCount','{settings.CargoLargeMaxCount}','{DateTime.Now.ToString()}') "; using (var insertCommand = _sqLiteConnection.CreateCommand()) { insertCommand.CommandText = query; @@ -618,10 +683,30 @@ namespace HSUCO_Cargo_Garage_Operation_Program } } - if (settings.CertificateFee != originalSettings.CertificateFee) + if (settings.CargoOversizedMaxCount != originalSettings.CargoOversizedMaxCount) { var query = - $"INSERT INTO Settings VALUES('CertificateFee','{settings.CertificateFee}','{DateTime.Now.ToString()}') "; + $"INSERT INTO Settings VALUES('CargoOversizedMaxCount','{settings.CargoOversizedMaxCount}','{DateTime.Now.ToString()}') "; + using (var insertCommand = _sqLiteConnection.CreateCommand()) + { + insertCommand.CommandText = query; + insertCommand.ExecuteNonQuery(); + } + } + if (settings.CargoLargeFee != originalSettings.CargoLargeFee) + { + var query = + $"INSERT INTO Settings VALUES('CargoLargeFee','{settings.CargoLargeFee}','{DateTime.Now.ToString()}') "; + using (var insertCommand = _sqLiteConnection.CreateCommand()) + { + insertCommand.CommandText = query; + insertCommand.ExecuteNonQuery(); + } + } + if (settings.CargoOversizedFee != originalSettings.CargoOversizedFee) + { + var query = + $"INSERT INTO Settings VALUES('CargoOversizedFee','{settings.CargoOversizedFee}','{DateTime.Now.ToString()}') "; using (var insertCommand = _sqLiteConnection.CreateCommand()) { insertCommand.CommandText = query; @@ -629,10 +714,21 @@ namespace HSUCO_Cargo_Garage_Operation_Program } } - if (settings.ReCertificateFee != originalSettings.ReCertificateFee) + if (settings.CargoLargeCertificateFee != originalSettings.CargoLargeCertificateFee) { var query = - $"INSERT INTO Settings VALUES('ReCertificateFee','{settings.ReCertificateFee}','{DateTime.Now.ToString()}') "; + $"INSERT INTO Settings VALUES('CargoLargeCertificateFee','{settings.CargoLargeCertificateFee}','{DateTime.Now.ToString()}') "; + using (var insertCommand = _sqLiteConnection.CreateCommand()) + { + insertCommand.CommandText = query; + insertCommand.ExecuteNonQuery(); + } + } + + if (settings.CargoOversizedCertificateFee != originalSettings.CargoOversizedCertificateFee) + { + var query = + $"INSERT INTO Settings VALUES('CargoOversizedCertificateFee','{settings.CargoOversizedCertificateFee}','{DateTime.Now.ToString()}') "; using (var insertCommand = _sqLiteConnection.CreateCommand()) { insertCommand.CommandText = query; diff --git a/HSUCO_Cargo_Garage_Operation_Program/Global.cs b/HSUCO_Cargo_Garage_Operation_Program/Global.cs index 672ec58..6eca99f 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/Global.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/Global.cs @@ -9,6 +9,11 @@ namespace HSUCO_Cargo_Garage_Operation_Program public static class Global { public static Settings GlobalSettings { get; set; } - + public static readonly string AreaLarge = "13m × 3.25m"; + public static readonly string AreaOversized = "17m × 3.5m"; + + public static readonly string SuffixApplicantLot = "FL"; + public static readonly string SuffixApplicantWait = "FW"; + public static readonly string SuffixCertificate = "C"; } } diff --git a/HSUCO_Cargo_Garage_Operation_Program/HSUCO_Cargo_Garage_Operation_Program.csproj b/HSUCO_Cargo_Garage_Operation_Program/HSUCO_Cargo_Garage_Operation_Program.csproj index 45187f8..4ba72d0 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/HSUCO_Cargo_Garage_Operation_Program.csproj +++ b/HSUCO_Cargo_Garage_Operation_Program/HSUCO_Cargo_Garage_Operation_Program.csproj @@ -104,12 +104,6 @@ WaitingCount.cs - - Form - - - AboutBox1.cs - UserControl @@ -163,6 +157,7 @@ Master.cs + @@ -175,9 +170,6 @@ WaitingCount.cs - - AboutBox1.cs - ApplicantControl.cs diff --git a/HSUCO_Cargo_Garage_Operation_Program/Master.cs b/HSUCO_Cargo_Garage_Operation_Program/Master.cs index 88d89f2..127b855 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/Master.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/Master.cs @@ -1,4 +1,6 @@ using System; +using System.Collections.Generic; +using System.Windows.Forms; namespace HSUCO_Cargo_Garage_Operation_Program { @@ -17,7 +19,6 @@ namespace HSUCO_Cargo_Garage_Operation_Program Global.GlobalSettings = Database.LoadSettings(); settings1.SettingReset(); - } diff --git a/HSUCO_Cargo_Garage_Operation_Program/PrintCertificate.cs b/HSUCO_Cargo_Garage_Operation_Program/PrintCertificate.cs index b57cd96..cdee087 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/PrintCertificate.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/PrintCertificate.cs @@ -2,66 +2,59 @@ using System.Collections.Generic; using System.Drawing; using System.Drawing.Printing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Microsoft.Office.Interop.Excel; using Font = System.Drawing.Font; namespace HSUCO_Cargo_Garage_Operation_Program { - - internal class PrintCertificate { private List _certificateDatas; private int _count; + public PrintDocument printDocument; public PrintCertificate(List certificateDatas) { _certificateDatas = certificateDatas; _count = 0; + printDocument = new PrintDocument(); + printDocument.DocumentName = "차고지 이용 증명서"; + printDocument.PrintPage += PrintPage; + printDocument.DefaultPageSettings.Margins.Top = Convert.ToInt32(50); printDocument.DefaultPageSettings.Margins.Left = Convert.ToInt32(50); + printDocument.DefaultPageSettings.Margins.Left = Convert.ToInt32(30); + printDocument.DefaultPageSettings.Margins.Right = Convert.ToInt32(30); + } public void PrintPage(object sender, PrintPageEventArgs e) { - - e.Graphics.DrawRectangle(new Pen(Brushes.Black, 3), e.MarginBounds.Top, e.MarginBounds.Left, e.MarginBounds.Width, e.MarginBounds.Height); - - string text = "화물차고지 사용신고확인서"; - Font font = new Font("맑은 고딕", 30, FontStyle.Bold); - + e.Graphics.DrawRectangle(new Pen(Brushes.Black, 3), e.MarginBounds.Left, e.MarginBounds.Top, + e.MarginBounds.Width, e.MarginBounds.Height); int totalWidth = (int)e.PageBounds.Width; int totalHeight = (int)e.PageBounds.Height; + CenterTextWriter($"화물자동차 공영차고지 이용 증명서", new Font("맑은 고딕", 30, FontStyle.Bold), e.Graphics, totalWidth, e.MarginBounds.Top + 100); - e.Graphics.DrawString($"제 {_certificateDatas[_count].IssueNumber}호", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 10, e.MarginBounds.Top + 10); - SizeF textSize = e.Graphics.MeasureString(text, font); - float textX = (totalWidth - textSize.Width) / 2; + e.Graphics.DrawString($"■ 성  명 : {_certificateDatas[_count].Name}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 250); + e.Graphics.DrawString($"■ 생년월일 : {string.Empty}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 300); + e.Graphics.DrawString($"■ 주  소 : {string.Empty}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 350); + e.Graphics.DrawString($"■ 차량번호 : {_certificateDatas[_count].CargoVehicleNumber}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 400); + e.Graphics.DrawString($"■ 이용요금 : {string.Empty}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 450); + e.Graphics.DrawString($"■ 이용면적 : {string.Empty}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 500); + e.Graphics.DrawString($"■ 이용기한 : {_certificateDatas[_count].StartDate.ToString("yyyy-MM-dd")} ~ {_certificateDatas[_count].EndDate.ToString("yyyy-MM-dd")}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 550); + e.Graphics.DrawString($"■ 차 고 지 : {string.Empty}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 600); - e.Graphics.DrawString(text, font, Brushes.Black, textX, e.MarginBounds.Top + 150); - - e.Graphics.DrawString($"사용자 성명 : {_certificateDatas[_count].Name}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 300); - e.Graphics.DrawString($"주소 : {_certificateDatas[_count].Name}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 350); - e.Graphics.DrawString($"차량번호(화물) : {_certificateDatas[_count].RegistrationNumberTruck}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 400); - e.Graphics.DrawString($"차량번호(승용) : {_certificateDatas[_count].RegistrationNumberPassenger}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 450); - e.Graphics.DrawString($"사용기한 : {_certificateDatas[_count].StartDate.ToString("yyyy-MM-dd")} ~ {_certificateDatas[_count].EndDate.ToString("yyyy-MM-dd")}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 500); - - e.Graphics.DrawString("상기 차량은 위 사용기한에 차고지 사용을 승인합니다.", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 600); - - text = $"{_certificateDatas[_count].IssueDate.ToString("yyyy년 MM월 dd일")}"; - font = new Font("맑은 고딕", 15); - textSize = e.Graphics.MeasureString(text, font); - textX = (totalWidth - textSize.Width) / 2; - e.Graphics.DrawString(text, font, Brushes.Black, textX, e.MarginBounds.Top + 700); - - text = "화성도시공사 화물차주차장 담당자"; - font = new Font("맑은 고딕", 20); - textSize = e.Graphics.MeasureString(text, font); - textX = (totalWidth - textSize.Width) / 2; - e.Graphics.DrawString(text, font, Brushes.Black, textX, e.MarginBounds.Top + 800); + CenterTextWriter($"위 차량에 대하여 {string.Empty} 화물자동차 공영차고지 이용을 증명합니다.", new Font("맑은 고딕", 12, FontStyle.Bold), e.Graphics, totalWidth, e.MarginBounds.Top + 700); + CenterTextWriter($"{_certificateDatas[_count].IssueDate.ToString("yyyy년 MM월 dd일")}", new Font("맑은 고딕", 15), e.Graphics, totalWidth, e.MarginBounds.Top + 800); + CenterTextWriter("화성도시공사 사장", new Font("맑은 고딕", 20, FontStyle.Bold), e.Graphics, totalWidth, e.MarginBounds.Top + 900); _count++; e.HasMorePages = _certificateDatas.Count > _count; - } + + private void CenterTextWriter(string text, Font font, Graphics g, int totalWidth, int posY) + { + SizeF textSize = g.MeasureString(text, font); + float textPosX = (totalWidth - textSize.Width) / 2; + g.DrawString(text, font, Brushes.Black, textPosX, posY); + } + } } diff --git a/HSUCO_Cargo_Garage_Operation_Program/PrintFilingReceipt.cs b/HSUCO_Cargo_Garage_Operation_Program/PrintFilingReceipt.cs new file mode 100644 index 0000000..bb05614 --- /dev/null +++ b/HSUCO_Cargo_Garage_Operation_Program/PrintFilingReceipt.cs @@ -0,0 +1,79 @@ +using System; +using System.Collections.Generic; +using System.Drawing; +using System.Drawing.Printing; +using Font = System.Drawing.Font; + +namespace HSUCO_Cargo_Garage_Operation_Program +{ + + + internal class PrintFilingReceipt + { + private List _printFilingReceiptInformation; + private int _count; + public PrintDocument printDocument; + public PrintFilingReceipt(List printFilingReceiptInformation) + { + _printFilingReceiptInformation = printFilingReceiptInformation; + _count = 0; + printDocument = new PrintDocument(); + printDocument.DocumentName = "접수증"; + printDocument.PrintPage += PrintPage; + printDocument.DefaultPageSettings.Margins.Top = Convert.ToInt32(50); printDocument.DefaultPageSettings.Margins.Left = Convert.ToInt32(50); + printDocument.DefaultPageSettings.Margins.Left = Convert.ToInt32(30); + printDocument.DefaultPageSettings.Margins.Right = Convert.ToInt32(30); + + } + public void PrintPage(object sender, PrintPageEventArgs e) + { + e.Graphics.DrawRectangle(new Pen(Brushes.Black, 3), e.MarginBounds.Left, e.MarginBounds.Top, + e.MarginBounds.Width, e.MarginBounds.Height); + + e.Graphics.DrawLine(new Pen(Brushes.Black, 1), new Point(e.MarginBounds.Left, e.MarginBounds.Top + 290), new Point(e.MarginBounds.Right, e.MarginBounds.Top + 290)); + e.Graphics.DrawLine(new Pen(Brushes.Black, 1), new Point(e.MarginBounds.Left, e.MarginBounds.Top + 340), new Point(e.MarginBounds.Right, e.MarginBounds.Top + 340)); + e.Graphics.DrawLine(new Pen(Brushes.Black, 1), new Point(e.MarginBounds.Left, e.MarginBounds.Top + 390), new Point(e.MarginBounds.Right, e.MarginBounds.Top + 390)); + e.Graphics.DrawLine(new Pen(Brushes.Black, 1), new Point(e.MarginBounds.Left, e.MarginBounds.Top + 440), new Point(e.MarginBounds.Right, e.MarginBounds.Top + 440)); + e.Graphics.DrawLine(new Pen(Brushes.Black, 1), new Point(e.MarginBounds.Left, e.MarginBounds.Top + 490), new Point(e.MarginBounds.Right, e.MarginBounds.Top + 490)); + e.Graphics.DrawLine(new Pen(Brushes.Black, 1), new Point(e.MarginBounds.Left, e.MarginBounds.Top + 540), new Point(e.MarginBounds.Right, e.MarginBounds.Top + 540)); + + e.Graphics.DrawLine(new Pen(Brushes.Black, 1), new Point(e.MarginBounds.Left+280, e.MarginBounds.Top + 290), new Point(e.MarginBounds.Left + 280, e.MarginBounds.Top + 540)); + e.Graphics.DrawLine(new Pen(Brushes.Black, 1), new Point(e.MarginBounds.Left + 520, e.MarginBounds.Top + 440), new Point(e.MarginBounds.Left + 520, e.MarginBounds.Top + 490)); + + + int totalWidth = (int)e.PageBounds.Width; + int totalHeight = (int)e.PageBounds.Height; + + CenterTextWriter($"접 수 증", new Font("맑은 고딕", 30, FontStyle.Bold), e.Graphics, totalWidth, e.MarginBounds.Top + 100); + + + e.Graphics.DrawString($"제 {_printFilingReceiptInformation[_count].No}호", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 100, e.MarginBounds.Top + 250); + e.Graphics.DrawString($"접수일 : {_printFilingReceiptInformation[_count].DateReception.ToString("yyyy-MM-dd")}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 500, e.MarginBounds.Top + 250); + + e.Graphics.DrawString($"① 신청인", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 300); + e.Graphics.DrawString($"{_printFilingReceiptInformation[_count].Name}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 300, e.MarginBounds.Top + 300); + e.Graphics.DrawString($"② 생년월일(법인등록번호)", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 350); + e.Graphics.DrawString($"{_printFilingReceiptInformation[_count].PersonalNumber}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 300, e.MarginBounds.Top + 350); + e.Graphics.DrawString($"③ 주소", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 400); + e.Graphics.DrawString($"{_printFilingReceiptInformation[_count].Address}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 300, e.MarginBounds.Top + 400); + e.Graphics.DrawString($"④ 차량번호", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 450); + e.Graphics.DrawString($"화물차량", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 289, e.MarginBounds.Top + 440); + e.Graphics.DrawString($"{_printFilingReceiptInformation[_count].CargoVehicleNumber}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 310, e.MarginBounds.Top + 460); + e.Graphics.DrawString($"일반차량", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 528, e.MarginBounds.Top + 440); + e.Graphics.DrawString($"{_printFilingReceiptInformation[_count].PassengerVehicleNumber}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 550, e.MarginBounds.Top + 460); + e.Graphics.DrawString($"⑤ 대기순번", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 50, e.MarginBounds.Top + 500); + e.Graphics.DrawString($"{_printFilingReceiptInformation[_count].WaitingOrder}", new Font("맑은 고딕", 12), Brushes.Black, e.MarginBounds.Left + 300, e.MarginBounds.Top + 500); + CenterTextWriter("화성도시공사 사장", new Font("맑은 고딕", 20, FontStyle.Bold), e.Graphics, totalWidth, e.MarginBounds.Top + 800); + _count++; + e.HasMorePages = _printFilingReceiptInformation.Count > _count; + } + + private void CenterTextWriter(string text, Font font, Graphics g, int totalWidth, int posY) + { + SizeF textSize = g.MeasureString(text, font); + float textPosX = (totalWidth - textSize.Width) / 2; + g.DrawString(text, font, Brushes.Black, textPosX, posY); + } + + } +}