Rebinding User Interface Controls

There are two main ways to rebind user interface controls:

  1. Call the form's BindControl() method, passing a reference to the control

    For example:

    this.BindControl(myTextBox);

  2. Call the business object's CallStateChange() method, passing mmBusinessState.Bind. This causes the business object to raise the StateChange event and all controls registered as listeners are rebound.

    For example:

    Inventory.CallStateChange(mmBusinessState.Bind);


© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 11/09/06
Comment or report problem with topic