public static void open(int x, int y, int startingValue, int maxV, Form parent) { close(); Instance = new FloatingInput(); Instance.Location = new Point(x, y); Instance.init(startingValue, maxV); Instance.Show(parent); }
public static void openDisband(int x, int y, int startingValue, int maxV, Form parent) { close(); Instance = new FloatingInput(); Instance.Location = new Point(x, y); Instance.MinimumSize = new Size(60, 0x13); Instance.Size = new Size(60, 0x13); Instance.MaximumSize = new Size(60, 0x13); Instance.textBox1.BackColor = Color.FromArgb(0x4a, 0x56, 0x5c); Instance.textBox1.ForeColor = ARGBColors.White; Instance.BackColor = Color.FromArgb(0x4a, 0x56, 0x5c); Instance.init(startingValue, maxV); Instance.Show(parent); }