| C# |
|---|
| public class FormCommon |
| CreateTablesPrompt | Verify create of missing tables. |
| SetString | Sets the string to "-" if it is empty or blanks and to "" if it is "-". |
| RestoreSplitDistance | Restore the splitter distance. |
| SetLabelsBackColor | Sets the BackColor for the labels. |
| SetMenuState | Sets the enable state for the menu items. |
| SetToolState | Sets the enable state for the tool items. |
| ShowError | Displays the error text if not null. |
| ShowHasError | Displays "No records affected." if the affected count is less than 1. |
| HandleNumberOrEditKey | Checks the key character for a numeric or allowed control value. |
| HandleSpace | Checks the key character for a space. |
| StripBlanks | Strips blanks from the string. |
| StripNonDigits | Strips non-digits from a string. |
| SaveFile | Displays the Save dialog to select a file. |
| SelectFile | Displays the Open dialog to select a file. |
| ShellFile | Execute a program with the selected file. |
| ShellProgram | Executes an external program. |
| CreateGradient | Draws a gradient in the specified rectangle. |
| CropImage | Crops an image. |
| ResizeImage | Resizes an image. |
| TransformCrop | Transforms the crop rectangle values of the sample image relative to the values of the origina |
| GetMenuScreenPoint | Get the control target menu screen position. |
| GetScreenRectangle | Gets the Control screen rectangle. |
| GetScreenPoint | Converts the Control point to Screen point. |
| AddError | Standard Add error message. |
| DataError | Standard Duplicate error message. |
| HandleNumber | Checks the key character for a numeric or allowed control value. |
| NotSortable | Sets the grid columns to not sortable. |
| TextNoSpaceChanged | Strips blanks from the text value. |
| TextNoSpaceKeyPress | Does not allow spaces. |
| UpdateError | Standard Update error message. |
| DefaultMinusOne | Defaults a numeric value to negative one. |
| DefaultZero | Defaults a numeric value to Zero. |
| IsNumber | Checks the string for a allowed numeric values. |
| RestoreMenuFontSize | Missing Summary |
| RestoreTabsFontSize | Missing Summary |
| SaveMenuFontSize | Missing Summary |
| SaveTabFontSize | Missing Summary |
| DeleteConfirm | The Delete Confirmation message. |
| DeleteError | The Delete Error message. |