2using System.Collections.Generic;
3using System.ComponentModel;
8using System.Threading.Tasks;
9using System.Windows.Forms;
13 public partial class MagicSelect : Form
15 public MagicSelect(
int index)
17 InitializeComponent();
18 thBox.SelectedIndex = index;
20 private bool numeric =
false;
34 return (
int)numBox.Value;
40 get {
return (
int)minBox.Value; }
44 get {
return (
int)maxBox.Value; }
50 return thBox.SelectedIndex;
53 private void numericBox_CheckedChanged(
object sender, EventArgs e)
55 numeric = numericBox.Checked;
58 private void okBut_Click(
object sender, EventArgs e)
60 DialogResult = DialogResult.OK;