Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).


The ClearContact method clears the information currently displayed on the Edit Contact Information GUI panel. It also closes curContact. Clicking Clear invokes ClearContact. The method does the following:

  1. Clears the Edit Contact Information text boxes.

  2. If curContact is not null it closes curContact and sets the reference to null.

Here is the method. Add the body of the method to the ClearContact stub in PhoneFormObj.cs.

private void ClearContact()
  txtConId.Text = "";
  txtConName.Text = "";
  if (curContact != null)
    curContact = null;
Copy code to clipboard
FeedbackOpens in a new window