text
stringlengths
14
6.51M
unit GoodsAdditionalEditDialog; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ParentForm, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus, Vcl.StdCtrls, cxButtons, cxControls, cxContainer, cxEd...
program landemain; uses crt; {ALGO année bissextile BUT donner le landemain du jour entré par l'utilisateur ENTREE un jour choisi par l'utilisateur SORTIE le jour d'après type date = enregistrement annee, mois, jour :ENTIER finenregistrement fonction bissextile (date : date) : BOOLEEN BUT vérifier si une année e...
unit mnArray; interface uses mnSystem; {-------------------------------- 比较两个数组是否相同。需要长度和内容严格相同。 严格相同的含义是,如果数组元素是字符串、指针或对象,必须是地址相同,而不能仅是指向值相同。 数组结构的第一个longint,即引用次数,不进行比较。 相同时返回True,不同返回False。 Tested in TestUnit. --------------------------------} function mnArrayCompare(const ArrayA, ArrayB; const Element...
unit Autorizacion; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, cxLookAndFeelPainters, StdCtrls, cxButtons, ExtCtrls; type TfrmAutorizacion = class(TForm) Panel1: TPanel; Panel2: TPanel; cxButton22: TcxButton; cxButton1: TcxButton; ...
{$MODESWITCH RESULT+} {$GOTO ON} (************************************************************************* Copyright (c) 1992-2007 The University of Tennessee. All rights reserved. Contributors: * Sergey Bochkanov (ALGLIB project). Translation from FORTRAN to pseudocode. See subroutines comments ...
unit ormbr.model.client; interface uses Classes, DB, SysUtils, Generics.Collections, /// orm ormbr.mapping.attributes, ormbr.types.nullable, ormbr.types.mapping, ormbr.mapping.register, ormbr.types.blob; type [Entity] [Table('client','')] [PrimaryKey('client_id', 'C...
unit StDataStruct; interface uses Sysutils,Classes; type TStack = class(TList) public procedure Push(P : Pointer); function Pop : Pointer; function Top : Pointer; end; TStringObject = class public Value : string; constructor Create(AValue : string); end; TStringStack = class(TSt...
unit InscricaoFiscal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils; type /// <summary> /// Classe base para validação da inscrição fiscal: CPF e CNPJ /// </summary> TInscricaoFiscal = class abstract(TObject) public function DocumentoValido(const ADocumento: string): ...
unit MainUnit; interface uses {$IFDEF FPC} LCLIntf, {$ELSE} Windows, Messages, {$ENDIF} SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, GR32_Image; type TFmPngDemo = class(TForm) ImageDisplay: TImage32; Panel1: TPanel; ButtonLoad: TButton; ButtonSave: TButton; C...
(* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
{*! * Fano Web Framework (https://fanoframework.github.io) * * @link https://github.com/fanoframework/fano * @copyright Copyright (c) 2018 Zamrony P. Juhara * @license https://github.com/fanoframework/fano/blob/master/LICENSE (MIT) *} unit SocketConsts; interface {$MODE OBJFPC} {$H+} resourcestring ...
unit ViewModel.OthIncomeOutcomeDefList; interface uses Model.Interfaces; function CreateOthIncomeOutcomeDefListViewModelClass: IOthIncomeOutcomeDefListViewModelInterface; implementation uses Model.OthIncomeOutcomeDef, Model.FormDeclarations, Model.ProSu.Interfaces, Model.ProSu.InterfaceActions, Model.Pro...
unit Main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Button2: TButton; Edit1: TEdit; Edit2: TEdit; Edit3: TEdit; ToggleBox1: TToggleBox; procedure Button1Cl...
unit UWPDF3; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2007 by Bradford Technologies, Inc. } { This unit is here to allow the PDF preferences to be set silently or to} { to display and interface and a...
unit Module.Autoruns; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Vcl.ImgList, Dialogs, ExtCtrls, ComCtrls, System.Win.Registry, ShellAPI, Vcl.StdCtrls, Winapi.ShlObj, Vcl.ValEdit, //Свои модули CMW.Utils, CMW.OSInfo, CMW.ModuleStruct, Vcl.Grids; // type P...
{$ifdef license} (* Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com ) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this li...
unit AqDrop.Core.Generics.Releaser; interface uses System.TypInfo; type TAqGenericReleaser = class strict private class var FImplementation: TAqGenericReleaser; private class procedure ReleaseImplementation; strict protected function DoTryToRelease(const pType: PTypeInfo; const pD...
unit VerInfo; interface uses SysUtils, WinTypes, Dialogs, Classes; type { define a generic exception class for version info, and an exception to indicate that no version info is available. } EVerInfoError = class( Exception ); ENoVerInfoError = class( Exception ); eNoFixeVerInfo = class( Exception ); ...
unit View.MainForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Controls.Presentation, ViewModel.Main, Model.Main, Model.ProSu.Interfaces, Model.Interfaces; type TMainForm = c...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2013 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of Delphi, C++Builder or RAD Studio (Embarcadero Products). // This software is considered a Re...
unit Util.View; interface uses Vcl.StdCtrls, FireDAC.Comp.Client, SysUtils, Singleton.Connection, VCL.Forms, VCL.Controls, VCL.Mask, Windows, VCL.ComCtrls, Vcl.ExtCtrls, Grids; type TFormEventHelper = class helper for TForm procedure ValidarDataMaskEditExit(Sender: TObject); end; TStringGridEventHelpe...
// this form takes it's content partially from the file "Frame_Video" // and serves as a container for the frame // historically it was intented to use multiple frames at the same time // in order to see multiple webcams at the same time. unit FormCamera; interface uses Windows, Classes, Controls, Forms, ExtCtrls,...
unit Ct06; { ULCT06.DPR*************************************************************** File: CT06.PAS Library Call Demonstrated: 7266 Counter Functions cbC7266Config() cbCLoad32() ...
unit ui.texgamma; interface type PGammaTable = ^TGammaTable; TGammaTable = record Gamma: Single; Value: array [Byte] of Byte; end; var GAMMA_TABLE: TGammaTable; procedure SetGamma(AGamma: Single = 1.6); implementation uses Math; const COne255th = 1 / $FF; procedure SetGamma(AGamma: Sin...
unit uitdProductDropDownInputHelper; {$I twcomp.pas} interface uses Windows, Messages, SysUtils, Variants, Classes, Vcl.Graphics, Controls, Forms, Dialogs, CAS_ACCESS, CAS_TOOLSVARIANT, CAS_Table, genesis_tlb, uOpportunityPositions, ComCtrls, CAS_CONTROLS, CAS_TABLE_CONTROLS, twtools, uVariantTools, ptwcaxsearch_...
unit html_helper_tag; interface uses Classes, SysUtils; const MAX_TAGS_COUNT = 128; MAX_FLAGS_COUNT = 32; type THtmlTagSet = set of 0..MAX_TAGS_COUNT - 1; THtmlTagFlags = set of 0..MAX_FLAGS_COUNT - 1; PHtmlTag = ^THtmlTag; THtmlTag =...
unit core_job; {$mode objfpc}{$H+} interface uses Classes, SysUtils, VectorGeometry, core_types, core_utils,typinfo,VectorTypes; type {Job types} eJobTypes = (jtDig, jtBuild, jtPickUpItem, jtMax); jobSet = set of eJobTypes; { TJob } TJob = class public id:integer; typ:eJobTypes; m:tma...
unit ExportToExcel; { 关于 Excel ODBC Datasource 1. 使用Create Table ABC(C1 char,C2 char)以后,创建两个表ABC,ABC$(系统表) C1,C2的长度是255 2. 使用Drop Table ABC以后,ABC消失,ABC$保留 3. Create Table ABC(C1 char,C2 char,C3 char)不成功,因为ABC$滞留,造成列数不匹配! 只能使用 Create Table ABC3(C1 char,C2 char,C3 char) 4. 实际文件名保存在注册表 HKEY_LOCAL_MACHIN...
program ej17; function mejoresTresdeFeb(localidad:String;rendimiento:Real): Boolean; begin mejoresTresdeFeb:= (localidad='Tres de Febrero') and (rendimiento > 10000); end; function calcRendimiento(hectareas:Real; zona:Integer; precio:Real):Real; var rendimientoPorHa:Real; begin case zona of 1: rendimien...
{*******************************************************} { } { Delphi FireMonkey Notification Service } { } { Implementation Notification Center for Android } { ...
unit Ao03; {ULAO03================================================================ File: AO03.PAS Library Call Demonstrated: cbAOut() cbSetConfig() using BIDACUPDATEMODE and BIDACUPDATECMD Purpose: ...
unit udevmanagers; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Math, FastDIB, FastFX, FastSize, FastFiles, FConvert, FastBlend, Utils, StrUtils, System.json, Vcl.Button...
unit PGroup; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, extctrls; type { TPCheckGroup } TPCheckGroup = class(TCustomGroupBox) private { Private declarations } FEnable : TStrings; FTitle : TCheckBox; protected { Protected declaration...
// ****************************************************************** // // Program Name : AT Software_DNA Library // Program Version: // Platform(s) : Win32, Win64, OSX // Framework : None // // Filename : AT.SoftwareDNA.Consts.pas // File Version : 1.00 // Date Created : 26-APR-2016 // Author ...
unit ParentForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.ActnList, Vcl.Forms, Vcl.Dialogs, dsdDB, cxPropertiesStore, frxClass, dsdAddOn, cxEdit, cxGridCustomTableView; const MY_MESSAGE = WM_USER + 1; type TParentFo...
unit UScreenManager; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Clipbrd, Windows, Graphics, Forms, Controls; type ScreenManager = class class function PrintScreen(filename: String): Boolean; class function getMousePosX: Integer; class function getMousePosY: Integer; ...
unit UnitIO; interface uses Classes, // TFileStream SysUtils, InterfaceIO ; type TIOFile = class(TInterfacedObject, IIO) // read/write string from/into a file const FileName : String = 'data.txt'; private FileDescriptor : TextFile; public constructor Create; destructor Destroy; overri...
//Only compile for the OS X platform. {$IF ( (NOT Defined(MACOS)) OR (Defined(IOS)) )} {$MESSAGE Fatal 'AT.MacOS.Hardware.pas only compiles for the OS X platform.'} {$ENDIF} // ****************************************************************** // // Program Name : Angelic Tech Mac OS X Library // Program Version: ...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
unit GridEx; // %GridEx : 包含对StringGrid的扩展 (***** Code Written By Huang YanLai *****) interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, IniFiles,Grids; //DT_NOPREFIX or DT_WORDBREAK or DT_EDITCONTROL type TStringGridEx = class; TGridDataEvent = procedure (Sende...
(* Copyright (c) 2013, Stefan Glienke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and t...
{ Copyright (c) 2014 Daniele Teti, Daniele Spinetti, bit Time Software (daniele.teti@gmail.com). All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.o...
unit MediCard.Intf; interface uses Data.DB, System.Contnrs, System.SysUtils; const // Запрос скидки на товар MC_DISCOUNT = 1; // Подтверждение продажи товара MC_SALE = 2; // Получение статуса дисконтной карты MC_STATUS = 3; // Продажа товара совершена MC_SALE_COMPLETE = 1; // Продажа товара не с...
unit rallylogevents; {$mode objfpc}{$H+} interface uses Contnrs, Classes, SysUtils; type TDynByteArray = Array of Byte; TRallyLogEvent = class (Tobject) private fCommand : Byte; fValues : TDynByteArray; public constructor Create(const command: Byte; const val...
unit U_Cliente; interface uses U_Atributos; type [TNomeTabela('T_Clientes')] TCliente = class(TEntidade) private FCNPJ: String; FCodigo: Integer; FRazaoSocial: String; FValorUltimaVenda: Real; FTelefone: String; procedure SetCNPJ(const Value: String); ...
{******************************************************************************* Functions to draw a calendar on a canvas *******************************************************************************} unit ALCalendar; interface uses System.types, Vcl.Graphics, Alcinoe.StringUtils; Type {--...
program MinVal; var a, b, c, min: integer; procedure least(x, y, z: integer; var m: integer); (* Finds the minimum of the 3 values *) begin if x < y then m:= x else m:= y; if z < m then m:= z; end; { end of procedure least } begin ...
unit uMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.ListBox, FMX.Layouts; type TDeviceInfoForm = class(TForm) btnGetDeviceInfo: TButton; ListBox1: TListBox; lbOSN...
unit TarFTP.FtpSender; interface uses SysUtils, TarFTP.Interfaces, IdComponent, IdTCPConnection, IdFtp, IdFTPCommon, TarFTP.Utils; type TFtpSender = class(TInterfacedObject, IFtpSender) private FFtp : TIdFTP; FOnProgress : TProgressEvent; FTotalBytes : Int64; procedure Work(ASender: TObject; ...
unit UnAPICep; interface uses IdTCPConnection, IdTCPClient, IdHTTP, IdSSLOpenSSL, System.json, System.SysUtils; type TAPICep = class private FRespCode: Integer; FLogradouro, FComplemento, FBairro, FLocalidade, FUF, FIBGE, FGia, FUnidade : String; procedure BuscarCep(pCep...
unit sadmob; {$mode delphi} interface uses Classes, SysUtils, And_jni, AndroidWidget, systryparent; type TAdMobBannerSize = ( admobSmartBanner, //0 - screen width x 32|50|90 Smart Banner Phones and Tablets SMART_BANNER admobBanner, //1 - 320x50 Banner Phones and Tablets BANNER admobLarg...
{******************************************************************************} { } { IPGeoLocation } { ...
{ Процедура добавления записи в адресную книгу. Параметры: name строка название адресной книги entry запись запись адресной книги } procedure AddressBookAddEntry(name : string; entry : AddressBookEntry); var f : file of AddressBookEntry; begin ass...
unit ValidateRichEdit; interface uses Windows, Messages, StdCtrls, ComCtrls, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs; const INVALID_COLOR_DEFAULT = $00A087FF; type TValidateRichEdit = class(TRichEdit) published type TOnValidateEvent = procedure(var Text: string; var IsValid:...
unit JSONTest; {$I Synopse.inc} {$I HPPas.inc} interface uses SysUtils, Math, {$ifdef MSWINDOWS} Windows, {$endif} Variants, Classes, SynCommons, HPPas, HppStrs, HppTypeCast, HppSysUtils, HppVariants, HppJSONParser; procedure FunctionTest_HppJSONParser; implementation ...
unit WiRL.Data.FireDAC.Updates; interface uses System.Classes, System.SysUtils, System.Generics.Collections, Data.DB, FireDAC.Comp.Client, FireDAC.Stan.StorageBin, FireDAC.Stan.Error, FireDAC.Dats, FireDAC.Stan.Option, FireDAC.Comp.DataSet, FireDAC.Stan.Intf, FireDAC.DApt.Intf, WiRL.Core.JSON, WiRL.Data.Fi...
{----------------------------------------------------------------------------- Author: Alexander Roth Date: 04-Nov-2006 Dieses Programm ist freie Software. Sie können es unter den Bedingungen der GNU General Public License, wie von der Free Software Foundation veröffentlicht, weitergeben und/oder ...
unit PriceListMovementTest; interface uses dbTest, dbMovementTest, ObjectTest; type TPriceListMovementTest = class (TdbMovementTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TPriceListMovement = class(TMovementTest) private function InsertDefault: integer;...
unit ObjectManager; //ThothManager interface uses System.Classes, System.SysUtils, ThothTypes, ThothObjects, ObjectList, CommandList; type /////////////////////////////////////////////////////// // Manager TThothObjectManager = class(TThInterfacedObject, IThSubject) private FObservers: TInterfaceList; ...
unit Grapher; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Dialogs, StdCtrls, ExtCtrls, Math, Func1D, FrogTrace, FROGImage, FrogObj, Numerics, RawImage, FieldGraph, FROGColorTable; type TGrapher = class(TFrogObject) private mWindowsCreated: Boolean; mESpec: TEField; Ta...
unit CalibrationUtils; interface uses Classes, CommonCalibration; function GetTableFileType( path: string ): TCalibrationTableType; function FindTableFiles( aTableType: TCalibrationTableType ): TStrings; implementation uses SysUtils, Constants, FileFunc, Procs, Config; function GetTableFileType( path: string ): TCa...
unit YOTM.DB.Times; interface uses SQLite3, SQLLang, SQLiteTable3, System.Generics.Collections, HGM.Controls.VirtualTable, YOTM.DB, Vcl.Graphics; type //Время работы TTimeItem = class; TTimeItems = class; TTimeItem = class(TObject) private FOwner:TTimeItems; FID:Integer; FDe...
unit OrderInternalTest; interface uses dbTest, dbMovementTest, ObjectTest; type TOrderInternalTest = class (TdbMovementTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TOrderInternal = class(TMovementTest) private function InsertDefault: integer; override; ...
unit gzip; interface uses Sysutils, Windows, Classes; procedure MakeGZ(Src, Dst: TStream); implementation uses zlib; type { +---+---+---+---+---+---+---+---+---+---+ |ID1|ID2|CM |FLG| MTIME |XFL|OS | +---+---+---+---+---+---+---+---+---+---+ } TGZHeader = packed r...
unit LocationMap_Bradford_ClickForms_TLB; // ************************************************************************ // // WARNING // ------- // The types declared in this file were generated from data read from a // Type Library. If this type library is explicitly or indirectly (via // another type library referring...
unit Unit5; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, PrintersDlgs, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, INIFiles, printers; type { TForm4 } TForm4 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; Button4: TButton; CheckGroup...
unit uTabV8; { Sandcat Browser V8 Extensions (Experimental) Copyright (c) 2011-2015 Syhunt Informatica License: 3-clause BSD license See https://github.com/felipedaragon/sandcat/ for details. } interface {$I Catarinka.inc} // {$DEFINE USEV8EXTENSIONS} uses {$IFDEF DXE2_OR_UP} System.Classes, {$ELSE} Cla...
unit UFORMTrocarSenha; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TFORMTrocarSenha = class(TForm) BUTNOk: TButton; BUTNCancelar: TButton; BVELLayer: TBevel; LAEDSenhaAtual: TLabeledEdit; LAEDNovaS...
unit RepositorioSangriaReforco; interface uses DB, Auditoria, Repositorio; type TRepositorioSangriaReforco = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; function Ge...
unit Ugraph; interface uses FMX.Forms,FMX.Objects,FMX.Controls,FMX.Menus,System.Generics.Collections, FMX.Types,FMX.Edit,FMX.ActnList; Type TEdge = class; TVertex = class; TGraphActions = class(TActionList); TVertexMenu = class(TPopupMenu) private public end; TEdgeMenu = class...
unit uUpdateInstall; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, utils, StdCtrls, ExtCtrls; const S_LOG_FILE = 'update.log'; S_INSTALL_FILE = 'install$'; S_CACHE_DIRECTORY = 'cache'; S_CACHE_FILE = 'cache$'; S_DOWNLOAD_TEMP = 'download$'; S_CMD...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
unit Core.Database.Entities; interface uses SysUtils, Aurelius.Mapping.Attributes, Aurelius.Types.Blob, Aurelius.Types.DynamicProperties, Aurelius.Types.Nullable, Aurelius.Types.Proxy, Aurelius.Criteria.Dictionary; type TCustomers = class; TCustomersTableDictionary = class; [Entity] [Table('...
unit uConstantTable; // Ths source is distributed under Apache 2.0 // Copyright (C) 2019-2020 Herbert M Sauro // Author Contact Information: // email: hsauro@gmail.com interface Uses Generics.Collections, uStringObject; type TConstantValueType = (cpDouble, cpString); TConstantValueElement = class (TObject)...
unit CashInterface; interface type TPaidType = (ptMoney, ptCard, ptCardAdd); ICash = interface procedure SetAlwaysSold(Value: boolean); function GetAlwaysSold: boolean; function SoldCode(const GoodsCode: integer; const Amount: double; const Price: double = 0.00): boolean; function SoldFromP...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : https://webservices.appraisalworld.com/ws/awsi/MlsServer.php?wsdl // >Import : https://webservices.appraisalworld.com/ws/a...
unit uJavaParser; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Dialogs; type TLexType = (ltError, ltIdent, ltNumber, ltString, ltDelim); { TJavaParser } TJavaParser = class private FParsed: Boolean; FStream: TStream; FMemStream: TMemoryStream; FImports, // used to create signatu...
// // Created by the DataSnap proxy generator. // 23/10/2018 05:47:21 // unit ccPush; interface uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data....
inherited ClassEditView: TClassEditView Caption = 'Edit Class Definition' ClientHeight = 561 ClientWidth = 554 OnCreate = FormCreate ExplicitWidth = 560 ExplicitHeight = 590 PixelsPerInch = 96 TextHeight = 13 object lblBaseClassName: TLabel [0] Left = 16 Top = 13 Width = 55 Height = 13...
unit zAutoUpdate; interface uses Windows, Messages, SysUtils, Variants, Classes, FileLoader, zXML, md5, AbUnZper; type // Описание файла TFileDescr = record Name : string; // Имя файла Size : integer; // Размер файла MD5 : TMD5Digest; // MD5 сумма MD5Txt : string; ...
unit Model.GroupUser; interface uses Model.Interfaces; function CreateGroupUserModelClass: IGroupUserModelInterface; implementation uses System.SysUtils, Model.Declarations, Model.FormDeclarations, Spring.Persistence.Criteria.Interfaces, Spring.Persistence.Criteria.Restrictions, Spring.Persistence.Criteri...
unit Report_GoodsMI_Defroster; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorReport, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinsDefaultPainters, dxSkinscxPCPa...
Unit TSTOProject; Interface Uses HsXmlDocEx, TSTOCustomPatches; Type ITSTOXmlMasterFile = interface(IXmlNodeEx) ['{2D01B906-F4F3-4ADE-B385-2F6FD1EA59E2}'] Function GetFileName() : WideString; Procedure SetFileName(Value : WideString); Function GetNodeName() : WideString; Procedure SetNodeName...
unit uCadProduto; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Buttons, uProdutoDao, uProduto; type TCadProduto = class(TForm) ovP_Campos: TPanel; ovP_Titulo: TPane...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit DataExports; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, CheckLst, Menus, CCDBv2; type TDataExportDialog = class(TForm) BottomPanel: TPanel; BottomBevel: TBevel; ButtonCancel: TButton; ButtonExport: TButton; Exp...
unit Logger; interface uses SysUtils, Classes, SyncObjs, Windows, Dialogs; const LOG_DAYS_FOR_DELETE_LOG = 15; // количество дней, старее которых файлы лога будут удаляться LOG_DATE_FORMAT = 'yyyy-mm-dd'; LOG_TIME_FORMAT = 'hh:mm:ss'; LOG_DATE_TIME_FORMAT = LOG_DATE_FORMAT + ' ' + LOG_TIME_FORMAT; LOGFILES...
unit RProgress; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, Gauges, StdCtrls; type TFormProgress = class(TForm) Panel: TPanel; Text: TLabel; Gauge: TGauge; BtnStop: TButton; procedure BtnStopClick(Sender: TObject); procedure FormCre...
PROGRAM AverageScore(INPUT, OUTPUT); CONST NumberOfScores = 4; ClassSize = 4; TYPE Score = 0 .. 100; VAR WhichScore: 1 .. NumberOfScores; Student: 1 .. ClassSize; NextScore: Score; Ave, TotalScore, ClassTotal: INTEGER; Lastname : TEXT; Ch : CHAR; Error: BOOLEAN; PROCEDURE CopyLast...
unit Updater; interface uses Classes, IdHTTP; type TUpdateThread = class( TThread ) private httpClient: TIdHTTP; fUpdateVersion: string[255]; fCurrentVersion: string[255]; fOnHasUpdateEvent: TNotifyEvent; protected procedure Execute; override; public constructor Create( aCurrVersion: st...
unit DictionaryTests; interface uses DUnitX.TestFramework, DelphiJSON, System.Generics.Collections; type [TestFixture] TDictionaryTests = class(TObject) public [Test] procedure TestSerialization; [Test] procedure TestDeserialization; [Test] procedure TestSerStringKey; [Test] ...
unit UCC_GeoCoderNotice; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2014 by Bradford Technologies, Inc.} interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Form...
unit mysql57connectionbridge; {$mode objfpc}{$H+} interface uses Classes, mysql57conn, sqldb; type { TMySQL57ConnectionBridge } TMySQL57ConnectionBridge = class(TComponent) private FDatabaseName: string; FHostName: string; FPort: integer; FPassword: string; FUserName: string; pro...
unit pqueue; interface type //type of the function used to compare elements Tcomp_func = function(p1, p2: pointer): integer; //type of the function used to free elements Tfree_func = procedure (var p: pointer); //array type that will hold elements as a binary tree (used like a heap) ...
unit UnitSettings; interface uses System.Classes, System.IniFiles; type TSettings = class strict private class var FIni: TIniFile; FIniFolder: string; strict private class function GetBoolValue(const ASection, AParam: string; const ADefVal: Boolean): Boolean; class function GetIntValue...
unit SAPWhereUseReader; interface uses Classes, SysUtils, ComObj, CommUtils, ADODB, SAPMaterialReader; type TSAPWhereUseRecord = packed record snumber: string; swhereuse: string; end; PSAPWhereUseRecord = ^TSAPWhereUseRecord; TSAPWhereUseReader = class private FList: TStri...
unit uBackup; interface const Espaco=' '; type TTipoExtracao = (TECompleto,TESomenteDados,TESomenteEstrutura); type TCreateDB = class private FDbName: string; FCreatedb_exe: string; FUsuario: string; FSenha: string; procedure SetDbName(const Value: string); procedure SetC...
// ****************************************************************** // // Program Name : $ProgramName$ // Platform(s) : $Platforms$ // Framework : None // // Filename : AT.$ShortName$.Attribs.pas // File Version : 1.00 // Date Created : $CreateDate$ // Author : Matthew Vesperman // // Desc...
unit u_DefinirSenha; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TfrmDefinirSenha = class(TForm) Label1: TLabel; edtSenha: TEdit; Label2: TLabel; edtNovaSenha: TEdit; btnCancel: TBitBtn; btnOK: TBitBtn; p...
unit enum_edit_ctrl; interface uses Classes ,SysUtils ,tiObject ,mapper ,mvc_base ,widget_controllers ,app_mdl ,enum_edit_view ; type // ----------------------------------------------------------------- // Class Objects // ----------------------------------------------------------------- {...