text
stringlengths
14
6.51M
unit SelOrden; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, AdoDb, Db; type TSelOrdenDlg = class(TForm) BitBtn1: TBitBtn; BitBtn2: TBitBtn; lbCampos: TListBox; rgMetodo: TRadioGroup; Label1: TLabel; procedure FormC...
namespace Sugar.Test; interface uses Sugar, RemObjects.Elements.EUnit; type HTTPTest = public class (Test) public method DownloadAsString; method DownloadAsBinary; method DownloadAsXml; end; implementation method HTTPTest.DownloadAsString; begin var Token := TokenProvid...
unit FolderNotifier_i; // Модуль: "w:\garant6x\implementation\Garant\tie\Garant\GblAdapterLib\FolderNotifier_i.pas" // Стереотип: "SimpleClass" // Элемент модели: "FolderNotifier_i" MUID: (45FFCCC9000F) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface uses l3IntfUses , FoldersUnit ; type // N...
unit uCadCargo; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uTelaHeranca, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
unit SctUtil; { ---------------------------------------------------------------- Ace Reporter Copyright 1995-2004 SCT Associates, Inc. Written by Kevin Maher, Steve Tyrakowski ---------------------------------------------------------------- } interface {$I ace.inc} uses windows, classes, sysutils...
{ Version 1.0 - Author jasc2v8 at yahoo dot com This is free and unencumbered software released into the public domain. For more information, please refer to <http://unlicense.org> } {Sets or Removes System/User Environment Variables, designed for use with Inno Setup} program setenv; {$mode objfpc}{$H+} uses Clas...
unit UiCloudDocument; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, rtti, Math, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.TMSNativeiCloud, FMX.Layouts, FMX.ListBox, FMX.Objects, FMX.ListView.Types, FMX.Memo, FMX.ListView, iOSApi.UIKit, ...
unit DynaMemo; interface procedure ShowStringForm (str: string); implementation uses QForms, QControls, QStdCtrls; procedure ShowStringForm (str: string); var form: TForm; begin Application.CreateForm (TForm, form); form.caption := 'DynaForm'; form.Position := poScreenCenter; with TMemo.Create (form) d...
unit kwCompiledFunction; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\kwCompiledFunction.pas" // Стереотип: "SimpleClass" // Элемент модели: "TkwCompiledFunction" MUID: (4F3BEDFE0051) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defined(NoScripts)} uses l3Intf...
unit GetOrdersScheduledForUnit; interface uses SysUtils, BaseExampleUnit, OrderUnit; type TGetOrdersScheduledFor = class(TBaseExample) public procedure Execute(Date: TDate); end; implementation procedure TGetOrdersScheduledFor.Execute(Date: TDate); var ErrorString: String; Orders: TOrderList; beg...
unit RtfDoc; { Class for creating RTF document. Author: Phil Hess. Copyright: Copyright (C) 2007 Phil Hess. All rights reserved. License: Modified LGPL. This means you can link your code to this compiled unit (statically in a standalone executable or dynamically in a library) w...
unit DocumentPrintAndExportSettingRes; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "View" // Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/Document/DocumentPrintAndExportSettingRes.pas" // Родные Delphi интерфейс...
{* ******************************************************} { } { Borland Delphi Supplemental Components } { ZLIB Data Compression Interface Unit } { } { Copyright(c) 1997, 99...
unit l3ControlsTypes; // Модуль: "w:\common\components\rtl\Garant\L3\l3ControlsTypes.pas" // Стереотип: "Interfaces" // Элемент модели: "l3ControlsTypes" MUID: (47D036150077) {$Include w:\common\components\rtl\Garant\L3\l3Define.inc} interface uses l3IntfUses {$If NOT Defined(NoVCL)} , ImgList {$IfEnd} // NOT D...
{ *********************************************************** } { * TForge Library * } { * Copyright (c) Sergey Kasandrov 1997, 2016 * } { *********************************************************** } unit tfRandoms; {$I TFL.inc} interface uses SysUt...
unit ufTarefa1; interface uses Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireD...
//Exercício 11: Reescreva o exercício anterior para que seu algoritmo leia o comprimento e a altura da //parede a ser pintada (essas medidas deverão ser números inteiros). { Solução em Portugol Algoritmo Exercicio11; Const consumo_tinta = 3; volume_lata = 2; Var quantidade_latas: real; altura,la...
{ * CGWindowLevel.h * CoreGraphics * * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. * } { Modified for use with Free Pascal Version 210 Please report any bugs to <gpc@microbizz.nl> } {$mode macpas} {$packenum 1} {$macro on} {$inline on} {$calling mwpascal} unit CGWindowLevels; int...
unit ZMExtrLZ7719; (* ZMExtrLZ7719.pas - LZ77 stream expander Copyright (C) 2009, 2010 by Russell J. Peters, Roger Aelbrecht, Eric W. Engler and Chris Vleghert. This file is part of TZipMaster Version 1.9. TZipMaster is free software: you can redistribute it and/or modify it under the...
{******************************************************************************} { Projeto: Componentes ACBr } { Biblioteca multiplataforma de componentes Delphi para interação com equipa- } { mentos de Automação Comercial utilizados no Brasil ...
unit uCRUDConfiguracao; interface uses FireDAC.Comp.Client, System.SysUtils; type TRetornoConfiguracao = record CONFIG_ANO : String; CONFIG_PORCENTAGEMISENTO : Double; CONFIG_VALORDECLARARIR : Double; end; type TCRUDConfiguracao = class(TObject) private FConexao : TFDConnect...
unit kwSubPanelGetPopupMenuForSub; {* *Описание*: возвращает меню для саба на сабпанели. *Формат:* [code] aSubPanel aSubPanelSub SubPanel:GetPopupMenuForSub [code] aSubPanel - контрол саб панели. aSubPanelSub - объект класса TevSubPanelSub } // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\kwSubPanelGetPopupM...
unit uDataDisplay; interface uses Classes, CheckLst, IdGlobal, uProjectData, XMLIntf, XMLDoc, uBehaviorInterfaces, uUpdateListObserverInterface; type TSelectedProjectsDisplay = class(TProjectsDataDisplay, IDisplay) private FProjectItemsList: TStringList; FDoc: IXMLDocument; function FindProject...
unit ItemDetailsFRM; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.Buttons, System.UITypes, ItemController; type TItemMode = (smEdit, smNew); type TfrmItemD...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2015 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of an Embarcadero developer tools product. // This software is considered a Redistributable as def...
unit RemoveOptimizationUnit; interface uses SysUtils, BaseExampleUnit; type TRemoveOptimization = class(TBaseExample) public procedure Execute(OptimizationProblemId: String); end; implementation procedure TRemoveOptimization.Execute(OptimizationProblemId: String); var ErrorString: String; Removed...
{******************************************************************************* 作者: dmzn@163.com 2009-6-24 描述: 摄像头设置 *******************************************************************************} unit UFormCameraSetup; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls...
unit TestThermostatClasses; interface uses Thermostat.Classes, TestFramework, SysUtils, Generics.Collections; type // Test methods for class TThermostatState TestTThermostatState = class(TTestCase) strict private FThermostatState: TThermostatState; public procedure SetUp; override; procedure...
unit FCT.Connection; /// Factory ERP /// Date: 01-26-2020 /// Author: Marcio Silva /// Git: github.com/marciosdev /// Mail: marciosdev@icloud.com interface uses System.SysUtils, System.Variants, System.Classes, System.Win.Registry, Uni, PostgreSQLUniProvider, FCT.Setting; type TFCTConnection = class ...
unit MainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ActnList, StdCtrls, ComCtrls, ExtCtrls, frViewer, Generics.Collections; type TForm1 = class(TForm) ActionList1: TActionList; actStart: TAction; actStop: TAction; act...
{********************************************************************* * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Autor: Brovin Y.D. * E-mail: y...
unit udmTabsPromocionais; interface uses Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS, uMatVars; type TdmTabsPromocionais = class(TdmPadrao) qryManutencaoFILIAL: TStringField; qryManutencaoTARIFA: TStringField;...
unit ArduinoNewProjectWizard_intf; {$MODE DELPHI} interface uses uArduinoFormWorkspace, FileUtil, LazFileUtils, StrUtils, Classes, SysUtils, Controls, Forms, Dialogs, LazIDEIntf, ProjectIntf; type { TArduinoApplicationDescriptor } TArduinoApplicationDescriptor = class(TProjectDescriptor) private ...
unit BusReg; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ExtCtrls; type TBusRegDlg = class(TForm) OKBtn: TButton; CancelBtn: TButton; Bevel1: TBevel; Label1: TLabel; lbCampo: TStaticText; Label2: TLabel; Buscar: TEdit; private FCampo...
// ------------------------------------------------------------------------------ // 1. In iTunes connect ensure that you have a unique App ID // 2. Create a new application and update application information. You can know more about this in apple add new apps documentation. // 3. Setup a leader board in Manage Game Ce...
unit UTLBClasses; interface uses System.Classes, System.Generics.Collections; type TCustomOut = class strict private const CEmptyStr = ''; CIdent = ' '; strict private FIdentStr: string; FLevels: TStrings; strict private function GetIdent: Integer; procedure SetIdent(AVal...
// // purpose: Packet sniffer demo for use with the open source WinPcap driver // author: Authorized KOL version, © 2005, Thaddy de Koning // Original version © Umar Sear // Remarks: The WinPCap driver is free ware and available from // http://winpcap.polito.it/ under a BSD style license // // ...
{ redis for delphi } unit uRedisHandle; interface uses Classes, IdTCPClient, SysUtils, StrUtils, IdException, uRedisCommand, uRedisCommon; type //redis handle exception ERedisException = class(Exception); //redis应答错误信息 ERedisErrorReply = class(Exception); //当redis应答错误时,回调此函数,如isHandled返回true,则提示成...
unit Unit2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm2 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form2:...
unit Cloud.Console; interface uses System.SysUtils, Cloud.Consts, Cloud.Types, Cloud.Utils, Cloud.Client; type TCloudConsole = class(TCloudDelegate) private CloudClient: TCloudClient; procedure DoPrintHelp(const Title: string); procedure OnEvent(Event: TCloudEvent; const Tex...
unit uMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC...
{ The unit is part of Lazarus Chelper package Copyright (C) 2010 Dmitry Boyarintsev skalogryz dot lists at gmail.com This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 ...
unit BassPlayer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, dynamic_BASS, StdCtrls, ComCtrls, ExtCtrls, Math; const WM_INFO_UPDATE = WM_USER + 101; { type WAVHDR = packed record riff: array[0..3] of Char; len: DWord; cWavFmt: array[...
unit ts2pas.Main; interface uses NodeJS.Core, NodeJS.FS, NodeJS.https, NodeJS.events, TypeScript, ts2pas.Translator; function TranslateFile(InputFile, OutputFile: String): Boolean; overload; function TranslateFile(InputFile: String): Boolean; overload; procedure LoadAndTranslate(URL: String); {$IFNDEF CommandLin...
unit DAO.Entregas; interface uses Model.Entregas, System.Classes, FireDAC.Comp.Client, DAO.Conexao, Control.Sistema, System.DateUtils; type TEntregasDAO = class private FConexao : TConexao; public constructor Create; function Insert(aEntregas: Model.Entregas.Tentregas): Boolean; function Update...
unit Thread.CapaDIRECT; interface uses System.Classes, Control.Bases, Control.EntregadoresExpressas, Control.Entregas, Control.VerbasExpressas, Control.CapaDIRECT, System.SysUtils, FireDAC.Comp.DataSet, FireDAC.Comp.Client; type Thread_CapaDirect = class(TThread) private FPlanilha : TCapaDirectControl; ...
{ *************************************************************************** } { } { This file is part of the XPde project } { } ...
unit afwPreviewPageSpy; {* Следилка за TafwPreviewPage, для [RequestLink:235873282] } // Модуль: "w:\common\components\gui\Garant\AFW\implementation\Visual\afwPreviewPageSpy.pas" // Стереотип: "SimpleClass" // Элемент модели: "TafwPreviewPageSpy" MUID: (4CB6DFDE0374) {$Include w:\common\components\gui\Garant\AFW\afw...
{**************************************************************************************************} { } { Project JEDI } { ...
unit ResidentialSheet; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit, GradientBox, FramedButton, SheetHandlers, InternationalizerComponent; const tidSecurityId = 'SecurityId'; tidTrouble = 'Troubl...
unit System.Tray.Helper; interface uses System.Classes, System.SysUtils, JvTrayIcon, System.Classes.Helper, vcl.Forms, WinApi.Windows, System.SysUtils.Helper, vcl.Menus.helpers, vcl.Menus; type IJvTrayIcon = Interface ['{BF0C33CF-49C8-4A21-BCB1-A352CDA29CB6}'] End; TJvTrayIconHelper = class(TJvTrayIco...
unit tdADSIEnum; interface uses System.SysUtils, System.StrUtils, System.Classes, System.TypInfo, System.DateUtils, System.Math, System.SyncObjs, System.Generics.Collections, Winapi.Windows, Winapi.ActiveX, ActiveDs_TLB, MSXML2_TLB, JwaActiveDS, ADC.Types, ADC.DC, ADC.Attributes, ADC.ADObject, ADC.ADObjectLis...
program ConsoleMenu; {$APPTYPE CONSOLE} {$MODE DELPHI} {$R *.res} uses SysUtils, Windows, Quick.Commons, Quick.Console; type TTest = class class procedure Option1; class procedure Option2; class procedure Option3; class procedure Option4; class procedure Option5; end; var conmenu...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com) * ***************************************************...
unit DBButton; interface uses System.SysUtils, System.Classes, Vcl.Controls, Vcl.StdCtrls, Vcl.Buttons, Data.DB, Vcl.Dialogs, System.UITypes; type TAcao = (taNovo, taExcluir, taEditar, taGravar, taCancelar); TDBButton = class(TBitBtn) private FAcao: TAcao; FDataSource: TDataSource; ...
unit uStrUtils; interface type TSplitResult = array of string; function LastPos(const SubStr, Source: string; const IgnoreCase: Boolean = True): Integer; function Explode(const Count: Integer; Source: string): TSplitResult; overload; function Explode(const cSeparator, vString: string): TSplitResult; ove...
{ Subroutine SST_W_C_ARMODE_POP * * Restore the current array identifier interpretation mode to what it was before * the last call to SST_W_C_ARMODE_PUSH. This also pops the stack frame from the * stack. } module sst_w_c_ARMODE_POP; define sst_w_c_armode_pop; %include 'sst_w_c.ins.pas'; procedure sst_w_c_armo...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clHttpHeader; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, {$ELSE} System.Classes, System.SysUtils, {$ENDIF} clUtils, clHeaderFieldList; type TclHttpEntityHeader ...
unit ExtAISharedInterface; interface //uses // Classes, SysUtils; // States of the ExtAI type // Predefined data types TBoolArr = array of Boolean; // Definition of actions TGroupOrderAttackUnit = procedure(aGroupID, aUnitID: Integer) of object; TGroupOrderWalk = proced...
unit RealState.Agent.Controller; interface uses MVCFramework, MVCFramework.Commons, JsonDataObjects; type [MVCPath('/api/agents')] TAgentController = class(TMVCController) public [MVCPath('/')] [MVCHTTPMethod([httpGET])] procedure GetAgents; end; implementation uses ...
unit ChromeLikeBaseWindowCaptionButton; // Модуль: "w:\common\components\gui\Garant\ChromeLikeControls\ChromeLikeBaseWindowCaptionButton.pas" // Стереотип: "GuiControl" // Элемент модели: "TChromeLikeBaseWindowCaptionButton" MUID: (533D01CB01B1) interface {$If NOT Defined(NoVGScene) AND NOT Defined(NoVCM) AND NOT De...
unit ReOptimizationUnit; interface uses SysUtils, BaseExampleUnit; type TReOptimization = class(TBaseExample) public procedure Execute(OptimizationProblemId: String); end; implementation uses OptimizationParametersUnit, DataObjectUnit, EnumsUnit; procedure TReOptimization.Execute(OptimizationProble...
unit FFSUtils; interface uses System.IOUtils, FFSTypes, Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, MaskUtils, Dialogs, Printers, Math, Registry, TlHelp32; const BadDate = 0; BadTime = -1; crlf = #13#10; PRIMARY_KEY = ''; FFSDEFAULTPRINTER = 'Windows Default Printer'; ...
{ Subroutine SST_W_C_INIT * * Set up the back end call table to install the routines for writing C. } module sst_w_c_INIT; define sst_w_c_init; %include 'sst_w_c.ins.pas'; procedure sst_w_c_init; {init back end state for writing C} var i: sys_int_machine_t; {loop counter} ent_p: ...
unit MarkAddressAsDepartedUnit; interface uses SysUtils, BaseExampleUnit; type TMarkAddressAsDeparted = class(TBaseExample) public procedure Execute(RouteId: String; AddressId, MemberId: integer; IsDeparted: boolean); end; implementation procedure TMarkAddressAsDeparted.Execute(RouteId: String; ...
unit pubby.tests; {$mode delphi}{$H+} interface uses Classes, SysUtils, fpcunit, testutils, testregistry, pubby; type IIntSubscriber = ISubscriber<Integer>; IIntPublisher = IPublisher<Integer>; TIntSubscriberImpl = TSubscriberImpl<Integer>; { TTestIntSub } TTestIntSub = class(TIntSubscriberImpl) ...
{ Date Created: 5/22/00 11:17:32 AM } unit InfoCHECKACCOUNTSTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoCHECKACCOUNTSRecord = record PAccountName: String[32]; PAccountNumber: String[20]; PNextCheckNumber: Integer; End; TInfoCHECKACCOU...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Buttons, ComCtrls; type TForm1 = class(TForm) ProgressBar1: TProgressBar; BtnStart: TBitBtn; BtnStop: TBitBtn; Timer1: TTimer; EdtTimeout: TEdit; Label...
unit MessageList; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Menus, Placemnt; type TMessageListForm = class(TForm) MainMenu: TMainMenu; FileMI: TMenuItem; SaveMI: TMenuItem; ClearMI: TMenuItem; MessageListSaveDialog: TSaveDia...
unit MultiStateButton; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls; type { TMultiStateButton } TMultiStateButton = class(TImage) private fastate:integer; fstates:integer; fpath, fimage, fext:string; Procedure setpat...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clMC; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, {$ELSE} System.Classes, {$ENDIF} clMailMessage, clTcpCommandClient, clEncoder; type TclCustomMail = class(TclTcpCommandC...
unit udmMDFe; interface uses Windows, Forms, Messages, SysUtils, Variants, Classes, Graphics, Controls, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS, DBClient, ufrmStatus, uMatVars, ACBrMDFeDAMDFeClass, pcnConversao, pmdfeConversaoMDFe, ACBrMDFe, ACBrMDFeDAMDFEFR, ACBrBase, ACBrDFe, frxClass, ACBrDFeSSL ;...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
unit uSHFingerRegistDevice; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, DB, ADODB; type TfmSHFingerRegistDevice = class(TForm) Panel1: TPanel; lb_Message: TLabel; Panel2: TPanel; btn_GetFPData: TSpeedButton; ...
unit CompPreprocInt; { Inno Setup Copyright (C) 1997-2010 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Compiler preprocessor interface $jrsoftware: issrc/Projects/CompPreprocInt.pas,v 1.4 2010/12/10 05:14:33 jr Exp $ } interface const ispeSuccess = ...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
unit Rutinas; interface uses Controls, Dialogs; resourcestring rsConfElimina = 'Confirma Eliminación de dato ?'; rsConfGrabar = 'Confirma Grabación de dato ?'; rsConfOpera = 'Confirma Operacion ?'; type DlgTipo = ( dialElim, dialGrabar, dialOpera ); function Confirma( Tipo: DlgTipo...
unit enet_packet; (** @file packet.c @brief ENet packet management functions freepascal 1.3.14 *) interface uses enet_consts, enet_callbacks, enet_socket; function enet_crc32 (buffers : pENetBuffer; bufferCount : enet_size_t):enet_uint32; function enet_packet_create (data : pointer; dataLen...
namespace Sugar.IO; interface uses {$IF WINDOWS_PHONE OR NETFX_CORE} Windows.Storage, System.IO, {$ENDIF} Sugar; type FileUtils = public static class {$IF WINDOWS_PHONE OR NETFX_CORE} private method GetFolder(FileName: String): StorageFolder; method GetFile(FileName: String): StorageFile; ...
unit Loading; interface uses System.SysUtils, System.UITypes, FMX.Types, FMX.Controls, FMX.StdCtrls, FMX.Objects, FMX.Effects, FMX.Layouts, FMX.Forms, FMX.Graphics, FMX.Ani, FMX.VirtualKeyboard, FMX.Platform; type TLoading = class private class var Layout : TLayout; cl...
unit TextEditForma; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, SynEditHighlighter, SynHighlighterGeneral, SynEdit, OkCancel_frame, StdCtrls, PrjConst, PropFilerEh, PropStorageEh, Vcl.Buttons, Vcl.ExtCtrls; type TTextEditForm = class(TForm) Text: ...
unit lipsum; //---------------------- COMMON INTERFACE -------------------------------------- {$i '../inc/header.inc'} //---------------------- IMPLEMENTATION ---------------------------------------- procedure writeGr8(x, y: byte; text: string); var bi1 : byte absolute $e0; bi2 : byte absolute $e1; ...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
unit clBaixas; interface uses clEntrega, clConexao; type TBaixa = Class(TEntrega) private protected _conexao: TConexao; public constructor Create; destructor Destroy; function JaExiste(): Boolean; function Baixar(): Boolean; function UltimaBaixa(): String; end; const TAB...
{$M-} {This is the source for the QUASAR interface. See QUASAR.PAS for documentation} program qsr; const ntries=10; {jsys definitions} msend=510B; mrecv=511B; mutil=512B; erstr=11B; disms=167B; {parameters} priou=101B; ipciw=1B; muqry=20B; mursp=25B; spqsr=2; mucre=6; ipcf16=601035B; ...
unit CapitolSheet; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit, GradientBox, FramedButton, SheetHandlers, ExtCtrls, ComCtrls, InternationalizerComponent; const tidHasRuler = 'HasRuler'; ...
unit Stat; interface type TStat = record Name : string; RuName: string; end; var CrStats : array of TStat; CrStatsCnt : Integer; procedure Load; implementation procedure Add(Name, RuName: string); begin CrStatsCnt := CrStatsCnt + 1; SetLength(CrStats, CrStatsCnt); ...
unit attributes; interface uses Interfaces.base, System.RTTI; type TResultArray = array of string; TFieldAnonymous = record NameTable: string; Sep: string; // <-- utilizada para a separação dos campos no SQL PKs: TResultArray; // chave primária TipoRtti: TRttiType; end; TFuncReflection...
unit ImportExportUnit; // Библиотека "GblAdapterLib" // Модуль: ImportExportUnit // ! Полностью генерируется с модели. Править руками - нельзя. ! {$Include nsDefine.inc} interface uses IOUnit, BaseTypesUnit ; type AuthorizationNeed = class {* Для проведения экспорта предвароительно необходимо авторизоват...
unit TypeUtils; interface { fazer método onde é passado um arquivo xsd para validar o conteúdo da string supondo que seja um xml } uses SysUtils, Classes, JclPCRE; const NOME_ARQUIVO = 'c:\arquivo.txt'; QUEBRA_DE_LINHA = #13#10; FILTRO_PADRAO_DE_ARQUIVO = '*.*'; // IString, IXString constants ACCENTE...
unit nscDocumentListTreeView; // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Components\nscDocumentListTreeView.pas" // Стереотип: "GuiControl" // Элемент модели: "TnscDocumentListTreeView" MUID: (51D56E9F004B) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface uses l3IntfUses , nscTree...
{******************************************************************************* 作者: dmzn@163.com 2011-11-21 描述: 产品退货单处理 *******************************************************************************} unit UFrameProductReturn; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Co...
unit TLibDemo_TLB; // ************************************************************************ // // WARNING // ------- // The types declared in this file were generated from data rea...
// ********************************************************************** // // Copyright (c) 2001 MT Tools. // // All Rights Reserved // // MT_DORB is based in part on the product DORB, // written by Shadrin Victor // // See Readme.txt for contact information // // *****************************************************...
program probabilityTest(output); var n, i : Integer; sum, accum : Real; begin write('N: '); read(n); sum := 0.0; accum := 2; for i := 0 to n do begin accum := accum * 2; sum := sum + (i / accum); end; writeln('Sum: ', sum:4:5); end.
(** This module contains a class to represent a configuation for for the applications options. @Version 1.0 @Author David Hoyle @Date 07 Apr 2016 **) Unit DGHIDEHelphelperConfigForm; Interface Uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ...
unit uFiredac; interface uses FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.FMXUI.Wait, Data.DB, FireDAC.Comp.Client, FireDAC.Stan.ExprFuncs, F...
// // icop 的数据压缩单元 // 主要摘自 Zlib 目录下相应单元,有修改 // unit iocp_zlib; interface uses Classes, SysUtils, DateUtils, ZLibEx, ZLibExApi, ZLibExGZ; type TZipLevel = ( // = TZCompressionLevel zcNone, zcFastest, zcDefault, zcMax, zcLevel1, zcLevel2, zcLevel3, zcLevel4, zcLevel5, ...