ANN: Free C# New Dialog Wizard Posted

  • Thread starter Thread starter Joel Matthias
  • Start date Start date
J

Joel Matthias

Hi,

I have written a small C# wizard that I thought other people may find
useful. I have always wanted to be able to create a simple popup dialog with
an OK and Cancel button in C# with one click. So I wrote a small add-in that
adds a new choice to the list of items that may be added to a C# project.
The new choice is 'Dialog' This adds a System.Windows.Forms.Form derived
class with an OK and Cancel button. Other properties are set such that the
form appears as a standard popup dialog. The template used may be customized
by simply editing a template .cs file.

http://www.voxcode.com/DialogAddin.htm

Enjoy...

Joel, VoxCode LLC
 
If you want to just display a text message then you would use the MessageBox
class. This wizard simply creates a template form for complex dialogs
containing OK and Cancel buttons. I got tired of adding the two buttons and
then setting the correct DialogResult codes and Accept and Cancel form
properties and the other properties that make a form act like a regular
popup dialog.

Joel, VoxCode LLC
 
Back
Top