text stringlengths 14 6.51M |
|---|
{******************************************************************************}
{ }
{ SE Network Development Framework }
{ ... |
unit PtCnsListaCli;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, CnsBsCxGrid, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxData,
cxDataStorage, cxEdit, cxNavigator, DB, cxDBData, dxPSGlbl, dxPSUtl,
dx... |
unit PGGestionMP;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
{$IFNDEF EAGLCLIENT}
Db, DBGrids, HDB, {$IFNDEF DBXPRESS} dbTables, {$ELSE} uDbxDataSet, {$ENDIF}FE_Main,
{$ELSE}
MaineAGL,
{$ENDIF }
HTB97, Grids,ExtCtrls, HPanel, utob,
StdCtrls, Hctrls, hent1, ui... |
unit Vr1_UDB;
//
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, ExtCtrls;
type
TForm1 = class(TForm)
pnlInstruct: TPanel;
ledName: TLabeledEdit;
ledID: TLabeledEdit;
btnGenereer: TButton;
redAfvoer: TRichEdit;
proced... |
unit untObserverPattern;
interface
uses SysUtils, Generics.Collections;
type
{
Enumerator de estado do observer (Eu poderia ter usado um boleano, mas achei mais abrangente
deixar espaço para mais estados futuramente)
Observer state enumerator (I could have used a boolean, but I find it more flexibe to leave
... |
unit BIFF_DecodeFormula5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Arvid... |
{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html... |
unit mRegularExpressionsHelper;
interface
uses
System.RegularExpressions,
System.Classes, System.SysUtils
;
type
TRegExHelper = record Helper for TRegEx
class function EmailValidate(const AValue: String): Boolean; static;
class function IsNumber(const AValue: String): Boolean; overload; static;
c... |
{*******************************************************************************
作者: dmzn@163.com 2012-1-10
描述: 顺序播放多个声音文件
备注:
*.线程模式,PlaySound使用SND_SYNC同步模式.
*******************************************************************************}
unit UMgrSndPlay;
interface
uses
Windows, Classes, Sync... |
unit cbLogModule;
interface
uses
SysUtils, Classes, Variants, DB, ADODB, DBClient, Provider,
cbClass, cbAppClass;
type
TLogModule = class(TDataModule)
AccessConnection: TADOConnection;
DataReader: TADOQuery;
DataSetProvider: TDataSetProvider;
ActionDataSet: TClientDataSet;
DataWriter: TADOQ... |
unit DllComLib;
////////////////////////////////////////////////////////////////////////////////
//
// Description:
// Author: lksoulman
// Date: 2017-4-10
// Comments:
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Winapi.Windows,
Classes,
SysUti... |
unit cbConfig;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, ImgList, DB, ADODB,
{$IFDEF APPDEBUG} CodeSiteLogging, {$ENDIF}
{ Developer Express Suite }
cxLookAndFeelPainters, cxPC, cxButtons, cxControls, cxContainer, cxEdit,
cxText... |
unit Element;
interface
uses
xmltag,Classes,jid,EncdDecd,System.SysUtils,StrUtils;
type
TClassElement=class of telement;
TElement=class(TXMLTag)
private
function FGetTextBase64: string;
procedure FSetTextBase64(value:string);
procedure _SelectElements(se: Telement; tagname: string; const es: TList;... |
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distr... |
{
This unit adds most popular blendmodes + some new ones to GR32.
Some are already available in other GR32 units, but are for the
completeness listed here.
Some blendmodes have been created from the descriptions Adobe Photoshop
gives in the help file.
Others come from Jens Gruschel & Francesco Savastano(and othe... |
unit PXL.ImageFormats.Auto;
{
This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL).
Copyright (c) 2000 - 2015 Yuriy Kotsarenko
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Fre... |
unit NFe_Util_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data rea... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 23/01/2007
Modifié le ... : / /
Description .. : Source TOF de la FICHE : BTREGLPIECE_MUL ()
Mots clefs ... : TOF;BTREGLPIECE_MUL
*****************************************************************}
Unit BTREGLPIECE_MU... |
{***********UNITE*************************************************
Auteur ...... : Bruno TREDEZ
Créé le ...... : 06/12/2001
Modifié le ... : / /
Description .. : Source TOM de la TABLE : TRANCHEFRAIS (TRANCHEFRAIS)
Mots clefs ... : TOM;TRANCHEFRAIS
*****************************************************************}
... |
unit RDTPTerrainServerImplib;
{GEN}
{TYPE IMPLIB}
{RQFILE RDTPTerrainRQs.txt}
{END}
interface
uses
hgt_sampler, rdtpprocessor, RDTPTerrainServer, terrainData, RDTPServerList,osm;
type
TTerrainServer = class(TTerrainServerBase)
private
protected
public
{INTERFACE_START}
function RQ_Test():integer;overl... |
unit SysUnits;
interface
uses
Windows, Classes, SysUtils, Math,
BaseTypes;
type
TFormatUnit = record
UnitText: string;
Scale: Float64;
FactorPower: Int32;
Precision: Int32;
end;
PFormatUnit = ^TFormatUnit;
TDisplayUnit = packed record
UnitText: WideString;
Scale: Float64;
Fac... |
unit MasterMgrCommandImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º MasterMgrCommand Implementation
// Author£º lksoulman
// Date£º 2017-11-20
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
inter... |
unit FunctionPIE;
interface
uses AnePIE;
const FUNCTION_PIE_VERSION = 2;
type
PIEFunctionCall = procedure (const refPtX : ANE_DOUBLE_PTR ;
const refPtY : ANE_DOUBLE_PTR ;
numParams : ANE_INT16 ;
const parameters : ANE_PTR_PTR ;
funHandle : ANE_PTR ;
reply : ANE_PTR... |
unit PXL.Shaders.GL;
{
This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL).
Copyright (c) 2000 - 2015 Yuriy Kotsarenko
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free Softw... |
PROGRAM CharList;
TYPE
CharNodePtr = ^CharNode;
CharNode = RECORD
prev, next: CharNodePtr;
ch: CHAR;
END;
CharListPtr = CharNodePtr;
FUNCTION NewCharList: CharListPtr; (* returns empty CharList *)
VAR
l: CharListPtr;
BEGIN
New(l);
l^.prev := l;
l^.next := l;
NewCha... |
unit GnvSysUtils;
interface
uses
Classes, Windows;
type
TGnvCPIdentData = record
CodePage: Integer;
Ident: string;
end;
TFileSize = Int64;
const
GNV_CP_IDENTS_MAX = 140;
GNV_CP_IDENTS: array[0..GNV_CP_IDENTS_MAX - 1] of TGnvCPIdentData =
(
(CodePage: 37; Ident: 'IBM037'),
(CodePage:... |
unit RepositorioConfiguracoesNF;
interface
uses
DB,
Auditoria,
Repositorio;
type
TRepositorioConfiguracoesNF = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
fun... |
unit unFraTareas;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
unFraCodigoDescripcion, Db, SDEngine, PatternEdit, StdCtrls, Mask, unArt,
ToolEdit, ArtComboBox;
type
TTipoTareas = (ttDiarias, ttNoDiarias, ttTodas);
TfraTareas = class(TfraCodigoDescripcion)
priva... |
program IdealWomanWeight;
uses crt;
var
height, idealWeight: real;
begin
writeln('What is your height?');
readln(height);
idealWeight := (62.1 * height) - 44.7;
writeln('Your ideal weight is: ', idealWeight:1:1)
end.
|
unit SuperTabDataMgr;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º SuperTabDataMgr Interface
// Author£º lksoulman
// Date£º 2017-11-22
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
... |
program lab_8;
const
cars = 3; {amount of cars}
type
car_and_price = record {type of one list element}
car: string[20];
price: string[10];
end;
file_pattern = file of car_and_price;
var
cars_and_prices_list: array [1..cars] of car_and_price;... |
unit maths;
interface
uses
systemx, stringx, typex, curvefit, types, numbers, math;
type
TDoubleArray = array of double;
TFitResults = record
correlation_coefficient: double;
terms: array of double;
function GetPoint(x: double): double;
end;
TPointArray = array of TPoint;
function AppendMirro... |
unit UTofBatchVISA;
interface
uses uTofAfBaseCodeAffaire,StdCtrls,Controls,Classes,forms,sysutils,ComCtrls,
HCtrls,HEnt1,HMsgBox,UTOF, HDimension,UTOM,AGLInit,
Utob,Messages,HStatus,Ent1, Paramsoc,
{$IFDEF EAGLCLIENT}
eMul,MaineAGL,
{$ELSE}
Fiche, HDB, mul, DBGrids, db,{$IFNDEF DBXPRESS} dbTab... |
unit DW.CameraPreview.iOS;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
unit PXL.Data;
{
This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL).
Copyright (c) 2000 - 2015 Yuriy Kotsarenko
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free Software Fo... |
unit EReflect;
interface
uses
EIntf;
type
TAllAnnotationsHandler = class(EObject, IAllAnnotationsHandler)
private
FClazz: TClass;
FProvider: IReflectionProvider;
protected
function atClass(): EList<EAnnotation>;
function aField(fieldName: String): EList<EAnnotation>;
func... |
{$MODE OBJFPC}
{$INLINE ON}
program CIJEVI;
const
maxR = 25;
maxC = 25;
var
a : array[1..maxR, 1..maxC] of Char;
r, c : Integer;
procedure Enter;
var
i, j : Integer;
begin
ReadLn(r, c);
for i := 1 to r do
begin
for j := 1 to c do Read(a[i, j]);
ReadLn;
end;
end;
... |
{ License:
Copyright (c) 2004 Dan Scott
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 conditions and the follo... |
unit BI.FMX.R.Console;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Edit,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts, FMX.ScrollBox, FMX.Memo;
type
TBIRConsole = class(TForm)
Layout1: TLayout;
... |
unit TourIbUn;
interface
uses Classes, DB, IBDatabase, IBQuery, IBTable, DBCtrls;
const
// edit dialog modes
remStateEdit = 0;
remStateAppend = 1;
remStateCopy = 2;
// reklama source preset types
nReklamaPresetAgent = 1;
nReklamaPresetRecidive = 2;
// Send By constants
nSendByEmail = 1;
nSendBy... |
{ Copyright (c) 2007-2012 Jeroen Wiert Pluimers for BeSharp.net and better office benelux.
Full BSD License is available at http://besharp.codeplex.com/license and http://bo.codeplex.com/license }
unit FieldHelperUnit;
interface
uses
DB,
NullablesUnit;
type
TFloatFieldHelper = class helper for TFl... |
unit exe_linux;
interface
uses
Sysutils,
Posix.Base,
Posix.Fcntl;
type
TStreamHandle = pointer;
function popen(const command: MarshaledAString; const _type: MarshaledAString): TStreamHandle; cdecl;
external libc name _PU + 'popen';
function pclose(filehandle: TStreamHandle): int32; cdecl; external li... |
unit frmCD078IU;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, Menus, cxLookAndFeelPainters, dxSkinsCore, dxSkinBlack,
dxSkinBlue, dxSkinCaramel, dxSkinCoffee, dxSkinsDefaultPainters,
cxControls, cxContainer, cxEdit, cxTextEdit, cxButtons, StdCtrls,
c... |
unit mSysUtilsEx;
interface
uses
System.SysUtils, System.Types;
function BufferToHexStr(const ABuffer: Pointer; const ALength: Integer): String;
function ByteToHex(const AValue: Byte): String; overload;
function ByteToHex(const AValue: TBytes): String; overload;
function BytesToHexStr(const ABuffer: TBytes): Strin... |
unit MySimpleShareMem;
interface
implementation
uses
Windows;
const
ClassName='{92674ACC-3118-4017-AF72-DABCDA0978D5}';
var
MemMgr, OldMemMgr:TMemoryManager;
WndClass:TWndClass=(Style:CS_GLOBALCLASS;lpfnWndProc:@MemMgr;lpszClassName:ClassName);
IsFirst:Boolean;
initialization
IsFirst:=not GetClassInfo(hIns... |
unit UserPositionCategoryMgrCommandImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º UserPositionCategoryMgrCommand Implementation
// Author£º lksoulman
// Date£º 2018-1-23
// Comments£º
//
////////////////////////////////////////////////////////////... |
unit Xmpp.x.MUInvite;
interface
uses
Xmpp.x.MUInvitation,Jid,Xmpp.extentions.Nickname;
type
TInvite=class(TInvitation)
private
function FGetContinue:Boolean;
procedure FSetContinue(value:Boolean);
function FGetNickname:TNickname;
procedure FSetNickname(value:TNickname);
public
constructor C... |
unit gassgsoc;
interface
uses projectdata, helpers, individual;
function RunGASSGSOC: TDblArr;
type TActivityListIndividual = class(IIndividual)
order, sts: JobData;
resRem: ResourceProfile;
procedure InitializePopulation(var population: IndivArray); override;
procedure FillNeighborhood(const o... |
namespace Moshine.Api.Weather.Models.WeatherUnderground;
uses
Foundation;
type
PersonalStation = public class(Station)
protected
method set_title(value: nullable NSString); override;
begin
end;
method get_title: nullable NSString; override;
begin
exit self.Neighborh... |
{***********UNITE*************************************************
Auteur ...... : SBO
Créé le ...... : 26/10/2005
Modifié le ... : / /
Description .. :
Suite ........ : Fonctions d'ouverture de gestion des pièces compta pour le
Suite ........ : GEP.
Mots clefs ... :
************************************************... |
unit cbClass;
interface
uses Classes;
type
TExpoterKind = ( ekCA, ekSA, ekRA );
TDownloadStatus = procedure (const aErrorText, aFileName: String) of object;
TNotify = record
MsgType: Integer;
MsgText: String;
end;
TFreq = record
CFR: Integer;
LastExc: TDateTime;
NextExc: TDateT... |
UNIT Utils;
INTERFACE
{$H+}
uses Classes,SysUtils,Graphics,Forms,Process,Dialogs,Clipbrd,FileUtil,Translations
{$IFDEF MSWINDOWS}
,Registry,Windows
{$ENDIF}
;
{$IFNDEF FPC}
CONST
DirectorySeparator = '\';
{$ENDIF}
type
TRoundToRange = -37..37;
TProcessinfoTyp = (piOpen,piPrint);
{$ifdef WINDOWS}
PFNSHGetFol... |
unit XLSMask5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Arvidsson, Axolo... |
unit MsgExServiceCommandImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º MsgExServiceCommand Implementation
// Author£º lksoulman
// Date£º 2017-12-06
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
... |
unit html_feeder_compiler;
interface
uses compiler_feeder, namevaluepair, sysutils, stringx, stringx.ansi;
type
THTMLContext =
(
htmlcWhiteSpace,
htmlcComment,
htmlcJavaScript,
htmlcMothershipScript,
htmlcTagString,
htmlcJavascriptString,
htmlcTag
);
TTagINfo = ... |
unit uPersonForm;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Forms, StdCtrls, ComCtrls, ExtCtrls;
type
TPersonForm = class(TForm)
pnMain: TPanel;
btnOk: TButton;
btnCancel: TButton;
lbFirstName: TLabel;
lbLastName: TLabel;
lbBirthdate: TLabel;
edFirstName: TEdit;
... |
unit uRelatorioMovimentos;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uPadrao, RLReport, Vcl.StdCtrls,
Vcl.ComCtrls, Vcl.Buttons, Vcl.ExtCtrls, Data.DB, Datasnap.DBClient,
FireDAC.Stan.Intf, FireDAC.Stan... |
unit handler;
interface
uses tipe,aksiChef,energi,uang,inventori,aksiStatistik,aksiSave,aksiSimulasi,aksiLoad,aksiResep,aksiBahan;
procedure runUserInterface();
implementation
procedure promptInput(); //NEW PROCEDURE ADDED 22/04/18 12.21PM BY KIM
{Memberi tanda untuk memberikan masuka... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 26/06/2015
Modifié le ... : / /
Description .. : Source TOF de la FICHE : BTINTEGRELICENCES ()
Mots clefs ... : TOF;BTINTEGRELICENCES
*****************************************************************}
Unit BTINTEGREL... |
unit AsteriaFileSystem;
interface
uses
Classes, SysUtils,
BESEN, BESENNativeObject, BESENValue, BESENStringUtils,
AsteriaGlobal;
type
{ TasFileSystem }
TasFileSystem = class
public
constructor Create;
procedure FileExists(const ThisArgument: TBESENValue; Arguments: PPBESENValu... |
unit NewmemberUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Spin, ComCtrls;
type
TForm3 = class(TForm)
btnPurchase: TButton;
grpProducts: TGroupBox;
rgpDrinks: TRadioGroup;
rgpSweets: TRadioGroup;
sedSweets: TSpi... |
unit MFRBWLake;
interface
uses ANE_LayerUnit, SysUtils;
const
kMFLakeName = 'Lake Name';
kMFLakeNumber = 'Lake Number';
kMFLakeSimulMode = 'Simulation mode';
kMFLakeStartStage = 'Starting Stage';
kMFLakeMaxIterations = 'Max Iterations';
kMFLakeStageConvCrit = 'Stage Convergence Criterion';
kMFLakeMaxSt... |
unit uToolTip;
interface
uses Windows, Messages, CommCtrl;
const
TTS_BALLOON = $40;
TTM_SETTITLE = (WM_USER + 32);
var
hTooltip: Cardinal;
ti: TToolInfo;
buffer : array[0..255] of char;
procedure CreateToolTips(hWnd: Cardinal);
procedure AddToolTip(hwnd: dword; lpti: PToolInfo; IconType: Integer;... |
unit DataObjectXref;
//This unit contains the TXrefPool class and related classes.
interface
uses sysutils, stringx, typex;
threadvar
iTVLastIntXRefSearch: integer;
iTVLAstIntXRefSearchREsult: integer;
type
TClassXRef = record
public
cClass: TClass;
sString: string;
iPrimaryKeyCount: nativeint;
... |
unit uMain;
{
author : ZuBy
https://github.com/rzaripov1990
rzaripov1990@gmail.com
Чтобы достичь нужного эффекта,
все контролы нужно ложить в Content (TRectangle)
}
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Gr... |
unit CommonLock;
////////////////////////////////////////////////////////////////////////////////
//
// Description:
// Author: lksoulman
// Date: 2017-7-10
// Comments:
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Windows;
type
TCSLock = class
... |
unit DW.Consts;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library }
{ ... |
unit ArcSoft.FaceEngine.Android;
interface
uses
Androidapi.JNI.JavaTypes, Androidapi.JNIBridge,
Androidapi.JNI.arcsoft_face;
const
MAX_DETECT_NUM = 10;
type
TDetectMode = (ASF_DETECT_MODE_VIDEO, ASF_DETECT_MODE_IMAGE);
TDetectFaceOrient = (ASF_OP_0_ONLY, ASF_OP_90_ONLY, ASF_OP_180_ONLY, ASF_O... |
unit Trace;
{$I 'DelphiDefs.inc'}
interface
{$IFDEF WINDOWS}
{x$DEFINE LOG_TRACE_TO_CONSOLE}
{$ENDIF}
{$DEFINE LOG_TRACE_TO_DISK}
{$DEFINE LOG_TO_MEMORY}
{x$DEFINE CONSOLE_LOG_TRACE_TO_DISK}
{$DEFINE LOG_TO_THREAD_STATUS}
uses
{$IFDEF WINDOWS}
windows,
{$ELSE}
{$IFDEF IOS}
{$ELSE}
{$IFNDEF OSX}
androida... |
unit frameBuscaCliente;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, Mask, RXToolEdit, RXCurrEdit, Cliente;
type
TBuscaCliente = class(TFrame)
StaticText1: TStaticText;
edtCodigo: TCurrencyEdit;
StaticText2: TStaticText;
... |
unit PackageFile;
interface
uses
systemx, stringx, typex, classes, sysutils, betterfilestream, sharedobject, helpers_stream, dir, dirfile, zlib;
type
TWriteStream = TCompressionStream;
TReadStream = TDecompressionStream;
TPackageMainHeader = packed record
end;
TPackageItemHeader = packed record
priva... |
unit SLDispersivity;
interface
uses ANE_LayerUnit;
type
TMaxLongDispParam = class(T_ANE_LayerParam)
class Function ANE_ParamName : string ; override;
function Units : string; override;
function Value : string; override;
end;
TMinLongDispParam = class(TMaxLongDispParam)
class Function ANE_Param... |
unit FunTrataErro;
interface
uses
DBTables,Classes,db, SysUtils;
const
// erro de tabelas parametro %s sempre o nome da tabela
CT_TabelaFechada = 'A tabela %s não esta aberta !';
CT_AberturaTabela = 'Erro na Abertura da tabela %s !';
CT_ErroTabelaLeitura = 'Erro da tabela %s, está ... |
//Модуль для создания записей о дочерних окнах
unit uChild;
interface
uses
Classes, Forms;
type
TChildActions = (
childFilterPanel,
childAdd,
childAddPattern,
childEdit,
childDelete,
childRefresh,
childUp,
childDown,
childExcel,
childOptimizeGrid
);
//описание для всех MDI Child программы
PCh... |
unit fMain;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
ExtCtrls, VirtualTrees, StdCtrls, LCLProc, ComCtrls;
type
{ TMainForm }
TMainForm = class(TForm)
AddEditTextButton: TButton;
AddComboTextButton: TButton;
AddListTextButto... |
unit uSelecionarData;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.Mask,
RxToolEdit;
type
TfrmSelecionarData = class(TForm)
EdtDataInicio: TDateEdit;
Label3: TLabel;... |
{*******************************************************}
{ }
{ Vladimir Gaitanoff Delphi VCL Library }
{ Data access components: BDE }
{ }
{ Copyright (c) 1... |
unit EspecificacaoPedidosAprovadosNaoFaturados;
interface
uses
Especificacao,
Pessoa,
Pedido,
MetodoDelegadoVerificaPedidoFaturado;
type
TEspecificacaoPedidosAprovadosNaoFaturados = class(TEspecificacao)
private
FPessoa :TPessoa;
FPedidoFaturado :TMetodoDelegadoVerificaPedidoFaturado;
... |
{
Copyright (C) 2013-2023 Tim Sinaeve tim.sinaeve@gmail.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable... |
{$MODE OBJFPC}
program PAGAIN;
const
k = 10;
var
n : QWord;
nTests : Integer;
function Power(a, d : QWord) : QWord;
begin
if d = 0 then Exit(1);
result := Power(a, d shr 1);
result := (result * result) mod n;
if Odd(d) then
result := (a * result) mod n;
end;
function RabinMiller :... |
unit ClsOISCSubleq;
interface
uses
Classes, StdCtrls;
type
TOISCIn = function: Char of object;
TOISCOut = procedure(str: string) of object;
TOISCSubleq = class(TThread)
private
Addr: Longword;
FOISCIn: TOISCIn;
FOISCOut: TOISCOut;
FLblRunning: TLabel;
FLblHalt: TLabel;
FLblPaused: ... |
unit ZCompte;
//=======================================================
//=================== Clés primaires ====================
//=======================================================
// GENERAUX : G_GENERAL
interface
uses
Classes,
{$IFNDEF EAGLCLIENT}
Db, ComCtrls,
{$IFNDEF DBXPRESS} dbtabl... |
unit mOrderList;
interface
uses
System.Classes, System.SysUtils,
System.Generics.Collections;
type
TSimpleOrderList<T> = class
private
FItemIsClass: Boolean;
FItemClass: TClass;
FOwnsObjects: Boolean;
procedure OnNotify(Sender: TObject; const Item: T; Action: TCollectionNotification);
priva... |
unit clThreadParseJournal1;
interface
uses
Windows, SysUtils, Variants, Classes, ShellAPI , clLogAcceptor1, clParseJournal1,
ztvregister, ztvBase, ztvUnRar, ztvGbls, ActiveX , comObj, Messages;
type
TThParseJournal = class(TThread)
private
fLog : TLogAcceptor;
fRootDir : String;
fWorkDir : Stri... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls,
ExtCtrls, StdCtrls, DBGrids, DbCtrls, Types, sqldb, db, mysql51conn,
mysql50conn;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
DataSource1: TDataS... |
unit Command;
interface
uses
Communication, SkyLists, SkyHttpSession, SysUtils;
type
TCommand = class;
TCommandClass = class of TCommand;
TCommand = class
private
class var FCommandList: TSkyObjectList;
{$IFDEF VER210}
protected
class constructor Create;
class destructor Dest... |
unit dlgDirList;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TDirListDialog = class(TForm)
ButtonPanel: TPanel;
CancelBtn: TButton;
OkBtn: TButton;
FormatMemo: TMemo;
Label1: TLabel;
SelDirBtn: TButton;
... |
unit _v.Main;
interface
uses
mDeviceObserver.Windows.Common, mDeviceObserver.Windows,
mDeviceList.Windows, mDeviceList.Windows.Common, mDevice.Windows,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
... |
{PROGRAMME CarreMagique
//BUT: Afficher un carré magique d'une dimension impaire avec différents chiffres en suivant des règles précises.
//ENTREE: Aucune
//SORTIE: Nombres s'affichant dans les carrés
Const
dim=5;
Type
Tableau2dim=Tableau[1..dim,1..dim]de ENTIER;
PROCEDURE initTab(var Tab:Tableau2d... |
unit iStrMovimentoEntradaApropriar;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, KeyPadraoDialogo, cxGraphics, cxLookAndFeels,
cxLookAndFeelPainters, Menus, cxControls, cxContainer, cxEdit,
dxSkinsCore, cxGroupBox, StdCtrls, cxButtons, ExtCtrls, DB... |
{***********************************************************}
{ Systec Sistemas Ltda }
{ }
{ Funçõs para arquivos }
{ Sergio Luis Censi 01/09/98 }
{***... |
unit incDec1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
System.SyncObjs, System.Threading, System.Diagnostics;
type
TfrmIncDec = class(TForm)
btnSingleThreaded: TButton;
btnMultit... |
unit UFrmManageResidents;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.... |
unit MVCFramework.Tests.AppController;
interface
uses
System.SysUtils,
System.Generics.Collections,
System.Classes,
MVCFramework,
MVCFramework.Commons,
MVCFramework.Server;
type
TAppUser = class
strict private
FCod: Integer;
FName: string;
FPass: string;
public
property Cod: Intege... |
unit Grijjy.SocketPool.Linux;
{ Linux epoll based socket pool }
{ TODO: Use epoll_pwait with a signal or an eventfd instead of a timeout to quit the thread }
{$I Grijjy.inc}
interface
uses
Posix.Unistd,
Posix.SysSocket,
Posix.NetinetIn,
Posix.ArpaInet,
Posix.NetDB,
System.Net.Socket,
... |
unit MyController2U;
interface
uses
MVCFramework,
MVCFramework.Commons,
MVCFramework.Swagger.Commons,
MVCFramework.Serializer.Commons,
MVCFramework.Middleware.Authentication.RoleBasedAuthHandler;
type
[MVCNameCase(ncLowerCase)]
TPerson = class
private
FName: string;
FAge: Integer;
FCountr... |
unit HFBDisplay;
interface
{ HFBDisplay is used to define a form for displaying the locations of
horizontal-flow barriers. Note: PaintBox1 is likely to be changed to
a different component in a future version of the PIE.}
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, A... |
unit RepositorioDevolucao;
interface
uses DB, Auditoria, Repositorio;
type
TRepositorioDevolucao = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdentific... |
unit Foundation.System;
interface
uses
System.SysUtils,
Foundation.Pattern.Defer;
type
IDeferrer = Foundation.Pattern.Defer.IDeferrer;
/// <summary>
/// Defer é a função que cria uma instância TDeferrer e retorna a Interface
/// IDeferrer. Esta instância é criada no contexto no método que fez a... |
unit WorldEditor.Classes;
interface
uses Windows, Graphics, Types, Forms, Controls, ForgottenSaga.Classes,
ForgottenSaga.Entities, Dialogs;
{$REGION ' TEditor '}
function __(S: string): string;
type
TEditor = class(TSaga)
private
FCurrentMap: TMap;
FPos: TPoint;
FToolBarHeight: Inte... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.