DS-Pokemon-Rom-Editor/DS_Map/InsertValueDialog.cs
AdAstra-LD 403feaadc0 Minor fixes
Fixed one-line conditionals, fixed some script command names, enabled some of the quick script cmd buttons
2021-01-01 05:17:43 +01:00

31 lines
709 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 DS_Map
{
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();
}
}
}