private void btnTools_Click(object sender, EventArgs e) { dlgSerial SetupDialog = new dlgSerial(); SetupDialog.StartPosition = FormStartPosition.CenterParent; SetupDialog.ShowDialog(this); }