text stringlengths 14 6.51M |
|---|
// ******************************************************************
//
// Program Name : $ProgramName$
// Platform(s) : $Platforms$
// Framework : None
//
// Filename : AT.$ShortName$.Config..pas
// File Version : 1.00
// Date Created : $CreateDate$
// Author : Matthew Vesperman
//
// Desc... |
unit DateTimeMethods;
function IsLeapYear(year: integer): boolean := (((year mod 4) = 0) and (year mod 100 <>0)) or (year mod 400 = 0);
function DaysInMonth(month, year: integer): integer;
begin
case month of
1, 3, 5, 7, 8, 10, 12: result := 31;
2: begin
result := 28;
if IsLeapYear(year) then
result:=29;
en... |
unit uFuncoesSO;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
function SysComputerName: string;
function SysWinDir: string;
function SysSystemDir: string;
function SysTempDir: string;
function SysUserName: string;
... |
unit DialogDateValue;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, AncestorDialogScale, StdCtrls, Mask, Buttons,
ExtCtrls, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus,
dxSkinsCore, dxSkinsDefaultPainters, cxControls, cxContainer, cxEdit,
... |
unit uF11_tidur;
interface
uses uP1_tipeBentukan, uP3_Umum, uB4_restock;
procedure mainTidur(dataBahanMentah : tabelBahanMentah;
var dataSimulasi : tabelSimulasi;
var dataInventoriBahanMentah : tabelBahanMentah;
var dataInventoriBahanOlahan : tabelBahanOlahan;ID : integer;
var jmlMakan : in... |
unit TelegAPI.Receiver.Base;
interface
uses
System.Classes,
System.SysUtils,
TelegAPI.UpdateParser,
TelegAPI.Bot,
TelegAPI.Bot.Impl,
TelegAPI.Types,
TelegAPI.Types.Enums;
type
TTgBotReceiverBase = class(TTgBotUpdateParser)
private
FBotDonor: TTelegramBot;
FAllowedUpdates: TAllowedUpdates;
... |
unit UAMC_SendPak_ISGN;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ This is specific unit that knowns how to send the 'Appraisal Package' }
{ to ISGN. Each AMC... |
unit Orders;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, LikeTabs, dxBar, DB, FIBDataSet, pFIBDataSet, FIBDatabase,
pFIBDatabase, cxPC, cxControls, cxGridLevel, cxClasses, cxGridCustomView,
cxGridCustomTableView, cxGridTableView, cxGridDBTableView... |
unit U_Atributos;
interface
uses
System.Rtti;
type
//Informa o CODIGO DA LINHA
TCodigoLinhaAtrib = class(TCustomAttribute)
private
FCodigoLinha : Integer;
public
constructor Create(ACodigoLinha : Integer);
property CodigoLinha : Integer read FCodigoLinha;
end;
... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit UNewPrefix;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, {UWWMulti}UMultipliers, UzLogGlobal;
type
TNewPrefix = class(TForm)
cbCountry: TComboBox;
PXEdit: TEdit;
Label1: TLabel;
Label2: TLabel;
OKButton: TButton;
CancelButton: T... |
namespace com.remobjects.everwood.beta;
interface
uses
android.content;
type
CommonUtilities = public sealed class
public
/// <summary>
/// Base URL of the Demo Server (such as http://my_host:8080/gcm-demo)
/// </summary>
{$IFNDEF TEST}
class var SERVER_URL: String := 'http://be... |
{***********************************************************
TALFTPClient is a ancestor base class of TALWinInetFTPClient
***********************************************************}
unit Alcinoe.FTP.Client;
interface
uses
Winapi.Windows,
System.SysUtils,
System.Classes;
type
{----------------... |
(*
WAVE components
This file is a part of Audio Components Suite.
All rights reserved. See the license file for more details.
Copyright (c) 2002-2010, Andrei Borovsky, anb@symmetrica.net
Copyright (c) 2005-2006 Christian Ulrich, mail@z0m3ie.de
Copyright (c) 2014-2015 Sergey Bodrov, serbod@gmail.com
*)
{
... |
unit uEmployeeDao;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Forms, Dialogs,
Variants, Contnrs, SqlExpr, DBXpress ,StrUtils, inifiles,UConnectBank,uEmployee,uPersonDao,DB,DBClient;
type
TEmployeeDao = class(TPersonDao)
private
procedure insertEmployee(poObj:TEmployee);
public
... |
unit IPropertiesStorageUnit;
interface
uses IGetSelfUnit;
type
IPropertiesStorage = interface (IGetSelf)
['{7D1F9179-9880-4BD8-B6CF-1906DBDDE78E}']
procedure GoToSection(const SectionId: Variant);
function GetCurrentSection: String;
procedure WriteValueForProperty(
const PropertyName: Str... |
unit JSON.InvoiceList;
// *************************************************
// Generated By: JsonToDelphiClass - 0.65
// Project link: https://github.com/PKGeorgiev/Delphi-JsonToDelphiClass
// Generated On: 2019-05-22 08:20:03
// *************************************************
// Created By : Petar Ge... |
{
Projeto..: Desafio Programação - Jornada Labs HAVAN - PROWAY
Candidato: Márcio Moreira Camilo
Telefone.: (47)98867-7130
E-mail...: mmcamilo@gmail.com
Data.....: 19/05/2021
Parte 2 - Crie um sistema que permita o controle das operações
O cadastro deverá conter os seguintes dados:
... |
unit sag_hexdump ;
//
// Hex dump of a memory area, given its pointer and length.
//
// v 1.0 - 20121003 - inici
// v 2.0 - 20150520 - AnsiChar to get one byte only for every char
//
interface
uses
Windows, StdCtrls, SysUtils,
SAG_debug ;
const
kVersio = 'v 2.0' ;
kData_Darrera_Modificacio = '20150520' ;... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2017 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as ... |
unit UCL.IntAnimation;
interface
uses
System.Classes, System.Threading, System.SysUtils;
type
TAniSyncProc = reference to procedure (Value: Integer);
TAniFunction = reference to function (Value: Integer): Int64;
TAniKind = (akIn, akOut);
TAniFunctionKind = (afkCustom, afkLinear, afkQuadratic, ... |
unit uPatientABC;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AdvUtil, Vcl.StdCtrls, Vcl.ComCtrls,
Vcl.ExtCtrls, Vcl.Grids, AdvObj, BaseGrid, AdvGrid;
type
TPatientABC_f = class(TForm)
grdCount: TAdv... |
unit UTools;
interface
uses SysUtils, Classes, Controls, RPCtrls, IntfUtils, checklst;
function GetDesignObjectName(Obj : TObject; const DefaultName : string='') : string;
type
TGetDesignObjectNameFunc = function (Obj : TObject; const DefaultName : string='') : string;
var
GetDesignObjectNameFunc : TGetDesig... |
unit uFrmCompraDescarte;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, StdCtrls, ComCtrls, ActnList, Mask, DBCtrls, DB;
type
TfrmCompraDescarte = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5... |
unit BoardSize;
interface
uses Project, Outlines;
procedure CalcRequiredBoardRectangle( Project : TveProject;
var Left, Right, Top, Bottom : integer );
procedure RequiredStripArea( Project : TveProject; var Width, Height : integer );
procedure RescueOffBoardItems( Project : TveProject );
procedure Re... |
unit ColorUtils;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit> ColorUtils
<What> 有关颜色的处理和转换
<Written By> Huang YanLai
<History>
**********************************************}
interface
// hue : 0~360, saturation : 0~1, bright... |
unit locale;
{
Locale.library
}
{$MODE OBJFPC}{$H+}{$HINTS ON}
{$IFDEF AMIGA} {$PACKRECORDS 2} {$ENDIF}
{$IFDEF AROS} {$PACKRECORDS C} {$ENDIF}
{$IFDEF MORPHOS} {$PACKRECORDS 2} {$ENDIF}
{$UNITPATH ../Trinity/}
{$UNITPATH .}
interface
uses
trinitypes, exec, amigados, utility;
Type
//* Open... |
unit UList;
interface
uses UInfo,Grids, SysUtils;
type
TElementPointer = ^TElement;
TElement = record
Info:Tinfo;
Next: TElementPointer;
end;
TInfoList = class
private
FHead:TElementPointer;
protected
function GetNode(key:TKey;var p:TElementPointer):TElementPointer;
public
constructor... |
unit DemoInterfaces;
interface
type
TLogLevel = (Debug, Info,Warning, Error);
ILogger = interface
['{156AC1CA-E300-4F2B-ACF5-A14F8CA32859}']
procedure Log(const level : TLogLevel; const value : string);
end;
IClipboardProvider = interface
['{7AE75055-8417-4CB2-8172-82B9DBFC08AE}']
function CanC... |
unit Windows;
{$mode delphi}{$H+}
interface
uses
Classes, SysUtils,Screen,Comun,
PXL.Types;
Type
{ TControl }
TControl = Class
private
FHeight: integer;
FLeft: integer;
FTop: integer;
FWidth: integer;
public
property Top:integer read FTop write FTop;
property Left: integer read FLeft wri... |
unit define_htmldom;
interface
uses
Classes,
html_helperclass;
const
HTMLDOM_NODE_NONE = 0; // extension
HTMLDOM_NODE_ELEMENT = 1;
HTMLDOM_NODE_ATTRIBUTE = 2;
HTMLDOM_NODE_TEXT = 3;
HTMLDOM_NODE_CDATA_SECTION = 4;
HTMLDOM_NODE_ENTITY_REFERENCE = 5;
... |
{
Copyright (C) 2001-2008 Benito van der Zander, www.benibela.de
This file is part of API Manager.
API Manager 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 L... |
unit Vs.Pedido.Venda.Salvar.Controlador;
interface
uses
// Vs
Vs.Pedido.Venda.Salvar;
type
IPedidoVendaSalvarControlador = interface
['{B9EF4DB9-4567-4341-9415-871C7E677575}']
function Executar(ACliente: string; AValor: Double): Integer;
end;
function PedidoVendaSalvarControlador: IPedidoVendaSalva... |
unit Contacts;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
const jid_not_found = 'jid not found';
type Tcontact = class (TObject)
jid, resource, fn, lon, lat : string;
end;
procedure InitContacts;
procedure AddContact(jid, fn, resource : string);
procedure RemoveContact(jid : string);
procedure Up... |
unit Module.WinFirewall;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CMW.ModuleStruct, Firewall, CMW.OSInfo, CMW.Utils, ActiveX, ComObj,
Vcl.ComCtrls, Vcl.ImgList, Winapi.ShellAPI;
type
TFormFirewall = c... |
procedure logWrapper(id: byte; text: string; severity: eLogSeverity);
begin
if (id = 255) then writeln(ScriptName + '> ' + text)
else case (severity) of
sevInfo: writeconsole(id, text, ColorInfo);
sevWarning: writeconsole(id, text, ColorWarning);
sevError: writeconsole(id, text, ColorEr... |
unit uFrameCandidato;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, uDMPrincipal;
type
TframeCandidato = class(TFrame)
lbCandidato: TLabel;
edInscricao: TEdit;
btBuscar: TButton;
edNome: TEdit;
procedure btBuscarClick(Sender: T... |
unit JSON.ChartOfAccountList;
// *************************************************
// Generated By: JsonToDelphiClass - 0.65
// Project link: https://github.com/PKGeorgiev/Delphi-JsonToDelphiClass
// Generated On: 2019-05-22 20:38:03
// *************************************************
// Created By : P... |
unit AqDrop.DB.DBX.MSSQL;
{$I '..\Core\AqDrop.Core.Defines.Inc'}
interface
uses
Data.DBXCommon,
{$IFNDEF AQMOBILE}
Data.DBXMSSQL,
{$ENDIF}
Data.SqlExpr,
AqDrop.DB.SQL.Intf,
AqDrop.DB.Adapter,
AqDrop.DB.Connection,
AqDrop.DB.DBX;
type
TAqDBXMSSQLAdapter = class(TAqDBXAdapter)
str... |
unit LogTools;
interface
uses
Classes;
const
MaxLogLines = 500;
MaxLogSize = 1000;
FileName = 'Logs.log';
type
TLogCategory = ( lcInformation, lcWarning, lcError );
TLogMessage =
class
private
fDateTime : TDateTime;
fCategory : TLogCategory;
fUser,
... |
unit NtUtils.Profiles;
{
The module provides support for working with normal (user) and AppContainer
profiles.
}
interface
uses
Ntapi.WinNt, Ntapi.UserEnv, Ntapi.ntseapi, NtUtils, DelphiApi.Reflection;
type
TProfileInfo = record
[Hex] Flags: Cardinal;
FullProfile: LongBool;
ProfilePath: String;
... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit nxStrings;
{$IFDEF fpc}{$H+}{$ENDIF}
interface
{$IFDEF fpc}uses LCLProc;{$ENDIF}
type
TStrAlign = (saLeft, saRight, saCenter);
TCustomRead = (crString, crInt, crSingle, crDouble, crByte, crWord,
crShortInt, crSmallInt, crCardinal, crBool, crInt64);
function BoolToStr(const b: Boolean): string;
fun... |
unit RS232DlgDyn;
interface
uses Winapi.Windows, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Forms,
Vcl.Controls, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Serial3;
type
TSerialDialog = class(TForm)
btnOK: TButton;
btnCancel: TButton;
lblBaud: TLabel;
cmbBaud: TComboBox;
bvlCom: TBevel... |
//Корректировка долгов
unit fDebtEd;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, StdCtrls, DBCtrlsEh, Mask, LMDCalendarEdit,
LMDCustomControl, LMDCustomPanel, LMDCustomBevelPanel, LMDBaseEdit,
LMDCustomEdit, LMDCustomMaskEdit, LMDMaskEdit, To... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit UdwsClassesTests;
interface
uses Classes, SysUtils, dwsXPlatformTests, dwsComp, dwsCompiler, dwsExprs,
dwsClassesLibModule, dwsXPlatform, dwsSymbols, dwsUtils;
type
TdwsClassesTests = class (TTestCase)
private
FTests : TStringList;
FCompiler : TDelphiWebScript;
... |
unit xEmail_UT;
interface
uses
DUnitX.TestFramework, xEmail_I, xEmail_U;
type
[TestFixture]
TMyTestObject = class(TObject)
private
FEmail : TEmail;
public
[Setup]
procedure Setup;
[Teardown]
procedure Teardown;
[Test]
procedure TestAddSendToEmailAddress;
[Test]
procedure... |
// Author: Cameron Martin
// Student ID: 6452450
// Date: 24/03/2011
// Program: example.pas
// Description:
program TestInput;
uses SysUtils;
function ReadString(prompt: String): String;
begin
Write(prompt);
ReadLn(result);
end;
function ReadInt(prompt: String): Integer;
var
temp: String;
begin
temp... |
unit DCU_Out;
interface
(*
The output module of the DCU32INT utility by Alexei Hmelnov.
(Pay attention on the SoftNL technique for pretty-printing.)
----------------------------------------------------------------------------
E-Mail: alex@icc.ru
http://hmelnov.icc.ru/DCU/
----------------------------------------------... |
unit AbBytes;
interface
uses
System.SysUtils;
type
TAbBytes = record
public
class function AsString(ASource: Pointer): string; overload; static;
class function AsString(ASource: Pointer; ALen: Integer): string; overload; static;
class function Equals(const ALeft: string; ARight: Pointer... |
unit Edo;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ParseMath, Func, Dialogs, Math;
type
TEDO = class
constructor Create(n: integer);
destructor Destroy(); override;
private
MParse: TParseMath;
MR: TList;
nv: integer;
public
procedure SizeH(xi,xf: real);
... |
unit bluetoothclientsocket;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, AndroidWidget;
type
{Draft Component code by "Lazarus Android Module Wizard" [5/16/2014 14:36:32]}
{https://github.com/jmpessoa/lazandroidmodulewizard}
TOnConnected = procedure(Sender: TObject; deviceName: string; deviceAddres... |
unit AqDrop.Core.Helpers.TObject;
interface
uses
System.Rtti,
System.SyncObjs,
System.Generics.Collections;
type
TAqFieldMapping = class
strict private
FFieldFrom: TRttiField;
FFieldTo: TRttiField;
public
constructor Create(const pFieldFrom, pFieldTo: TRttiField);
proper... |
unit SBomReader;
interface
uses
Classes, SysUtils, ComObj, CommUtils, KeyICItemSupplyReader;
type
TSBom = class;
TBomGroupChild = packed record
dStockSemi: Double;
spriority: string;
supp: TKeyICItemSupplyLine;
end;
PBomGroupChild = ^TBomGroupChild;
TSBomChild = class
private
proced... |
// IEEE-754 Support for NANs and INFs.
// Copyright (C) 1997-1998, Earl F. Glynn, Overland Park, KS USA.
// All Rights Reserved.
//
// Information about IEEE Arithmetic was taken from
// "Numerical Computation Guide," Sun Microsystems, 1990.
UNIT IEEE754;
INTERFACE
{$J-} // Do not allow constants t... |
unit UOptionsIni;
interface
type
TOptionsIni = class
private
FFileName: string;
// Put private values of data fields here
public
property FileName: string read FFileName write FFileName;
// Put public properties of data fields here
public
procedure LoadFromFile;
procedure SaveToFile;
... |
program PD (input, output) ;
type
tRefListe = ^tListe;
tListe = record
info : integer;
next : tRefListe
end;
var
mylist : tRefListe;
procedure LiesListe(var outListe : tRefListe);
{ Liest eine (evtl. leere) Liste ein und gibt deren Anfangszeiger outListe zurueck. }
var
Anzahl : integer;
... |
unit DIOTA.Dto.Response.GetBalancesAndFormatResponse;
interface
uses
Generics.Collections,
DIOTA.IotaAPIClasses,
DIOTA.Model.Input;
type
TGetBalancesAndFormatResponse = class(TIotaAPIResponse)
private
FInputs: TArray<IInput>;
FTotalBalance: Int64;
function GetInputs(Index: Integer): IInput;
... |
(* *****************************************************************************
Copyright (C) 2010-2014 - Bambu Code SA de CV - Ing. Luis Carrasco
Este archivo pertenece al proyecto de codigo abierto de Bambu Code:
http://bambucode.com/codigoabierto
La licencia de este codigo fuente se encuentra en:
http:/... |
unit LongHashMapEntry_u;
interface
type LongHashMapEntry=class(TObject)
public
key:int64;
value:TObject;
nextEntry:LongHashMapEntry;
field_35831_d:integer;
constructor Create(i:integer; l:int64; obj:TObject; longhashentry:LongHashMapEntry);
function func_35830... |
unit DBAppFormTabela;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Datasnap.DBClient, Vcl.StdCtrls, Vcl.ExtCtrls,
Vcl.Grids, Vcl.DBGrids, Vcl.ComCtrls, DBAppProjetoBase, DBAppColuna, Vcl.Menus,
DB... |
unit TimeUtils;
interface
uses
Windows,
SysUtils;
function LocalTimeToZTime( DateTime : TDateTime ) : TDateTime;
function ZTimeToLocalTime( DateTime : TDateTime ) : TDateTime;
function DayLightTime ( DateTime : TDateTime ) : boolean;
implementation
// Public procedures & functions
function Loc... |
Unit XRepLays;
Interface
Uses Classes, Graphics, DB, ppTypes, ppClass, ppCtrls, XReports;
type
{ TXLineLayout }
TXLineLayoutType = (llNone, llRail, llDoubleRail, llTop, llBottom, llFrame, llFrameComponents);
TXLineLayout = class(TComponent)
private
FLineType: TXLineLayoutType;
FIndent... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TfrmMain = class(TForm)
pnlTop: TPanel;
btnGetResult: TButton;
mmResult: TMemo;
procedure btnGetRe... |
unit IdTestHttpServer;
interface
uses
IdGlobal,
IdContext,
IdHttp,
IdIOHandlerStack,
IdCustomHttpServer,
IdHttpServer,
IdLogDebug,
IdServerInterceptLogFile,
IdHttpHeaderInfo,
IdObjs,
IdSys,
IdTcpClient,
IdTest;
type
TIdTestHttpServer = class(TIdTest)
private
... |
unit qtxutils;
//#############################################################################
//
// Unit: qtxutils.pas
// Author: Jon Lennart Aasenden [cipher diaz of quartex]
// Copyright: Jon Lennart Aasenden, all rights reserved
//
// Description:
// ============
// Common utility functions and c... |
{
Expanded Memory Interface : Caglios '97
}
unit
emm;
interface
Type
ST5 = string[5];
procedure E2CFlip(Handle, Dest, amt : word);
procedure C2EFlip(Source, DestHandle, Amt : word);
procedure Free_Handle(Handle : word);
procedure PageAlloc(var Segment:word; NumPages : word);
procedure EMMSta... |
unit FGWinReader;
interface
uses
Classes, CommUtils, SysUtils, ComObj, MakeFGReportCommon, Variants;
type
TFGWinRecord = packed record
dt: TDateTime;//入库日期
snumber: string; //物料长代码
sname: string; //物料名称
sBatchNo: string; // 批次
dqty: Double; //数量
sfac: string; //代工厂
snote: string;... |
unit PluginManager;
interface
uses
Windows,
SysUtils,
Classes;
type
EPluginManagerError = class(Exception);
EPluginLoadError = class(EPluginManagerError);
EPluginsLoadError = class(EPluginLoadError)
private
FItems: TStrings;
public
constructor Create(const AText: String;... |
unit UAAForm;
(* AAエディタ *)
interface
uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
JConfig, StdCtrls, ExtCtrls, Menus, UWritePanelControl;
type
TAAForm = class(TForm)
Panel: TPanel;
Edit: TMemo;
ComboBox: TComboBox;
... |
(*============================================================================
-----BEGIN PGP SIGNED MESSAGE-----
This code (c) 1994, 1997 Graham THE Ollis
GENERAL NOTES
=============
This is 16bit DOS TURBO PASCAL source code. It has been tested using
TURBO PASCAL 7.0. You will need AT LEAST version 5.0 ... |
////////////////////////////////////////////////////////////////////////////////
//
// ****************************************************************************
// * Unit Name : Unit1
// * Purpose : Демо работы с корзиной
// * Author : Александр (Rouse_) Багель
// * Version : 1.01
// * Web Site ... |
unit uConexaoMongo;
interface
uses
System.SysUtils, System.Classes, mongoWire, bsonDoc;
type
TMongoConexao = class(TComponent)
private
FDatabase : String;
FHost : String;
FPorta : Integer;
FAtivar : Boolean;
procedure setAtivar(const Value: boolean);
public
... |
program StudentSort;
{$mode objfpc}{$H+}
uses {$IFDEF UNIX} {$IFDEF UseCThreads}
cthreads, {$ENDIF} {$ENDIF}
Classes { you can add units after this };
{type
TStudent = record
StudentName: string;
Mark: byte;
end;
procedure BubbleSort(var X: array of TStudent);
var
Temp: TStud... |
UNIT B3Dhelps;
{$D-}
{$N+}
INTERFACE
USES
Graph, CUPSmupp, CUPS, CUPSgui;
TYPE
HelpScreens = (progHS,
partHS,part1aHS,part1bHS,part1cHS,
angMomHS,tryEnergyHS,examineHS,cloudHS,
part2HS,part2aHS,part2bHS);
PROCEDURE SetUpTryEnergyHS(VAR A:HelpScrType);
PRO... |
unit UGradientPoint;
interface
uses
Windows, Classes,StrUtils, Controls, StdCtrls, SysUtils, xmldom, XMLIntf, msxmldom, XMLDoc, UTypedefs, contnrs, Dialogs;
type
TGradientPoint = class
private
_x, _a, _midpoint, _sharpness :single;
public
property X : single read _x write _x;
property A : single read ... |
unit ASEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TAutoSkipEvent = procedure(Sender: TObject; var bSkip : Boolean) of object;
TASkipEdit = class(TEdit)
private
{ Private declarations }
FAutoSkip : Boolean;
FAutoSkipLength : Int... |
//********************************************************************************************************************************
//* *
//* TReadMemoryStream 1.0.0.0 © 3delite 2015 ... |
unit jclass_interface_list;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
jclass_constants,
jclass_common_abstract,
jclass_common,
jclass_common_types;
type
{ TJClassInterfaces }
TJClassInterfaces = class(TJClassLoadable)
private
FClassFile: TJClassFileAbstract;
FInterfacesData: ... |
unit BooksControllerU;
interface
uses MVCFramework, BooksModuleU, MVCFramework.Commons;
type
[MVCPath('/books')]
TBooksController = class(TMVCController)
private
FBookModule: TBookModule;
protected
procedure OnAfterAction(Context: TWebContext;
const AActionNAme: string); override;
procedur... |
{-----------------------------------------------------------------------------
Unit Name: DUNumbers
Author: Sebastian Hütter
Date: 2006-08-01
Purpose: Numerical routines, conversion....
History: 2006-08-01 initial release
-----------------------------------------------------------------------------}
u... |
unit Ct01;
{
ULCT01.DPR***************************************************************
File: CT01.PAS
Library Call Demonstrated: 8254 Counter Functions
cbC8254Config()
cbCLoad()
... |
unit BSDemandReader;
interface
uses
Windows, Classes, SysUtils, ComObj, Variants, CommUtils;
type
TBSDemand = class
public
FNumber99: string;
FDate: string;
FQty: Double;
end;
TBSDemandReader = class
private
FFile: string;
ExcelApp, WorkBook: Variant;
procedure Log(const st... |
unit BitmapLabel;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls,
StdCtrls;
const
sLineBreak = {$IFDEF LINUX} AnsiChar(#10) {$ENDIF}
{$IFDEF MSWINDOWS} AnsiString(#13#10) {$ENDIF};
type
{ TBitmapLabel }
TBitmapLabel = class(T... |
unit toolbar_terrain;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, ComCtrls, inifiles,
StdCtrls, Buttons, core_terrain_generator, PerlinNoise, core_types, core_utils,
brickUImain;
type
{ TtoolbarTerra }
TtoolbarTerra = class(TForm)
Button1: TButton;
Button2: TButton;
randomiz... |
{$MODESWITCH RESULT+}
{$GOTO ON}
(*************************************************************************
This file is a part of ALGLIB project.
>>> SOURCE LICENSE >>>
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... |
unit DialogModule;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, dxLayoutControl, StdCtrls, cxButtons,
cxControls, RzButton, Menus;
type
TfrmDialogModule = class(TForm)
lcDialogGroup_Root: TdxLayoutGroup;
lcDialog: TdxLayoutC... |
unit YOTM.DB;
interface
uses SQLite3, SQLLang, SQLiteTable3, System.Generics.Collections, HGM.Controls.VirtualTable;
type
TOnLogEvent = procedure(Text:string) of object;
TDB = class
private
FDataBase:TSQLiteDatabase;
FDataBaseName:string;
FCreated:Boolean;
FOnLog: TOnLogEvent;
p... |
unit SG_Messages;
interface
function yesNoQuestion(text:string):boolean;
procedure information(text:string);
implementation
uses
Dialogs,
Controls;
function yesNoQuestion(text:string):boolean;
begin
Result:=MessageDlg(text,mtConfirmation,[mbYes, mbNo],0)=mrYes;
end;
procedure information(text:string);
beg... |
unit DUnitX.Tests.IgnoreFixture;
interface
uses
DUnitX.TestFramework;
type
[TestFixture]
[Ignore('Ignore complete Fixture.')]
TIgnoredTest = class
public
[Setup]
procedure Setup;
[SetupFixture]
procedure SetupFixture;
[Teardown]
procedure Teardown;
[TeardownFixture]
procedur... |
Unit Vg;
Interface
Uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
CommCtrl, ComCtrls, DB, DBTables, DBCtrls;
type
TSetRangeEvent = procedure (Sender: TObject; DataSet: TDataSet; ParentID: String) of object;
TCancelRangeEvent = procedure (Sender: TObject; DataSet: TDa... |
{
Shared "weak reference", that stored actual pointer to object
and resides in memory while used by someone.
Allows you to check whether an object is alive or not.
Слабая ссылка хранит указатель на какой-то объект и висит в памяти,
пока ее кто-то использует. Позволяет проверять, жив ли объект или нет.
Sergey Bo... |
unit uDeviceForm;
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.Imaging.pngimage, Vcl.Imaging.jpeg, uJLinkARM;
type
TDeviceForm = class( TForm )
Label1 : TLabel;
L... |
unit uFNV;
interface
function fnv(dwOffset : Pointer; dwLen : NativeUInt; offset_basis: NativeUInt) : NativeUInt ; assembler; register;
implementation
function fnv(dwOffset : Pointer; dwLen : NativeUInt; offset_basis: NativeUInt) : NativeUInt ; assembler; register;
//
// http://find.fnvhash.com/ - FNV Has... |
unit AbastecimentoBO;
interface
uses
Data.SqlExpr, SysUtils, Forms, Windows, Util, AbastecimentoDAO, Abastecimento;
type
TAbastecimentoBO = class
private
{ private declarations }
public
procedure Salvar(Abastecimento: TAbastecimento);
end;
implementation
{ TAbastecimentoBO }
procedure TAbastecim... |
// Fit4Delphi Copyright (C) 2008. Sabre Inc.
// 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 ... |
////////////////////////////////////////////////////////
// //
// Programa Box ( Video Play ) //
// Sistema Gerenciador de Maquina de Musica //
// //
// Desenvolvido Por: A... |
unit F_Registry;
interface
uses
Windows;
procedure RegWriteInteger(RegPath, Name: AnsiString; Value: DWORD);
function RegReadInteger(RegPath, Name: AnsiString): DWORD;
implementation
procedure RegWriteInteger(RegPath, Name: AnsiString; Value: DWORD);
var
hReg: HKEY;
hNew: HKEY;
begin
if Re... |
unit AbstractFactory.Interfaces.IAbstractProductA;
interface
// Each distinct product of a product family should have a base interface.
// All variants of the product must implement this interface.
// Cada produto distinto de uma familia de produtos deveria ter uma interface base
// Todas variantes do produto deve i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.