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/Component/PropertyDialog/FormInputType.cs |   81 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 81 insertions(+), 0 deletions(-)

diff --git a/HotelPms.Share.Windows/Component/PropertyDialog/FormInputType.cs b/HotelPms.Share.Windows/Component/PropertyDialog/FormInputType.cs
new file mode 100644
index 0000000..4031dd8
--- /dev/null
+++ b/HotelPms.Share.Windows/Component/PropertyDialog/FormInputType.cs
@@ -0,0 +1,81 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Text;
+using System.Windows.Forms;
+
+namespace HotelPms.Share.Windows.Component.PropertyDialog
+{
+    public partial class FormInputType : Form
+    {
+        private string m_InputType = string.Empty;
+
+        //None = 0x1,             //���ɂȂ�
+        //Num = 0x2,              //����
+        //Alpha_S = 0x4,          //�A���t�@�x�b�g��
+        //Alpha_C = 0x8,          //�A���t�@�x�b�g��
+        //Kana = 0x10,            //�J�i
+        //Half = 0x20,            //���p
+        //Full = 0x40,            //�S�p
+        //Num_FieldClear = 0x80,  //���͍ő包��������N���A
+        //Plus_FieldClear = 0x100,//"+"�L�[�ŃN���A
+        //Space = 0x200,          //��
+        //Colon = 0x400,          //":"���”\
+        //Subtract = 0x800,       //"-"
+        //DotSendKeys = 0x1000,   //"."��"000"�Ƃ���
+        //Dot = 0x2000,           //"."
+        //Slash = 0x4000,           //"/"
+        //Comma = 0x8000,        //"," �J���}
+
+        private string[] m_TypeList = new string[] { "0x1", "0x2", "0x4", "0x8", "0x10", "0x20", "0x40", "0x200", "0x400", "0x800", "0x1000", "0x2000", "0x80", "0x100", "0x4000", "0x8000" };
+
+        public string InputType
+        {
+            get { return m_InputType; }
+            set { m_InputType = value; }
+        }
+
+        public FormInputType(string inputType)
+        {
+            m_InputType = inputType;
+            InitializeComponent();
+        }
+
+        private void button1_Click(object sender, EventArgs e)
+        {
+            m_InputType = string.Empty;
+            for (int i = 1; i <= 15; i++)
+            {
+                CheckBox obj = this.Controls[string.Format("chkType{0}", i)] as CheckBox;
+                if (obj.Checked)
+                {
+                    if (m_InputType.Length > 0) { m_InputType += ","; }
+                    m_InputType += m_TypeList[i];
+                }
+            }
+            if (m_InputType.Length == 0) { m_InputType = "0x1"; }
+            this.DialogResult = DialogResult.OK;
+            this.Close();
+        }
+
+        private void button2_Click(object sender, EventArgs e)
+        {
+            this.Close();
+        }
+
+        private void FormInputType_Load(object sender, EventArgs e)
+        {
+            if (m_InputType.Length == 0) { return; }
+            string[] dataList = m_InputType.Split(new char[] { ',' });
+            foreach (string item in dataList)
+            {
+                int index = Array.IndexOf(m_TypeList, item);
+                if (index <= 0) { continue; }
+                (this.Controls[string.Format("chkType{0}", index)] as CheckBox).Checked = true;
+            }
+
+        }
+    }
+}
\ No newline at end of file

--
Gitblit v1.10.0