Confrimation Box in Window Application

CodeKeep C# Feed Giugno 6th, 2008

Description: Display Confrimation Box in Window Application

Link: http://www.codekeep.net/snippets/3e4fd021-315b-41e4-b803-47004b5114eb.aspx

private void button1_Click(object sender, EventArgs e)
        {
            int i=(int)MessageBox.Show("Do you want to close this Add Form", "Midatlantic System", System.Windows.Forms.MessageBoxButtons.YesNo, System.Windows.Forms.MessageBoxIcon.Warning);
            MessageBox.Show(i.ToString());
            return;
        }

  • .NET
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Comments are closed.

Trackback URI |