mirror of
https://github.com/AdAstra-LD/DS-Pokemon-Rom-Editor.git
synced 2026-05-10 22:21:05 -05:00
31 lines
708 B
C#
31 lines
708 B
C#
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 DSPRE
|
|
{
|
|
public partial class InsertValueDialog : Form
|
|
{
|
|
public bool okSelected = new bool();
|
|
|
|
public InsertValueDialog(string valueLabel, string format)
|
|
{
|
|
InitializeComponent();
|
|
label1.Text = valueLabel;
|
|
numericUpDown1.Hexadecimal = (format == "hex");
|
|
}
|
|
|
|
private void okButton_Click(object sender, EventArgs e)
|
|
{
|
|
okSelected = true;
|
|
this.Close();
|
|
}
|
|
}
|
|
}
|