/ Published in: C#

The URL has code for an InputBoxDialog class that implements a simple input dialog.
The button flatstyle property might need to be changed to match the default.
The button flatstyle property might need to be changed to match the default.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Example usage. See URL for implementation. ib.FormPrompt = prompt; ib.FormCaption = title; ib.DefaultValue = defaultValue; ib.ShowDialog(); string s = ib.InputResponse; ib.Close();
URL: http://www.knowdotnet.com/articles/inputbox.html
Comments
