text
stringlengths
14
6.51M
unit Add_u; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ComCtrls, ShellAPI, Compress_u,Advanced; type TdlgAddFiles = class(TForm) btnOk: TBitBtn; btnCancel: TBitBtn; tab: TPageControl; tabGeneral: TTabSheet; t...
unit RWmiUtils; interface uses Classes, WbemScripting_TLB; type T2DimStrArray = array of array of string; T2DimResult = packed record Instances: Integer; Rows: Integer; end; const RootNameSpace = 'root\CIMV2'; WmiWQLTemplate = 'SELECT %s FROM %s'; WmiArg_Bios = 'Win32_BIOS'; Wm...
unit ETL.ListConnections.Singleton; interface uses Generics.Collections, uList, FireDAC.Comp.Client; type IConnectionDatabase = interface ['{9EF4CE2D-850E-49D9-B692-2A107EEB670D}'] function GetName: string; function GetConnection: TFDConnection; property Name: string read GetName; p...
unit AbstractStubSectionStackedFormController; interface uses AbstractSectionStackedFormController, unSectionStackedForm, SectionStackedFormViewModel, SectionRecordViewModel, SectionSetHolder, AbstractFormController, FormEvents, Forms, DB, Controls, SysUtils, Classes; type TAbstractStubSe...
////////////////////////////////////////////////////////////////// // // This Procedures were copied from Menus.pas. // Menus.pas is part of the // {*******************************************************} // { Borland Delphi Visual Component Library } // { Copyright (c) 1995,98 Inprise Corpora...
unit u_prep_codeblock; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TBlockEntryType = (btProc, btFunc, btIf, btFor, btWhile, btWhilst, btTry, btClass, btSwitch, btCase, btLaunch, btAsync); TCodeBlock = class(TObject) public bType: TBlockEntryType; ...
unit AbstractFactory.Clients.Client; interface uses AbstractFactory.Interfaces.IAbstractFactory; // The client code works with factories and products only through abstract // types: AbstractFactory and AbstractProduct. This lets you pass any // factory or product subclass to the client code without breaking it. t...
unit uTWCAxList; {$I twcomp.pas} interface uses SysUtils, Classes, Controls, Forms, AxCtrls, pTWCAxList_TLB, utWCAxListBase, uVariantTools, uLanguageDLLTools, uTWCAxPresentationService, uAttributedLinksCache; type TTWCAxList = class(TTWCAxListBase, ITWCAxList) private { Private-Deklarationen } m_OldO...
unit uBackupScripts; // Стандартные скрипты interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CheckLst, zStringCompressor, Buttons, ExtCtrls, zSharedFunctions, zLogSystem, zAVKernel, zTranslate; type TBackupScriptsDLG = class(TForm) cbR...
unit DisciplinaModel; {$MODE OBJFPC} interface uses Classes, SysUtils; type TDisciplinaModel = class public FCodigo: integer; FNome: string; FCargaHoraria: real; FValor: real; function getFCodigo : integer; procedure setFCodigo(codigo : integer); function getFNome : string; procedure setFNome(...
unit UnaryDBRepositoryCriterionUnit; interface uses UnaryRepositoryCriterionUnit, ConstRepositoryCriterionUnit, TableColumnMappingsUnit, ContainsDBRepositoryCriterionOperationUnit, AbstractRepositoryCriteriaUnit; type TUnaryDBRepositoryCriterion = class(TUnaryRepositoryCriterion) protecte...
{ 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/ } { ...
unit BCLevel; interface uses iNESImage, contnrs, BCEnemy, sysutils, BCStartingPos; type TBCLevel = class(TiNESImageAccessor) private procedure SetLevelData(pYCoord,pXCoord : Integer; pValue : Byte); function GetLevelData(pYCoord, pXCoord : Integer) : Byte; public LevelDataOffset : Inte...
unit DIGI_SP; { Модуль для роботи з вагами SP-80SX, SP-90, SP-300, SP-500 з використанням драйвера TWSWTCP.dll} interface uses Convertation, SysUtils, Classes; type TOperation = (UPLOAD, DOWNLOAD, ERASEPLULIST, ERASEOBJECT); type TOperationResult = (NON_ERROR, OPEN_FILE_ERR, READ_FILE_ERR, WRITE_...
unit mnNetwork; interface uses Classes, IdHTTP, IdThread; {-------------------------------- 注意:本单元中所有函数在同一时刻只能有一个被调用。 --------------------------------} {-------------------------------- 通过内部维护的IdHTTP对象,以Get或Post方式访问一个URL。返回该URL内容。 如果访问URL时出错,会自动清除IdHTTP的错误状态以备下次使用,并抛出Exception。 RetryTimes表示允许的重试次数。只有在达到最大重...
unit SOPVSActReaderUnit; interface uses Windows, Classes, SysUtils, ComObj, Variants, CommUtils, SOPReaderUnit; type TSOPVSActProj = class; TSOPVSActReader = class private FFile: string; ExcelApp, WorkBook: Variant; FProjs: TStringList; procedure Open; procedure Log(const str: string...
unit Project87.Types.StarFon; interface uses Generics.Collections, QCore.Types, Strope.Math, QEngine.Core, QEngine.Texture, QEngine.Camera; type TStarFon = class; TStar = class sealed private FPosition: TVectorF; FDepth: Single; FBrightness: Single; function IsOnScreen()...
unit UfrHotKeys; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Grids, Vcl.ExtCtrls, Vcl.Buttons; type TMyHotKey = class Mode: byte; Action: string; Command: Word; mainke...
unit PrefsUnit; {$mode objfpc}{$H+} interface uses SysUtils, inifiles; // Default Editor to use for editing Eventhandlers const {$ifdef AROS} DEFEDITOR = 'sys:EdiSyn/EdiSyn'; EDITORMSG = 0; {$else} {$ifdef Amiga68k} DEFEDITOR = 'sys:Tools/EditPad'; EDITORMSG = 0; {$else} {$ifdef MorphOS} DEFEDITO...
{$J+} {параметр компилятоcoра, позволяющий менять типизированные константы} unit UtilConst; interface uses Classes, SysUtils; Type TdsdMovementStatus = (mtUncomplete, mtComplete, mtDelete); TdsdProject = (prProject, prFarmacy, prBoutique, prBoat, prMerlin) ; var dsdProject: TdsdProject; MovementStatus: Array[...
unit ItemEditor.CPUs; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ItemEditor.Base, StdCtrls, ComCtrls, ExtCtrls, pngimage, Buttons, PngBitBtn; type TItemEditorFrame_CPU = class(TItemEditorBaseFrame) CustomTabSheet: TTabSheet; MulticoreCombo: TCombo...
/// entities, values, aggregates for the Conference domain unit DomConferenceTypes; interface uses SysUtils, Classes, SynCommons, mORMot; { Conference Domain Objects } type TAttendeeName = type RawUTF8; TAttendeeFirstName = type RawUTF8; TAttendeeRegistrationNumber = type cardinal; TSessionDate = ...
{ $HDR$} {**********************************************************************} { Unit archived using Team Coherence } { Team Coherence is Copyright 2002 by Quality Software Components } { } { For further infor...
{ Модуль обработчиков демона/службы } unit uni_daemonunit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, DaemonApp, Interfaces; { this includes the LCL widgetset } type { TUniReaderDaemon непосредственно экземпляр сервиса. Именно этот объект реализует сам сервис (его мы видим в Windows в...
unit u_TimeZoneSas; interface procedure LonLatToTimeZoneTime( const Lon: Double; const Lat: Double; const AUtcTime: Extended; var ALastTimeZoneID: AnsiString; var ALastTimeZoneIndex: Integer; var ALastPolygonIndex: Integer; out ATimeZoneTime: Extended; out ATimeZoneUtcOffset: Extended ); ...
unit Form.Main; interface uses // VCL Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Menus, // UCL UCL.Classes, UCL.Graphics, UCL.Utils, UCL.ThemeManager, UCL.IntAnimation, UCL.DragReorder, UCL.Form, UCL.CaptionBar, UCL.Panel, UCL.ProgressBar, U...
{ Invokable interface ILogin } unit LoginWSIntf; interface uses InvokeRegistry, Types, XSBuiltIns; type TUserInfo = class( TRemotable ) private fName : string; fLevel : integer; published property Name : string read fName write fName; property Level : integer read...
(* Base types This file is a part of Audio Components Suite. All rights reserved. See the license file for more details. Copyright (c) 2002-2009, Andrei Borovsky, anb@symmetrica.net Copyright (c) 2005-2006 Christian Ulrich, mail@z0m3ie.de Copyright (c) 2014-2015 Sergey Bodrov, serbod@gmail.com *) unit a...
{* ***************************************************************************** PROYECTO FACTURACION ELECTRONICA Copyright (C) 2010-2014 - Bambú Code SA de CV - Ing. Luis Carrasco Esta clase representa la implementación para timbrado de CFDI del proveedor Ecodex (http://www.ecodex.com.mx) Este archi...
{ NOTE: Properties "AutoSize" must be turned OFF and property "Stretch" must be turned ON -- for TImage's control, if we want to scale them } unit ufmMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.St...
unit MUIClass.Numeric; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fgl, Math, Exec, Utility, AmigaDOS, Intuition, agraphics, icon, mui, muihelper, tagsparamshelper, MUIClass.Base, MUIClass.Area; {$M+} type TMUINumeric = class(TMUIArea) private FCheckAllSizes: Boolean; FDefault: Integer; ...
unit Resource; interface uses System.Generics.Collections, System.SysUtils; type TResourceType = (BMP, GIF, ICO, JPG, PNG, SVG); TResource = record Hash: String; Path: String; ResourceType: TResourceType; end; Resources = class private type TContainerObj...
unit UListDMSource; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2006 by Bradford Technologies, Inc. } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Db,...
unit nxModel; {$IFDEF fpc}{$mode delphi}{$H+}{$ENDIF} { TODO: - Bones - TVertexFrame texture animation } interface uses SysUtils, nxTypes; type TIndexArray = array of word; TMaterial = record name, texture: string; texIndex: smallint; addMode, transparent: boolean; color: TRGBA; shininess,...
unit DRX_DataReceiver; interface uses Classes, IdTCPClient, Constants; type TDRX_DataReceiver = class(TThread) private DataReceiver : TIdTCPClient; fChannel : smallint; tx_rx_power : boolean; tx_burst : boolean; tx_spectrum : boolean; rx_dbz : boolean; rx_d...
// This projects modifies the "Custom" appearance to // dispay image with text and bottom detail. // The properties of the custom appearance item and itemedit have been // configures in the designer. This sample also shows how to set the // appearance properties in code. unit BottomDetailMainFormU; interface...
// ****************************************************************** // // Program Name : Angelic Tech Common Library // Platform(s) : Android, iOS, Linux, OS X, Windows // Framework : Console, FMX, VCL // // Filename : AT.GarbageCollector.pas // Date Created : 10-Apr-2017 // Author : Matthew...
(* Name: UfrmDebugStatus_RegTest Copyright: Copyright (C) SIL International. Documentation: Description: Create Date: 14 Sep 2006 Modified Date: 24 Aug 2015 Authors: mcdurdin Related Files: Dependencies: Bugs: Todo: ...
unit WebModuleU; interface uses System.SysUtils, System.Classes, Web.HTTPApp, MVCFramework, MVCFramework.Commons; type TwmMain = class(TWebModule) procedure WebModule1DefaultHandlerAction(Sender: TObject; Request: TWebRequest; Response: TWebResponse; var Handled: Boolean); procedure WebModuleCreate...
{$ifdef license} (* Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com ) 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 li...
unit DisplayCellModalForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, DisplayCellInterface, AutomatedTestCanvasAid ; type TDisplayCellForm = class(TForm,IDisplayCell) ...
unit UDefinitions; interface type TLogMessageType = (lmtPlain, lmtError); TNotifyMessage = procedure(const AMsg: string; const AFileName: string = ''; const aUID: Cardinal = 0; AMsgType: TLogMessageType = lmtPlain) of object; TOnChangeStartId = procedure (const ANewStartId: Int64; const ANewDT: TDateTime ) of o...
{***************************************************************************} { } { DelphiUIAutomation } { } { ...
unit cCadCategoria; interface uses classes, controls, SysUtils,ExtCtrls, Dialogs, ZAbstractConnection, ZConnection, ZAbstractRODataset, ZAbstractDataset, ZDataset; Type TCategoria = class private ConexaoDB:TZConnection; //passando a conexão em tempo de criação da classe F_CategoriaId:integer; F_Des...
unit RepositorioItem; interface uses DB, Auditoria, Repositorio, FabricaRepositorio; type TRepositorioItem = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; function ...
unit URotinasGenericas; interface uses Windows, SysUtils, Forms, StdCtrls, Graphics, Mask, DBCtrls, DB; //, {DBTables,} IWCompEdit; function MostraData : string; function Confirma (const strTexto : string) : integer; function StrZero (const strValor : string; const intComprimento : integer) : string; proced...
unit AES_EAX; (************************************************************************* DESCRIPTION : AES EAX mode functions REQUIREMENTS : TP5-7, D1-D7/D9-D10, FPC, VP EXTERNAL DATA : --- MEMORY USAGE : --- DISPLAY MODE : --- REFERENCES : [1] EAX: A Conventional Authenticated-En...
unit TelegAPi.Helpers; interface uses TelegAPi.Bot.Impl, TelegAPi.Types, TelegAPi.Types.Enums; type TTelegramBotHelper = class helper for TTelegramBot function IsValidToken: Boolean; end; TtgParseModeHelper = record helper for TtgParseMode function ToString: string; end; TAllowedUpdatesHelp...
unit coordhelper; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Types, previewer, vector; type TCoordinateViewHelper = class public class function Map(vector: TVector; view: TPreviewerView): TPoint; static; end; implementation class function TCoordinateViewHelper.Map(vector: TVector; view: TPr...
unit Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TFormMain = class(TForm) Memo3: TMemo; ButtonSum: TButton; Label1: TLabel; Edit1: TEdit; Edit2: TEdit; Butt...
unit AccountTest; interface uses dbTest, dbObjectTest, ObjectTest; type TAccountTest = class (TdbObjectTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TAccount = class(TObjectTest) function InsertDefault: integer; override; public function InsertUpdateAc...
unit Unit4; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Spin, StdCtrls, ExtCtrls, Vcl.ComCtrls; type TForm4 = class(TForm) editName: TLabeledEdit; editHome: TLabeledEdit; labelBirthday: TLabel; btnOK: TButton; btnCancel: T...
{*! * Fano Web Framework (https://fanoframework.github.io) * * @link https://github.com/fanoframework/fano * @copyright Copyright (c) 2018 Zamrony P. Juhara * @license https://github.com/fanoframework/fano/blob/master/LICENSE (MIT) *} unit CoreAppConsts; interface {$MODE OBJFPC} resourcestring (*!-...
unit DIOTA.Dto.Response.GetBalancesResponse; interface uses Generics.Collections, DIOTA.IotaAPIClasses; type TGetBalancesResponse = class(TIotaAPIResponse) private FBalances: TArray<Int64>; FReferences: TArray<String>; FMilestoneIndex: Integer; function GetBalances(Index: Integer): Int64; ...
unit uDependenciaCad; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, DBCtrls, uFrameAluno, JvExControls, JvXPCore, JvXPButtons, ExtCtrls; type TfrmDependenciaCad = class(TForm) pnl_buttons: TPa...
unit PersonalServiceTest; interface uses dbTest, dbMovementTest, ObjectTest; type TPersonalServiceTest = class (TdbMovementTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TPersonalService = class(TMovementTest) private function InsertDefault: integer; overr...
unit cstream; interface uses classes, sysutils; //Använd den inte åt båda hållen samtidigt!! Antingen läs eller skriv! Or else.. type TBufStream = class (TFileStream) protected Eof :boolean; Buf :pointer; CurSize :integer; //Antal bytes som finns i buffern lästa från fil C...
unit SE_IssueListBox; interface uses StdCtrls, ScriptValidatorResult; type TSEIssueListBox = class(TListBox) strict private fIssues: TScriptValidatorIssueArray; function GetIssues: TScriptValidatorIssueArray; procedure SetIssues(aIssueArray: TScriptValidatorIssueArray); public destructor Destr...
unit TextUtils; {********************************************** Kingstar Delphi Library Copyright (C) Kingstar Corporation <Unit> TextUtils <What> 用于处理文本的工具 <Written By> Huang YanLai <History> **********************************************} interface uses classes,sysUtils; type { <Cla...
unit UtilFrames; interface uses Forms, ActnList, Classes, Controls; type TFrameClass = class of TFrame; TActionFrame = class(TComponent) private Action: TAction; Frame: TFrame; FrameClass: TFrameClass; Parent: TWinControl; procedure OnExecute(Sender: TObject); procedure SetChecked(cons...
(* Copyright (c) 2011, Stefan Glienke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and t...
unit UWelcome3; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2006 by Bradford Technologies, Inc. } { This unit is for welcoming and registering the Student Appraiser} interface uses Windows, Mes...
unit UPaymentMethod; interface uses System.Generics.Collections; type TPaymentMethod = class const MONEY = 'Dinheiro'; DEBIT_CARD = 'Cartão de Débito'; CREDIT_CARD = 'Cartão de Crédito'; CHECK = 'Cheque'; public class function GetMethods: TList<String>; end; implementation { TPaymentM...
unit T2Bqueue; interface procedure cpupause;assembler;register; type IQueue<T> = interface(IInterface) procedure Clear(); procedure Enqueue(const AValue: T); function TryDequeue(out entry:T): Boolean; function Empty(): Boolean; end; const DefaultCache=1024; type TLinkedQueue<T> ...
{***************************************************************************} { } { DUnitX } { } { ...
unit PriceGroupSettingsTest; interface uses dbTest, dbObjectTest, ObjectTest; type TPriceGroupSettingsTest = class (TdbObjectTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TPriceGroupSettingsObjectTest = class(TObjectTest) function InsertDefault: integer; o...
{* ------------------------------------------------------------------------ * ♥ * ♥ DataSet to Delphi Code (create TFDMemTable with the data) * ♥ * Component: TDSGenerator * Project: https://github.com/bogdanpolak/datasetToDelphiCode * ------------------------------------------------------------------------ } u...
unit REST.Hermes; interface uses System.Classes, REST.Client, REST.Types, REST.Response.Adapter, Data.Bind.ObjectScope, System.SysUtils, System.Generics.Collections, System.Json, System.Net.HttpClientComponent, System.Net.URLClient, FireDAC.Comp.Client, System.Net.HttpClient, REST.Hermes.Params, REST.Hermes.Cor...
unit PriceListLoad; interface uses DataModul, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorDBGrid, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxPCdxBarPopupMenu, cxStyles, cxCustomData, cxFilt...
unit Adapter.Classes.Adaptee; // The Adaptee contains some useful behavior, but its interface is // incompatible with the existing client code. The Adaptee needs some // adaptation before the client code can use it. // O Adaptee contém alguns comportamentos úteis, mas sua interface é // incompatível com o código do c...
unit FranticTest.MVC; interface type IView = interface ['{A74830EF-5BA4-4F8A-B3F4-F3A49A4FD45D}'] procedure Display; end; IMainView = interface(IView) ['{29AE12AB-4B0B-4CA5-B986-F77EE1B5D40A}'] end; IFileCompressionView = interface(IView) ['{EA63896E-3089-48BB-987F-5DF0810A3DE4}'] end; IFil...
{------------------------------------------------------------------------------- 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/ So...
unit DlgTestForm; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ExtCtrls, Menus, cxLookAndFeelPainters, cxButtons, DlgTest; type TTestFormDialog = class(TTestDialog) btnShowFrontalForm: TButton; btnEnableDisableAllForms: TButton; lbCountDown: TLabel; btn...
unit fmx.modaldlg; { FMX.ModalDlg FMX 下 ShowModal 的增强和接口统一 本单元统一了 FMX 和 TForm.ShowModal 的操作接口,原来 Delphi 自带的 ShowModal 的 匿名函数版本传递的只是一个 ModalResult 参数,无法通过局部变量进一步控制。此版本 参数改为窗体的实例,你可以访问其 ModalResult 以及各个相关的成员,以方便进一步控 制。 受平台限制,Android 下并不是实际的ShowModal(不过和 ShowModal 差不多,因为它都是 全屏覆盖的,下层的窗口你也操作不了),而其它平台都是真正的模态窗口。 ...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://localhost:49000/wsdl/ILoginWS // Version : 1.0 // (4/28/2011 11:42:30 PM - 1.33.2.5) // *********************...
PROGRAM exObjects; CONSTANT a = 4; b = 7; TYPE Rectangle = OBJECT PUBLIC length, width: INTEGER; CONSTRUCTOR init(l, w: INTEGER); { procedure setlength(l: integer); } { function getlength(): integer; } { procedure setwidth(w: integer); } { function getwidth():...
unit DocComprobanteFiscal; interface uses FacturaTipos; type { Representa a un comprobante fiscal (fisico, digital, etc) sus datos y metodos para asignar sus propiedades RESPONSABILIDAD: - Almacenar los datos de un comprobante en las estructuras internas. RAZON PARA CAMBIAR: - } TDocumentoComprobanteFiscal = ...
unit uOrderItem; interface type TOrderItem = class private FProductName: string; FPrice: Double; FTotal: Double; FQuantity: Integer; FProductId: Integer; function GetTotal: Double; public property ProductId: Integer read FProductId write FProductId; property Produc...
unit global; interface Uses Windows, Forms, Graphics, SysUtils, ComCtrls, classes, CRC32, Dialogs, iniFiles, StrUtils, items; function OpenFile: boolean; procedure LoadItems(Tree: TTreeView; Normal: boolean; Terrain: boolean; Acres: boolean); procedure AddItem(Tree: TTreeView;i_array: Array of TItem; Parent: TTr...
{* * Open source license agreement: Lazarus Modified LGPL * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific lan...
{***************************************************************************} { } { DUnitX } { } { ...
{$MODESWITCH RESULT+} {$GOTO ON} (************************************************************************* This file is a part of ALGLIB project. >>> SOURCE LICENSE >>> 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...
unit MainForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, tgtypes, IniPropStorage, eventlog, longpoll_mthread; type { TFrmMain } TFrmMain = class(TForm) BtnStart: TButton; BtnStop: TButton; EdtToken: ...
unit RegExprValidateEditUnit; interface uses Windows, Messages, StdCtrls, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ValidateEditUnit, RegExpr; type TRegExprValidateEdit = class(TValidateEdit) strict protected FRegExpr: TRegExpr; procedure CreateRegExprObject...
unit CustomOutlines; interface uses Outlines, Painter, Contnrs, Classes, Types, UndoEngine; // Board Cells are divided into MiniCells - shapes are located by MiniCell // coords, while pins are located by ordinary Cell coords. // Number of MiniCells per Cell const TcoSubCellsPerCell = 5; type TveCustomO...
{**********************************************************************} { } { "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 comp...
// // Created by the DataSnap proxy generator. // 25/07/2014 18:52:38 // unit ClientClassesDistrimedUnt; interface uses Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data....
unit UtilTelegram; interface uses System.SysUtils, System.Variants, System.Classes, System.JSON, Data.DB, Vcl.Dialogs, REST.Types, REST.Client, REST.Response.Adapter, Winapi.Windows, Vcl.Forms, ShellApi, IdHTTP, IdSSLOpenSSL, System.IOUtils, Datasnap.DBClient; type TTelegramBot = class(TObject) private ...
unit ruoliutenti_frm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, db, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, DBGrids, StdCtrls, ZDataset, anagruoli_frm; type { Truoliutenti } Truoliutenti = class(TForm) btCarica: TButton; btElimina: TButton; btNuov...
unit Stale; interface uses Windows; const CnazwaPlikuIni = 'DBSYSTEM.Ini'; CsekcjaSystem = 'SYSTEM'; CSekcjaConnect = 'DATABASE_CONNECT'; CSerwerName = 'SERWERNAME'; CBASENAME = 'BASENAME'; CUSERNAME = 'USERNAME'; CUSERPASS = 'USERPASS'; CPROVIDER = 'PROVIDER'; CLASTLOGIN = 'LAST_LOGIN...
unit sdpPacketUnit; interface type TNetworkPacket = class public Current: Integer; constructor Create(pData: PChar; vDataSize: Word); overload; constructor Create(); overload; procedure Write64(value: Int64); // WriteQ procedure Write32(value: Cardinal); // WriteD procedure Write16(va...
unit frModuloVersion; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, JvExControls, JvLinkLabel, frModulo, ImgList, JvComponentBase, JvErrorIndicator; type TfModuloVersion = class(TfModulo) cbVersionNuevaAlArrancar: TCheckBox; bComprobar: ...
unit uCrudUsuario; interface uses System.Classes, uUsuario, uConexao, uUtilidades, Generics.Collections, FireDAC.Stan.Param, Data.DB, System.SysUtils; type ICrudUsuario = interface ['{FFBD822A-B6CC-4522-9ABB-4C2B426F60F8}'] function Incluir(usuario :IUsuario):Integer; function Alterar(usuario :IUsua...
namespace DocsGen; interface uses System.Collections.Generic, System.Linq, System.Text; type IndexerDoc = public class public property Title: String; property Url: String; end; Indexer = public class assembly method MakeHash(s: String): Integer; fKeywords: Dictionar...
unit NtUtils.Security.Acl; { This module adds support for Access Control List construction, modification, and canonicalization. } interface uses Ntapi.WinNt, NtUtils, DelphiUtils.AutoObjects; type TAceData = record AceType: TAceType; AceFlags: TAceFlags; Mask: TAccessMask; SID: ISid; Obj...
(* ENUNCIADO Fazer um programa em Free Pascal que leia dois inteiros ímpares A e B, sendo A <= B. Após a leitura some todos os números ímpares contidos no intervalo entre A e B, considerando também A e B. Em resumo, o programa deverá executar a soma: S=A+(A+2) + (A+4) + ...+ B Exemplo de entrada: 3 9 Saída esperada ...
unit Day; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TDay = class private FMealIdx: integer; FDinnerIdx: integer; FLunchIdx: integer; procedure SetDinnerIdx(value: integer); procedure SetLunchIdx(value: integer); public constructor Create(); published property M...
unit dlgPU_Params; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Declaration, DeclPasha, Math; type TfrmPU_Params = class(TForm) edtImpulseAmplitude: TEdit; edtLevelV: TEdit; Label1: TLabel; Label2: TLabel; btnOk...
unit IdTestStreamHelper; { note: under dotnet, SetLength(aBuffer,0); doesnt set aBuffer=nil. win32 does. (this is done to release the buffer) } interface uses IdObjs, IdTest, IdSys, IdGlobal, IdStream; type TIdTestStreamHelper = class(TIdTest) published procedure TestHelpe...
{*******************************************************} { } { Delphi FireMonkey Platform } { } { Copyright(c) 2012-2013 Embarcadero Technologies, Inc. } { ...