text stringlengths 14 6.51M |
|---|
namespace RemObjects.Elements.System;
interface
uses
Foundation;
type
ArrayUtils = public static class
private
class method intStringToSequence(val: String): INSFastEnumeration; iterator;
public
class method idArrayToSequence(val: array of id): INSFastEnumeration; iterator;
class me... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
////////////////////////////////////////////
// Утилиты для работы сприборами завода Термотроник
////////////////////////////////////////////
unit Devices.Termotronic;
interface
uses Windows, SysUtils, GMGlobals, IEC_2061107, Devices.ReqCreatorBase, GMConst;
// Дописывает взад LRC
procedure Termotronic_CRC(var buf:... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 16384,0,0}
{
by Behdad Esfahbod
Algorithmic Problems Book
September '1999
Problem 45 O(N3) Matching Method
}
program
DrawingGraphWithVerticalAndHorizontalLines;
const
MaxN = 100 + 1;
MaxFaces = MaxN div 2 + 5;
var
Mm, M, N, K : Integer;
A : array... |
unit MainForm;
interface
uses
SysUtils, Types, Classes, Variants, QTypes, QGraphics, QControls, QForms,
QDialogs, QStdCtrls, QMenus, QComCtrls, Windows,
Engine;
type
TFormMain = class(TForm)
TabControl1: TTabControl;
MainMenu1: TMainMenu;
File1: TMenuItem;
ExitMenuItem: TMenuItem;
Edito... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLGLUTesselation<p>
Code to generate triangle strips and fans for polygons.
<b>History : </b><font size=-1><ul>
<li>23/08/10 - Yar - Added OpenGLTokens to uses, replaced OpenGL1x functions to OpenGLAdapter
<li>06/06/10 ... |
unit uKKThread;
interface
uses
Classes, SysUtils, FireDAC.Comp.Client, FireDAC.Stan.Option, FireDAC.Stan.Def,
FireDAC.DApt, FireDAC.Stan.Async, FireDAC.Stan.Expr, FireDAC.Stan.Pool, uHik86,
IOUtils, IdHttp, Generics.Collections, Variants, DateUtils, uBaseThread,
uInterface, uTypes, uGlobal, uCommon, uPassList... |
unit BabyEdit;
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.MediaLibrary.Actions, System.Actions, FMX.ActnList, FMX.StdActns,
FMX.Effects, FMX.Objects, FMX.Controls.Presen... |
//#####################################################################
// ReVersus - A Reversi game using OpenGL for graphics.
// by Vlad PARCALABIOR (vlad@ifrance.com) 10.2000
// visit http://arrowsoft.ifrance.com for other OpenGL Delphi programs.
//
// The Othello(Reversi) AI original by Roman Podobedov (romka... |
unit uTelegramAPI.Interfaces;
interface
uses uConsts, System.SysUtils, uClassMessageDTO;
type
iTelegramAPI = interface
['{11C947AD-6E74-47BF-8056-1EAA96D3A925}']
function SetBotToken(AToken: String): iTelegramAPI;
function SetUserID(AUserID: String): iTelegramAPI;
function SendFile(AFileName: Strin... |
unit HYUtils;
interface
uses
GSPInterface, SysUtils, Windows;
function LoadGSPModel(const AFileName: string; AReadOnly: Boolean = False;
ANeedRuntime: Boolean = False; ALogCommand: Boolean = False): IGSPModel;
procedure SaveModelToFile(const AModel: IGSPModel; const AFileName: string);
implementation
... |
unit osLogin;
interface
uses
Windows, SysUtils, osSQLDataSet, acCustomSQLMainDataUn, Controls, Dialogs,
osCustomLoginFormUn, System.UITypes;
type
TLoginUsuario = class
private
FDefaultUserName: string;
FNome: string;
FIDUsuario: integer;
FStatus: string;
FApelido: string;... |
unit FGX.Toasts.Default;
interface
uses
FGX.Toasts, FMX.Objects, FMX.StdCtrls, System.Types, FMX.Effects;
type
{ TfgDefaultToast }
TfgDefaultToast = class(TfgToast)
private
FBackground: TRectangle;
FText: TLabel;
protected
procedure DoMessageChanged; override;
function DefineMessageSize: TS... |
program BinarySearch;
{$mode objfpc}{$H+}
uses {$IFDEF UNIX} {$IFDEF UseCThreads}
cthreads, {$ENDIF} {$ENDIF}
Classes,
SysUtils,
CustApp { you can add units after this };
type
{ TBinarySearch }
TBinarySearch = class(TCustomApplication)
protected
procedure DoRun; override;
public
constructor... |
unit frm_xPLMessage;
{$mode objfpc}{$H+}
{$r *.lfm}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, StdCtrls,
ExtCtrls, Menus, ActnList, ComCtrls, Buttons,
IDEWindowIntf, u_xPL_Message_gui, u_xpl_message, frame_message, KHexEditor,
SynEdit, SynHighlighterPas, Syn... |
unit CryptA;
interface
uses
Windows;
const
CRYPT32 = 'crypt32.dll';
CRYPT_ASN_ENCODING = $00000001;
CRYPT_NDR_ENCODING = $00000002;
X509_ASN_ENCODING = $00000001;
X509_NDR_ENCODING = $00000002;
PKCS_7_ASN_ENCODING = $00010000;
PKCS_7_NDR_ENCODING = $00020000;
CRYPT_DECODE_NO... |
{*******************************************************************************
标题: f_DebugIntf.pas
描述: 日志组件接口单元
版权: 税友软件集团股份有限公司
创建时间:2015-05-03
作者: 郭晓磊
******************************************************************************}
unit f_DebugIntf;
interface
uses
SysUtils;
const
RETURN_F... |
unit ULume_br_style;
interface
uses
Classes, SysUtils, AdvMemo, AdvmPS;
function CreateLumeBrStyler(Owner: TComponent): TAdvPascalMemoStyler;
implementation
uses
Graphics;
// Cria um estilizador para a linguagem Lume-br
function CreateLumeBrStyler(Owner: TComponent): TAdvPascalMemoStyler;
var
itm: TElementS... |
Unit Board;
Interface
Const
BoxWidth: Integer = 5;
BoxHeight: Integer = 3;
Type
BoxState = -1..1;
TBoard = Array Of Array Of BoxState;
Function InitBoard(Width: Integer; Height: Integer): TBoard;
Procedure DrawBoard(Const gameBoard: TBoard);
Function MouseInBox(mousePosX, mousePosY, x, y: Integer): Boolean;
Procedure ... |
unit u_xpl_folders;
{==============================================================================
UnitDesc = xPL Registry and Global Settings management unit
UnitCopyright = GPL by Clinique / xPL Project
==============================================================================
0.91 : added GetSha... |
unit adot.Collections.Vectors;
interface
{
Most useful classes:
TVector<T>
managed, very light and very fast wrapper for TArray<T>
TCVector<T>
Managed, supports copy-on-write and has property "OwnsValues",
but it costs some performance penalty in comparing with TVector<T>
Full list of cl... |
unit JAToyTank;
{$mode objfpc}{$H+}
{$i JA.inc}
interface
uses
JATypes, JAPolygon, JAPolygonTools, JASketch, JASketchTools,
JANode, JAScene, JAToy;
type
TJAToyTank = record
BodyNode : PJANode;
TurretNode : PJANode;
BarrelNode : PJANode;
BarrelTipNode : PJANode;
... |
unit port_UFrmExamples;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons;
type
TFrmExamples = class(TForm)
ListBox1: TListBox;
BtnOk: TButton;
BtnCancel: TButton;
Memo1: TMemo;
procedure FormCreate(Sender: TObject);
procedure Lis... |
unit Vigilante.Controller.Compilacao;
interface
uses
Data.DB, Vigilante.Controller.Base, Vigilante.Compilacao.Model, Vigilante.DataSet.Compilacao;
type
ICompilacaoController = interface(IBaseController)
['{B77A1AF0-B51E-4EF0-8978-4C5E1DB7ED3F}']
function GetDataSet: TCompilacaoDataSet;
procedure Adi... |
unit XStammdatenFrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, MainFrm, Helpers, SuchenFrm;
type
TXStammdatenForm = class(TForm)
NeuButton: TButton;
BearbeitenButton: TButton;
S... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit Titulos;
interface
uses
System.SysUtils, InterfaceTela;
type
TTitulos = class(TInterfacedObject, ITela)
public
procedure Print;
end;
implementation
{ TTitulos }
procedure TTitulos.Print;
begin
Writeln('Printando Um Titulo...');
end;
end.
|
unit DMsgPackHelper;
{$IFDEF FPC}
{$MODE Delphi}
{$I fpc.inc}
{$ENDIF}
interface
uses
Classes, SysUtils;
type
// copy from qmsgPack
TMsgPackValue= packed record
ValueType:Byte;
case Integer of
0:(U8Val:Byte);
1:(I8Val:Shortint);
2:(U16Val:Word);
3:(I16Val:Smallint);
4:(... |
unit Support.Factory;
interface
uses
SysUtils,
BufferInterpreter, Device.SMART.List,
Support,
//General//
Support.Crucial, Support.Liteon, Support.Plextor, Support.Sandisk,
Support.Seagate, Support.Toshiba, Support.Samsung, Support.Sandisk.USB,
Support.MachXtreme, Support.Phison, Support.ADATA, Support.... |
(**
This module contains interfaces for use throughout the plug-in to minimise coupling.
@Author David Hoyle
@Version 1.0
@Date 06 Jan 2018
**)
Unit ITHelper.Interfaces;
Interface
Uses
Classes,
IniFiles,
Graphics,
ToolsAPI,
ITHelper.Types;
Type
(** An interface for the Project Options. ... |
unit uEmailPlugin;
interface
uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, IdSMTP, IdMessage, IdSSLOpenSSL, StdCtrls, IdBaseComponent,
IdComponent, IdTCPConnection, IdTCPClient, IdMessageClient, IdIOHandler,
ComObj, uCMTypes, uCMControlObject, ShellAPI;
const... |
{********************************************}
{ TVector3DSeries Editor Dialog }
{ Copyright (c) 2002-2004 by David Berneda }
{********************************************}
unit TeeVectorEdit;
{$I TeeDefs.inc}
interface
uses {$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
SysUtils, Classes,
... |
//====================================================//
// uFileLoader //
//----------------------------------------------------//
// Unit yang menangani loading data ke main program //
//====================================================//
unit uFileLoader;
interfa... |
unit ViewDatesForm;
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.Layouts, FMX.Memo, Dates, FMX.Controls.Presentation, FMX.ScrollBox;
type
TDateForm = class(TForm)
Memo1: TMem... |
(* uselect.pas -- (c) 1990 by Tom Swan *)
unit uselect;
interface
uses crt, ukeys, uscreen, uitem, ustritem, ulist;
type
keySet = set of char;
selectableItemPtr = ^selectableItem;
selectableItem = object( strItem )
selected : Boolean;
constructor init( s : string; initial : Boolean );
pro... |
unit uCidade;
interface
uses uConnect,Generics.Collections, JSON;
type
TCidade = class
private
FNome: String;
FEstado: String;
FID: Integer;
public
property ID: Integer read FID write FID;
property Nome: String read FNome write FNome;
property Estado: String read FEstado write FEstado;
... |
(*
Name: UTikeDebugMode
Copyright: Copyright (C) SIL International.
Documentation:
Description:
Create Date: 5 Nov 2007
Modified Date: 3 May 2011
Authors: mcdurdin
Related Files:
Dependencies:
Bugs:
Todo:
Notes: ... |
(*****************************************************************************
* *
* This file is part of the UMLCat Component Library. *
* *
* ... |
unit IWExtCtrls;
{PUBDIST}
interface
uses
{$IFDEF Linux}QGraphics, {$ELSE}Graphics, {$ENDIF}
Classes,
IWControl, IWTypes, IWFileReference, IWHTMLTag,
SysUtils;
type
TIWRadioGroupLayout = (glVertical, glHorizontal);
TIWCustomRadioGroup = class(TIWControl)
protected
FItemIndex: Integer;
FItems: TS... |
(*//
标题:窗体选择框
说明:利用不规则窗体实现
设计:Zswang
日期:2004-02-25
//*)
//2007-12-29 Zswang No.1 修正 鼠标停留在本身窗体上不选中
unit WindowDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Dialogs, ExtCtrls, Graphics, Forms,
Controls;
type
TWindowDialog = class(TCommonDialog)
private
{ Private declara... |
unit UFloatPoint;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TFloatPoint = record
x, y: Single;
end;
function FloatPoint(AX, AY: Single): TFloatPoint;
implementation
function FloatPoint(AX, AY: Single): TFloatPoint;
begin
Result.x := AX;
Result.y := AY;
end;
end.
|
{$R-} {Range checking off}
{$S+} {Stack checking on}
{$I+} {I/O checking on}
{$N+,E+} {Numeric coprocessor IS present}
PROGRAM Cartog;
{ This program plots geographic data from the file
WORLD.DAT and coordinate grids on the Mercator,
Equidistant Cylindrical, Sinusoidal, Hammer, and
Orthographic map p... |
{
GMRectangleVCL unit
ES: contiene las clases VCL necesarias para mostrar rectángulos en un mapa de
Google Maps mediante el componente TGMMap
EN: includes the VCL classes needed to show rectangles on Google Map map using
the component TGMMap
============================================================... |
unit strings_concate_3;
interface
implementation
function AddString(const Str1, Str2: string): string;
begin
Result := Str1 + ',' + Str2;
end;
var S: string;
initialization
S := AddString(S, 'X');
S := AddString(S, 'YY');
finalization
Assert(S = ',X,YY');
end. |
unit UConfiguracion;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, IniFiles, Registry, CWMIBase, CDiskDriveInfo, ComCtrls, ExtCtrls;
type
T_FConfiguracion = class(TForm)
DDI_1: TDiskDriveInfo;
PB_1: TProgressBar;
TM_1: TTimer;
pr... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC streaming base classes }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit intf_3;
interface
implementation
uses System;
type
II1 = interface
procedure AAA;
end;
II2 = interface
procedure BBB;
end;
TT1 = class(TObject, II1, II2)
procedure AAA;
procedure BBB;
end;
var
G1, G2: Int32;
T: TT1;
I1: II1;
I2: II2;
procedure TT1.AAA;
begi... |
unit SJ_Base;
(*************************************************************************
DESCRIPTION : SkipJack basic routines
REQUIREMENTS : TP5-7, D1-D7/D9-D10/D12/D17, FPC, VP, WDOSX
EXTERNAL DATA : ---
MEMORY USAGE : 1 KB FTable
DISPLAY MODE : ---
REFERENCES : [1... |
unit RInventDAOU;
interface
uses RInventDTOU, System.Generics.Collections;
type RInventListDTO=TObjectList<TRInventDTO>;
type TRInventDAO=class (TObject)
function getNewId:integer;
function save(vRInventDTO:TRInventDTO): integer;
function getRInventsByInvent(vInvent:integer): RInventListDTO;
function getNbrRInventsByI... |
unit ErrorTable;
interface
uses
CustomErrorTable, System.Classes, ErrorType, RecordCheck, DSWrap;
type
TErrorTableW = class(TCustomErrorTableW)
private
FCol: TFieldWrap;
FDescription: TFieldWrap;
FErrorValue: TFieldWrap;
FRow: TFieldWrap;
public
constructor Create(AOwner: TComponent); ove... |
{***********************************************************************
Unit gfx_files.PAS v1.0 0799
(c) by Andreas Moser, amoser@amoser.de,
Delphi version : Delphi 4
gfx_files is part of the gfx_library collection
You may use this sourcecode for your freewareproducts.
You may modify t... |
{*********************************************************************
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Autor: Brovin Y.D.
* E-mail: y.brovin... |
unit fOrderSaveQuick;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
fAutoSz, Buttons, ExtCtrls, StdCtrls, ORCtrls, ORFn, fODBase, uOrders,
VA508AccessibilityManager;
type
TfrmSaveQuickOrder = class(TfrmAutoSz)
Panel1: TPanel;
memOrder: TMemo;
lblDisplayN... |
unit uPrincipal;
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
TForm2 = class(TForm)
pnlPrincipal: TPanel;
btnCalcular: TButton;
Label1: TLabel;
EdtSalario: T... |
UNIT LS_INT;
{Lista encadenado simple de enteros}
INTERFACE
TYPE
lista = ^reg;
reg = record
d : integer;
sig : lista;
end;
{appends the element to the end of the list}
procedure L_ADD(var L:lista; e: integer);
{appends the element at given position}
procedure L_ADDPOS(var L:lista; i... |
unit ccStrings;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
resourcestring
SAccuracy2Percent = 'Accuracy ca. 2%';
SAccuracy6Percent = 'Accuracy is about 6%.';
SCylRadiiMustNotBeEqual = 'The cylinder radii must not be equal.';
SInaccurate = 'Inaccurate results.'#13'At least B/d>0.3 and H/d<10 req... |
{*********************************************}
{ TeeChart Delphi Component Library }
{ Polar and Radar Series Components }
{ Copyright (c) 1995-2004 by David Berneda }
{ All rights reserved }
{*********************************************}
unit TeePolar;
{$I TeeDefs.inc}
... |
unit TestRunOnLine;
{ AFS 15 March 2000
This unit compiles but is not semantically meaningfull
it is test cases for the code formatting utility
test runon line indentation
some of this code swiped from a real app
Note: any programmer who actually codes like this should be shot
In real life, use inter... |
(* CanTreeTest: MM, 2020-05-01 *)
(* ------ *)
(* Program to test the Canonical Syntax Tree *)
(* ========================================================================= *)
... |
unit vEnv;
interface
uses
System.inifiles,
System.sysutils,
vConst,
System.IOUtils,
System.Types, bFormatter;
type
TEnv = class
public Type
DB = class
class function All: string; static;
class function getDriver: string; static;
class function getDatabase: string; static;
... |
unit RegisterSecurityDialogs;
interface
uses
TypInfo, System.Classes;
procedure Register;
implementation
uses
Security.Login,
Security.ChangePassword,
Security.Permission,
Security.Matrix,
Security.User,
Security.Manage
;
const
SPageName = 'Security Dialogs';
procedure Register;
begin... |
unit unLabelBlink;
interface
uses
System.SysUtils, System.Classes, Vcl.Controls, Vcl.StdCtrls, ExtCtrls, Graphics;
type
TLabelBlink = class(TLabel)
private
{ Private declarations }
FInterval : Integer;
FBlinking : Boolean;
FTimer : TTimer;
FColors : Array [1..5] of TColor... |
unit BenchmarkUtilities;
interface
{$I FASTCODE_MM.INC}
type
{Virtual memory state}
TVMState = record
{The total VM size allocated or reserved}
TotalVMAllocated: integer;
{The number of free space fragments}
FreeSpaceFragments: integer;
{The largest free space fragment}
LargestFreeSpaceFr... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLFileTIN<p>
TIN (Triangular Irregular Network) vector file format implementation.<p>
<b>History :</b><font size=-1><ul>
<li>08/04/13 - PW - Fixed a bug in VertArr: decremented element numbers by one
<li>17/11/05 - PW - Add... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC FireMonkey async notify form }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit ItemsSerialize;
interface
uses Types, Classes, SysUtils, LibXmlParser;
type
TDeSerializeExept = class(Exception);
TItemSerialize = class(TObject)
public
SectionType: string;
// Serialize methods
procedure StartItem(const Name: string); virtual; abstract;
procedure SetValue(Val... |
unit untCadastroEmpresa;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.DBCtrls, Vcl.Mask,
Vcl.Buttons, Vcl.ExtCtrls, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Sta... |
unit Edit;
interface
uses
Windows, Controls, Forms, StdCtrls, Classes, Dictionary, ForestTypes, Dialogs;
type
TfrmEdit = class(TForm)
edtWord: TEdit;
lblTableValue: TLabel;
btnOk: TButton;
lblSynonim: TLabel;
cmbSynonim: TComboBox;
btnSkip: TButton;
btnSkipAll: TButton;
lblPrompt:... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC interface factories }
{ }
{ Copyright(c) 2004-2018 Embar... |
{******************************************}
{ TeeChart Pie Series Tool }
{ Copyright (c) 2001-2004 by David Berneda }
{ All Rights Reserved }
{******************************************}
unit TeePieTool;
{$I TeeDefs.inc}
interface
uses {$IFNDEF LINUX}
Windows, Messages,
... |
unit adot.Collections.Slices;
interface
uses
adot.Types,
adot.Collections,
System.Generics.Defaults,
System.Generics.Collections,
System.SysUtils,
System.Math;
type
TSlice<T> = record
private
FValues: TArray<T>;
FValuesCount: integer; { FValuesCount <= array.capacity = length(FValues) }
... |
unit Unit2Test;
interface
uses
TestFramework, Unit2;
type
TTestSuperObject = class(TTestCase)
private
FSuperObject: TSuperObject;
public
procedure Setup; override;
procedure TearDown; override;
published
procedure testSuperObject;
end;
function Suite: ITestSuite;
implementation
funct... |
unit URegraCRUDAgente;
interface
uses
URegraCRUD
, URepositorioDB
, URepositorioAgente
, UEntidade
, UAgente
;
type
TRegraCRUDAgente = class(TRegraCRUD)
protected
procedure ValidaInsercao(const coENTIDADE: TENTIDADE); override;
public
function ValidarEMail(aStr: string): Boolean;
cons... |
{ Invokable interface Iusuario }
unit usuarioIntf;
interface
uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns;
type
TEnumTest = (etNone, etAFew, etSome, etAlot);
TDoubleArray = array of Double;
TMyEmployee = class(TRemotable)
private
FLastName: AnsiString;
FFirstName: Ansi... |
{-----------------------------------------------------------------------------
Unit Name: ufDRpAz
Author: n0mad
Version: 1.2.8.x
Creation: 19.11.2004
Purpose: Daily Report Preview
History:
-----------------------------------------------------------------------------}
unit ufDRpAz;
interface
uses
Windo... |
unit PZZ1020A1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, OnFocusButton, Db, OnEditBaseCtrl, OnEditStdCtrl, OnEditMemo,
OnDBGrid, MemDS, DBAccess, Ora, Grids, DBGrids, ComCtrls,
OnMemDataset, OnCheckBox, OnStringUtils, OnEditBtnCtrl, OnEditCombo... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2015-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
{ Utilisation du mode graphique pour Mister Patate }
unit MrpVga;
interface
var
{ Page affich‚ et prochaine page }
Page_display: Word;
Page_not_display: Word;
{ couleur des Bordures }
Tour: Byte;
const
Centre = $1000;
Inverse = 1;
Tsp = 239;
HautScr = 20... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit uConfigration;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, gnugettext;
type
TfrmConfigration = class(TForm)
Label1: TLabel;
edtGenPath: TEdit;
Label2: TLabel;
edtEvaPath: TEdit;
btnOK: TButton;
btnCance... |
unit multiLangMainFormFMX;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ListBox,
FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, FMX.StdCtrls;
type
TMultiLangMainFormFMX = class(TForm)
... |
(**
This module contains a class which implements the IITHProjectOptions interface for providing
project options.
@Author David Hoyle
@Version 1.0
@Date 04 Jan 2018
**)
Unit ITHelper.ProjectOptions;
Interface
Uses
ITHelper.Types,
ITHElper.Interfaces,
Classes,
IniFiles,
ToolsAPI;
Type
... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Edit1: TEdit;
TreeView1: TTreeView;
Button4: TButton;
Button5: TButton;
lbl1: TLabel;
btn1:... |
unit SIS_USUARIO;
interface
uses
Classes,
DB,
SysUtils,
Generics.Collections,
/// orm
ormbr.mapping.attributes,
ormbr.types.mapping,
ormbr.types.lazy,
ormbr.types.nullable,
ormbr.mapping.register, CONFIG_RESTAURANTE, GRUPO;
type
[Entity]
[Table('USUARIO','')]
[PrimaryKey('USUAICOD', AutoInc... |
UNIT serializationUtil;
INTERFACE
USES Classes;
CONST C_bufferSize=8192;
TYPE
T_abstractStreamWrapper=object
private
wrongTypeError ,
earlyEndOfFileError,
fileAccessError :boolean;
public
CONSTRUCTOR create;
DESTRUCTOR destroy;
PROPERTY hasWrongTypeError :boolean... |
{ **********************************************************************}
{ }
{ DeskMetrics DLL - dskMetricsInternals.pas }
{ Copyright (c) 2010-2011 DeskMetrics Limited }
{ ... |
// HRParserPas v1.0.1 (25.Sep.2000)
// Fast Pascal source code parser.
// by Colin A Ridgewell
//
// Copyright (C) 1999,2000 Hayden-R Ltd
// http://www.haydenr.com
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published b... |
unit Unit2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.StrUtils;
type
TForm2 = class(TForm)
Edit1: TEdit;
Button1: TButton;
procedure Button1Click(Sender: TObject);
priv... |
unit Test_FIToolkit.Reports.Builder.HTML;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework,
Sys... |
unit IniFiles;
{
LLCL - FPC/Lazarus Light LCL
based upon
LVCL - Very LIGHT VCL
----------------------------
This file is a part of the Light LCL (LLCL).
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was no... |
unit MsgHlpr;
interface
uses
Windows, Messages;
type
TMessageHelper = record helper for TMessage
function ToString: string;
end;
TMsgHelper = record helper for TMsg
function ToString: string;
end;
function ToHex(AValue: Integer): string;
function SCToString(SC: WParam): string;
function HTT... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2019 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit UserSessionUnit;
{
This is a DataModule where you can add components or declare fields that are specific to
ONE user. Instead of creating global variables, it is better to use this datamodule. You can then
access the it using UserSession.
}
interface
uses
IWUserSessionBase,
SysUtils,
Clas... |
{*******************************************************}
{ }
{ Borland Delphi Runtime Library }
{ ActiveX / OLE 2 Interface Unit }
{ }
{ Copyright (C) 1997,99... |
Uses Crt;
Const
n = 50; // длина массива
Type
TVector = array [1..n] of integer;
Var
Vector : Tvector;
B : integer;
i, K : Integer;
procedure print (v:Tvector);
var i:integer;
begin
writeln('Ваш массив имеет вид.');
for i:=1 to n do... |
/// <summary>
/// Main Class implementation for Face API Microsoft Cognitive Services 1.0
/// </summary>
unit uFaceApi.Core;
interface
uses
{ TBytesStream }
System.Classes,
{ TContentType }
uFaceApi.Content.Types,
{ TFaceApiBase }
uFaceApi.Base,
{ IFaceApiCore }
uIFaceApi.Core;
type
/// <summary>... |
unit DefaultParameters;
interface
uses
SearchParameterQuery;
type
TDefaultParameters = class(TObject)
private
class var
FDatasheetParamSubParamID: Integer;
FDescriptionParamSubParamID: Integer;
FDiagramParamSubParamID: Integer;
FDrawingParamSubParamID: Integer;
FImageParamSubParamID: Inte... |
unit Simx86p;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, Patterns, Menus, StdCtrls, TabNotBk, ExtCtrls, VBXCtrl,
Switch, Spin, GetInput, Printers;
type
TMem = array [0..$ffef] of byte;
TMemPtr = ^TMem;
TSIMx86Form = class(TForm)
... |
unit xVectorType;
interface
const
/// <summary>
/// 选择线的颜色
/// </summary>
C_COLOR_SELECT = $FFFF5580;
C_COLOR_SELECT_MAIN = $FF000080;
C_COLOR_A = $FFcece00;
C_COLOR_B = $FF009B00;
C_COLOR_C = $FFB70000;
C_COLOR_D = $FFC0C0C0;
type
/// <summary>
/// 向量类型
/// </summar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.