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.SourceFactory/FormExProperty.cs | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/HotelPms.SourceFactory/FormExProperty.cs b/HotelPms.SourceFactory/FormExProperty.cs
new file mode 100644
index 0000000..5d4ee25
--- /dev/null
+++ b/HotelPms.SourceFactory/FormExProperty.cs
@@ -0,0 +1,53 @@
+using HotelPms.Share.Windows.Component;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace HotelPms.SourceFactory
+{
+ public partial class FormExProperty : Form
+ {
+ public FormExProperty()
+ {
+ InitializeComponent();
+ }
+
+ private void FormExProperty_Load(object sender, EventArgs e)
+ {
+ var item = new ControlPropertyEx();
+ item.Addition.Add("NameEx", label1.Name + "__ex");
+ item.Addition.Add("Count", label1.Handle.ToInt32());
+ item.Addition.Add("UpdateDate", DateTime.Now);
+ ControlPropertyEx.Data.Add(label1, item);
+
+ item = new ControlPropertyEx();
+ item.Addition.Add("NameEx", textBox1.Name + "__ex");
+ item.Addition.Add("Count", textBox1.Handle.ToInt32());
+ item.Addition.Add("UpdateDate", DateTime.Now);
+ ControlPropertyEx.Data.Add(textBox1, item);
+
+ item = new ControlPropertyEx();
+ item.Addition.Add("NameEx", textBox2.Name + "__ex");
+ item.Addition.Add("Count", textBox2.Handle.ToInt32());
+ item.Addition.Add("UpdateDate", DateTime.Now);
+ ControlPropertyEx.Data.Add(textBox2, item);
+
+ item = new ControlPropertyEx();
+ item.Addition.Add("NameEx", textBox3.Name + "__ex");
+ item.Addition.Add("Count", textBox3.Handle.ToInt32());
+ item.Addition.Add("UpdateDate", DateTime.Now);
+ ControlPropertyEx.Data.Add(textBox3, item);
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show(textBox2.GetPropertyData().ToString());
+ }
+ }
+}
--
Gitblit v1.10.0