Saturday, April 28, 2007
« Check Box with a Data Property | Main | Moby 15. Arron 9. »

I came across this (in an asp.net page) last week:

protected void Page_Load(object sender, EventArgs e) {

    System.Windows.Forms.MessageBoxButtons buttons = System.Windows.Forms.MessageBoxButtons.YesNo;

    System.Windows.Forms.DialogResult result;

 

    result = System.Windows.Forms.MessageBox.Show("Test Message", "Test Caption", buttons);

}

 

kick it on DotNetKicks.com   Saturday, April 28, 2007 5:32:48 AM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [2]  | 
Thursday, July 05, 2007 12:40:23 PM (Pacific Standard Time, UTC-08:00)
off hand, if it's an asp.net WEB page - it's calling from the Windows Forms namespace. I didn't think one could do that??
Tuesday, August 14, 2007 2:28:02 AM (Pacific Standard Time, UTC-08:00)
The result isn't used either.
Al
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview