|
The feature allows you to add procedures (functions, properties or subroutines) to the source code easily through a dialog window.
MZ-Tools offers the following ways to show the window:
- The menu.
- The context menu of a code window.
- The button on the toolbar.
- The keyboard shortcut associated with the command.
The window is the following:

In this window, you can enter the following:
- : the name of the procedure.
- : the scope of the procedure.
- : property (Get and/or Set), function or subroutine. In the case of properties, MZ-Tools suggests a name for the member variable, although you can change it.
- : the list of parameters of a function or subroutine.
- : for example static, sealed, etc. for C# procedures or Shared, NotOverridable, etc. for VB.NET procedures.
- : the return data type of a property or function. It can be a simple .NET type (String, Boolean, etc.), a class, an enum, a collection or a control. You can enter the type directly in the editable combobox or you can fill the list with available types clicking the button.
- : select it if you want to add a header to the procedure (see the Add Procedure Header feature).
When you click the button (or press the key), the needed code is added to the current code window. You can repeat the operation several times with different values before closing the window.
Remarks:
- If the current line is a blank line between two procedures, then the procedure is inserted at that line. Otherwise, it is appended to the end of the class.
- You can customize the nomenclature preferences for member variables in the window, section.
- This feature is not available for the C++ language.
See Also:
New Procedure Assistant Options
Add Procedure Header
Add Procedure Header Options
Nomenclature Options
Keyboard Shortcuts Options
|