Manages a collection of SmartTips in conjunction with
a dedicated SmartTips form.
Inheritance Hierarchy
CleanCode.Forms SmartTipsManager
Namespace: CleanCode.Forms
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
Remarks
-
A
TabControl containing
a collection of
TabPages.
Each TabPage details one SmartTip; the name
of the TabPage must be xxxTabPage,
where xxx is the unique identifier of the SmartTip.
-
A common
CheckBox for suppressing
the current SmartTip.
-
A common
CheckBox for disabling all SmartTips.
string initialPackedDictionary = Properties.Settings.Default.SmartTipsDict; smartTipsManager = new SmartTipsManager(this, smartTrace, initialPackedDictionary, tabControl, defaultTabPage, suppressCheckBox, disableCheckBox); smartTipsManager.SetLastTab();
smartTipsManager.HandleFormClosing(e); Properties.Settings.Default.SmartTipsDict = smartTipsManager.GetDictionary();
smartTipsManager.InitializeTab();
smartTipsManager.ResetAllTabs(); // To re-enable all suppressed tabs. smartTipsManager.SetSuppressed(); // To suppress or allow current tab. smartTipsManager.ShowTip(attribute); // To show a tip
Since CleanCode 0.9.07.
See Also