|
|
| . |
|
Control Helpers (for Windows Forms) Overview The MpxUtil.Control class contains shared methods used to work with Windows Forms Controls. Shared (or Static in C#) methods are methods that do not require an object. In this sense, they are similar to free functions in other programming languages. The .NET platform does not have free functions.
Control.SetText .NET requires that properties of Windows Forms Controls are set in the thread of execution where they were created. SetText will safely set the Text property of Windows Forms Controls no matter which thread SetText is called from. Visual Basic
C#
Control.Enable .NET requires that properties of Windows Forms Controls are set in the thread of execution where they were created. Enable will safely set the Enabled property of Windows Forms Controls to True, enabling the control, no matter which thread Enable is called from. Visual Basic
C#
Control.Disable .NET requires that properties of Windows Forms Controls are set in the thread of execution where they were created. Disable will safely set the Enabled property of Windows Forms Controls to False, disabling the control, no matter which thread Disable is called from. Visual Basic
C#
Control.SetEnabled .NET requires that properties of Windows Forms Controls are set in the thread of execution where they were created. SetEnabled will safely set the Enabled property of Windows Forms Controls no matter which thread SetEnabled is called from. Visual Basic
C#
Control.FindControllerComponent FindControllerComponent is useful when creating custom GUI controls. It finds the MPX Controller component that exists on the same Windows Form that the control ctrl is on. The optional name argument is used to find a controller object of a specific name. This is useful when a form has multiple MPX Controller components. Visual Basic
C#
|
||||||||||||
| | | Copyright © 2001-2008 Motion Engineering |