Files
HLib/Input/Gamen/NumericInputForm.cs
2026-06-01 13:23:34 +09:00

42 lines
1.0 KiB
C#

using KssSmaPlaLib.Forms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.Entity.Core.Mapping;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace KssSmaPlaLib.Input.Gamen
{
public partial class NumericInputForm : Form
{
public decimal NumericNumeric { get; set; } = 0;
public NumericInputForm(decimal numeric)
{
InitializeComponent();
NumericUpDownNumeric.Value = numeric;
}
private void NumericInputForm_Load(object sender, EventArgs e)
{
FormHelper.LoadFormBounds(this);
}
private void NumericInputForm_FormClosing(object sender, FormClosingEventArgs e)
{
FormHelper.SaveFormBounds(this);
}
private void OkButton_Click(object sender, EventArgs e)
{
NumericNumeric = NumericUpDownNumeric.Value;
}
}
}