제보된 버그 수정

This commit is contained in:
2023-10-13 11:39:43 +09:00
parent 8c37e85de0
commit 652e0fa013
5 changed files with 6 additions and 9 deletions

View File

@@ -50,7 +50,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomForm
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
var result = excelWrapper.WriteDataTableToExcel((DataTable)dataGridView_List.DataSource, "UserList", saveFileDialog.FileName, "대기자 등록 리스트", Environment.MachineName, DateTime.Now);
var result = excelWrapper.WriteDataTableToExcel((DataTable)dataGridView_List.DataSource, "당첨 결과 리스트", saveFileDialog.FileName, "당첨 결과 리스트", Environment.MachineName, DateTime.Now);
if (result)
{
MetroMessageBox.Show(this, "엑셀 파일 저장에 성공하였습니다.", "Excel Export", MessageBoxButtons.OK, MessageBoxIcon.Information);

View File

@@ -1,5 +1,4 @@
using HSUCO_Cargo_Garage_Operation_Program.Properties;
using MetroFramework;
using MetroFramework;
using System;
using System.Collections.Generic;
using System.Data;
@@ -23,7 +22,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
var result = excelWrapper.WriteDataTableToExcel((DataTable)dataGridView_List.DataSource, "Certificate", saveFileDialog.FileName, "정기권 발급 대장", Environment.MachineName, DateTime.Now);
var result = excelWrapper.WriteDataTableToExcel((DataTable)dataGridView_List.DataSource, "Certificate", saveFileDialog.FileName, "증명서 발급 대장", Environment.MachineName, DateTime.Now);
if (result)
{
MetroMessageBox.Show(this, "엑셀 파일 저장에 성공하였습니다.", "Excel Export", MessageBoxButtons.OK, MessageBoxIcon.Information);

View File

@@ -200,7 +200,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
var result = excelWrapper.WriteDataTableToExcel((DataTable)dataGridView_List.DataSource, "당첨 신청자 리스트", saveFileDialog.FileName, "당첨 신청자 리스트", Environment.MachineName, DateTime.Now);
var result = excelWrapper.WriteDataTableToExcel((DataTable)dataGridView_List.DataSource, "대기자 리스트", saveFileDialog.FileName, "대기자 리스트", Environment.MachineName, DateTime.Now);
if (result)
{
MetroMessageBox.Show(this, "엑셀 파일 저장에 성공하였습니다.", "Excel Export", MessageBoxButtons.OK, MessageBoxIcon.Information);
@@ -217,7 +217,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl
{
var selectCount = dataGridView_List.SelectedRows.Count;
if (selectCount == 0) return;
string no = dataGridView_List.SelectedRows[0].Cells[0].Value.ToString();
string no = dataGridView_List.SelectedRows[0].Cells[1].Value.ToString();
UpdateUserInformation updateUserInformation = Database.GetUserData(EUserInformationType.ApplicantList, no);
UpdateUserData updateUserData = new UpdateUserData(updateUserInformation);

View File

@@ -17,7 +17,5 @@ namespace HSUCO_Cargo_Garage_Operation_Program
this.Text = $"{Global.GlobalSettings.GarageName} 화물 차고지 운영프로그램 v{System.Reflection.Assembly.GetExecutingAssembly().GetName().Version}";
applicant1.GarageName(Global.GlobalSettings.GarageName);
}
}
}