Controls

Many window-based applications contain different user interface controls that were designed to make the work with the application more convenient and easy to use for its users. The most frequently used controls are

  • labels

  • textboxes

  • buttons

  • listboxes

We learn in this section how to incorporate these controls into our GUI applications. When we create a new control for our form, we should add it to the controls collection of the form. We can do it by calling the Add method on the Controls property of the Form class.

with Function

When working with controls, we often need to set multiple properties for a single object representing some control. To make it easier, we can use the with function exposed by the PerlNET module. Its syntax is similar ...

Get Programming PERL in the .NET Environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.