With the SftMask.ButtonStyle property set to ButtonStyleEnum.Ellipse, the field shows an ellipse button. Clicking it, or pressing Alt+Down, raises the SftMask.EllipseClick event, where the application shows its own selection dialog, such as a file dialog, a color picker or a lookup of customer numbers, and puts the result into the field.

The SftMask.UpDownAlign property defines the side the button is shown on, the SftMask.HotTrack property highlights it while the mouse is over it, the SftMask.ReadOnlyEllipse property disables it and Alt+Down (as the SftMask.ReadOnly property does), and the SftMask.PerformEllipseClick method raises the event as a click does.
C#
private void sftMask1_EllipseClick(object sender, EventArgs e) {
using (OpenFileDialog dlg = new OpenFileDialog()) {
dlg.FileName = sftMask1.Text;
if (dlg.ShowDialog(this) == DialogResult.OK)
sftMask1.Text = dlg.FileName;
}
}VB
Private Sub SftMask1_EllipseClick(sender As Object, e As EventArgs) Handles SftMask1.EllipseClick Using dlg As New OpenFileDialog() dlg.FileName = SftMask1.Text If dlg.ShowDialog(Me) = DialogResult.OK Then SftMask1.Text = dlg.FileName End If End Using End Sub