text stringlengths 14 6.51M |
|---|
unit FSearch;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids, DBGrids, DBClient, DB, FRegistration,
UFacade, UPhysicalPersonList, UPhysicalPerson, UDataSourceFactory;
type
TFrmSearch = class(TForm)
txtDataSearch: TEdit;
rdForName: TR... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://webservices.bradfordsoftware.com/wsmessages/messagingservice.asmx?wsdl
// Encoding : utf-8
// Version : 1.0
// (12/... |
{! Unified reading from StdIn for different OS, demo application.
Works for following use cases:
1. `prg < file`
2. `(type, cat) file | prg`
3. `prg`
In the first two cases it is assumed, that all the input is in the file.
The file is read with blocking calls, until the end of the file is reached.
In the thi... |
unit UFileExport;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
{ This is the interface unit of the export capability in ClickForms}
{ The actual data export ... |
unit uSplashForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
StdCtrls, uAbout;
type
{ TSplashForm }
TSplashForm = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Logo: TImage;
procedure FormCreate(Sender: T... |
{*!
* 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 EpollBoundSocketSvrImpl;
interface
{$MODE OBJFPC}
{$H+}
uses
... |
// =============================================================================
// Module name : $RCSfile: ScriptReader.pas,v $
// Description : This unit defines a class for reading a test script.
// A test script is composed some variable definitions and some
// test cases.
// ... |
unit AuxAsyncZeosFunctions;
interface
uses ZConnection, ZDataset, DataSetOperationThreadUnit, VariantListUnit, SysUtils, Classes;
{
Назначение:
Асинхронное выполнение запроса к БД
Параметры:
DBConnection - соединение с БД,
QueryText - текст запроса,
ParamNames - перечень наименований параметров,... |
unit w3pages;
interface
uses
System.Types,
SmartCL.System;
type
EPages = Class(EW3Exception);
TCustomPages = Class(TObject)
Private
FIndex: Integer;
FTotal: Integer;
FPageSize: Integer;
Protected
Procedure DoSetPageSize(const Value:Integer);virtual;
Function DoGetPag... |
unit UConvertMismoXML;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, ComCtrls, StdCtrls, UForms, UContainer;
const
logFileName = 'Conversionlog.csv';
statusSuccess = 'converted';
type
TConvertMismoXML = class(TAdvancedForm)
GroupBox1: TGroupBox;... |
{
ID:because3
PROG:fence4
LANG:PASCAL
}
program fence4;
type point=record
x,y:double;
end;
var s:array [0..200] of point;
b:array [0..200] of longint;
i,n,total:longint;
k:double;
function det(x1,y1,x2,y2:double):double;
begin
exit(x1*y2-x2*y1);
end;
function dot(x1,y1,x2... |
unit Hashes;
{** Hash Library
Original Author: Ciaran McCreesh <keesh@users.sf.net>
Copyright: Copyright (c) 2002 Ciaran McCreesh
Date: 20020621
Purpose: A collection of hash components for Delphi. These are
similar to arrays, b... |
unit MainInventoryUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
System.Win.ComObj, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGridExportLink, cxGraphics, Math,
cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, System.RegularExpre... |
unit core_editor;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,core_render,vectorGeometry,core_types,core_lights,
Vectortypes,core_camera,core_utils,core_terrain_generator,core_block_brush,core_chunk,
menu_rotate, core_orders, core_behaviour_tree, core_listofrecords, core_atmosphere,
core_orders_man... |
unit SharedMemoryClient;
interface
uses Winapi.Windows, System.Classes, Generics.Collections, System.SysUtils,
System.SyncObjs, xmloptions,
SharedMemoryProtocol, SharedConst;
type
TRClientConnectMode = (
cmNotConnected,
cmConnected,
cmError
);
TRSharedMemoryClient = class;
// подключение
TRS... |
unit Data.Proxy.Book;
interface
uses
Data.DB,
Data.DataProxy;
type
TBookProxy = class(TDatasetProxy)
private
FISBN: TWideStringField;
FTitle: TWideStringField;
FAuthors: TWideStringField;
FStatus: TWideStringField;
FReleseDate: TDateField;
FPages: TIntegerField;
FPrice: TBCDField;... |
unit FiftyTiftyDBCUIFunctions;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, FiftyTiftyDBCTypes,
FiftyTiftyDBCUI;
function LaunchColorPicker(dialogToOpen: TColorDialog; frameParent: TFrame3):... |
unit uLancaValidadeProdutos;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Generics.Collections,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uPadrao, Vcl.Imaging.pngimage, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Buttons, Vcl.Mask, RxToolEdit, RxCurrEdit,
frame... |
unit SVGImage;
interface
uses
System.Classes, Vcl.Graphics, System.SysUtils, System.Math, System.UITypes;
type
TSVGImage = class
private
fContent: TStringList;
function getContent: string;
function GetColorRgb(color: TAlphaColorF): string;
function ConvertAlpha(color: TAlphaColorF): Double;
... |
unit FirstPaint;
interface
uses
Windows, Messages, SysUtils, Classes, Controls,ComWriUtils;
type
TShowFilter = class(TMsgFilter)
private
First : boolean;
FOnFirstShow: TNotifyEvent;
procedure WMPaint(var message : TWMPaint); message WM_Paint;
public
constructor Create(AControl : TControl); ov... |
unit MatriculaModel;
{$MODE OBJFPC}
interface
uses
Classes, SysUtils,
AlunoModel in 'AlunoModel.pas';
type
TMatriculaModel = class
public
public
FCodigo: integer;
alun: TAlunoModel;
FPeriodo: integer;
constructor Create;
function getFCodigo : integer;
procedure setFCodigo(codigo : integer);
... |
unit TSTOHackMasterListImpl;
interface
Uses HsInterfaceEx, HsStringListEx, TSTOHackMasterListIntf;
Type
TTSTOHackMasterMovedItem = Class(TInterfacedObjectEx, ITSTOHackMasterMovedItem)
Private
FXmlFileName : String;
FOldCategory : String;
FNewCategory : String;
Protected
Function GetXmlFileNam... |
unit framLogOn;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.Edit, fDM;
type
TframeLogOn = class(TFrame)
edtUser: TEdit;
edtPassword: TEdit;
... |
unit Func1D;
interface
uses
FrogObj, Numerics;
type
TDomainType = (dtTime, dtFreq);
// 1Dfunction abstracts some of the basic functionality of vectors
T1DFunction = class(TFrogObject)
protected
mN: integer;
mDelT: double;
mLam0: double;
mHalf1: double; // These two are for FWHM, so ... |
Program Pzim ;
type
cadastro = record
codigo:integer;
tipo:string;
semana : array [1..6] of integer;
media : real;
end;
const max=2;
var
i,j,soma : integer;
produto : array [1..max] of cadastro;
total: array [1..6] of integer;
media: array [1..6] of real;
procedure subprograma();
begin
for i... |
unit XFaceBigInt;
(*
* Compface - 48x48x1 image compression and decompression
*
* Copyright (c) James Ashton - Sydney University - June 1990.
*
* Written 11th November 1989.
*
* Delphi conversion Copyright (c) Nicholas Ring February 2012
*
* Permission is given to distribute these sources, as long as the... |
{-----------------------------------------------------------------------------
Всякие полезные функции
(C) Sergey Bodrov (serbod@gmail.com)
MIT license
-----------------------------------------------------------------------------}
unit RFUtils;
{$ifdef FPC}
{$mode DELPH... |
unit Ai03;
{
ULAI03.DPR================================================================
File: AI03.PAS
Library Call Demonstrated: cbAInScan(), BACKGROUND mode
Purpose: Scans a range of A/D Input Channels and stores
the sample ... |
unit TestBuilder.SQL;
interface
uses
TestFramework, System.SysUtils, Builder.SQL.DML, Util.RS, Generics.Collections,
StrUtils, RegisterVariable.ConnDB, Util.Constantes, Vcl.Dialogs,
Data.DB, Util.Types;
type
{$REGION 'Teste Builder Insert'}
TestTBuilderSQLDMLInsert = class(TTestCase)
strict private
... |
{ **************************************************************************** }
{ Project: ConnectFour3D
{ Module:
{ Author: Josef Schuetzenberger
{ E-Mail: schutzenberger@hotmail.com
{ WWW: http://members.fortunecity.com/schutzenberger/download/en.html#ConnectFour3D
{ *************************************... |
program dos_readargs_help;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{$MODE OBJFPC}{$H+}{$HINTS ON}
{$UNITPATH ../../../Base/CHelpers}
{$UNITPATH ../../../Base/Trinity}
{
===========================================================================
Project ... |
program HelloWorldPost;
procedure Main();
var
i : Integer;
begin
i:= 0;
repeat
i := i + 1;
WriteLn(i,' -Hello World');
until i = 1000000;
end;
begin
Main();
end. |
Unit WSRestClient_ShippingRest ;
{
Class TWSRest_ShippingRest
19/07/2018 xxxxxx, SCotillard
http://confluence.dvpt.xxxxxx.fr:8090/display/CNR/ShippingRest
Usage :
try
// ********************
// Creation via :
// ********************
// myShippingTicket := TWSRestClient_ShippingRest.C... |
(*
Copyright (c) 2011, 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... |
program TestReadString;
uses SysUtils, ReadStringFunction;
procedure Main();
var
name : String;
age : Integer;
aDouble : Double;
begin
name := ReadString('EnterYourName :');
age := ReadIntegerRange('Enter your age :',1,50);
aDouble := ReadDouble('Enter a real number');
WriteLn('Hi ',name, ' you are '... |
// Demonstrates the "RatingsListItem" TListView appearance.
// Install the SampleListViewMultiDetailApparancPackage before opening this form.
unit RatingsMainFormU;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialog... |
unit TNsRemoteProcessManager.Domain.Models.Process;
interface
type
TProcess = class(TInterfacedObject)
private
fisservice : Boolean;
fname : string;
public
property IsService : Boolean read fisservice write fisservice;
property Name : string read fname write fname;
end;
implementa... |
unit qtxlabel;
//#############################################################################
//
// Unit: qtxlabel.pas
// Author: Jon Lennart Aasenden [cipher diaz of quartex]
// Copyright: Jon Lennart Aasenden, all rights reserved
//
// Description:
// ============
// This unit contains a more light... |
namespace Beta;
interface
uses
System.Collections.Generic,
System.Linq,
System.Text,
System.Net,
System.IO,
System.Windows.Navigation,
System.Windows,
System.Xml.Linq,
System.Collections.ObjectModel,
System.IO,
System.IO.IsolatedStorage,
System.Windows.Media,
Beta.ViewModels,
Beta.Helpers... |
unit pMpqReadWrite;
interface
uses Windows, pMpqAPI, Classes, SysUtils, Forms, dialogs;
procedure MpqRead(Mpq:String; FileName:String; Strings: TStrings);
procedure MpqWrite(Mpq:String; FileName:String; Strings: TStrings);
const
MAFA_FORMAPS=MAFA_COMPRESS OR MAFA_ENCRYPT OR MAFA_REPLACE_EXISTING OR MAF... |
unit main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Menus,
ComCtrls, utils, fpjson, jsonparser, fileutil, md5, windows;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
Button2: TButton;
Button3: TButton;
B... |
unit EnumValueEditController;
interface
uses
Classes, SysUtils, tiObject, mapper, mvc_base, widget_controllers, AppModel,
EnumValueEditViewFrm, BaseOkCancelDialogController;
type
// -----------------------------------------------------------------
// Class Objects
// --------------------------------------... |
program exFunction;
var
a, k, b, result, ret : integer;
(*function definition *)
function power(num1, num2: integer): integer;
var
(* local variable declaration *)
result: integer;
begin
result := num1;
for k:= 1 to (num2-1) do
result := result * num1;
power := result;
end;
begin
a... |
unit dmMain;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.VCLUI.Wait,
FireDAC.Stan.Param, FireDAC.DatS, FireDAC.DApt.Intf, D... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.ORM.RestServer.Config
Description : Rest ORM Server allows access by http, httpapi or websockets
Author : Kike Pérez
Version : 1.5
Created : 09/06/2017
Modifi... |
unit IPHelperDef;
interface
uses Windows, SysUtils;
Const
// ******* Из iptypes.h *******
MAX_HOSTNAME_LEN = 128;
MAX_DOMAIN_NAME_LEN = 128;
MAX_INTERFACE_NAME_LEN = 256;
MAX_SCOPE_ID_LEN = 256;
MAX_ADAPTER_NAME_LENGTH = 256;
MAX_ADAPTER_... |
// Author: Wayne Buchner
// Student ID: 6643140
// Date: 03/04/2011
// Program: Median.pas
// Description: Calculate the Median value from an array
program Stats;
uses SysUtils,math;
// function to calculate the sum of an array
function SumArray(const list : array of Double):Double;
var
i : Integer;
begin
result :... |
unit CartaoCredito;
interface
uses
Windows, SysUtils, Forms, Dialogs, Controls, Classes, ECFCheckout,
DBTables;
type
TInfoRetorno = record
ValorTotal : string; {003-000}
Moeda : string; {004-000}
CMC7 : string; {005-000}
TipoPessoa : string; {006-000}
DocPessoa : string; {007-000}
DataC... |
unit uResQuiz;
// EMS Resource Module
interface
uses
System.SysUtils, System.Classes, System.JSON,
EMS.Services, EMS.ResourceAPI, EMS.ResourceTypes,
UDMQuiz;
type
[ResourceName('resQuiz')]
TresQuiz = class(TDataModule)
procedure DataModuleCreate(Sender: TObject);
procedure DataModuleDestroy(Sender... |
unit DataPortFTDI;
{
Serial communication port based on FTD2XX library.
Sergey Bodrov, 2012-2016
Properties:
SerialNumber - FTDI device serial number
DeviceDescription - FTDI device description string
BaudRate - data exchange speed (300, 1200, 9600, 115384, 230769, 923076)
MinDataByt... |
{$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 ... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit zActiveSetup;
// Класс сбора данных о Active Setup элементах
interface
uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, RxVerInf,
Registry, zSharedFunctions, zAVKernel;
type
// Информация о элементе
TActiveSetupInfo = record
RegKey : string; // Ключ реестра
... |
unit ActionLib_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 to this type library)... |
{
Описание:
Файл содержит форму TAboutBox "О программе".
История изменений:
Изменял Дата модификации
Кухтин И.В. 24.01.2007 - загрузка программы на сервер.
Посмотр текущей версии и версии на сервере.
}
unit AboutBoxUnit;
interface
uses... |
unit BoletimMatricial;
interface
uses
Classes, uDMPrincipal, ImpressoraMatricial, ConstTipos, uFuncoesGeral, SysUtils;
type
TDisciplinaBoletim = class
public
Disciplina : String;
Notas : array[1..4] of String;
MediaBim : String;
Situacao : String;
NotaRec : String;
MediaRec : String;
... |
program ej2;
type
vuelo = record
codigo : Integer;
origen : String;
destino : String;
km : Real;
ocup : Real;
end;
maximos = record {0 Km-----max2----max1---9999999 km}
codigo1 : Integer;
codigo2 : Integer;
max1 : Real;
max2 : Real;
end;
minimos = record {0 Km----min1-----min2}
... |
{ @abstract(This file is part of the KControls component suite for Delphi and Lazarus.)
@author(Tomas Krysl)
Copyright (c) 2020 Tomas Krysl<BR><BR>
<B>License:</B><BR>
This code is licensed under BSD 3-Clause Clear License, see file License.txt or https://spdx.org/licenses/BSD-3-Clause-Clear.html.
}
... |
// ******************************************************************
//
// Program Name : $ProgramName$
// Platform(s) : $Platforms$
// Framework : VCL
//
// Filename : AT.$ShortName$.Vcl.Dialogs.Generic.DBBase.pas/.dfm
// File Version : 1.00
// Date Created : $CreateDate$
// Author : Matth... |
unit uTambah;
interface
uses uType;
procedure tambah_buku (logInfo : User; var dBuku : bukuArr);
procedure tambah_jumlah_buku (logInfo : User; var dBuku : bukuArr);
implementation
procedure tambah_buku (logInfo : User; var dBuku : bukuArr);
var
inID, inJudul, inPengarang, inKateg... |
{
********************************************************************************
HejriUtils: Hejri Calnder converter, for FreePascal and Delphi
Author: Motaz Abdel Azeem
email: motaz@code.sd
Home page: http://motaz.freevar.com/
License: LGPL
Created on: 26.Sept.2009
Last modifie: 26.Sept.2009
***************... |
{
Jogo da Velha – Crie um programa que permita a duas pessoas jogar o jogo da
velha. Para isso, utilize uma matriz (ou seja, um vetor bidimensional) com três
linhas e três colunas, como no tabuleiro do jogo da velha. Cada elemento da
matriz deveria ser inicializado com um asterisco (“*”) e o programa deveria
executar u... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC ODBC IBM DB2 driver }
{ }
{ Copyright(c) 2004-2013 Embar... |
unit UBitMapFunctions;
interface
uses
SysUtils, Graphics;
const
SUPPORTED_FORMATS = '*.bmp;*.jpg;*.jpeg;*.png';
function LoadFromFile(const FileName: TFileName): TBitmap;
procedure SaveToFile(const BM: TBitmap; const FileName: string);
function GetHashHex(BMOrigin: TBitmap): string;
function GetHashInt64(BMOrig... |
unit LoginServiceImpl;
interface
uses
LoginService,
XData.Service.Common;
type
[ServiceImplementation]
TLoginService = class(TInterfacedObject, ILoginService)
public
function Login(const User, Password: string): string;
end;
implementation
uses
Bcl.JOSE.Core.Builder,
Bcl.JOSE... |
(*
* "THE BEER-WARE LICENSE" (Revision 42):
* d0p1 <d0p1@yahoo.com> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer in return.
*)
UNIT wallet;
{$mode objfpc}{$H+}
INTERFACE
USES... |
unit objMeuLayout;
{$mode objfpc}{$H+}
interface
uses dSQLdbBroker, dOpf, dbutils, sysutils;
type
EMeuLayout = class(Exception);
type
{ TMeuLayout }
TMeuLayout = class(TObject)
private
FId: Int64;
FComponet: string;
FCor: string;
public
procedure Validate;
function ... |
unit AT.XPlatform.Folders;
interface
function GetAppDataDirectory(const AAppPath: String = '';
ACommon: Boolean = False): String;
function GetDocumentDirectory(ADocPath: String = '';
ACommon: Boolean = False): String;
function GetExecutablePath(AppRoot: Boolean = False): String;
implementation
uses
{$IF D... |
unit EUSignCPOwnUI;
{ ------------------------------------------------------------------------------ }
interface
{ ------------------------------------------------------------------------------ }
uses
Windows, Classes, Controls, Forms, ShlObj,
EUSignCP,
Certificate, Certificates, Settings, CMSInfo, CRL, CRLs,... |
unit xlcodec_crc;
interface
uses
Types,
define_char;
(*
CRC即循环冗余校验码(Cyclic Redundancy Check[1] )
是数据通信领域中最常用的一种查错校验码,
其特征是信息字段和校验字段的长度可以任意选定
循环冗余检查(CRC)是一种数据传输检错功能
对数据进行多项式计算,并将得到的结果附在帧的后面
接收设备也执行类似的算法,以保证数据传输的正确性和完整性
*)
type
// CRC32表
TCRC32Table = array[0..255] of DWORD;
// CRC64表
... |
unit Option;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,
FMX.StdCtrls, FMX.Objects, FMX.ListBox, FMX.Layouts;
type
TOptionFrame = class(TFrame)
ToolBar1: TToolBar;
Label1: TLab... |
program test_push_pop_insert_erase;
uses
containers;
function to_str(c: container): string;
var
it_begin, it_end: iterator;
res, s: string;
begin
res := '';
it_begin := c.get_begin();
it_end := c.get_end();
while not it_begin.equal(it_end) do
begin
str(it_begin.get_data():1, s);
res := res + s + ' ';
it_... |
unit CollisionBlock;
interface
uses
FMX.Layouts, FMX.Objects, System.Classes, System.UITypes,
GameObject, Helper;
type
TCollisionBlock = class(TGameObject)
public
procedure SetType(aType: TGameObjectType);
end;
implementation
procedure TCollisionBlock.SetType(aType: TGameObjectType);
begin
Self.Blo... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://carme/secure/ws/awsi/AreaSketchServer.php?wsdl
// Encoding : ISO-8859-1
// Version : 1.0
// (8/23/2013 12:52:34 PM ... |
unit U_Exemplo01;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
System.Rtti; //Biblioteca necessaria
type
TMinhaClasse = class(TObject)
private
FCodigo : Integer;
... |
unit uControllerAbastecimento;
interface
uses ClasseAbastecimento, uLib, uAbastecimentoDao, uGlobal;
type
TControllerAbastecimento = class
function gravar(objAbastecimento : TAbastecimento) : boolean;
end;
implementation
uses
System.SysUtils;
{ TControllerAbastecimento }
function TControllerAbastecimen... |
unit etalon_dic;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uZHandBook, ExtCtrls, ComCtrls, ToolWin, dxExEdtr, dxCntner,
dxTL, dxDBCtrl, dxDBGrid, StdCtrls,
kernel_h, ImgList, DB, IBCustomDataSet, IBQuery,
IBDatabase, Grids, dxDBTLCl, dxGrClms... |
unit Composite.Leaf;
interface
uses
Composite.Component;
// The Leaf class represents the end objects of a composition. A leaf can't
// have any children.
// Usually, it's the Leaf objects that do the actual work, whereas Composite
// objects only delegate to their sub-components.
// A classe Leaf representa o fi... |
unit OAuth2.Contract.Repository.User;
interface
uses
OAuth2.Contract.Entity.User,
OAuth2.Contract.Entity.Client;
type
IOAuth2UserRepository = interface
['{C23C59F9-728C-4E04-83D1-4C97EFA96D9E}']
function GetUserEntityByUserCredentials(AUsername: string; APassword: string; AGrantType: string; AClientEn... |
unit BaseForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TFormBase = class(TForm)
procedure FormKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
private
{ Private declarations }
public
{ Public declarations }
end;... |
unit updatePlayer;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TfrmUpdatePlayer = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel... |
unit Sample1Main;
interface
uses
Delphi.Mocks;
procedure Test;
procedure TesTObjectMock;
type
{$M+}
IFoo = interface
['{69162E72-8C1E-421B-B970-15230BBB3B2B}']
function GetProp : string;
procedure SetProp(const value : string);
function GetIndexProp(index : integer) : string;
procedure Se... |
{***************************************************************************}
{ }
{ DelphiUIAutomation }
{ }
{ ... |
{ search-api
Copyright (c) 2019 mr-highball
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, pub... |
{
ClickFORMS
(C) Copyright 1998 - 2010, Bradford Technologies, Inc.
All Rights Reserved.
Purpose: A portal to the Pictometry imagery service.
}
unit UPortPictometry;
interface
uses
Classes,
PictometryService,
SysUtils,
UContainer,
UFormPictometry,
UAWSI_Utils,
AWSI_Server_Pictometry,
UWinU... |
{$O+,F+}
UNIT PFK4FK5 ;
INTERFACE
PROCEDURE FK4FK5 ( Var Ra, Decl : Double) ;
IMPLEMENTATION
PROCEDURE FK4FK5 ( Var Ra, Decl : Double) ;
{**
Conversion of stellar position and proper motion from the
---------------------------------------------------------
... |
{
@abstract(@code(google.maps.Map) class from Google Maps API.)
@author(Xavier Martinez (cadetill) <cadetill@gmail.com>)
@created(August 12, 2022)
@lastmod(August 14, 2022)
The GMMapVCL contains the implementation of TGMMap class that encapsulate the @code(google.maps.Map) class from Google Maps API and othe... |
unit OverWrite_u;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls;
type
TdlgOverWrite = class(TForm)
gbInfo: TGroupBox;
Label1: TLabel;
Label2: TLabel;
... |
{ALGORITHME : Jeu_du_morpion
BUT : cet algorithme recrée le jeu du morpion avec deux joueur.
ENTREE : placement du pion par un joueur
SORTIE : grille de jeu
CONST
MAXLIGNE:3
MAXCOLONNE:3
MAXPION_ALIGN_WIN:3
TYPE
grille: TABLEAU[1..MAXLIGNE,1..MAXCOLONNE] de CARACTERE
PROCEDURE init_grille(VAR tabgrille:grille;l... |
//===============================================================================
// Copyright (c) Serhiy Perevoznyk. All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABI... |
unit ZakazInternalTest;
interface
uses dbTest, dbMovementTest, ObjectTest;
type
TZakazInternalTest = class (TdbMovementTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TZakazInternal = class(TMovementTest)
private
function InsertDefault: integer; override;
... |
unit UCRMLicRegistration;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 2018 by Bradford Technologies, Inc. }
{ This unit allows the user to enter information to register the }
{ software for either evalua... |
{$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 Base85Tests;
interface
uses
System.SysUtils, DUnitX.TestFramework, BaseTests, uBase85;
type
IBase85Tests = interface
['{52244BAF-1FBB-45EE-B950-1620A1BE346B}']
end;
[TestFixture]
TBase85Tests = class(TBaseNcodingTests, IBase85Tests)
public
[Setup]
procedure Setup;
[TestCase('Bas... |
unit Iterator.SQL.Select;
interface
uses
Vcl.Dialogs, Data.SqlExpr,
System.SysUtils, Data.DB, System.Classes;
type
IIteratorSQLSelect = interface
['{96CAECD5-3A85-4643-A991-3678CB56DBF4}']
function IsEmpty(): Boolean;
function NextEof(): Boolean;
function Field( const AFieldName: string ): TFie... |
unit Menus.Controller.Interfaces;
interface
uses
Menus.Controller.Conexoes.Interfaces, Menus.Controller.Entity.Interfaces,
Menus.Controller.ListBox.Interfaces;
type
iControllerFacade = interface
['{029DA0D9-005F-44F0-967F-D176D47B9474}']
function Conexao: iControllerConexoesFacade;
function Entity ... |
unit GpString;
interface
type
TCharSet = set of ansichar;
TDelimiters = array of integer;
TElements = array of string;
function MakeBackslash (s: string): string;
function MakeSmartBackslash (s: string): string;
function StripBackslash (s: string): string;
function StripSmartBackslash(s: string): ... |
unit RadialOutlines;
interface
uses Outlines, SizeableOutlines, Painter, Classes, Types;
const TveRadial_MaxDiam = 20;
// ***************************************
// TveRadialOutline
// ***************************************
type TveRadialOutline = class( TveSizeableOutline )
prot... |
{
TB2RightClick.pas
Delphi unit to be able to be notified of right clicks on Toolbar2000
items, e.g. to have popup menus for menu items.
Version 1.0a
https://github.com/vssd/TB2RightClick
Copyright (C) 2006 Volker Siebert, <flocke@vssd.de>
All rights reserved.
Permission is hereby granted, free of c... |
program appicon;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{
Project : appicon
Source : RKRM
}
{
* The example listed here shows how to create an AppIcon and obtain
* arguments from Workbench when the user drops other icons on top of
* it. The AppI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.