添加项目文件。

This commit is contained in:
xyy
2026-01-16 20:53:33 +08:00
parent a75be0a011
commit a254118c27
92 changed files with 36090 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
using System;
using System.Windows.Forms;
namespace _定制款.
{
public partial class InputBoxForm : Form
{
public string InputText { get; private set; }
public InputBoxForm(string title, string prompt)
{
InitializeComponent();
this.Text = title;
lblPrompt.Text = prompt;
}
private void btnOK_Click(object sender, EventArgs e)
{
InputText = txtInput.Text;
this.DialogResult = DialogResult.OK;
this.Close();
}
private void btnCancel_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
this.Close();
}
}
}