From 1a1c8e71fcd14858f595029f089b2d4a00202b32 Mon Sep 17 00:00:00 2001
From: ogi <Administrator@S-OGI-PC>
Date: Fri, 05 Dec 2025 09:24:16 +0900
Subject: [PATCH] プロジェクトファイルを追加。
---
HotelPms.Share.Windows/Tool/ExitDialog.cs | 92 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 92 insertions(+), 0 deletions(-)
diff --git a/HotelPms.Share.Windows/Tool/ExitDialog.cs b/HotelPms.Share.Windows/Tool/ExitDialog.cs
new file mode 100644
index 0000000..46e9b45
--- /dev/null
+++ b/HotelPms.Share.Windows/Tool/ExitDialog.cs
@@ -0,0 +1,92 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Text;
+using System.Windows.Forms;
+using System.Data.SqlClient;
+using HotelPms.Share.Util;
+using HotelPms.Share.Windows.Util;
+
+namespace HotelPms.Share.Windows.Tool
+{
+ public partial class ExitDialog : Form
+ {
+
+ /// ****************************** Description *******************************
+ /// ���V�X�e������
+ /// �@�z�e���Ǘ��V�X�e��
+ /// ���T�v
+ /// �@�ҏW�I�����
+ /// ������
+ /// �@2008/03/28�@���@�����@�@�V�K�쐬
+ /// ****************************** Declarations ******************************
+
+ #region �����������@Declartions�@����������
+
+ private int activeIndex = 1;
+
+ #endregion
+
+ #region �����������@Property�@����������
+ #endregion
+
+ #region �����������@Class Event�@����������
+
+ public ExitDialog()
+ {
+ InitializeComponent();
+ }
+
+ private void ExitDialog_Load(object sender, EventArgs e)
+ {
+ }
+
+ #endregion
+
+ #region �����������@Control Event�@����������
+
+ private void btnCmd_Click(object sender, EventArgs e)
+ {
+ activeIndex = CConvert.ToInt((sender as Button).Name.Replace("btnCmd", string.Empty));
+ switch (activeIndex)
+ {
+ case 1:
+ //�߂�
+ this.DialogResult = DialogResult.Cancel;
+ break;
+ case 2:
+ //�ۑ�
+ this.DialogResult = DialogResult.OK;
+ break;
+ case 3:
+ //�j��
+ this.DialogResult = DialogResult.Abort;
+ break;
+ }
+ this.Close();
+ }
+
+ #endregion
+
+ #region �����������@Private Function�@����������
+
+ #endregion
+
+ #region �����������@Public Function�@����������
+
+ public static DialogResult ExecuteDialog()
+ {
+ DialogResult ret = DialogResult.Cancel;
+ ExitDialog form = new ExitDialog();
+ ret = form.ShowDialog();
+ form.Dispose();
+ return ret;
+ }
+
+ #endregion
+
+
+ }
+}
\ No newline at end of file
--
Gitblit v1.10.0