private void profilesToolStripMenuItem_Click(object sender, EventArgs e)
{
DataProfileForm f = new DataProfileForm();
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) {
// Do something...
//messageBox Arguments are (Text, Title, No Button Visible, Cancel Button Visible)
MessageBoxForm.msgIcon = SystemIcons.Information; //this is used if you want to add a system icon to the message form.
var messageBox = new MessageBoxForm("You must re-start Vixen for the changes to take effect.", "Profiles Changed", false, false);
messageBox.ShowDialog();
}
}