c# message Forms vs Windows code example Example: c# MessageBox MessageBox.Show("text", "title", MessageBoxButtons.OK, MessageBoxIcon.Warning);