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