private void settingButton_Click(object sender, EventArgs e) { settingsForm form = new settingsForm(); form.StartPosition = FormStartPosition.Manual; form.Location = new Point(this.Location.X + (this.Width - form.Width) / 2, this.Location.Y + (this.Height - form.Height) / 2); form.Show(this); }