text stringlengths 14 6.51M |
|---|
// =================================================
// Main window form. Contains the frames with
// players checker.
// Form principal da aplicaço. Contem os frames com
// as informações dos outros jogadores.
// =================================================
unit uMainForm;
interface
uses
... |
unit AutoLoadPicturesAndDocumentsFromLoadingDock;
{To use this template:
1. Save the form it under a new name.
2. Rename the form in the Object Inspector.
3. Rename the table in the Object Inspector. Then switch
to the code and do a blanket replace of "Table" with the new name.
4. Change UnitName to the n... |
unit uiWnd_htmlResult;
{$mode objfpc}{$H+}
interface
uses //IPIDEHTMLControl,
Classes, SysUtils, FileUtil, IpHtml, Ipfilebroker, Forms, Controls, Graphics,
Dialogs, ExtCtrls, StdCtrls, LConvEncoding, IpMsg;
type
{ TMyIpHtmlDataProvider }
TMyIpHtmlDataProvider = class(TIpHtmlDataProvider)
protected
func... |
unit Brickcamp.Repository.Redis;
interface
uses Redis.Client,
Redis.NetLib.INDY,
Redis.Commons,
Spring.Container.Injection,
Spring.Container.Common,
BrickCamp.ISettings,
BrickCamp.IRedisRepository,
BrickCamp.IRedisClientProvider;
type
///******** TRedisClientProvider **... |
unit UFLogRegisterDetails;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Imaging.pngimage,
Vcl.StdCtrls, Vcl.ComCtrls, ULogType;
type
TFLogRegisterDetails = class(TForm)
pnlBackground... |
unit Test.Devices.Tecon19.ReqCreator;
interface
uses Windows, TestFrameWork, GMGlobals, Test.Devices.Base.ReqCreator, GMConst, GmSqlQuery, SysUtils, Devices.Tecon;
type
TTecon19ReqCreatorForTest = class(TTecon19ReqCreator)
protected
function GetNeedSetTime: bool; override;
end;
TTecon19ReqCreatorTest = ... |
unit PCX;
interface
uses graph, ColrCtrl;
procedure SaveScreen(x1, y1, x2, y2 : INTEGER; FileName : String);
(*================================================== *)
implementation
CONST
ColorOrMono : INTEGER = 1;
GrayScale : INTEGER = 2;
TYPE
ModeType = (ModeDetect, Mono, CGA, EGA, VGA);
filetype ... |
unit main;
interface
uses
SysUtils, Types, Classes, QGraphics, QControls, QForms, QDialogs,
QStdCtrls, QTypes, QExtCtrls;
type
TForm1 = class(TForm)
LCDNumber1: TLCDNumber;
Timer1: TTimer;
Button1: TButton;
Button2: TButton;
Button3: TButton;
procedure Timer1Timer(Sender: TObject);
... |
unit MyOption;
interface
uses
Classes, SysUtils, MyGlobal, System.IniFiles, Registry, Winapi.Windows, JdcGlobal;
type
TOption = class
private
FIniFile: TCustomIniFile;
constructor Create;
function GetAppName: string;
procedure SetAppName(const Value: string);
function GetUseCl... |
FUNCTION F(m: MATRIX): REAL;
Var i, j: integer; s: real;
BEGIN
s := 0.0;
i := 1;
While i <= rows do begin
j := 1;
While j <= cols do begin
s := s + m[i,j] * m[i,j];
j := j + 1;
end;
i := i + 1;
end;
F := Sqrt(s);
END;
FUNCTION FShort(m: MATRIX): real;
var i, j: ... |
unit actfoto;
{$mode objfpc}{$H+}
interface
uses
BrookLogger,
dmdatabase,
sqldb,
BaseAction,
fpjson,
fpjsonrtti,
SysUtils,
foto;
type
{ TFotos }
TFotos = class(specialize TBaseGAction<TFoto>)
private
procedure GetSmallFoto(APath: string);
public
procedure Get; override;
procedu... |
//http://msdn.microsoft.com/en-us/library/bb773190(VS.85).aspx#theme
unit uWin7_redactor;
interface
uses
uTypes, Graphics;
const
ICON_PC = 'CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon';
ICON_USER = 'CLSID\{59031A47-3F72-44A7-89C5-5595FE6B30EE}\DefaultIcon';
ICON_NE... |
unit TMMain;
{
Aestan Tray Menu
Made by Onno Broekmans; visit http://www.xs4all.nl/~broekroo/aetraymenu
for more information.
This work is hereby released into the Public Domain. To view a copy of the
public domain dedication, visit:
http://creativecommons.org/licenses/publicdomain/
or send a letter... |
unit fODReleaseEvent;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, ORFn, CheckLst, ORCtrls, fAutoSz, fBase508Form,
VA508AccessibilityManager;
type
TfrmOrdersReleaseEvent = class(TfrmBase508Form)
pnlMiddle: TPanel;
pnlBottom: TPanel;
... |
{
GMCircleVCL unit
ES: contiene las clases VCL necesarias para mostrar círculos en un mapa de
Google Maps mediante el componente TGMMap
EN: includes the VCL classes needed to show circles on Google Map map using
the component TGMMap
=====================================================================... |
unit Unit1;
interface
uses
System.SysUtils, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.ExtCtrls,
//GLS
GLObjects, GLExtrusion, GLScene, GLCadencer, GLFireFX,
GLWin32Viewer, GLGeomObjects, GLCrossPlatform, GLCoordinates,
GLBaseClasses;
type
TForm... |
{*********************************************}
{ TeeBI Software Library }
{ FireDAC Database data import and export }
{ Copyright (c) 2015-2017 by Steema Software }
{ All Rights Reserved }
{*********************************************}
unit BI.DB.Fire;
interface
(*
... |
program buildutil;
{$mode objfpc}{$H+}
uses {$IFDEF UNIX} {$IFDEF UseCThreads}
cthreads, {$ENDIF} {$ENDIF}
SysUtils,
Classes,
IniFiles,
fileutil, LazFileUtils,
uGetOpt, getopts, uBuildFile;
const
OptionsLong: array[1..4] of TOption = (
(Name: 'help'; Has_Arg: No_Argument; Flag: nil; Value: 'h'),
... |
{ **************************************************************
Package: XWB - Kernel RPCBroker
Date Created: Sept 18, 1997 (Version 1.1)
Site Name: Oakland, OI Field Office, Dept of Veteran Affairs
Developers: Joel Ivey, Herlan Westra
Description: Contains TRPCBroker and related components.
Unit: frmSignonMess... |
unit GmCfgMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ScktComp, GMGlobals, WinSock, StdCtrls, ExtCtrls, IniFiles,
GMSocket, GMConst, GeomerLastValue, Threads.GMSocket;
const WM_NCAR_FOUND = WM_USER + 1;
WM_NCAR_DELETED = WM_USER + 2;
WM_L... |
unit mGMV_EditTemplate;
{
================================================================================
*
* Application: Vitals
* Revision: $Revision: 1 $ $Modtime: 3/05/09 10:31a $
* Developer: doma.user@domain.ext
* Site: Hines OIFO
*
* Description: Frame used to edi... |
{ *************************************************************************** }
{ }
{ Kylix and Delphi Cross-Platform Visual Component Library }
{ }
... |
{******************************************************************************}
{ }
{ CBVCLStylePreviewForm: Example Preview of a VCL Style }
{ based on: VCLStylePreview Vcl.Styles.Ext ... |
unit SettingsController;
interface
uses
Settings, SettingsView;
type
TSettingsController = class
private
FModel: ISettings;
FView: ISettingsView;
procedure OnViewCloseQuery(Sender: TObject; var CanClose: Boolean);
public
constructor Create(const Model: ISettings; const View: ISettingsView)... |
unit IdThreadMgr;
interface
uses
Classes,
IdException,
IdBaseComponent,
IdThread,
SyncObjs;
type
TIdThreadMgr = class(TIdBaseComponent)
protected
FActiveThreads: TList;
FLock: TCriticalSection;
FThreadClass: TIdThreadClass;
public
constructor Create(AOwner: TComponent); override;
... |
unit uCommon;
interface
function FileSizeToStr(Size: UInt64): String;
implementation
uses System.SysUtils;
function FileSizeToStr(Size: UInt64): String;
const
SIZE_KB = 1024;
SIZE_MB = 1024*SIZE_KB;
SIZE_GB = 1024*SIZE_MB;
begin
if Size > SIZE_GB then
Result := FormatFloat('#.## GB', Size/SIZE_GB)
el... |
unit UcaFuncionario2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ComCtrls, IBDatabase, DB, IBCustomDataSet,
IBStoredProc, ExtCtrls, Mask, DBCtrls, RxToolEdit, RxCurrEdit, RxDBCurrEdit,
RxLookup, IdBaseComponent, IdComponent, Id... |
unit Text;
interface
uses
{$IFDEF FPC}
LResources,
{$ENDIF}
{$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
Classes, SysUtils, DB, Graphics, Controls, Forms, Dialogs,
DBCtrls, ExtCtrls, Grids, DBGrids, StdCtrls, ToolWin, ComCtrls, UniDacVcl, Buttons,
{$IFNDEF FPC}
MemDS,
{$ELSE}
MemDataSet,
{$ENDIF}
DBAcces... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2019 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit TestExchangeCurrency;
interface
uses
TestFramework;
type
TTestCurrencyExchange = class(TTestCase)
published
procedure TestCurrencyExchange;
procedure TestCurrencyExchangeUSDtoGBP;
end;
implementation
uses
Money, CurrencyExchange, SysUtils;
{ TTestCurrencyExchange }
procedure TTestCurrencyE... |
unit Buf.Zoom;
interface
uses
Winapi.Windows, System.SysUtils, System.Classes, System.Math, System.Types,
Vcl.Forms, Vcl.Controls;
type
TZoomController = class
private
FMain: TRect;
FChild: TRect;
FOldRect: TRect;
FOnChange: TNotifyEvent;
FValue: Integer;
FCenter: TPoint;
FOrigina... |
//
// Created by the DataSnap proxy generator.
// 2016-01-28 ¿ÀÀü 2:00:36
//
unit Unit1;
interface
uses System.JSON, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBXDBReaders, Data.DBXCDSReaders, Data.DBXJSONReflect;
t... |
unit ncaConnMgr;
interface
uses SysUtils, Classes, SyncObjs, Windows, Messages, nxtwWinsockTransport, madTools, madTypes, idHttp;
type
TConnMgr = class
private
FCS : TCriticalSection;
FServidor : String;
FAuto : TStrings;
FLastConn : String;
FLastConnOk : Boolean;
FLastRefresh : Cardinal... |
unit Threads.Sound;
interface
uses
Windows, Threads.Base, Classes;
type
TGMSoundThread = class(TGMThread)
private
FAlarm: bool;
FAlarmFileName: string;
FAlarmSound: TMemoryStream;
procedure SetAlarm(const Value: bool);
procedure SetAlarmFileName(const Value: string);
protected
procedu... |
unit UnitTBotonesPermisos;
interface
uses
SysUtils, ZDataset, ZConnection, Classes, frm_barra, Dialogs, Menus, DB,
Buttons, AdvGlowButton,cxButtons;
type
ListaPermisos = record
btnAdd: boolean;
btnEdit: boolean;
btnDelete: boolean;
btnPrinter: boolean;
sAlerta: string;
end;
TBotonesPermisos=class
pri... |
unit JD.Weather.ApiSvr;
interface
uses
Winapi.Windows, Winapi.ActiveX,
System.Classes, System.SysUtils, System.TypInfo,
JD.Weather.Intf, JD.Weather.SuperObject,
IdBaseComponent, IdComponent, IdCustomTCPServer, IdCustomHTTPServer,
IdHTTPServer, IdContext, IdTCPConnection, IdYarn,
Data.DB, Data.Win.ADODB;
... |
unit uModuleInterface;
interface
uses
Classes, Graphics,
uDSConfigInterface, uSecurityInterface;
type
IModuleInterface = interface(IInterface)
['{565323C5-D253-4A98-920E-A62BF4B12076}']
function GetToolBarCount: Integer;
function GetToolBarGUID(Index: Integer): TGUID;
function GetGUI... |
unit fClinicWardMeds;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, fAutoSz, StdCtrls, ExtCtrls, ORCtrls,ORFn, rCore, uCore, oRNet, Math,
VA508AccessibilityManager;
type
TfrmClinicWardMeds = class(TfrmAutoSz)
stxtLine3: TStaticText;
stxtLine2: TSta... |
unit uPageControlClose;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.ImageList, Vcl.ImgList,
System.Actions, Vcl.ActnList, Vcl.Menus, Vcl.ComCtrls, Vcl.ToolWin,
Vcl.ExtCtrls, Vcl.StdCtrls,
Vcl.Sty... |
unit MediaProcessing.Common.Processor.FPS;
interface
uses SysUtils,Windows,Classes,MediaProcessing.Definitions,MediaProcessing.Global,
MediaProcessing.Common.SettingsDialog.FPS,MediaProcessing.Common.Processor.CustomSettings;
type
TChangeFPSMode = (cfmNone,cfmAbsolute, cfmVIFrameOnly);
TMediaProcessor_Fps<T:... |
program Celsius_to_Fahrenheit;
var
i, Celsius, Fahrenheit : Word;
begin
Writeln('Таблица соотвествия между температурамми шкалами');
Writeln('Цельсия и Фаренгейта');
Writeln;
for i := 0 to 20 do begin
Celsius := 5 * i;
Fahrenheit := 32 + Celsius * 9 div 5;
Write(' ... |
unit UFrmAgendaVacina;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UFrmCRUD, Menus, Buttons, StdCtrls, ExtCtrls
, URepositorioProximaVacina
, URegraCrudProximaVacina
, UProximaVacina
, UUtilitarios
, UDM
, Mask, Grids, DBGrids, DBXFirebird, FMTBcd... |
unit Form.SQLMonitoring;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels,
Form.BaseForm,
cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinMetropolis,
cxT... |
unit uCommandHandler;
interface
uses uTokenizer, Contnrs, Classes, dmConnection;
type
TCommandHandler = class
public
function HandleCommand(const AConnection: TConnectionData; const ATarget: string; const ATokenizer: TTokenizer): string; virtual; abstract;
end;
TCommandHandlerClass = class of TCommandHa... |
unit Initializer;
interface
uses
Forms, SysUtils, StdCtrls, ExtCtrls, Windows, Classes, Graphics, Controls,
WinCodec,
OS.EnvironmentVariable, Global.LanguageString,
Getter.OS.Version;
procedure InitializeMainForm;
procedure RefreshOptimizeList;
implementation
uses Form.Main;
type
THackControl = class(TC... |
unit Security.Matrix.Interfaces;
interface
Type
TMatrixNotifyEvent = procedure(aID: Int64; aName: String; aEmail: String; aActive: Boolean; aPassword: String; aMatrixID: Integer; aIsMatrix: Boolean; var aError: string; var aChanged: Boolean) of Object;
TResultNotifyEvent = procedure(const aResult: Boolean = false... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Implementation Notification Center for Android }
{ ... |
unit BCEditor.Editor.Scroll.Hint;
interface
uses
Classes, Graphics;
type
TScrollHintFormat = (shfTopLineOnly, shfTopToBottom);
TBCEditorScrollHint = class(TPersistent)
strict private
FFormat: TScrollHintFormat;
public
constructor Create;
procedure Assign(Source: TPersistent); ov... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, Vcl.StdCtrls, Vcl.Mask,
Vcl.ComCtrls, Vcl.Samples.Spin, Vcl.Imaging.pngimage, Vcl.ExtCtrls;
type
TConverter = class(TForm)
currenc... |
unit HomeU;
interface
uses
Windows, Messages, SysUtils, Classes, HTTPApp, WebModu, HTTPProd, ReqMulti,
WebAdapt, WebComp, WebSess, WebDisp;
type
THome = class(TWebAppDataModule)
WebAppComponents: TWebAppComponents;
ApplicationAdapter: TApplicationAdapter;
PageDispatcher: TPageDispatcher;
Adapt... |
unit uPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TfrmDisco = class(TForm)
cboBanda: TComboBox;
lblTitle: TLabel;
btnAdcBanda: TButton;
btnRemvBanda: TButton;
... |
unit caCell;
{$INCLUDE ca.inc}
interface
uses
// Standard Delphi units
Windows,
SysUtils,
Classes,
Math,
TypInfo,
Variants,
// ca units
caUtils,
caTypes;
type
//---------------------------------------------------------------------------
// TcaCell ... |
unit ANovaFracaoFaccionista;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componentes1, ExtCtrls, PainelGradiente, Mask, numericos, ComCtrls,
StdCtrls, Localizacao, Buttons, DBKeyViolation, Constantes, UnDadosProduto, UnOrdemProducao;
type
TR... |
unit U.Person;
interface
uses
System.Bindings.EvalProtocol;
type
TPerson = class
private
FBirthDate: TDate;
FLastName: String;
FFirstName: String;
function GetIsAdult: Boolean;
function GetAge: Integer;
function GetFullName: String;
public
constructor Create(const AFirstName, ALa... |
unit ADigitacaoProspect;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Grids, CGrades, Componentes1, ExtCtrls, PainelGradiente, StdCtrls,
Localizacao, Buttons, UnDados, UnDadosLocaliza, UnClientes, UnProspect,
DBKeyViolation, FunObjeto;
type
... |
unit DelphiEx2;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TDelphiEx2Form = class(TForm)
BoolBtn: TButton;
BooleanLabel: TLabel;
WordBtn: TButton;
WordLabel: TLabel;
DWordBtn: TButton;
DWordLabel: TLabel;
PtrBtn: TButton;
... |
unit h_MainLib;
interface
uses inifiles,Windows, Sysutils, ExtCtrls, ADODB, ScktComp, Graphics ;
Const
LogFileName : String = '.\Log\Monitoring.Log';
INI_PATH : String = 'AwHouse.INI';
MenuCount = 6;
START_SCNO = 1 ; // Start SC No
End_SCNO = 4 ; // End SC No
SPACE = #$20;
BACKSPACE = #8 ;
D... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit frmMain;
interface
us... |
unit frmTestPersistence1;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
FileUtil,
Forms,
Controls,
Graphics,
Dialogs,
StdCtrls,
ExtCtrls,
TestModel1,
tiModelMediator,
agTIOPFUtills;
type
{ TForm1 }
TForm1 = class(TForm)
btnShowModelInfo: TButton;
btnShowPersistenceInfo:... |
unit ProgressBarForm3;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, RootForm, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore,
dxSkinBlack, dxSkinBlue, dxSki... |
{
CTU Open Contest 2002
=====================
Sample solution for the problem: symmetry
Martin Kacer, Oct 2002
}
Program Symetry;
Const MAXPTS = 100000;
Type
TPoint = Record X, Y: Integer; End;
Var Pts : Array [1..MAXPTS] of TPoint;
NumPts : Integer;
{compare two points - we have to sort them for faste... |
Program DiskTest;
{$M 8192, 131072, 131072}
{$N+ enable FPU, for scaling of output on pattern tests}
{$E+ enable FPU emulation if FPU not present}
{IOMeter type performance tests for XT/AT PCs with MS-DOS.
Used for the development of the Dangerous Prototype XT-IDE board, and
subsequently the lo-tech XT-CF board... |
{**********************************************}
{ TeeChart GIF Export format }
{ Copyright (c) 2000-2004 by David Berneda }
{**********************************************}
unit TeeGIF;
{$I TeeDefs.inc}
interface
Uses {$IFNDEF LINUX}
Windows,
{$ENDIF}
Classes,
{$IFDEF CLX}
... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
Memo1: TMemo;
procedure Button1Click(Sender: TObject);
private
{ private declarations }
public
{ public de... |
{
ID:asiapea1
PROG:fence8
LANG:PASCAL
}
program fence8;
const maxn=50;
maxr=1023;
var a:array[0..maxn+1] of longint;
b,sum:array[0..maxr+1] of longint;
n,i,r,ans,tot,waste:longint;
procedure opf;
begin
assign(input,'fence8.in'); reset(input);
assign(output,'fence8.out'); rewrite(outpu... |
unit TestLocalTypes;
{ AFS 9 March 2K test local types
This code compiles, but is not semantically meaningfull.
It is test cases for the code-formating utility
procedure-local types are an obscure piece of legacy syntax
that I would not reccomend to anyone
}
interface
implementation
uses Di... |
unit xProtocolPacksDl645;
interface
uses System.Types, xProtocolPacks, System.Classes, system.SysUtils, xDL645Type,
xFunction, xMeterDataRect;
type
/// <summary>
/// 数据包发送事件 TDL645_DATA
/// </summary>
TGet645Data = procedure( A645data : TStringList ) of object;
type
/// <summary>
/// ... |
(**
This module contains a class which represents a form for editing the lists of
external applications which need to be run before and after the compilation
of the currently active project.
@Version 1.0
@Author David Hoyle
@Date 05 Jan 2018
**)
Unit ITHelper.ConfigurationForm;
Interface
Uses
Win... |
unit fOrdersDC;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fBase508Form,
fAutoSz, StdCtrls, ORFn, ORCtrls, ExtCtrls, ORNet, VA508AccessibilityManager, rMisc;
type
TfrmDCOrders = class(TfrmBase508Form)
Label1: TLabel;
Panel1: TPanel;
lstOrders: TCaptionL... |
unit record_properties_5;
interface
implementation
type
TRec = record
private
FCnt: Int32;
function GetCount: Int32;
public
property Count: Int32 read GetCount;
procedure Run;
end;
var G: Int32;
function TRec.GetCount: Int32;
begin
Result := FCnt;
end;
procedure TRec.Run;
begin
G :... |
unit ClassFrmBase;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, dxGDIPlusClasses, Vcl.ExtCtrls,
CommonTypes, CommonVars, Data.DB;
const
AppCaption = 'Первая фумигационная компания';
type
TBooleanFunc =... |
unit AndroidManifestEditor;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LazFileUtils, laz2_XMLRead, Laz2_DOM, AvgLvlTree,
IDEOptionsIntf, ProjectIntf, Forms, Controls, Dialogs, Grids, StdCtrls,
LResources, ExtCtrls, Spin;
type
{ TLamwAndroidManifestOptions }
TLamwAndroidManifest... |
unit U_Dico;
interface
uses U_FichierTexte, U_Liste, SysUtils, U_Pile;
type
(* exception si il y en a
??exception = class(SysUtils.Exception);
*)
(*============================================DICO===============================================*)
// Pointeur de Cellule (pointeur de noeud de ... |
unit Financas.View.Cliente;
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, FMX.ScrollBox, FMX.Memo, FMX.Edit, System.Rtti, FMX.Grid.Style, Data.Bind.Controls, Da... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC Advantage Database Server driver }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit uImageForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls;
type
TImageForm = class(TForm)
imgImage: TImage;
pbImage: TPaintBox;
procedure pbImagePaint(Sender: TObject);
private
FImage: TGraphic;
FImageIndex:... |
unit LLVM.Imports.ObjectFile;
interface
//based on Object.h
uses
LLVM.Imports,
LLVM.Imports.Types;
type
TLLVMObjectFileRef = type TLLVMRef;
TLLVMSectionIteratorRef = type TLLVMRef;
TLLVMSymbolIteratorRef = type TLLVMRef;
TLLVMRelocationIteratorRef = type TLLVMRef;
TLLVMBinaryType = (
LLVMBinaryTypeAr... |
{
LEOShell - Intérprete de comandos experimental
Copyright (C) 2015 - Valentín Costa - Leandro Lonardi
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 3 of the Lic... |
unit llPDFImage;
{$i pdf.inc}
interface
uses
{$ifndef USENAMESPACE}
Windows, SysUtils, Classes, Graphics, Math, Jpeg,
{$else}
WinAPI.Windows, System.SysUtils, System.Classes, Vcl.Graphics, System.Math,
Vcl.Imaging.jpeg,
{$endif}
llPDFTypes,llPDFEngine;
type
TImgPoint = record
x: integer;
y: integer... |
unit TelePars;
//******************************************************************************
// UNIT NAME TelePars
// USED BY PROJECTS TelescopeAgent
// AUTHOR Yiftah Lipkin
// DESCRIPTION Various Telescope and Site paraemters
// LAST MODIFIED 2004 Apr 02
//*****************************... |
unit CardDeck;
{ Author: Kees Hemerik
Version history:
0.1 d.d. 20080316
}
interface
uses
Graphics,
CardPiles;
type
//----------------------------------------------------------------------------
// TCardDeck provides data needed for textual and graphical representation of
// the variou... |
program FuncArray;
const
size = 5;
type
a = array [1..size] of integer;
var
balance: a;
average: real;
function avg( var arr: a) : real;
var
i :1..size;
sum: integer;
begin
writeln('here2');
sum := 0;
for i := 1 to size do
sum := sum + arr[i];
writeln('here3');
avg :=... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
{$INCLUDE ..\cDefines.inc}
unit cDynLib;
{ }
{ Dynamically Loaded Libraries 3.02 }
{ }
{ This unit is co... |
//
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose... |
unit BowlingGame;
interface
uses
Generics.Collections;
type
TRollTotal = (rtZero, rtOne, rtTwo, rtThree, rtFour, rtFive, rtSix, rtSeven,
rtEight, rtNine, rtStrike, rtSpare); // if 10 is rolled it will be rtStrike.
TFrame = class;
TFrameRollsCtrl = class
frame: TFrame;
Over: Boolean;
FrameRo... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
unit SQLNodeReader;
interface
uses SysUtils, GMGlobals, GMSqlQuery, BaseNodeReader, Generics.Collections;
type
TSQLNodeReader = class (TBaseNodeReader)
private
procedure ReaderProc(q: TGMSqlQuery; obj: pointer);
public
procedure ReadChildren(ID_Node: int); override;
procedure AddNew(ID_Parent: int;... |
unit primsieve;
//{$O+,R+}
{$IFDEF FPC}
{$MODE objFPC}
{$CODEALIGN proc=32,loop=1}
{$IFEND}
{segmented sieve of Erathostenes using only odd numbers}
{using presieved sieve of small primes, to reduce the most time consuming}
interface
procedure InitPrime;
procedure NextSieve;
function SieveStart:Uint64;
func... |
unit g_class_gameobject;
interface
uses
OpenGL, u_math;
type
TGameObject = class (TObject)
// Сдужебное
Index : Integer; // Индекс в массиве объектов
Parent : TObject; // Родительский объект
// Все что требуется для физики объекта
Pos : TGamePos; // Позиция в игровом мире
MVe... |
unit TestConstRecords;
{ AFS 27 August 2K
This unit compiles but is not semantically meaningfull
it is test cases for the code formatting utility
This unit contains test cases for layout of const record declarations
}
interface
type
TMap = record
s1: string;
i1: integer;
i2: intege... |
unit IdThread;
interface
uses
Classes, SysUtils;
type
TIdThreadStopMode = (smTerminate, smSuspend);
TIdExceptionEvent = procedure(Sender: TObject; E: Exception) of object;
TIdThread = class(TThread)
protected
FData: TObject;
FStopMode: TIdThreadStopMode;
FStopped: Boolean;
FTerminatingExce... |
{
Copyright (c) 2006, Loginov Dmitry Sergeevich
All rights reserved.
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
list of conditio... |
unit Ths.Erp.Helper.Button;
interface
{$I ThsERP.inc}
uses
Winapi.Windows, Winapi.Messages, Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.ComCtrls, Vcl.Menus, Math, StrUtils, Vcl.ActnList, System.Actions,
Vcl.AppEvnts, Vcl.StdCtrls, Vcl.Samples.Spin, Vcl.ExtCtrls, System.Classes,
Dialogs, System.SysUtils, Syste... |
unit IdTime;
interface
uses
Classes, IdTCPClient;
type
TIdTime = class(TIdTCPClient)
protected
FBaseDate: TDateTime;
FRoundTripDelay: Cardinal;
FTimeout: Integer;
function GetDateTimeCard: Cardinal;
function GetDateTime: TDateTime;
public
constructor Create(AOwner: TComponent); overri... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
(*============================================================================
COSNaming Server Demo for VisiBroker 4 for Delphi
The naming service changed significantly from VisiBroker 3.3 to VisiBroker 4.
Now it is a java application that must be started with a command line that
tells the Name ... |
unit rhlMD2;
interface
uses
rhlCore, SysUtils;
type
{ TrhlMD2 }
TrhlMD2 = class(TrhlHash)
private
FStates: TBytes;
FChecksum: TBytes;
protected
procedure UpdateBlock(const AData); override;
public
constructor Create; override;
procedure Init; override;
proced... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.