Skip to content

Commit

Permalink
Change file encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
woin2ee committed Jul 1, 2024
1 parent a936cb4 commit 7769608
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions MemoGenerator/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ public MainWindow()
invoiceDateErrorTextBox.Visibility = Visibility.Collapsed;

var appWindow = WindowUtil.GetAppWindow(this);
appWindow.Title = "일이삼사";
appWindow.Title = "일이삼사";
WindowUtil.CenterToScreen(this);
appWindow.Resize(new SizeInt32 { Width = 900, Height = 450 }); // 창 크기
appWindow.Resize(new SizeInt32 { Width = 900, Height = 450 }); // 창 크기
((OverlappedPresenter)appWindow.Presenter).IsAlwaysOnTop = false;
((OverlappedPresenter)appWindow.Presenter).IsMaximizable = false; // 최대화 가능 여부
((OverlappedPresenter)appWindow.Presenter).IsMaximizable = false; // 최대화 가능 여부
((OverlappedPresenter)appWindow.Presenter).IsResizable = false;
//((OverlappedPresenter)appWindow.Presenter).Maximize(); // 실행 시 창이 최대화 상태로 나타남
appWindow.SetPresenter(AppWindowPresenterKind.Default); // 화면 형태 설정
//((OverlappedPresenter)appWindow.Presenter).Maximize(); // 실행 시 창이 최대화 상태로 나타남
appWindow.SetPresenter(AppWindowPresenterKind.Default); // 화면 형태 설정

this.AppWindow.SetIcon("C:\\Users\\y\\Desktop\\Visual Studio\\Projects\\MemoGenerator\\MemoGenerator\\Assets\\app-icon.ico");
}
Expand Down Expand Up @@ -93,15 +93,15 @@ private void updateIdentifyingComponent(object sender, TextChangedEventArgs e)

private void updatePaymentProofMethodComponent(object sender, RoutedEventArgs e)
{
// 함께사는 세상 옵션 추가
// 분할 발행 기능
// 함께사는 세상 옵션 추가
// 분할 발행 기능

string companyName = "";
invoiceDateErrorTextBox.Visibility = Visibility.Collapsed;

if (companyCheckBox.IsChecked == true)
{
companyName = " 대미";
companyName = " 대미";
}

var invoiceDate = "";
Expand All @@ -116,15 +116,15 @@ private void updatePaymentProofMethodComponent(object sender, RoutedEventArgs e)

if (taxInvoiceCheckBox.IsChecked == true && transactionStatementCheckBox.IsChecked == true)
{
paymentProofMethodComponent = "-[" + invoiceDate + " 자" + companyName + " 계산서/명세서 발행]";
paymentProofMethodComponent = "-[" + invoiceDate + " 자" + companyName + " 계산서/명세서 발행]";
}
else if (taxInvoiceCheckBox.IsChecked == true)
{
paymentProofMethodComponent = "-[" + invoiceDate + " 자" + companyName + " 계산서 발행]";
paymentProofMethodComponent = "-[" + invoiceDate + " 자" + companyName + " 계산서 발행]";
}
else if (transactionStatementCheckBox.IsChecked == true)
{
paymentProofMethodComponent = "-[" + invoiceDate + " 자" + companyName + " 명세서 발행]";
paymentProofMethodComponent = "-[" + invoiceDate + " 자" + companyName + " 명세서 발행]";
}
else
{
Expand All @@ -137,15 +137,15 @@ private void updateDocumentsDeliveryRouteComponent(object sender, RoutedEventArg
{
if (sendingEmailCheckBox.IsChecked == true && sendingRegisteredCheckBox.IsChecked == true)
{
documentsDeliveryRouteComponent = "-[서류(*) 메일/등기 발송]";
documentsDeliveryRouteComponent = "-[서류(*) 메일/등기 발송]";
}
else if (sendingEmailCheckBox.IsChecked == true)
{
documentsDeliveryRouteComponent = "-[서류(*) 메일 발송]";
documentsDeliveryRouteComponent = "-[서류(*) 메일 발송]";
}
else if (sendingRegisteredCheckBox.IsChecked == true)
{
documentsDeliveryRouteComponent = "-[서류(*) 등기 발송]";
documentsDeliveryRouteComponent = "-[서류(*) 등기 발송]";
}
else
{
Expand Down

0 comments on commit 7769608

Please sign in to comment.