text stringlengths 14 6.51M |
|---|
program Inmobiliaria;
uses crt, inmuebles;
const COMIENZO_ARRAY = 1;
MAX_SUCURSALES= 255;
MAX_INMUEBLES = 100;
MAT_ESTADISTICA_FILAS = 13;
MAT_ESTADISTICA_COLUMNAS = MAX_SUCURSALES + 1;
LISTARMAX = 20;
VALOR_NO_ENCONTRADO = -1;
PATH_INMUEBLES = 'Inmuebles.dat';
... |
unit DragDropText;
// -----------------------------------------------------------------------------
// Project: Drag and Drop Component Suite.
// Module: DragDropText
// Description: Implements Dragging and Dropping of different text formats.
// Version: 4.0
// Date: 18-M... |
unit Rights;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseDocked, Vcl.StdCtrls, RzLabel,
Vcl.ExtCtrls, RzPanel, RzLstBox, RzChkLst, RzCmboBx, System.Rtti, StrUtils;
type
TfrmRights = class(TfrmBaseDoc... |
unit MediaStream.Framer.Mp6;
interface
uses Windows,SysUtils,Classes,HHCommon,HHReader, MediaProcessing.Definitions,MediaStream.Framer;
type
TStreamFramerMp6RandomAccess = class;
TStreamFramerMp6 = class (TStreamFramer)
private
FReader: THHReaderMpeg6;
FRandomAccess: TStreamFramerMp6RandomAccess;
... |
unit RadioButtonImpl1;
interface
uses
Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls,
ComServ, StdVCL, AXCtrls, DelCtrls_TLB;
type
TRadioButtonX = class(TActiveXControl, IRadioButtonX)
private
{ Private declarations }
FDelphiControl: TRadioButton;
FEvents: IRadioButtonXEven... |
unit UnitFormProductData;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UnitFormDataTable, server_data_types,
services, stringgridutils, Vcl.ExtCtrls, Vcl.Menus;
type
TFormProductData = class(T... |
unit uFrame1;
interface
uses
System.Generics.Collections,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.Layouts,
UI.Standard, UI.Base, UI.Frame, UI.Dialog, UI.ListView, uBaseFrame{Base Frame for ... |
Unit myQueueForTree;
Interface
Uses myDates;
Type pointQueue = ^treeQueue;
treeQueue = record
info: pointTree;
next: pointQueue;
end;
Var headQueue: pointQueue;
Procedure addToQueue(var point: pointQueue; x: pointTree);
Function isEmptyPointQueue(point: pointQueue):boolean;
Function queue... |
{ *************************************************************************** }
{ }
{ Delphi and Kylix Cross-Platform Visual Component Library }
{ Internet Application Runtime }
... |
unit main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Spin, ExtCtrls,
StdCtrls;
type
{ TForm1 }
TForm1 = class(TForm)
GroupBox1: TGroupBox;
Label1: TLabel;
MapCalculatorPanel: TPanel;
GridX: TSpinEdit;
GridY: TSpinEdit;
CalculatorResul... |
unit TMCmnFunc;
{
Aestan Tray Menu
Made by Onno Broekmans; visit http://www.xs4all.nl/~broekroo/aetraymenu
for more information.
This work is hereby released into the Public Domain. To view a copy of the
public domain dedication, visit:
http://creativecommons.org/licenses/publicdomain/
or send a let... |
unit DrillDiagram;
interface
uses ExtCtrls,Classes,Graphics,forms,sysutils,Math;
const FIRSTVALUE :double = -10000; //变量初始值
const TITLEVOFF :Integer = 5; //孔口坐标纵向预留高度
const TOPLINEVOFF :integer = 25; //孔口基线纵向预留高度
const BOTTOMLINEVOFF :integer = 10; //孔底基线纵向预留高度
Const TBLINEHLOF... |
unit Right;
interface
const
// REMINDER!!! Every time a new right is added.. be sure to check it gets displayed in the Rights form
//************* PRIVILEGES ****************//
// Client privileges
PRIV_CLIENT_ADD_NEW = 'PRIV_CLIENT_ADD_NEW;Add_new_client;CLIENT';
PRIV_CLIENT_MODIFY = 'PRIV_CLIENT... |
unit TRegFunctions;
interface
uses
Windows;
procedure regWrite(writeDir:String);
function regRead(readKey : String) : String;
function regKeyExists(checkingKey : String) : Boolean;
implementation
uses
Registry, strConsts;
///////////////////////////////regWrite////////////////////////////////////
pr... |
{
Alignement_de_deux_mots.pas
Copyright 2010 tarik User <tarik@ubuntu>
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... |
unit Vigilante.Compilacao.Model.Impl;
interface
uses
System.Generics.Collections, Model.Base.Impl, Vigilante.Aplicacao.SituacaoBuild,
Vigilante.ChangeSetItem.Model, Module.ValueObject.URL, Vigilante.Compilacao.Model;
type
TCompilacaoModel = class(TModelBase, ICompilacaoModel)
private
FNumero: integer;
... |
{The memory manager benchmark taken from the NexusDB website (www.nexusdb.com).
Two changes: (1) Monitoring of memory usage was added (shouldn't impact scores
much) and (2) lowered max items from 4K to 2K to lower memory consumption so
that the higher thread count tests can be run on computers with 256M RAM.
Ch... |
unit unt_Excel;
interface
uses
SysUtils, Classes, ComObj, contnrs, unt_ExcelCommonClass, Variants;
function CreateExcelApp: variant;
function CreateWorkBook(ExcelApp: Variant): variant;
function CreateWorksheet(WorkBook: Variant): Variant;
function RefToCell(RowID, ColID: Integer): string;
procedure SaveAsExcelFil... |
(***********************************************************)
(* xPLRFX *)
(* part of Digital Home Server project *)
(* http://www.digitalhomeserver.net *)
(* info@digitalhomeserver.net *)
(****... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;
const PocetSortov = 6;
type TZoznam = array[1..PocetSortov] of string;
type
THlavneOkno = class(TForm)
PaintBoxBubble: TPaintBox;
PaintBoxQuick: TPaintBox;
TextBubbleSort: TLab... |
(* Ejercicio 21
Con el resultado del ejercicio 14 del práctico 1, escriba un programa para
determinar la raíz cuadrada de un número positivo a mediante el cálculo de a^0.5.
La entrada consistirá en una sola línea conteniendo el número real a.
Exhíba a, a^0.5, y sqrt(a) con etiquetas apropiadas.
Ejemplo de entrada ... |
unit IdStackConsts;
interface
{This should be the only unit except OS Stack units that reference
Winsock or lnxsock}
uses
{$IFDEF LINUX}
Libc;
{$ELSE}
IdWinsock2;
{$ENDIF}
type
TIdStackSocketHandle = TSocket;
var
Id_SO_True: Integer = 1;
Id_SO_False: Integer = 0;
const
{$IFDEF LINUX}
Id_IP_M... |
unit testhermiteunit;
interface
uses Math, Sysutils, Ap, hermite;
function TestHermiteCalculate(Silent : Boolean):Boolean;
function testhermiteunit_test_silent():Boolean;
function testhermiteunit_test():Boolean;
implementation
function TestHermiteCalculate(Silent : Boolean):Boolean;
var
Err : Double;... |
unit pCopyForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, FileCtrl, StdCtrls, DB, DBTables, ComCtrls, FastCopy;
type
TFastCopyFileThread = class;
TCopyForm = class(TForm)
btnCopy: TButton;
ProgressBar1: TProgressBar;
lblStatus: TLabel;
... |
{$mode objfpc}{$H+}{$J-}
program showcolor;
// и Graphics и GoogleMapsEngine определяют тип TColor.
uses
Graphics, GoogleMapsEngine;
var
{ Это не сработает, как мы ожидаем, поскольку TColor последний раз
был объявлен в unit-е GoogleMapsEngine. }
// Color: TColor;
{ This works Ok. }
Color: Graphics.TColo... |
unit untCadastroProduto;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.DBCtrls, Vcl.Mask, Vcl.StdCtrls,
Vcl.Buttons, Vcl.ExtCtrls, Data.DB, Vcl.Grids, Vcl.DBGrids, Vcl.ComCtrls,
FireDAC.Stan.Intf, FireD... |
unit MarkdownTables;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, MarkdownUtils;
type
{ TTable }
TTable = class
public
class var
Rows:integer;
Cols:integer;
Emitter:TEmitter;
class procedure RowSplit (Input: string; const Strings: TStrings);
class function ProcTable(... |
unit JASketch;
{$mode objfpc}{$H+}
{$PACKRECORDS 2} {required for compatibility with various amiga APIs}
{$i JA.inc}
{A Sketch is a collection of Polygons. It is arranged as such so different
coloured/styled polygons can make up a single object while also having a
defined order of rendering, the order of the Po... |
{******************************************************************************}
{ }
{ Gofy - Arkham Horror Card Game }
{ ... |
unit ksFormTransitionUI;
interface
{$I ksComponents.inc}
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects,
ksFormTransition;
type
TfrmFormTransitionUI = class(TForm)
Image1: TImage;
Image2:... |
{ *************************************************************************** }
{ }
{ Delphi and Kylix Cross-Platform Visual Component Library }
{ }
... |
object MapRangeSelectDialog: TMapRangeSelectDialog
Left = 234
Top = 105
ActiveControl = StartValueEdit
BorderStyle = bsDialog
Caption = 'Select Map Ranges'
ClientHeight = 453
ClientWidth = 331
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name ... |
unit MediaStream.Filer;
interface
uses SysUtils,Classes, Windows, SyncObjs, MediaProcessing.Definitions;
type
TStreamFiler = class
protected
FStream: TFileStream;
FStreamLock: TCriticalSection;
procedure CheckOpened;
procedure DoWriteData(const aFormat: TMediaStreamDataHeader; aData: pointer; a... |
{####################################################################################################################
TINJECT - Componente de comunicação WhatsApp (Não Oficial WhatsApp)
www.tinject.com.br
No... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit uBD;
interface
uses
classes,IBQuery,SqlExpr,SysUtils,Contnrs,
URegistro, UConexaoFB;
// O exemplo de singleton em /Exemplo1/uDadosRegistroDB.pas é muito mais simples ,
// mas´não funciona no D7 só a partir do Delphi 2009
type
TBD = class
// strict private no D7 não tem strict
priv... |
unit SMS_Queue;
interface
uses Classes, AdGSM, AdPort, SyncObjs, SIP_RingList;
type
TSMSQueue=class(TThread)
private
ComPort:TApdComPort;
GSM:TApdGSMPhone;
SMSList:TThreadList;
Event:TEvent;
FSIPApp:TObject;
protected
FPort,FBits,FBaud,FStopBits:Integer;
FParity:String;
procedure... |
unit LanctoPagtoPrestServico;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Padrao1, Servidor_frme, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxGroupBox,
StdCtrls, Buttons, cxStyles, ... |
{
Version 12
Copyright (c) 2011-2012 by Bernd Gabriel
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, pu... |
unit Ex2Unit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TMyLongThread = class(TThread)
private
procedure DoUsefullTask; // Процедура для имитации полезной работы
public
procedure Execute; override;
end;
TF... |
unit k03_kel3_md5;
{Hashing dengan metode MD5}
{REFERENSI : https://en.wikipedia.org/wiki/MD5#Algorithm
https://tr.opensuse.org/MD5
https://rosettacode.org/wiki/MD5/Implementation
.. dan masih banyak lagi}
{!! DISCLAIMER : saya hanya mengikuti pseudocode yang ada di wikipedia !!
!! dengan bant... |
unit main1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrls, JvCreateProcess, windows, lazUTF8, SynEdit;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
Button2: TButton;
Button3: TButton;
JvCreateProcess1: TJvC... |
unit fGMV_EnteredInError;
{
================================================================================
*
* Application: Vitals
* Revision: $Revision: 1 $ $Modtime: 8/11/09 3:56p $
* Developer: ddomain.user@domain.ext/doma.user@domain.ext
* Site: Hines OIFO
*
* Descri... |
unit gMouseGesture;
{
Mouse Gesture Component for Delphi
written by Wolfy(http://hp.vector.co.jp/authors/VA024591/)
license BSD
modified 2002/10/12
thanks to OpenJane, i had written.
}
{$IFDEF VER130}
{$ELSE}
{$WARN SYMBOL_PLATFORM OFF}
{$WARN UNIT_PLATFORM OFF}
{$ENDIF}
interfa... |
unit simple_func_call_1;
interface
implementation
var
G: Int32;
function GetFive: Int32;
begin
Result := 5;
end;
initialization
G := GetFive;
finalization
Assert(G = 5);
end. |
program
SisBiblioteca;
uses
crt, sysutils, DOS;
// ------------- ALUNO --------------------
type listISBNLivros = array[1..2, 1..3] of string;
type Aluno = record //Registro de Aluno
nome : string[30];
mat : integer;
isbnLivros : listISBNLivros;
sexo: char;
curso : string[20];
end;
type returnVerifMatric... |
unit ExecSQLFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, RzStatus, RzPanel, ExtCtrls, StdCtrls, RzButton, ImgList,
DBAccess, MSAccess, RzLabel, DB, MemDS, Grids, DBGridEh, RzTabs, Mask,
RzEdit, GridsEh, DBGridEhGrouping;
type
TFmeExecSQL = cla... |
unit MySetsUnit;
interface
type
TMySet = array of string;
TMySets = class
public
function StrToSet(InputString: String; Delimiter: String = ', '): TMySet;
function SetToStr(InputArray: TMySet; Delimiter: String = ', '): String;
function CellExists(Cell: String; InputSet: TMySet): Boolean;
functi... |
unit LinkedListBenchmark;
{$mode delphi}
interface
uses
Classes, BenchmarkClassUnit, Math;
const
cNB_LIST_ITEMS = 128*1024;
type
TLinkedListBench = class(TFastcodeMMBenchmark)
public
constructor CreateBenchmark; override;
destructor Destroy; override;
procedure RunBenchmark; override;
clas... |
unit DockForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Menus,
ExtCtrls, StdCtrls;
type
TDockableForm = class(TForm)
Memo1: TMemo;
procedure FormDockOver(Sender: TObject; Source: TDragDockObject; X,
Y: Integer; State: TDragState; var Accept: Boolean... |
unit morphutils;
interface
uses Classes,opengl, SysUtils,morphmath;
const
cMaxArray = (MaxInt shr 4);
type
TIntegerVector = array[0..cMaxArray] of integer;
TFloatVector = array[0..cMaxArray] of Single;
TSingleArray = array of Single;
PFloatVector = ^TFloatVector;
PFloatArra... |
{
GMRectangle unit
ES: contiene las clases bases necesarias para mostrar rectángulos en un mapa de
Google Maps mediante el componente TGMMap
EN: includes the base classes needed to show rectangles on Google Map map using
the component TGMMap
============================================================... |
unit fTimeout;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
fAutoSz, ExtCtrls, StdCtrls, ORFn, VA508AccessibilityManager;
type
TfrmTimeout = class(TfrmAutoSz)
timCountDown: TTimer;
pnlTop: TPanel;
Label1: TStaticText;
Label2: TStaticText;
pnlBotto... |
unit NtUtils.Objects;
interface
{$WARN SYMBOL_PLATFORM OFF}
uses
Winapi.WinNt, Ntapi.ntdef, Ntapi.ntobapi, NtUtils.Exceptions,
DelphiUtils.AutoObject;
type
IHandle = DelphiUtils.AutoObject.IHandle;
TAutoHandle = class(TCustomAutoHandle, IHandle)
destructor Destroy; override;
end;
TObjectBasicInform... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2019 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit FC.StockChart.UnitTask.Indicator.Duplicate;
interface
{$I Compiler.inc}
uses
SysUtils,Classes, BaseUtils, Serialization, Dialogs, StockChart.Definitions.Units,StockChart.Definitions,
FC.Definitions, FC.Singletons,
FC.StockChart.UnitTask.Base;
implementation
type
TStockUnitTaskIndicatorDuplicate = class... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://hpw-chorafarma-test.hes.it/sms/sms.asmx?wsdl
// >Import : http://hpw-chorafarma-test.hes.it/sms/sms.asmx?wsdl>0
// ... |
unit Connection.TCP;
interface
uses Windows, SysUtils, GMConst, GMGlobals, Connection.Base, StrUtils, blcksock, System.Classes;
type
TConnectionObjectTCP = class(TConnectionObjectBase)
private
FSocket: TTCPBlockSocket;
function ReadFromSocket(): TCheckCOMResult;
protected
FLastError: string;
fu... |
unit TextPrint;
interface
uses
Classes, WinTypes, WinProcs, SysUtils, Db, Dialogs, Utilits;
type
TTextPrintManager = class(TComponent)
private
FNumberOfBytesWritten: DWORD;
FHandle: THandle;
FPrinterOpen: Boolean;
FErrorString: PChar;
FCommands, FParams, FSetStrin... |
unit rhlRotating;
interface
uses
rhlCore;
type
{ TrhlRotating }
TrhlRotating = class(TrhlHash)
private
m_hash: DWord;
protected
procedure UpdateBytes(const ABuffer; ASize: LongWord); override;
public
constructor Create; override;
procedure Init; override;
procedur... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
{ * ------------------------------------------------------------------------
* ♥ Akademia BSC © 2019 ♥
* ----------------------------------------------------------------------- * }
unit TestBoard;
interface
uses
System.Generics.Collections, System.SysUtils, System.Classes,
TestFramework,
Model.Board;
t... |
unit main04;
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.Grids,
Generics.Collections, Ap, mlpbase;
type
TForm2 = class(TForm)
Image1: TImage;
edInputTe... |
unit Vigilante.Controller.Mediator.Impl;
interface
uses
System.Generics.Collections, Module.ValueObject.URL,
Vigilante.Controller.Base, Vigilante.Controller.Mediator;
type
TControllerMediator = class(TInterfacedObject, IControllerMediator)
private
FControllers: TDictionary<TTipoController, IBaseControlle... |
unit class_ctor_1;
interface
uses System;
type
TC1 = class
a, b, c: int32;
constructor Create;
end;
implementation
var
C: TC1;
GA, GB, GC: Int32;
constructor TC1.Create;
begin
a := 11;
b := 22;
c := 33;
end;
procedure Test;
begin
C := TC1.Create();
GA := C.a;
... |
UNIT cmdLineParseUtil;
INTERFACE
USES sysutils;
TYPE
T_extendedParameter=record
isFile:boolean;
leadingSign:char;
cmdString:string;
intParam:array of longint;
floatParam:array of double;
stringSuffix:string;
end;
T_commandAbstraction=record
isFile:boolean;
leadingSi... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 65520,0,200000}
{
by Behdad Esfahbod
Algorithmic Problems Book
April '2000
Problem 118 Backtrack Method with Many Bounds
}
program
RectangularCover;
const
MaxNum = 20 + 1;
MaxRect = MaxNum * MaxNum;
type
Arr1 = array [0 .. MaxNum + 1, 0 .. MaxNum ... |
unit URepositorioTodasVacinas;
interface
uses
UTodasVacinas
, UEntidade
, URepositorioDB
, SqlExpr
;
type
TRepositorioTodasVacinas = class(TRepositorioDB<TTODASVACINAS>)
private
public
constructor Create;
//destructor Destroy; override;
procedure AtribuiDBParaEntidade(const coTODASVAC... |
{**********************************************}
{ TAxisMaxMin Dialog Editor }
{ Copyright (c) 1996-2004 David Berneda }
{**********************************************}
unit TeeAxMaxMin;
{$I TeeDefs.inc}
interface
uses
{$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
{$IFDEF CLX}
QGrap... |
unit hmackecc;
{HMAC-Keccak unit}
interface
(*************************************************************************
DESCRIPTION : HMAC (hash message authentication) unit for Keccak
REQUIREMENTS : TP5-7, D1-D7/D9-D12, FPC, VP, WDOSX
EXTERNAL DATA : ---
MEMORY USAGE : ---
... |
unit fUserData;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, ToolWin, Ex_Grid, Ex_Inspector, ActnList, ImgList,
FlexBase, FlexProps;
type
TfmUserData = class(TForm)
tbMain: TToolBar;
tbNew: TToolButton;
tbDelete: TToolButton;
... |
unit uDrawingEvent;
interface
uses uEventModel, uGraphicPrimitive, Graphics, uDrawingCommand, uVarArrays,
uExceptions, Variants;
const
EVENT_PLEASE_REPAINT = 'PLEASE_REPAINT';
EVENT_BACKGROUND_COLOR = 'BACKGROUND_COLOR';
type
TDrawingCommandData = class
public
class f... |
unit URepositorioPaciente;
interface
uses
UPaciente
, UEntidade
, URepositorioDB
, SqlExpr
;
type
TRepositorioPaciente = class(TRepositorioDB<TPACIENTE>)
private
public
constructor Create;
//destructor Destroy; override;
procedure AtribuiDBParaEntidade(const coPACIENTE: TPACIENTE); ov... |
{******************************************}
{ TeeChart }
{ TColoredForm Example }
{ Copyright (c) 1995-2001 by David Berneda }
{ All Rights Reserved }
{******************************************}
unit ucolor;
interface
uses
Wintypes,WinProcs,... |
unit Support.Plextor;
interface
uses
SysUtils,
Support, Device.SMART.List;
type
TPlextorNSTSupport = class sealed(TNSTSupport)
private
InterpretingSMARTValueList: TSMARTValueList;
function IsNinja: Boolean;
function IsM3Series: Boolean;
function IsM5Series: Boolean;
function IsProductOfPl... |
unit Rx.Observable.FlatMap;
interface
uses Rx, SyncObjs, Rx.Subjects, Rx.Implementations, Generics.Collections;
type
TConcurrencyCondVar = class
strict private
FCriSection: TCriticalSection;
FCondVar: TConditionVariableCS;
FLimit: Integer;
FCurrent: Integer;
public
constructor... |
unit Unit5;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
DbCtrls;
type
{ TOperacje }
TOperacje = class(TForm)
Button1: TButton;
Button2: TButton;
DBMemo1: TDBMemo;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
L... |
unit SMCnst;
interface
{Hungarian strings}
const
strMessage = 'Nyomtatás...';
strSaveChanges = 'A változásokat valóban tárolni akarod az adatbázis szerveren?';
strErrSaveChanges = 'Az adatokat nem lehet menteni! Ellenőrizd a szerver kapcsolatot vagy az adatot!';
strDeleteWarning = 'Valóban törölni ak... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 1024,0,655360}
{
by Behdad Esfahbod
Algorithmic Problems Book
April '2000
Problem 65 O(N2)
}
program
Lines;
uses
Graph;
const
MaxN = 50;
type
LSeg = array[0 .. 1] of PointType;
Arr = array [0 .. MaxN] of LSeg;
var
N : Integer;
GM, GD : inte... |
unit BillQuery2;
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.Intf,
FireDAC.S... |
unit ControleUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, DBCtrls, Grids, DBGrids, DB, DBTables, StdCtrls, Buttons;
type
TControleForm = class(TForm)
TableCracha: TTable;
DataSource1: TDataSource;
DBGrid1: TDBGrid;
DBNavigator1: TDBNav... |
unit HCFloatBarCodeItem;
interface
uses
Windows, Classes, Controls, SysUtils, Graphics, HCStyle, HCCustomData, HCXml,
HCItem, HCCustomFloatItem, HCCode128B, HCCommon;
type
THCFloatBarCodeItem = class(THCCustomFloatItem)
private
FAutoSize, FShowText: Boolean;
FPenWidth: Byte;
FText: string;
prot... |
unit U_VECTOR_CONTROL;
interface
uses Classes, SysUtils, U_VECTOR_LIEN_INFO, Graphics, Windows, XMLIntf, msxmldom,
XMLDoc,Variants, Forms, Dialogs, GDIPAPI, GDIPOBJ, System.Types;
type
TVECTOR_CONTROL = class
private
FVectorList: TStringList;
XMLDocument1: TXMLDocument;
FRect: TRect;
... |
{===============================================================================
串口通讯基类
===============================================================================}
unit xSerialBase;
interface
uses xCommBase, System.Types, xTypes, System.Classes, xFunction,
{$IFDEF MSWINDOWS}
SPComm,
{$ENDIF}
... |
//
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC InterBase/Firebird Call Interface }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit SearchParamDefSubParamQuery;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, ... |
{***********************************<_INFO>************************************}
{ <Проект> Компоненты медиа-преобразования }
{ }
{ <Область> Мультимедиа ... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit uTravel;
interface
uses
Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns, Soap.encddecd,
System.IOUtils, FMX.Dialogs, FMX.Forms, Classes, SysUtils, System.UITypes,
System.Variants,
FMX.Graphics, Data.DB, Data.DbxSqlite, Data.SqlExpr;
type
TTravel = class(TCollectionItem)
public
Id... |
{ Copyright (C) 1998-2018, written by Shkolnik Mike, Scalabium
E-Mail: mshkolnik@scalabium.com
mshkolnik@yahoo.com
WEB: http://www.scalabium.com
This component is an analog for TLabel with additional feature to display
the running text instead static label.
}
unit RunText;
interface
{... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Themes;
type
TForm1 = class(TForm)
lblStyleServicesAvailable: TLabel;
Label1: TLabel;
lblIsAppThemed: TLabel;
Label... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit JSONparser;
interface
uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
System.Contnrs, superobject, supertypes;
type
PSuperObjectIter = ^TSuperObjectIter;
type
Tsobj = record
obj: ISuperObject;
... |
unit uOperacoesEmLote_Controller;
interface
uses
uiOperacoesEmLote_Interface, Data.DB;
type
TOperacoesEmLote = class(TInterfacedObject, iOperacoesEmLote)
FDataSet :TDataSet;
function SetDataSet(DataSet:TDataSet):iOperacoesEmLote;
function SomaTotal : Double;
function SomaTotalDivisoes :... |
unit Dialogs4D.Factory;
interface
type
TDialogs = class
public
/// <summary>
/// Displays a dialog box for the user with a message.
/// </summary>
/// <param name="Content">
/// Message to be displayed to the user.
/// </param>
class procedure Info(const Content: string); static;
... |
// This unit is part of the GLScene Project, http://glscene.org
{: LIBFREETYPE<p>
<b>Historique : </b><font size=-1><ul>
<li>21/01/11 - Yar - Creation
</ul></font>
}
unit LIBFREETYPE;
interface
{$I GLScene.inc}
uses
{$IFDEF GLS_LOGGING} GLSLog, {$ENDIF}
{$IFDEF MSWINDOWS} Windows, {$E... |
unit uObjectFeatureList;
interface
uses SysUtils, Types, Contnrs, uObjectFeature;
type
TFeaList = class(TObjectList)
protected
function GetItem(Index: Integer): TFeatureObject;
procedure SetItem(Index: Integer; FeaObj: TFeatureObject);
public
property Objects[Index: Integer]: TFeatureObject read Ge... |
unit Chronogears.Azure.Model;
interface
type
TAzureConnection = class
public
TenantId: string;
SubscriptionId: string;
ClientId: string;
ClientSecret: string;
Resource: string;
RedirectURL: string;
AuthorizeEndPoint: string;
TokenEndPoint: string;
RESTEndPoint: string;
Auth... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.