BaseForm.Update Method

Definition

When overridden in a derived class, updates the view of the form.

protected:
 virtual void Update();
protected virtual void Update ();
override this.Update : unit -> unit
Protected Overridable Sub Update ()

Examples

The following example sets the System.Windows.Forms.Form.HelpButton object to the value of the CanShowHelp property and updates the time that is displayed.

protected override void Update() {
    HelpButton = CanShowHelp;
    updateTimeDisplay();
}

Remarks

The default implementation sets the System.Windows.Forms.Form.HelpButton object to the value of the CanShowHelp property.

Applies to