CodeSnip Old Code (SVN)
A repository for source code snippets, designed with Pascal in mind.
Brought to you by:
delphidabbler
changed | /trunk/Src/UDialogMgr.pas |
--- a/trunk/Src/UDialogMgr.pas +++ b/trunk/Src/UDialogMgr.pas @@ -123,6 +123,9 @@ {Displays Proxy Server configuration dialog box. @return True if user OKs or False if user cancels. } + procedure ShowNewsDlg; + {Displays latest news about CodeSnip and database in a dialog box. + } end; @@ -132,9 +135,9 @@ uses // Project FmAboutDlg, FmDependenciesDlg, FmDonateDlg, FmFindCompilerDlg, FmFindTextDlg, - FmFindXRefsDlg, FmPreferencesDlg, FmPrintDlg, - FmProxyServerDlg, FmRegistrationDlg, FmSelectionSearchDlg, FmUpdateDlg, - FmUserBugReportDlg, UPageSetupDlgMgr, UTestUnitDlgMgr; + FmFindXRefsDlg, FmNewsDlg, FmPreferencesDlg, FmPrintDlg, FmProxyServerDlg, + FmRegistrationDlg, FmSelectionSearchDlg, FmUpdateDlg, FmUserBugReportDlg, + UPageSetupDlgMgr, UTestUnitDlgMgr; { TDialogMgr } @@ -258,6 +261,13 @@ TDonateDlg.Execute(Owner); end; +procedure TDialogMgr.ShowNewsDlg; + {Displays latest news about CodeSnip and database in a dialog box. + } +begin + TNewsDlg.Execute(Owner); +end; + procedure TDialogMgr.ShowTestUnit(const Snippet: TRoutine); {Displays test unit used to test compile a snippet. @param Snippet [in] Snippet to be test compiled.