static void ContextMenu_Info(object sender, EventArgs e) { InfoDialog dialog = new InfoDialog(); dialog.StartPosition = FormStartPosition.CenterScreen; dialog.ShowDialog(); }