{%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% osCommerce Product Manager for Windows (oscpmwin). Copyright ©2003-2006 by Mario A. Valdez-Ramirez. You can contact Mario A. Valdez-Ramirez by email at mario@mariovaldez.org or paper mail at Olmos 809, San Nicolas, NL. 66495, Mexico. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%} unit license; interface uses Controls, Forms, StdCtrls, Buttons, Classes, ComCtrls; type Topm_Form_License = class(TForm) opm_Memo_License: TMemo; opm_BitBtn_LicenseOk: TBitBtn; opm_StatusBar_License: TStatusBar; procedure FormCreate(Sender: TObject); procedure FormShow(Sender: TObject); private { Private declarations } public end; var opm_Form_License: Topm_Form_License; implementation uses gnugettext, oscpmdata, dataman; {$R *.dfm} {$R license_text.RES} {%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%} {%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%} procedure Topm_Form_License.FormCreate(Sender: TObject); begin opm_Memo_License.Lines.Text := FNopm_StringFromResource ('license_body'); TranslateComponent (self); end; {%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%} {%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%} procedure Topm_Form_License.FormShow(Sender: TObject); begin opm_Form_License.Caption := _('License of ') + opmC_AppShortName; end; end.