text stringlengths 14 6.51M |
|---|
unit ufrmMasterProductNBD;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMaster, ufraFooter5Button,
StdCtrls, ExtCtrls, ActnList, uConn, ufrmMasterBrowse, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter,
... |
unit SMCnst;
interface
{English strings}
const
strMessage = 'Print...';
strSaveChanges = 'Do you really want to save a changes on the Database Server?';
strErrSaveChanges = 'Can''t save a data! Check a Server connection or data validation.';
strDeleteWarning = 'Do you really want to delete a table %s?';
str... |
unit uDlgOrganizationCard;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBASE_DialogForm, Menus, cxLookAndFeelPainters, StdCtrls,
cxButtons, ExtCtrls, cxControls, cxPC, cxContainer, cxEdit, cxGroupBox,
cxCheckBox, cxDBEdit, DB, ADODB, cxGraphics, c... |
unit fWarning;
(*##*)
(*******************************************************************
* *
* F W A R N I N G *
* warning form of CVRT2WBMP, part of CVRT2WBMP *
* ... |
//
// Generated by JavaToPas v1.5 20150830 - 103110
////////////////////////////////////////////////////////////////////////////////
unit android.util.Rational;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes;
type
JRational = interface;
JRationalClass = interface(JObjectClass)
['{24B4BC2E... |
unit ibSHPSQLDebuggerStatement;
interface
uses Classes, Variants, Contnrs, Types, SysUtils,
pSHSqlTxtRtns,
ibSHDriverIntf, ibSHDebuggerIntf, ibSHPSQLDebuggerTokenScaner;
type
TibSHPSQLDebuggerStatement = class(TComponent, IibSHDebugStatement)
private
FDebuggerItem: IibSHPSQLDebuggerI... |
unit UntRttiHelper;
interface
uses
Classes, TypInfo, StdCtrls;
type
TFormParser = class
class procedure ParseComponentToObject(component: TComponent; obj: TObject);
class procedure ParseObjectToComponent(obj: TObject; component: TComponent);
class procedure ParseValueToObject(obj: TObject; propName, ... |
unit unModelBase;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
{ TModelBase }
TModelBase = class
private
FDataAlteracao: TDateTime;
FDataCadastro: TDateTime;
FId: string;
procedure SetDataAlteracao(AValue: TDateTime);
procedure SetDataCadastro(AValue: TDat... |
unit FolderOrder;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TFolderOrder = class
private
codFolder: integer;
order: integer;
public
constructor Create(ncodFolder: integer; norder: integer);
constructor Create(folderOrder: TFolderOrder);
destructor Destro... |
unit AutoTablesDelphiSDK;
interface
uses
System.SysUtils, System.Classes, System.JSON, FireDAC.Stan.Intf, System.StrUtils,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DApt.Intf, Data.DB, FireDAC.Comp.DataSet,
FireDAC.Comp.Client, REST.Client, REST.Back... |
unit WebView;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
OleCtrls, SHDocVw_TLB, AmlView, ExtCtrls, islctrls, RXCtrls, StdCtrls,
ShellAPI;
type
TWebViewer = class(TForm)
WebBrowser: TWebBrowser;
ToolsPanel: TPanel;
BtnBack: TRxSpeedButton;
BtnForwa... |
unit htDb;
interface
uses
Classes, Messages, ADODB,
htDatabaseProfile;
const
DB_CHANGE = WM_USER + $100;
type
ThtDb = class(TComponent)
private
FAdoConnection: TAdoConnection;
FServerName: string;
FUsers: TList;
protected
function GetConnected: Boolean;
procedure SetConnected(cons... |
unit SDUGraphics;
// Description: Sarah Dean's Graphics Utils
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
forms, controls, stdctrls,
ExtCtrls,
Windows, // Re... |
unit GLDXYZFrame;
interface
uses
Classes, Controls, Forms, StdCtrls, ComCtrls, GL, GLDTypes, GLDUpDown;
type
TGLDXYZFrameMode =
(GLD_MODE_SIMPLE_OUTPUT,
GLD_MODE_SET_POSITION,
GLD_MODE_SET_ROTATION);
TGLDXYZFrame = class(TFrame)
L_XPOS: TLabel;
L_YPOS: TLabel;
L_ZPOS: TL... |
unit ThComponentIterator;
interface
uses
Classes, Controls;
type
TThIterator = class
private
FIndex: Integer;
public
function Eof: Boolean; virtual; abstract;
function Next: Boolean; overload; virtual;
procedure Reset;
public
property Index: Integer read FIndex write FIndex;
end;
/... |
unit uI2XScan;
interface
uses
Windows,
Messages,
SysUtils,
Classes,
StrUtils,
umcmIntE,
TWAIN,
uStrUtil,
uFileDir,
Graphics,
uImage2XML,
GR32,
GR32_Image,
GR32_Transforms,
GR32_Filters,
GR32_Resamplers,
GR32_OrdinalMaps,
Forms,
Dialogs,
Controls,
Math,
... |
unit SpravkaUnitCaption;
interface
resourcestring
{ FILTER_PO_KOR_SCH = 'По корреспонденции балансовых счетов';
FILTER_PO_FIO = 'По ФИО';
FILTER_WITHUOT_FIO = 'Без ограничения на ФИО';
FILTER_PO_CUST = 'По контрагенту :';
FILT... |
unit CCJSO_Condition;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls, ActnList, ToolWin, StdCtrls,
UCCenterJournalNetZkz, Menus, uDMJSO, DBCtrls, UtilsBase;
type
TfrmCCJSO_Condition = class(TForm)
pnlControl: TPanel;
pnlCondition:... |
unit Adapt.EventGeo;
//------------------------------------------------------------------------------
// модуль адаптера кэша для TClassEventGeo
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
interface
... |
unit ibSHTXTLoaderFrm;
interface
uses
SHDesignIntf, ibSHDesignIntf, ibSHComponentFrm,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, SynEdit, pSHSynEdit, ComCtrls, ExtCtrls, StdCtrls, Menus;
type
TibSHTXTLoaderForm = class(TibBTComponentForm)
Panel1: TPanel... |
unit fzBSim;
interface
uses SysUtils, Classes, Windows, Graphics, BenTools;
const
BALL = 3; // Radius
type
TBPoint = class
Num : integer;
Selected : boolean;
Locked : boolean;
PosX : double;
PosY : double;
VelX : double... |
unit MainBarCodeServer;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, IdBaseComponent,
IdComponent, IdCustomTCPServer, IdCustomHTTPServer, IdHTTPServer, IdContext,
IdHeaderList, IdGlobal, Vc... |
unit Material;
interface
uses System.Math.Vectors, Vcl.Graphics;
type
TMaterial = record
public
color: TVector;
reflective: Single;
opaqueness: Single;
refractive: Single;
constructor Create(color: TVector;
reflective, opaqueness, refractive: Single);
end;
implementation
{ TMaterial... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
This is a collection of GLSL Diffuse Specular shaders, comes in these variaties
(to know what these suffixes and prefixes mean see VXS.CustomShader.pas):
- TVXSLDiffuseSpecularShader
- TVXSLDiffus... |
unit Unit_AlimonyControl_Consts;
interface
resourcestring
//FAlimonyControl
FAlimonyControl_Caption_Insert = 'Додавання даних по аліментам';
FAlimonyControl_Caption_Update = 'Редагування даних по аліментам';
FAlimonyControl_Caption_Delete ... |
unit F_PreviewHTML;
////////////////////////////////////////////////////////////////////////////////////////////////////
interface
uses
Windows, Messages, SysUtils, Classes, Variants, Graphics, Controls, Forms, Generics.Collections,
Dialogs, StdCtrls, SHDocVw, OleCtrls, ComCtrls, ExtCtrls, IniFiles,
Npp... |
unit ThImage;
interface
uses
Windows, Classes, Controls, StdCtrls, ExtCtrls, Graphics, Messages, SysUtils,
Types,
ThCssStyle, ThStyledCtrl, ThWebControl, ThPicture, ThTag, ThAnchor,
ThTextPaint, ThLabel, ThAttributeList, ThStyleList, ThMessages;
type
TThCustomImage = class(TThWebGraphicControl)
pri... |
{//************************************************************//}
{// //}
{// Código gerado pelo assistente //}
{// //}
{// Projeto MVCBr ... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
Menus, StdCtrls, ExtCtrls, LIL;
type
{ TForm1 }
TForm1 = class(TForm)
ApplicationProperties1: TApplicationProperties;
Button1: TButton;
Edit1: TEdit;
... |
program exam2;
const
N = 10;
type
array1d = Array[1..N] of Integer;
fnIn = Text;
{ Start of procedure fileInput }
procedure fileInput(var fIn : fnIn);
var
fName : String;
begin
Write('Enter file name: ');
ReadLn(fName);
Assign(fIn, fName);
end;
{ End of procedure fileInput }
{ Start of... |
unit uHtml_Tokenizador;
{include syspchh.inc}
{
Autor : Fábio Moura de Oliveira
Data : 30/10/2015
Classe: THtml_Tokenizador
Objetivo:
Analisar um string que contém conteúdo de um arquivo html e retorna
um lista de string, tal lista terá com conteúdo todos os tags htm... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,
FMX.StdCtrls, FMX.Controls.Presentation;
type
TForm1 = class(TForm)
Label0: TLabel;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
L... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Editor of TVXSCUDA
}
unit FCUDAEditor;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts,
... |
unit CefExtension_Translate;
interface
uses Windows, ActiveX, ceflib, cef, SysUtils, Constants, JS_HTML_Code,
Dictionaries, Classes;
type
TCefTranslateExtension = class(TCefv8HandlerOwn)
private
protected
function Execute(const name: ustring; const obj: ICefv8Value;
const arguments: TCefv8Valu... |
Unit Stack;
interface
type
PStackable=^TStackable;
TStackable = object
prev: PStackable;
constructor Init;
procedure Setprev(p: PStackable);
function Getprev: PStackable;
procedure Show; virtual;
destructor Done; virtual;
... |
unit EditHelper;
interface
uses
Vcl.StdCtrls, Generics.Collections, NewFrontiers.Validation.Validator;
type
TEditHelper = class helper for TEdit
_validators: TObjectList<IValidator>;
procedure validationFailed;
procedure validationPassed;
public
function validate:... |
unit problem;
interface
type TProblem = class
public
id: integer;
title: String;
constructor Create(id: integer; title: String);
end;
implementation
constructor TProblem.Create(id: integer; title: string);
begin
self.id := id;
self.title := title;
end;
end.
|
unit uModCrazyPrice;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs,
uModApp, uModOrganization,uModBarang, System.Generics.Collections,
uModUnit, uModSatuan;
type
TModCrazyPrice = class(TModApp)
private
FCRAZY_BARANG: TModBarang;
FCRAZY_COGS: Double;
FC... |
unit Classes.CardControl;
interface
uses Classes,VCL.Controls,VCL.ExtCtrls,Common.Entities.Card;
var CARDHEIGHT:Integer=154;//256;
CARDWIDTH:Integer=85;//141;
CARDUPLIFT:Integer=30;
CARDXOFFSET:Integer=90;
SMALLCARDHEIGHT:Integer=115;//256;
SMALLCARDWIDTH:Integer=63;//141;
SMALLCARDXOFFSET:In... |
{this unit has a group of useful routines for use with OpenGL}
{ TsceneGL: a 3D scene, has a group of entities and a group of lights.
Tlight: a light, has color, position and orientation.
T3dMouse: enables a normal mouse to interact easily with one 3D object
By: Ricardo Sarmiento
delphiman@hotmail.com... |
unit HUGeoDB;
{$mode objfpc}{$H+}
//========================================================================================
//
// Unit : HUGeoDB.pas
//
// Description :
//
// Called By : Main : TfrmMain.mnuMainToolsDBMaintenanceHUGeoDBClick
//
// Calls : AppSettings
//
// Ver. : 1.0.0
//
// Date : 22 Jan 2019
//
// ... |
unit ThGenerator;
interface
uses
Windows, Classes, Controls, StdCtrls, ExtCtrls, Graphics, Messages, SysUtils,
Types,
ThCellSorter, ThComponentIterator, ThTag, ThInterfaces, ThWebControl;
type
TThGenerator = class(TThSortedCtrlIterator)
private
FMargins: TRect;
FTable: TCellTable;
protected
... |
unit Rest.Neon;
interface
uses
REST.Client,
REST.Types,
System.Classes, System.Rtti,
System.JSON,
System.TypInfo,
Classes.Entities,
Common.Entities.Card,
Neon.Core.Types
, Neon.Core.Persistence
, Neon.Core.Persistence.JSON;
type
TNeonRESTClient = class(TRESTClient)
private
FRESTRequest: ... |
Unit mount;
{ * Mount : *
* *
* Esta unidad se encarga de las llamadas al sistema MOUNT Y UNMOUNT *
* que crean la abtracion de terner un solo sistema de archivo , cuan *
* d... |
unit ItemProgress;
interface
uses
Classes, Controls, Forms,
StdCtrls, ComCtrls, JvProgressBar, JvExComCtrls;
type
TformPB = class(TForm)
pb1: TJvProgressBar;
lblStatus: TLabel;
btncancel: TButton;
procedure btncancelClick(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
... |
PROGRAM WorkWithQueryString(INPUT, OUTPUT);
USES
DOS;
FUNCTION GetQueryStringParameter(Key: STRING): STRING;
VAR
QueryString, Temp: STRING;
BEGIN {GetQueryStringParameter}
QueryString := GetEnv('QUERY_STRING');
Temp := Copy(QueryString, Pos(Key, QueryString), 200);
IF Pos('&', Temp) <> 0
THEN
GetQuerySt... |
unit Netbios;
interface
// Nt Spreader, Quite (No Auth and Null - they are comabined) Unstable - To be tested. ( i suppose the scanner will take alot of memory due making 2 string list for each threa)
// tested on network - working .
Procedure NetBiosStart(host:string);
implementation
Uses Stuff,
Cl... |
{..............................................................................}
{ Summary Reports PCB documents open in DXP. }
{ }
{ Copyright (c) 2003 by Altium Limited ... |
unit VolumeRGBALongData;
interface
uses Windows, Graphics, Abstract3DVolumeData, AbstractDataSet, RGBALongDataSet,
Math, BasicDataTypes;
type
T3DVolumeRGBALongData = class (TAbstract3DVolumeData)
private
FDefaultColor: TPixelRGBALongData;
// Gets
function GetData(_x... |
unit Objekt.DHLCommunication;
interface
uses
SysUtils, Classes, geschaeftskundenversand_api_2;
type
TDHLCommunication = class
private
fCommunicationTypeAPI: CommunicationType;
fEMail: string;
fPhone: string;
fContactPerson: string;
procedure setContactPerson(const Value: string);
proced... |
unit Chapter09._09_Solution1;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
Math,
DeepStar.UString,
DeepStar.Utils;
/// LCS问题
/// 记忆化搜索
/// 时间复杂度: O(len(s1)*len(s2))
/// 空间复杂度: O(len(s1)*len(s2))
type
TSolution = class(TObject)
public
function GetLCS(const s1, s2: UString): UString;
end... |
unit MTEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
uCommonForm, Db, Grids, DBGridEh, StdCtrls, Buttons, ExtCtrls, MemTable,uOilQuery,Ora, uOilStoredProc;
type
TMTEditForm = class(TCommonForm)
Panel1: TPanel;
bbCancel: TBitBtn;
dbg: TDBGridEh;
d... |
{ ****************************************************************************** }
{ * Low Object DB Imp library * }
{ * https://zpascal.net * }
{ * https://github.com/PassByYou888/zAI ... |
namespace com.example.android.bluetoothchat;
{*
* Copyright (C) 2007 The Android Open Source Project
*
* 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/li... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Register TXCollection property editor
}
unit VXS.RegisterXCollection;
interface
{$I VXScene.inc}
uses
System.Classes,
System.TypInfo,
{
DesignIntf,
DesignEditors,
}
VXS.XCollection;
type
T... |
unit Invoice.View.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Actions, Vcl.ComCtrls, Vcl.Menus, System.UITypes,
Vcl.ActnList, Vcl.PlatformDefaultStyleActnCtrls, Vcl.ActnMan, Vcl... |
unit uPCCIntegration;
interface
uses Classes, SysUtils, StrUtils, PSCharge_TLB, ActiveX, uMsgBox, Forms, Debit_TLB,
Device_TLB, Dialogs, uFrmPCCEnterPin, IniFiles, SC550_TLB, uCreditCardFunction;
Const
DEBIT_SALE = 41;
DEBIT_RETURN = 42;
PCC_ERROR_TIMEOUT = 6;
type
TPCCTransaction = class(... |
program problem06;
uses crt;
(*
Problem: Sum square difference
Problem 6
@Author: Chris M. Perez
@Date: 5/14/2017
*)
const
MAX: longint = 100;
function sum_square(arg: longint): longint;
var
i: longint;
sum: longint = 0;
begin
for i := 1 to 100 do begin
sum := sum + (i * i);
... |
(***** 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 distrib... |
{-----------------------------------------------------------------------------
Unit Name : DelphiDebug
Author : Loïs Bégué
Date : 10-Jan-2005
Purpose : Send string via Windows API to Delphi's (or other's) Debugger
The Delphi Debugger will put the messages in the event
proto... |
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.Grids;
type
TMeuProcesso = reference to procedure;
TForm1 = class(TForm)
Button1: TButton;
ListBox1: TListBox;
proc... |
unit PAG0001C.View;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CadastroBase.View, cxGraphics,
cxLookAndFeels,
cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, cxControls, cxContainer,
cxEdit, dxGDIPlus... |
namespace XsdParser.Web;
type
[Export]
Program = public class
public
method HelloWorld;
begin
writeLn('HelloWorld');
var el := WebAssembly.GetElementById('helloWorld');
if el = nil then begin
writeLn('Element by ID test is null!');
exit;
end;
var t2 := WebA... |
program lab_6;
var
//str: string:= 'январь,февраль,март,апрель,май.';
str: string:= 'аеюэиябч,аеюэоябч,аеюябч,аеюэоябч,аеюэиябч.';
vowels: set of char:= [
'а', 'е', 'и', 'о','у',
'ы', 'э', 'ю','я'
];
consonants: set of char:= [
'б', '... |
unit uFrmMergePO;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PaideTodosGeral, siComp, siLangRT, StdCtrls, Buttons, ExtCtrls,
cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB,
cxDBData, ADODB, PowerADOQuery, cxGridLevel, cxClasses, cxContr... |
unit FrmReport1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, cxLookAndFeelPainters, StdCtrls, cxButtons, cxStyles,
cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB,
cxDBData, cxGridCustomTableView, cxGridTableView, cxGridDBT... |
unit Objekt.DHLShipper;
interface
uses
SysUtils, Classes, geschaeftskundenversand_api_2,
Objekt.DHLNameType, Objekt.DHLNativeAdress, Objekt.DHLCommunication;
type
TDHLShipper = class
private
fShipperTypeAPI: ShipperType;
fName: TDHLNameType;
fAdress: TDHLNativeAdress;
fCommunication: TDHLComm... |
unit M_diff;
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
StdCtrls, ExtCtrls;
type
TDIFFEditor = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Panel1: TPanel;
SBCommit: TSpeedButton;
SBRollback: TSpeedButton;
RGDiff: TListBox;
SBHe... |
{------------------------------------------------------------------------------}
{ 单元名称: ObjHero.pas }
{ }
{ 单元作者: Mars }
{ 创建... |
unit WorkerThreads;
interface
uses
SysUtils, //IntToStr
StdCtrls, //TMemo
Classes, //TThread
Math, //RandomRange
Services //TServices
;
type
{$REGION 'TChangeResourceWorkerThread = class(TThread)'}
TChangeResourceWorkerThread = class(TThread)
public
procedure Execute(); override;
end;
... |
{ ****************************************************************************** }
{ * Number Module system, create by.qq600585 * }
{ ****************************************************************************** }
{ * https://zpascal.net ... |
unit uUninstallCurrentUser;
interface
{$WARN SYMBOL_PLATFORM OFF}
uses
System.SysUtils,
Winapi.Windows,
uActions,
uAssociations,
uInstallScope,
uConstants,
uUserUtils;
const
UnInstallPoints_StartProgram = 1024 * 1024;
type
TUninstallUserSettingsAction = class(TInstallAction)
... |
unit API_ORM_Helper;
interface
uses
API_ORM;
type
TEntityHelper = class helper for TEntityAbstract
strict private type
TGetSourceListRef<T: TEntityAbstract> = reference to function(aEntity: T): TEntityList<T>;
TCheckEntityRef<T: TEntityAbstract> = reference to function(aEntity: T): Boolean;
public
... |
unit TestUCondominioVO;
{
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, SysUtils, Atributos, UPa... |
unit Apple.Inifiles;
interface
uses
System.Inifiles, System.Classes
{$IFDEF MACOS}
{$IFDEF IOS}
, iOSapi.Foundation, iosAPI.CocoaTypes
{$ELSE}
, MacApi.Foundation
{$ENDIF IOS}
{$ENDIF MACOS}
;
type
TUserInifile = class(TCustomIniFile)
private
FDefaults: NSUserDefaults;
... |
unit DreamChatConfig;
interface
uses Classes;
type
TDreamChatDefaults = class
public
// general
const ConfigIniFileName = 'config.ini';
const JobsIniFileName = 'Jobs.ini';
const SmilesIniFileName = 'smiles.ini';
const DefaultSkinsDir = 'Skins\';
const DefaultUserIniFileName = 'DefaultUser.ini';
const ... |
object FRecountFilter: TFRecountFilter
Left = 192
Top = 107
BorderStyle = bsDialog
Caption = 'FRecountFilter'
ClientHeight = 148
ClientWidth = 326
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateO... |
{
Laz-Model
Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde
Portions (C) 2016 Peter Dyson. Initial Lazarus port
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 versi... |
unit AST.Lexer;
interface
{$i compilers.inc}
uses Classes, SysUtils;
const
MaxTokenChar = #127;
type
TTokenType = (
ttNone,
ttToken,
ttOmited,
ttDigit,
ttCharCode,
ttNewLine,
ttHexPrefix,
ttUnicodeChars,
ttBinPrefix,
ttSingleQuote,
ttDoubl... |
unit SettingsManager;
{$mode delphi}
interface
uses
Classes, SysUtils;
type
TSettingType = (stInt, stFloat);
TSendToDriverEvent = procedure(Key: String; Value: String) of object;
type
{ TSettingsManager }
TSettingsManager = class
private
List: TList;
SendToDriverEvent: TSendToDriverEvent;
... |
object LauncherFrm: TLauncherFrm
Left = 598
Top = 387
BorderStyle = bsDialog
Caption = 'Launcher'
ClientHeight = 118
ClientWidth = 272
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreate... |
program InfinitePenguins;
//Program will find the mean of an array.
var
arrayList: array [1..10] of double;
k, count: integer;
a: double;
function Mean(list: array of double): double;
begin
a:=0;
for count:= 1 to length(list) do
begin
a := a + list[count];
end;
Mean:= a/le... |
{***************************************************************************************}
{ }
{ XML Data Binding }
{ ... |
unit DXPMessageOutPut;
interface
uses
SysUtils, Classes, Controls, ExtCtrls, Graphics, Types,
Windows, Forms, ComCtrls, DXPPanelDegrade, StdCtrls,
udmRepository, Buttons, Generics.Collections, StrUtils;
type
TOutPutStyle = (lsList, lsTreeView);
//
TDXPMessageOutPut = class(TWinControl)
private
FPan... |
unit Gobdir;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, Buttons, ExtCtrls, StdCtrls, M_Global, G_Util, Clipbrd;
type
TGOBDIRWindow = class(TForm)
SpeedBar: TPanel;
SpeedButtonExit: TSpeedButton;
SP_Main: TPanel;
SP_Time: TPanel;
SP_Te... |
{ ***************************************************************************
Copyright (c) 2016-2020 Kike Pérez
Unit : Quick.Logger.Provider.EventLog
Description : Log Windows EventLog Provider
Author : Kike Pérez
Version : 1.22
Created : 02/10/2017
Modified : 02/03/2020
This ... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2011 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of Delphi, C++Builder or RAD Studio (Embarcadero Products).
// This software is considered a Redis... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Standard TVXBehaviour subclasses
}
unit VXS.Behaviours;
interface
{$I VXScene.inc}
uses
System.Classes,
System.SysUtils,
VXS.VectorTypes,
VXS.Scene,
VXS.VectorGeometry,
VXS.XCollection,
VXS.Base... |
namespace MetalExample;
uses
Metal,
MetalKit;
interface
// Base class for the examples MTKViewDelegates
type
MetalBaseDelegate = class(MTKViewDelegate)
protected //MTKViewDelegate
_device : MTLDevice;// id<MTLDevice>;
_commandQueue : MTLCommandQueue; // id<MTLCommandQueue>;
private
growing:... |
unit NumeroNaturalTest;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpcunit, testutils, testregistry,
NumeroNatural { Class de la cual se realiza el Test };
type
{ TNumeroNaturalTest }
TNumeroNaturalTest= class(TTestCase)
private
numero : TNumeroNatural;
protected
procedure SetUp; ove... |
unit UDWindowSize;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, UCrpe32;
type
TCrpeWindowSizeDlg = class(TForm)
pnlWindowSize: TPanel;
lblTop: TLabel;
lblLeft: TLabel;
lblHeight: TLabel;
lblWidth: TLabel;
editLeft: TEdit;
... |
unit NfeCabecalho;
{$mode objfpc}{$H+}
interface
uses
HTTPDefs, BrookRESTActions, BrookUtils;
type
TNfeCabecalhoOptions = class(TBrookOptionsAction)
end;
TNfeCabecalhoRetrieve = class(TBrookRetrieveAction)
procedure Request({%H-}ARequest: TRequest; AResponse: TResponse); override;
end;
TNfeCabeca... |
unit uinternationalization;
(* ╔══════════════════════════════════════╗
║ i18n PROJECT ║
║ ----------------------------------- ║
║ created by: warleyalex ║
╚══════════════════════════════════════╝ *)
{$mode objfpc}{$H+}
interface
uses
JS, Web, Types, M... |
unit Demo.Miscellaneous.Overlays;
interface
uses
System.Classes, Demo.BaseFrame, cfs.GCharts;
type
TDemo_Miscellaneous_Overlays = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
procedure TDemo_Miscellaneous_Overlays.GenerateChart;
var
Chart: IcfsGChartProducer; /... |
unit Validador.UI.VisualizarXML;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Actions, Vcl.ActnList, Vcl.ComCtrls,
Vcl.ToolWin, Vcl.StdCtrls, Xml.xmldom, Xml.XMLIntf, Xml.XMLDoc, Xml.Win.msxmldom, Xml... |
{----------------------------------------------------------------
Nome: UntPrincipal
Descrição: Unit do FrmPrincipal, nesta unit se encontram os
principais métodos do wIRC:
-procedure ProcMsg(Janela: string; Menssagem: string);
-procedure AtlNick(Nick: string; NvNick: string);
-procedure RolarTexto(Texto: TwwD... |
(*
Category: SWAG Title: ANYTHING NOT OTHERWISE CLASSIFIED
Original name: 0073.PAS
Description: Eight Queens
Author: PIGEON STEVEN
Date: 01-27-94 12:19
*)
{
pigeons@JSP.UMontreal.CA (Pigeon Steven)
> Hey, I have a friend who is taking a Pascal class at another col-
>lege and he asked me to make a query... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, OleCtrls, VideoChatReceiverLib_TLB,
VideoChatSenderLib_TLB;
type
TForm1 = class(TForm)
GroupBox1: TGroupBox;
Label1: TLabel;
cbovideodevice: TComboBox;
Label2: TLabel;
... |
unit YarxiRefs;
{ Таблицы соответствия номеров статей в базе знакам кандзи и словам.
Загружаются целиком прежде любого другого разбора, т.к. уже требуются во время
него. }
interface
uses BalancedTree;
type
TIndexEntry = class(TBinTreeItem)
FID: integer;
FText: string;
function CompareData(... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Loader for FSRad OCT files.
}
unit uFileOCT;
interface
{$I VXScene.inc}
uses
System.Classes,
System.SysUtils,
VXS.VectorGeometry,
VXS.MeshUtils,
VXS.VectorLists;
type
TOCTHeader = record
nu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.