버그 수정 및 v1.0 빌드
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using HSUCO_Cargo_Garage_Operation_Program.Properties;
|
||||
using MetroFramework;
|
||||
using MetroFramework;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
@@ -145,9 +144,9 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl
|
||||
{
|
||||
PrintFilingReceipt printFilingReceipt = new PrintFilingReceipt(new List<PrintFilingReceiptInformation>() { printFilingReceiptInformation });
|
||||
printFilingReceipt.Print();
|
||||
|
||||
|
||||
}
|
||||
catch(Exception ex)
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex.Message);
|
||||
}
|
||||
|
@@ -183,8 +183,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program
|
||||
public static bool ApplicantCheckAlready(string CargoVehicleNumber)
|
||||
{
|
||||
var count = 0;
|
||||
var query = string.Format($"SELECT COUNT(*) FROM ViewApplicantList WHERE CargoVehicleNumber = '{0}' AND RegistrationStatus={(int)ERegistrationStatus.Wait};",
|
||||
CargoVehicleNumber.Trim());
|
||||
var query = $"SELECT COUNT(*) FROM ViewApplicantList WHERE CargoVehicleNumber = '{CargoVehicleNumber}' AND RegistrationStatus={(int)ERegistrationStatus.Wait};";
|
||||
|
||||
using (var command = _sqLiteConnection.CreateCommand())
|
||||
{
|
||||
|
@@ -71,9 +71,12 @@ namespace HSUCO_Cargo_Garage_Operation_Program
|
||||
if (_printFilingReceiptInformation[_count].Address.Length > 20)
|
||||
{
|
||||
int index = _printFilingReceiptInformation[_count].Address.IndexOf(' ', 20);
|
||||
address = _printFilingReceiptInformation[_count].Address.Substring(0, index);
|
||||
address += "\r\n";
|
||||
address += _printFilingReceiptInformation[_count].Address.Substring(index, _printFilingReceiptInformation[_count].Address.Length - index);
|
||||
if (index != -1)
|
||||
{
|
||||
address = _printFilingReceiptInformation[_count].Address.Substring(0, index);
|
||||
address += "\r\n";
|
||||
address += _printFilingReceiptInformation[_count].Address.Substring(index, _printFilingReceiptInformation[_count].Address.Length - index);
|
||||
}
|
||||
}
|
||||
|
||||
e.Graphics.DrawString($"{address}", new Font("맑은 고딕", 12), Brushes.Black, left + 300, top + 390);
|
||||
|
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
||||
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
|
||||
// 기본값으로 할 수 있습니다.
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.3.*")]
|
||||
[assembly: AssemblyFileVersion("0.3.*")]
|
||||
[assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyFileVersion("1.0.*")]
|
||||
|
Reference in New Issue
Block a user