mirror of
https://github.com/AdAstra-LD/DS-Pokemon-Rom-Editor.git
synced 2026-05-09 21:50:57 -05:00
Fixed one-line conditionals, fixed some script command names, enabled some of the quick script cmd buttons
31 lines
709 B
C#
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();
|
|
}
|
|
}
|
|
}
|