UtilFormsRestoreFromSystray Method

Restores the visibility of the specified Form from system-tray.

Definition

Namespace: DevCase.Core.Application.Forms
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void RestoreFromSystray(
	Form form,
	NotifyIcon ntfy = null
)

Parameters

form  Form
The target Form to restore.
ntfy  NotifyIcon  (Optional)
The NotifyIcon.

Exceptions

ArgumentNullException ntfy
ArgumentException The NotifyIcon doesn't have an icon.;ntfy or The Form is already visible.;form

See Also