HeaderPane
Main
Hide
Share Link
Print

Samples

SftMask/NET includes sample code for C# and VB.NET.

The following samples can be found in the folder C:\Program Files (x86)\Softelvdm\SftMask NET 3.0\Samples:

C#

SampleDescription
C# DemoSample SampleShows fields for a phone number, a ZIP+4 code, an amount with the popup calculator, a percentage, a quantity, an IP address, a hexadecimal color, a license key, a PIN, a city with autocomplete and a file name with an ellipsis button, with options that change the culture, dark mode, high contrast, the input mode, the entry selection, the prompt character, the underlines and the colors for invalid contents.
C# EventViewer SampleInspects the events of an amount with up and down buttons and the popup calculator and of a part number with autocomplete and an ellipsis button, refuses amounts over 10,000 in the CustomValidation event and cancels the calculator in the CalculatorOpening event.

VB.NET

SampleDescription
VB.NET DemoSample SampleShows fields for a phone number, a ZIP+4 code, an amount with the popup calculator, a percentage, a quantity, an IP address, a hexadecimal color, a license key, a PIN, a city with autocomplete and a file name with an ellipsis button, with options that change the culture, dark mode, high contrast, the input mode, the entry selection, the prompt character, the underlines and the colors for invalid contents.
VB.NET EventViewer SampleInspects the events of an amount with up and down buttons and the popup calculator and of a part number with autocomplete and an ellipsis button, refuses amounts over 10,000 in the CustomValidation event and cancels the calculator in the CalculatorOpening event.

EventViewer Sample