BaseForm.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.