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/ExcelToTable.Designer.cs | 289 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 289 insertions(+), 0 deletions(-)
diff --git a/HotelPms.SourceFactory/ExcelToTable.Designer.cs b/HotelPms.SourceFactory/ExcelToTable.Designer.cs
new file mode 100644
index 0000000..c34c0c6
--- /dev/null
+++ b/HotelPms.SourceFactory/ExcelToTable.Designer.cs
@@ -0,0 +1,289 @@
+namespace HotelPms.SourceFactory
+{
+ partial class ExcelToTable
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.txtPassword = new System.Windows.Forms.TextBox();
+ this.label4 = new System.Windows.Forms.Label();
+ this.txtUser = new System.Windows.Forms.TextBox();
+ this.label3 = new System.Windows.Forms.Label();
+ this.txtDB = new System.Windows.Forms.TextBox();
+ this.label2 = new System.Windows.Forms.Label();
+ this.txtHost = new System.Windows.Forms.TextBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.button3 = new System.Windows.Forms.Button();
+ this.cmbSheet = new System.Windows.Forms.ComboBox();
+ this.txtExcelPath = new System.Windows.Forms.TextBox();
+ this.OpenExcel = new System.Windows.Forms.Button();
+ this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
+ this.button1 = new System.Windows.Forms.Button();
+ this.button2 = new System.Windows.Forms.Button();
+ this.button4 = new System.Windows.Forms.Button();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.txtContext = new System.Windows.Forms.TextBox();
+ this.groupBox1.SuspendLayout();
+ this.panel1.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // groupBox1
+ //
+ this.groupBox1.Controls.Add(this.txtPassword);
+ this.groupBox1.Controls.Add(this.label4);
+ this.groupBox1.Controls.Add(this.txtUser);
+ this.groupBox1.Controls.Add(this.label3);
+ this.groupBox1.Controls.Add(this.txtDB);
+ this.groupBox1.Controls.Add(this.label2);
+ this.groupBox1.Controls.Add(this.txtHost);
+ this.groupBox1.Controls.Add(this.label1);
+ this.groupBox1.Location = new System.Drawing.Point(7, 134);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(770, 96);
+ this.groupBox1.TabIndex = 7;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "DB";
+ //
+ // txtPassword
+ //
+ this.txtPassword.Location = new System.Drawing.Point(261, 48);
+ this.txtPassword.Name = "txtPassword";
+ this.txtPassword.Size = new System.Drawing.Size(129, 23);
+ this.txtPassword.TabIndex = 7;
+ this.txtPassword.Text = "oatcti";
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(200, 51);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(57, 15);
+ this.label4.TabIndex = 6;
+ this.label4.Text = "Password";
+ //
+ // txtUser
+ //
+ this.txtUser.Location = new System.Drawing.Point(58, 48);
+ this.txtUser.Name = "txtUser";
+ this.txtUser.Size = new System.Drawing.Size(129, 23);
+ this.txtUser.TabIndex = 5;
+ this.txtUser.Text = "sa";
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(19, 51);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(30, 15);
+ this.label3.TabIndex = 4;
+ this.label3.Text = "User";
+ //
+ // txtDB
+ //
+ this.txtDB.Location = new System.Drawing.Point(261, 19);
+ this.txtDB.Name = "txtDB";
+ this.txtDB.Size = new System.Drawing.Size(129, 23);
+ this.txtDB.TabIndex = 3;
+ this.txtDB.Text = "HotelPms";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(200, 22);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(22, 15);
+ this.label2.TabIndex = 2;
+ this.label2.Text = "DB";
+ //
+ // txtHost
+ //
+ this.txtHost.Location = new System.Drawing.Point(58, 19);
+ this.txtHost.Name = "txtHost";
+ this.txtHost.Size = new System.Drawing.Size(129, 23);
+ this.txtHost.TabIndex = 1;
+ this.txtHost.Text = "NAVC2-OGI2";
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(19, 22);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(32, 15);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "Host";
+ //
+ // button3
+ //
+ this.button3.Location = new System.Drawing.Point(593, 64);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(184, 50);
+ this.button3.TabIndex = 13;
+ this.button3.Text = "CreateTable一括";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
+ // cmbSheet
+ //
+ this.cmbSheet.FormattingEnabled = true;
+ this.cmbSheet.Location = new System.Drawing.Point(10, 35);
+ this.cmbSheet.Name = "cmbSheet";
+ this.cmbSheet.Size = new System.Drawing.Size(568, 23);
+ this.cmbSheet.TabIndex = 6;
+ //
+ // txtExcelPath
+ //
+ this.txtExcelPath.Location = new System.Drawing.Point(10, 6);
+ this.txtExcelPath.Name = "txtExcelPath";
+ this.txtExcelPath.Size = new System.Drawing.Size(568, 23);
+ this.txtExcelPath.TabIndex = 5;
+ this.txtExcelPath.Text = "D:\\Pms\\HotelPms\\Document\\HotelPmsDB設計_利用.xlsx";
+ //
+ // OpenExcel
+ //
+ this.OpenExcel.Location = new System.Drawing.Point(593, 6);
+ this.OpenExcel.Name = "OpenExcel";
+ this.OpenExcel.Size = new System.Drawing.Size(184, 52);
+ this.OpenExcel.TabIndex = 4;
+ this.OpenExcel.Text = "開く";
+ this.OpenExcel.UseVisualStyleBackColor = true;
+ this.OpenExcel.Click += new System.EventHandler(this.OpenExcel_Click);
+ //
+ // openFileDialog1
+ //
+ this.openFileDialog1.FileName = "openFileDialog1";
+ this.openFileDialog1.Filter = "Excel2003以降|*.xlsx|Excel2003以前|*.xls|すべてのファイル|*.*";
+ //
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(7, 64);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(184, 50);
+ this.button1.TabIndex = 14;
+ this.button1.Text = "test";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // button2
+ //
+ this.button2.Location = new System.Drawing.Point(455, 63);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(110, 42);
+ this.button2.TabIndex = 15;
+ this.button2.Text = "Table単位作成";
+ this.button2.UseVisualStyleBackColor = true;
+ this.button2.Click += new System.EventHandler(this.button2_Click);
+ //
+ // button4
+ //
+ this.button4.Location = new System.Drawing.Point(287, 68);
+ this.button4.Name = "button4";
+ this.button4.Size = new System.Drawing.Size(110, 42);
+ this.button4.TabIndex = 16;
+ this.button4.Text = "Enum作成";
+ this.button4.UseVisualStyleBackColor = true;
+ this.button4.Click += new System.EventHandler(this.button4_Click);
+ //
+ // panel1
+ //
+ this.panel1.Controls.Add(this.txtExcelPath);
+ this.panel1.Controls.Add(this.button4);
+ this.panel1.Controls.Add(this.OpenExcel);
+ this.panel1.Controls.Add(this.button2);
+ this.panel1.Controls.Add(this.cmbSheet);
+ this.panel1.Controls.Add(this.button1);
+ this.panel1.Controls.Add(this.groupBox1);
+ this.panel1.Controls.Add(this.button3);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel1.Location = new System.Drawing.Point(0, 0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(800, 236);
+ this.panel1.TabIndex = 17;
+ //
+ // panel2
+ //
+ this.panel2.Controls.Add(this.txtContext);
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel2.Location = new System.Drawing.Point(0, 236);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(800, 214);
+ this.panel2.TabIndex = 18;
+ //
+ // txtContext
+ //
+ this.txtContext.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.txtContext.Location = new System.Drawing.Point(0, 0);
+ this.txtContext.Multiline = true;
+ this.txtContext.Name = "txtContext";
+ this.txtContext.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ this.txtContext.Size = new System.Drawing.Size(800, 214);
+ this.txtContext.TabIndex = 0;
+ //
+ // ExcelToTable
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(800, 450);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
+ this.Name = "ExcelToTable";
+ this.Text = "ExcelToTable";
+ this.groupBox1.ResumeLayout(false);
+ this.groupBox1.PerformLayout();
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ this.panel2.ResumeLayout(false);
+ this.panel2.PerformLayout();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private GroupBox groupBox1;
+ private Button button3;
+ private TextBox txtPassword;
+ private Label label4;
+ private TextBox txtUser;
+ private Label label3;
+ private TextBox txtDB;
+ private Label label2;
+ private TextBox txtHost;
+ private Label label1;
+ private ComboBox cmbSheet;
+ private TextBox txtExcelPath;
+ private Button OpenExcel;
+ private OpenFileDialog openFileDialog1;
+ private Button button1;
+ private Button button2;
+ private Button button4;
+ private Panel panel1;
+ private Panel panel2;
+ private TextBox txtContext;
+ }
+}
\ No newline at end of file
--
Gitblit v1.10.0