You should get the location of rbRunMacro
relative to the entire screen (see link).
form.Location = this.tsMacroRecorder.PointToScreen(rbRunMacro.Bounds.Location);
The reason we use ToolStrip.PointToScreen
is that ToolStripButton
does not offer the PointToScreen
method. Therefore, we have to use ToolStripButton.Location
to get the location of rbRunMacro
relative to its parent control (see link).