text stringlengths 14 6.51M |
|---|
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC BDE Aliases Importer }
{ }
{ Copyright(c) 2004-2018 Embar... |
program constants;
const
message = 'Hello, world';
count = 5;
var
i: integer;
begin
for i := 1 to count do
writeln(message);
end.
|
unit Systray;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ShellApi, Menus;
const
SH_CALLBACK = WM_USER +1;
type
TSystray = class(TCustomControl)
private
FIconData : PNOTIFYICONDATA;
FIcon : TIcon;
FMenu : TPopupMenu;
FToolTip : array [0..63] of A... |
unit ubooksearch;
{Berisi fungsi (F03, F04) untuk mencari buku di perpustakaan}
{REFERENSI : - }
interface
uses
ucsvwrapper,
ubook, ubookutils;
{PUBLIC, FUNCTION, PROCEDURE}
function categoryValid(q : string): boolean;
procedure findBookByCategoryUtil(category: string; ptrbook:pbook); {F03}
procedure fi... |
{-----------------------------------------------------------------------------
Author: Roman Fadeyev
Purpose: Диалог для выбора индикатора для вставки его в чарт
History:
-----------------------------------------------------------------------------}
unit FC.StockChart.CreateIndicatorDialog;
{$I Compiler.inc}
... |
program fft;
Uses Math, sysutils;
Type SArray = Array of String;
Type RArray = Array of Real;
//--------------------------------------------------
//-- COMPLEX NUMBERS HANDLING ----------------------
type Complex = Array [0..1] of Real;
type CArray = Array of Complex;
function multiply(c1, c2 : Complex) : Complex;
... |
(*
This example represents a sampling of the way that you might
approach trapping a number of database errors.
A complete listing of the database errorcodes is found in the
DBIErrs.Int file in the Delphi/Doc directory or in the IDAPI.h
file in the Borland Database Engine.
Database errors are defined by c... |
unit FrmPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, Frm.Pais, Frm.Estado, Frm.Cidade,Frm.Produto, Frm.Cliente,Frm.Venda;
type
TForm1 = class(TForm)
mm1: TMainMenu;
Cadastros: ... |
unit Bank_impl;
{This file was generated on 15 Jun 2000 15:40:10 GMT by version 03.03.03.C1.04}
{of the Inprise VisiBroker idl2pas CORBA IDL compiler. }
{Please do not edit the contents of this file. You should instead edit and }
{recompile the original IDL which was located in the file acco... |
unit ProducerTypesQuery;
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,
F... |
unit iaDemo.IFileDialogCustomize.CustomComboBox;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm1 = class(TForm)
butOpenFile: TButton;
ExampleDialog: TFileOpenDialog... |
unit uRelayBox;
interface
uses
Windows, Messages, SysUtils, Variants, Classes,
CPortX;
type
TChangeRelaysEvent = procedure(Sender: TObject) of object;
TChangeRelayEvent = procedure(Sender: TObject; Index: Integer; State: boolean) of object;
type
TRelayBox = class(TComponent)
private
ComPort: TCPo... |
unit uActionFactory_b;
interface
uses
uQueryServer_a, uQueryCommon_a;
type
TActionFactory_b = class(TActionFactory_a)
private
FCurrRequestPart: string;
public
property CurrRequestPart: string read FCurrRequestPart;
procedure AddRequestActions(AActions: TFiFoActionQueue_a); override... |
unit ncHttp;
interface
uses
SysUtils, Classes, IdTCPConnection, IdTCPClient, IdHTTP, IdMultipartFormData;
type
ThttpThreadGet = class ( TThread )
protected
procedure Execute; override;
public
FAddChaveSeg: Boolean;
FUrl,
FParams,
FRes : String;
FRetryOnErro : Boolean;
co... |
unit uNamedPipes;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
PTrustee = ^TTrustee;
TTrustee = record
pMultipleTrustee: PTrustee;
MultipleTrusteeOperation: DWORD;
TrusteeForm: DWORD;
TrusteeType: DWORD;
ptstrName: PAnsiChar;
end;
TExplicitAccess = record
grfAccessPe... |
unit Player.AudioOutput.AllTypes;
interface
uses Windows,SysUtils,Classes,Graphics,SyncObjs, Player.AudioOutput.Base,MediaProcessing.Definitions;
type
TPlayerAudioOutput_AllTypes = class (TPlayerAudioOutputWaveOut)
protected
function GetStreamTypeHandlerClass(aType: TStreamType): TAudioOutputDecoderClass; ... |
unit Thread.Trim.Helper.Device;
interface
uses
SysUtils, Windows,
OSFile, OSFile.ForInternal, Getter.PartitionExtent, CommandSet,
CommandSet.Factory;
type
TPendingTrimOperation = record
IsUnusedSpaceFound: Boolean;
StartLBA: UInt64;
LengthInLBA: UInt64;
end;
TDeviceTrimmer = class(TOSFileFor... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: Q3BSP<p>
Simple Quake III BSP file loader.<p>
<b>History : </b><font size=-1><ul>
<li>16/10/08 - UweR - Compatibility fix for Delphi 2009
<li>30/01/03 - Egg - Creation, based on Philip Stefou's document and
... |
unit MediaStream.PtzProtocol.HH;
interface
uses SysUtils, MediaStream.PtzProtocol.Base,MediaServer.Net.Ms3s.Stream, HHCommon,HHNet,HHNetAPI;
type
TPtzProtocol_HH = class (TPtzProtocol)
private
FServer : THHNetServer;
FChannelNo: integer;
procedure CheckValid;
public
procedure Init(aServer: T... |
unit frame_message;
{$mode objfpc}
{$r *.lfm}
interface
uses
Classes, SysUtils, FileUtil, LSControls, LResources, Forms, Controls,
StdCtrls, ExtCtrls, ComCtrls, u_xpl_custom_message;
type // TTMessageFrame ========================================================
TTMessageFrame = class(TFrame)
... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright (c) 1995,1996 Borland International }
{ ... |
unit Tests.Injection;
interface
uses
DUnitX.TestFramework,
System.Classes, System.SysUtils,
Pattern.Command;
{$M+}
type
[TestFixture]
TestInjection_SingleParam = class(TObject)
private
FInteger101: integer;
FStrings: TStringList;
FOwnerComponent: TComponent;
public
[Setup]
procedu... |
{***************************************************************************}
{ }
{ LayoutDateTime }
{ }
{ ... |
unit uFeaCombo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, Buttons, ExtCtrls, IniFiles, Math;
type
TfFeaCombo = class(TForm)
Panel1: TPanel;
pgControl: TPageControl;
btnSad: TSpeedButton;
btnCancel: TBitBtn;
btnSave... |
unit ProtectUnit;
interface
uses
System.SysUtils, System.Win.Registry, Winapi.Windows, System.DateUtils,
Soap.EncdDecd;
type
TProtect = class(TObject)
private
class var Instance: TProtect;
protected
function CreateKey(ADate1, ADate2: TDateTime; AOldKey: String = '')
: Boolean;
function De... |
unit ServerContainerUnit;
interface
uses
SysUtils, Classes,
SvcMgr,
DSTCPServerTransport,
DSServer, DSCommonServer, DSAuth, AppserverMainUnit;
type
THPDService = class(TService)
procedure ServiceStart(Sender: TService; var Started: Boolean);
procedure ServiceCreate(Sender: TObject);
... |
unit uHeritageScreen;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.DBCtrls, Vcl.Grids,
Vcl.DBGrids, Vcl.StdCtrls, Vcl.Buttons, Vcl.Mask, Vcl.ComCtrls, Vcl.ExtCtrls,
uDTMConnection, FireDAC.Sta... |
{ 25/05/2007 10:24:05 (GMT+1:00) > [Akadamia] checked in }
{ 25/05/2007 10:22:39 (GMT+1:00) > [Akadamia] checked out /}
{ 25/05/2007 10:20:58 (GMT+1:00) > [Akadamia] checked in Add note to display }
{ 25/05/2007 09:27:39 (GMT+1:00) > [Akadamia] checked out /Add note to display}
{ 21/05/2007 17:03:07 (GMT+1:00) > [Ak... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2013-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{
X2Software XML Data Binding
Generated on: 6-9-2017 16:58:58
Generated from: P:\x2xmldatabinding\XSD\DataBindingSettings.xsd
}
unit DataBindingSettingsXML;
interface
uses
Classes,
SysUtils,
XMLDoc,
XMLIntf,
XMLDataBindingUtils;
type
{ Forward declarations for DataBindingSett... |
unit classe.sistema;
interface
uses StrUtils,SysUtils, DateUtils, System.Variants, System.Classes, Winapi.Windows;
type
TSistema = class
private
FDiretorioPadrao,
pVersao : string;
FDataBase: TDate;
FPathArqIni,
FServidorBanco,
FIPServidor,
FNomeBanco,
FLoginBanco,
... |
unit uYunJingAlarm;
interface
uses
System.SysUtils, System.Classes, IniFiles, uLogger, SyncObjs, IOUtils,
IdBaseComponent, IdComponent, IdCustomTCPServer, IdCustomHTTPServer,
IdHTTPServer, IdContext, IdHttp, IdUri, Types, Generics.Collections,
uHik86Sender, uGlobal, uTypes, NetEncoding;
type
TYunJingPass =... |
unit record_fields_init_test;
interface
implementation
type
TRec = record
a: int32 = 11;
b: int32 = 22;
end;
var
G1, G2: Int32;
procedure Test;
var
R: TRec;
begin
G1 := R.a;
G2 := R.b;
end;
initialization
Test();
finalization
Assert(G1 = 11);
Assert(G2 = 22);
end. |
{ *************************************************************************** }
{ }
{ Audio Tools Library (Freeware) }
{ Class TID3v2 - for manipulating with ID3v2 tags ... |
program minZahl;
const
X = 5;
type
tIndex = 1..X;
var
Minimum : integer;
Feld : array [tIndex] of integer;
i : tIndex;
minPos : tIndex;
begin
writeln ('Bitte geben Sie ', X, ' Werte ein: ');
for i := 1 to X do
readln (Feld[i]);
Minimum := Feld[1];
minPos := 1;
for i := 2 to X... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
//grantadminaccess unit
//Update : 08/04/2019 10.30 WIB
//Dev : mk
//v1.0.0
unit grantadminaccess;
interface
uses banana_csvparser;
var
user_data:banana_csvdoc;
function grantaccess(row:integer):boolean;
//Mengembalikan nilai true bila username merupakan admin, dan sebaliknya
procedure accessdenied();
//Mengel... |
unit UFrmWorkerInfoEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uFrmModal, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus,
ActnList, StdCtrls, cxButtons, ExtCtrls, DBClient, cxControls, cxContainer,
cxEdit, dxSkinsCore, dxSkinsDefau... |
unit IDELocale;
interface
uses
Classes, StdCtrls, ResourceStrings;
procedure LoadTranslations(cb: TComboBox);
function GetLangIDFromLanguage(Language: string): string;
implementation
procedure LoadTranslations(cb: TComboBox);
begin
cb.Items.Add(rsSystemLanguage);
cb.Items.Add(rsChineseZh_CN);
cb.Items.Add... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Ani,
FMX.Objects, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Media,
System.Beacon, System.Beacon.Components;
type
TForm1 = class(TF... |
{ -----------------------------------------------------------------------------
Unit Name: ufrmFindNewSheets
Author: 黄伟
Date: 14-十月-2019
Purpose: 本单元用于查找新增仪器计算表,从已知的工作簿中。但无法从未知的新
工作簿中查找。
History:
----------------------------------------------------------------------------- }
unit ufrmFindNew... |
unit xTrainQuestionAction;
interface
uses xDBActionBase, xTrainQuestionInfo, System.Classes, System.SysUtils, FireDAC.Stan.Param,
xFunction;
type
/// <summary>
/// 练习题数据库操作
/// </summary>
TTrainQuestionAction = class(TDBActionBase)
public
/// <summary>
/// 获取最大编号
/// </summar... |
unit Ths.Erp.Constants;
interface
{$I ThsERP.inc}
const
SURUM = 'A';
EPSILON = 0.00009;
EPSILON_ISLEMLER = 0.009;//2 haneye bakılır
PREFIX_LABEL = 'lbl';
PREFIX_CHECKBOX = 'chk';
PREFIX_EDIT = 'edt';
PREFIX_MEMO = 'mmo';
PREFIX_COMBOBOX = 'cbb';
PREFIX_RADIOGROUP = 'rg';
PREFIX_BUTTON ... |
unit UnRetorno;
interface
Uses classes, SysUtils, UnDados, ComCtrls, UnContasAPagar, UnContasAReceber,
UnComissoes, UnDadosCR, unCaixa, SqlExpr,tabela, DB,Provider,DBClient;
type
TRBDLocalizacaoRetorno = class
public
procedure PosDuplicata(VpaTabela : TDataSet;VpaNumDuplicata :String);
... |
{
"Memory Heap Manager" - Copyright (c) Danijel Tkalcec
@exclude
}
unit memManager;
{$INCLUDE rtcDefs.inc}
interface
uses
SysUtils, rtcSyncObjs,
memBinTree;
type
THeapInfo=packed record
minsize, // Minimum Heap Block Size
blocksize, // Heap Block Size Increment
alloc, ... |
unit VA508AccessibilityRouter;
interface
uses
SysUtils, Windows, Registry, StrUtils, Classes, Controls, Dialogs,
Contnrs, DateUtils, Forms, ExtCtrls;
type
TComponentDataNeededEvent = procedure(const WindowHandle: HWND; var DataStatus: LongInt;
var Caption: PChar; var Value: PChar; var Data: PChar; var Cont... |
unit LoanClassification;
interface
uses
LoanClassCharge, LoanType, LoansAuxData, Group, LoanClassAdvance, SysUtils;
type
TLoanClassAction = (lcaNone, lcaCreating, lcaActivating, lcaDeactivating);
TDiminishingType = (dtNone, dtScheduled, dtFixed);
TLoanClassification = class
private
FClassificationId:... |
unit Horse.BasicAuthentication;
{$IF DEFINED(FPC)}
{$MODE DELPHI}{$H+}
{$ENDIF}
interface
uses
{$IF DEFINED(FPC)}
SysUtils, StrUtils, base64, Classes,
{$ELSE}
System.SysUtils, System.NetEncoding, System.Classes, System.StrUtils,
{$ENDIF}
Horse, Horse.Commons;
const
AUTHORIZATION = 'authorization... |
unit AnyTest_s;
{This file was generated on 27 Oct 2000 17:40:35 GMT by version 03.03.03.C1.06}
{of the Inprise VisiBroker idl2pas CORBA IDL compiler. }
{Please do not edit the contents of this file. You should instead edit and }
{recompile the original IDL which was located in the file ... |
unit osShellAPI;
interface
uses
SysUtils, WinTypes, WinProcs, ShlObj, Windows, ComObj, ActiveX, ShellApi, Registry,
Forms;
function ShGetTempPathFileName(p_sPrefix : string) : string;
{ obtem um nome de arquivo temporario com o caminho do diretorio
padrao de arquivos temporarios (se houver) ou a raiz }... |
unit Destinfo;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, Buttons, DB, DBTables, Types;
type
TEnterDestinationParcelInformationForm = class(TForm)
GroupBox1: TGroupBox;
OKButton: TBitBtn;
CancelButton: TBitBtn;
Name1: TLabel;
... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit FC.StockChart.UnitTask.Bars.DataGrid;
interface
{$I Compiler.inc}
uses
SysUtils,Classes, BaseUtils, Serialization, StockChart.Definitions.Units,StockChart.Definitions,
FC.Definitions, FC.Singletons,
FC.StockChart.UnitTask.Base;
implementation
uses
FC.StockChart.UnitTask.Bars.DataGridDialog;
type
//Сп... |
unit ScreenViewForm;
interface
uses
Windows, Messages, SysUtils, Variants,
Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls,
rtcTypes,
rtcThrPool,
rtcInfo,
rtcGateConst,
rtcGateCli,
rtcVImgPlayback;
const
HiddenCursor:TCursor=crNone;
VisibleCursor:TCursor=crHandPoint... |
unit IdLogStream;
interface
uses classes, IdLogBase;
type
TIdLogStream = class(TIdLogBase)
protected
FInputStream : TStream;
FOutputStream : TStream;
procedure LogStatus(const AText: string); override;
procedure LogReceivedData(const AText: string; const AData: string); override;
procedure Log... |
unit install;
{$mode ObjFPC}{$H+}
interface
uses
Classes, Registry;
procedure Install;
procedure Uninstall;
function Installed: Boolean;
implementation
procedure Install;
var
Reg: TRegistry;
begin
Reg := TRegistry.Create(KEY_WOW64_32KEY or KEY_WRITE);
try
Reg.RootKey := HKEY_LOCAL_MACHINE;
if not ... |
unit fAllSettings;
{ AFS 7 Sept 2K
All settings on one form at once
}
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is fAllSettings, released May 2003.
The Initial Developer of the Original Code is Anthony Stee... |
unit record_props_indexed_2;
interface
type
TRec = record
function GetI(const Index: string): Int32;
procedure SetI(const Index: string; Value: Int32);
property Items[const Index: string]: Int32 read GetI write SetI;
end;
implementation
var
GR, GW: Int32;
GS: string;
function TRec.GetI(const In... |
PROGRAM fxc (* display currency reciprocals over a range *);
CONST
defaultIncr = 0.1;
ScreenLines = 23;
DefaultFact = 100;
VAR
FX,
Start,
Center,
Increment : REAL;
Factor,
n, err : WORD;
(* --------------------------------------------------------- *)
PROCEDURE ShowHelp;
BEGIN
Writeln('Us... |
unit GroupList;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseGridDetail, Data.DB,
System.ImageList, Vcl.ImgList, Vcl.StdCtrls, Vcl.Mask, RzEdit,
RzButton, RzTabs, Vcl.Grids, Vcl.DBGrids, RzDBGrid, RzLa... |
{
"DNS Query component" - Copyright (c) Danijel Tkalcec
@html(<br>)
@exclude
}
unit rtcDnsQuery;
{$INCLUDE rtcDefs.inc}
{$B-} { Enable partial boolean evaluation }
{$T-} { Untyped pointers }
{$R-} { Disable range checking }
{$IFNDEF VER80} { Not f... |
unit UTimerSpy;
{-$define _log_}
{-$define _debug_}
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs,
Math {$ifdef _log_}, ULog {$endif};
const
PH_PREF = 'ph_c832_cod_';
type
TSpyType = (stSingle,stMulti);
TResumeTimerType = (rttAsIs,rttResume,rttRestart);
TTim... |
unit GC.LaserCutBoxes.Box.Sides;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
{ TLaserCutBoxSideType }
TLaserCutBoxSideType = (bstTop, bstBottom, bstLeft, bstRight, bstBack,
bstFront);
{ TLaserCutBoxSide }
TLaserCutBoxSide = class(TObject)
private
FSideType: TLaserCutBoxSideT... |
{
Copyright (C) 2013-2019 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... |
unit Node;
{$mode objfpc}{$H+}{$J-}
{$modeswitch nestedprocvars}
interface
uses
LGHashMap;
type
{ INode }
INode = interface
['{A8ECD00D-5DEB-44EE-990A-DD3036081382}']
function NextGeneration: INode;
function CenteredSubnode: INode;
function CenteredSubSubNode: INode;
function GetNW: INode;... |
unit MainUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, winsock, TCPClientCollection, ExtCtrls;
type
TForm1 = class(TForm)
bStartServer: TButton;
Memo1: TMemo;
SocketCheckTimer: TTimer;
procedure SocketCheckTimer... |
{***************************************************************************
*
* Orion-project.org Lazarus Helper Library
* Copyright (C) 2016-2017 by Nikolay Chunosov
*
* This file is part of the Orion-project.org Lazarus Helper Library
* https://github.com/Chunosov/orion-lazarus
*
* This Library is free soft... |
unit U_RVG;
interface
function calcRVG(streitwert: integer):integer;
implementation
// Funktion um die Einfachgebühr zu berechnen
function calcRVG(streitwert: integer):integer;
var
currentSW, ergebnis: integer;
begin
currentSW:= 501; // Zwischenstand: Streitwert
ergebnis:= 45; // Basisgebühr
while cu... |
unit UnitTSemanticFormulizer;
interface
uses
SysUtils,UnitTSintaxFormulizer;
type
TSemanticFormulizer=class
private
sFormula:string;
bError:boolean;
sDescError:string;
//metodos para propiedades
Procedure setsFormula(sEntrada:string);
//metodos de operacion
Function esToken(sEntrada:string):boolea... |
unit JD.Weather.Services.OpenWeatherMap;
interface
{$R 'OpenWeatherMapsRes.res' 'OpenWeatherMapsRes.rc'}
uses
System.SysUtils,
System.Classes,
JD.Weather.Intf,
JD.Weather.SuperObject,
System.Generics.Collections;
const
SVC_CAPTION = 'Open Weather Map';
SVC_NAME = 'OpenWeatherMap';
SVC_UID = '{12ECA9... |
(* Wordcount: Max Mitter, 2020-03-13 *)
(* ------ *)
(* A Program that counts how often a word is contained in a certain text using Binary Trees *)
(* ==============================================================... |
unit fPtSelMsg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, ComCtrls, fBase508Form, VA508AccessibilityManager;
type
TfrmPtSelMsg = class(TfrmBase508Form)
cmdClose: TButton;
timClose: TTimer;
memMessages: TRichEdit;
procedure FormC... |
unit Money;
interface
uses
SysUtils, Spring.Collections;
type
ECurrencyCodeMismatch = Exception;
IMoney = interface
function GetAmount: Integer;
procedure SetAmount(const Value: Integer);
function GetFormatSettings: TFormatSettings;
function GetDecimalAmount: Currency;
function ToString: ... |
unit Unit1;
interface
uses
Winapi.Windows,
System.SysUtils, System.Variants, System.Classes, System.Math,
Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Imaging.Jpeg,
//GLS
GLNGDManager, GLMaterial, GLCadencer, GLWin32Viewer, GLCrossPlatform,
GLBaseClass... |
unit ncaFrmNovaEtiqueta;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
cxContainer, cxEdit, Menus, StdCtrls, cxButtons, LMDControl, LMDCustomControl,
LMDCustomPanel, LMDCustomBevelPanel, LMDSimp... |
unit LabelOptionsDialogUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Buttons, DBTables;
type
TLabelOptionsDialog = class(TForm)
OKButton: TBitBtn;
CancelButton: TBitBtn;
LabelTypeRadioGroup: TRadioGroup;
FirstLineRadioGroup: T... |
unit uCidade;
interface
uses uEstado;
// criacao classe Modelo TCidade
type
TCidade = class
private
codigo: Integer;
descricao: String;
cep: String;
estado: TEstado;
public
// construtor da classe
constructor TCidadeCreate;
// destrutor da classe
destructor TCidadeDestroy;
... |
(************************************************************************
History:
28Feb1999 - added startsWith function
- added endsWith function
4Aug1999 - fixed a wrong-result case bug in 'endsWith' function
6Aug1999 - added RightPos function
26Sep1999 - added toEnd function
*****************... |
// GLMeshOptimizer
{: Mesh optimization for GLScene.<p>
<b>History : </b><font size=-1><ul>
<li>27/11/07 - mrqzzz - added FacesSmooth InvertNormals parameter. Now smoothes correctly.
<li>21/08/03 - EG - Added basic mooStandardize support
<li>03/06/03 - EG - Creation
</ul></font>
}
unit GLM... |
unit xElecTV;
interface
uses xElecLine, xElecPoint, System.Classes, System.SysUtils;
type
/// <summary>
/// 电压互感器
/// </summary>
TElecTV = class
private
FOnValueChnage: TNotifyEvent;
FTVFirstValue: Double;
FTVSecondValue: Double;
FTVName: string;
FFirstVolL: TElecLine;
... |
unit Dialogs4D.Modal.Error;
interface
uses Dialogs4D.Modal.Intf;
type
TDialogModalError = class(TInterfacedObject, IDialogModal)
private
/// <summary>
/// Displays a dialog box for the user with a error message.
/// </summary>
/// <param name="Content">
/// Error message to be displayed t... |
unit uLogger;
interface
uses
Classes, SysUtils, StrUtils, SyncObjs, Forms;
type
TLogger = class
class var FLogger: TLogger;
private
FCS: TCriticalSection;
FActive: boolean;
FStream: array of string;
MaxStreamCount: integer;
FMaxFileLength: integer;
FLogFileNamePrefix,
FLogFile... |
////////////////////////////////////////////////////////////////////////////////
//
//
// FileName : SUIDlg.pas
// Creator : Shen Min
// Date : 2003-03-31 V1-V3
// 2003-07-14 V4
// Comment :
//
// Copyright (c) 2002-2003 Sunisoft
// http://www.sunisoft.com
// Email: suppo... |
unit ORM.Model.COUNTRY;
interface
uses
Spring.Persistence.Mapping.Attributes;
{$M+}
type
[Entity]
[Table('COUNTRY')]
TCountry = class
private
FCountry: string;
FCurrency: string;
public
[UniqueConstraint]
[Column('COUNTRY', [cpRequired, cpPrimaryKey, cpNotNull], 15)]
property Country... |
unit fHistoryDbg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, ComCtrls, ActnList, Buttons, ImgList, ToolWin,
FlexBase, FlexControls, FlexUtils, FlexProps, FlexPath,
FlexHistory, FlexActions;
type
TfmHistoryDebug = class(TForm)
tvHistory: ... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC TFDQuery editor form }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit rhlWhirlpool;
interface
uses
rhlCore;
type
{ TrhlWhirlpool }
TrhlWhirlpool = class(TrhlHash)
private
const ROUNDS = 10;
const REDUCTION_POLYNOMIAL = $11d;
const s_SBOX: array[0..255] of Byte = (
$18,$23,$c6,$e8,$87,$b8,$01,$4f,$36,$a6,$d2,$f5,$79,$6f,$91,$52,
$... |
// 8-Tem-se um conjunto de dados contendo a altura e o sexo (masculino,
// feminino) de 50 pessoas. Fazer um algoritmo que calcule e escreva:
// • - a maior e a menor altura do grupo;
// • - a média de altura das mulheres;
// • - o número de homens;
// • - A porcentagem de homens e de mulheres.
Program Votacao;
cons... |
unit Androidapi.JNI.SunmiPrinter;
interface
uses
Androidapi.JNIBridge,
Androidapi.JNI.GraphicsContentViewText,
Androidapi.JNI.JavaTypes;
type
JSunmiPrinter = Interface;
JSunmiPrinterClass = interface(JObjectClass)
['{D10A3CF9-9D61-446E-BD75-F56B5100625F}']
{ class } function init(a... |
{***************************************************************************
*
* Orion-project.org Lazarus Helper Library
* Copyright (C) 2016-2017 by Nikolay Chunosov
*
* This file is part of the Orion-project.org Lazarus Helper Library
* https://github.com/Chunosov/orion-lazarus
*
* This Library is free soft... |
unit fOptionsTeams;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, ORCtrls, OrFn, Menus, fBase508Form,
VA508AccessibilityManager;
type
TfrmOptionsTeams = class(TfrmBase508Form)
pnlBottom: TPanel;
btnClose: TButton;
lstPatients: TORList... |
unit DRTable;
interface
uses Windows, SysUtils, Classes, BDE, DB, DBTables;
type
{ TDRList }
TDRList = class(TBdeDataSet)
protected
function CreateHandle: HDBICur; override;
end;
{ TDRDataSet }
TDRDataSet = class(TBdeDataSet)
private
FDBIDR: HDBIDR;
public
property DRHandle: HDBIDR read F... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC InterBase driver }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit SubGroupsQuery;
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,
FireD... |
unit UMainWindow;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Menus, ExtCtrls,
UTools, UShapesList, Buttons, StdCtrls, ComCtrls, Grids,
UViewPort, UGeometry, types, math, UInspector, UPaletteEditor, UHistory,
UExportWindow;
type
{ TMainWindow }
TMainWindow... |
unit URepositorioLoteVacina;
interface
uses
ULoteVacina
, UEntidade
, URepositorioDB
, SqlExpr
;
type
TRepositorioLoteVacina = class(TRepositorioDB<TLOTEVACINA>)
private
public
constructor Create;
//destructor Destroy; override;
procedure AtribuiDBParaEntidade(const coLOTEVACINA: TLOT... |
unit frm_Agrega_Personal;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
Tfrm_Agrega = class(TForm)
lblNombre: TLabel;
lblApPaterno: TLabel;
lblApMaterno: TLabel;
lblDomicilio: TLabel;
lblCiudad: TLabel;
lblTel: TLabel;
... |
unit fEncounterFrame;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Tabs, ComCtrls, ExtCtrls, Menus, StdCtrls, Buttons, fPCEBase,
fVisitType, fDiagnoses, fProcedure, fImmunization, fSkinTest, fPatientEd,
fHealthFactor, fExam, uPCE, rPCE, rTIU, ORCtrls, ORFn, fEncVita... |
unit BCEditor.Editor.RightMargin.Colors;
interface
uses
Classes, Graphics;
type
TBCEditorRightMarginColors = class(TPersistent)
strict private
FEdge: TColor;
FMovingEdge: TColor;
FOnChange: TNotifyEvent;
procedure SetEdge(Value: TColor);
procedure SetMovingEdge(Value: TColor);... |
unit SplashScreen;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
TMultiP, ExtCtrls, Db, DBTables;
type
TSplashScreenForm = class(TForm)
Panel1: TPanel;
SplashImage: TPMultiImage;
SystemTable: TTable;
procedure FormCreate(Sender: TObject);
private
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.