text
stringlengths
14
6.51M
(* * Copyright (c) 2009-2010, Ciobanu Alexandru * 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 l...
unit DAO.RHOperacionalAusencias; interface uses DAO.Base, Model.RHOperacionalausencias, Generics.Collections, System.Classes; type TRHOperacionalAusenciasDAO = class(TDAO) public function Insert(aAusencias: TRHOperacionalAusencias): Boolean; function Update(aAusencias: TRHOperacionalAusencias):...
unit frmChoose; interface uses SysUtils, Controls, TypInfo, uSmiley, DesignEditors, DesignIntf, StdCtrls, Buttons, Classes, Forms, ExtCtrls, ImgList, ComCtrls, System.ImageList ; type /// <summary> /// <para> /// The <c>TChooseDlg</c> class is a dialog that is used by the <c>TMoo...
unit YRefTools; (* This module supplies generic hash table and quicksort routines used by the YREF program. *) interface (* Quicksort: *) type OrderPredicate = function (i, j : Integer) : Boolean; SwapProc = procedure (i, j : Integer); procedure quicksort(lo, hi: Integer; less : OrderPredi...
{$include kode.inc} unit fx_tempodelay; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_const, kode_types, kode_plugin, kode_parameter; { tempo = 30, samplerate = 192k, beats = 4 buffersi...
unit dmuSistema; interface uses System.SysUtils, System.Classes, dmuBasico, dmuPrincipal, Data.DB, Datasnap.DBClient, uClientDataSet; type TdmSistema = class(TdmBasico) cdsNotificacao: TRFClientDataSet; cdsNotificacaoID: TIntegerField; cdsNotificacaoTIPO: TIntegerField; cdsNotificacaoTEMPO_ANTE...
unit SFtp; interface type HCkDateTime = Pointer; HCkBinData = Pointer; HCkSecureString = Pointer; HCkByteData = Pointer; HCkSFtp = Pointer; HCkString = Pointer; HCkSshKey = Pointer; HCkSFtpDir = Pointer; HCkSsh = Pointer; HCkTask = Pointer; HCkStringBuilder = Pointer; function CkSFtp_Create: HCkSFtp; stdcall; proc...
unit UJsonFormater; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.json, REST.Json, Vcl.ExtCtrls, Vcl.StdCtrls; type TForm1 = class(TForm) Panel1: TPanel; MemoOutput: TMemo; Mem...
unit serverwinshoewhois; interface //////////////////////////////////////////////////////////////////////////////// // Author: Ozz Nixon (RFC 954) // .. // // 13-JAN-2000 MTL: Moved to new Palette Scheme (Winshoes Servers) // // 5.13.99 Final Version // ? [responds with the following] // ...
unit Aurelius.Criteria.Dictionary; {$I Aurelius.inc} interface type TDictionaryAttribute = record private FPropName: string; public constructor Create(APropName: string); property PropName: string read FPropName; end; TDictionaryAssociation = record private FAssociationN...
unit SubdivisionTable; interface uses ExcelTable, BaseTable, Contnrs, Straton, BaseObjects, Area, SubdivisionComponent, Well, Classes, Employee, Theme; const ALTITUDE_ROW_INDEX = 4; AREA_ROW_INDEX = 1; WELL_NUMBER_ROW_INDEX = 2; TECTONIC_BLOCK_ROW_INDEX = 3; MAIN_STRATON_COLUMN_INDEX = 0; SECOND_STRATON_...
unit uFrmMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, uTFile, strutils, uSharedGlobals; type TfrmMain = class(TForm) Label1: TLabel; txtFile: TEdit; btnImport: TButton; memResult: TMemo; Label2: TLabel; lblTotalLines:...
{----------------------------------------------------------------------------- Unit Name: Uanderes Author: Alexander Roth This unit is licensed unter the GPL3 This license note and the original author (Alexander Roth) must not be altered. ---------------------------------------------------------------------...
unit uEndereco; interface uses SysUtils, xmldom, XMLIntf, XMLDoc, msxmldom; type TEndereco = class (TObject) strict private Fcep : string; Flogradouro : string; Fcomplemento : string; Fbairro : string; Flocalidade : string; Fuf : string; Funidade : string; Fibge...
program GameMain; uses SwinGame, sgTypes; function buttonClicked(xPosition, yPosition: Single; width, height: Integer): Boolean; var mouseXPos, mouseYPos, buttonWidth, buttonHeight: Single; begin mouseXPos := MouseX(); mouseYPos := MouseY(); buttonWidth := xPosition + width; buttonHeight := yPosition + height; ...
// ---------------------------------------------------------------------------// // // dgMainLanguage // // Copyright © 2005-2009 DunconGames. All rights reserved. BSD License. Authors: simsmen // ---------------------------------------------------------------------------// // // --------------------------------...
namespace proholz.xsdparser; interface type UnsolvedReference = public class(ReferenceBase) private var ref: String; var isTypeRef: Boolean; assembly constructor(element: XsdNamedElements); public constructor(refType: String; element: XsdNamedElements); method getRef: String; virtual; method isTypeRef:...
(* * Copyright (c) 2009-2010, Ciobanu Alexandru * 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 l...
unit Unitx.Pessoa.test; interface uses DUnitX.TestFramework; type [TestFixture] TClassePessoaTest = class(TObject) public [Setup] procedure Setup; [TearDown] procedure TearDown; [Test] [TestCase('ValorBaixo','900')] [TestCase('ValorAlto','2000')] [TestCase('Erro','-300')] ...
unit DAO.FechamentoRestricao; interface uses DAO.Base, Model.FechamentoRestricao, Generics.Collections, System.Classes; type TFechamentoRestricaoDAO = class(TDAO) public function Insert(aRestricao: TFechamentoRestricao): Boolean; function Update(aRestricao: TFechamentoRestricao): Boolean; function De...
unit RegisterGUI; interface uses // VCL Classes, Forms, Controls, ExtCtrls, Dialogs; type IInterfaceRegistry = interface ['{1F44813F-A8EA-4C5C-B7E9-34626108C171}'] procedure RegisterClass(const IID: TGUID; aClass: TComponentClass); procedure RegisterInstance(const IID: TGUID; aComponent: TCom...
unit uCrypt; interface uses Windows, SysUtils, Variants, Classes, wCrypt2, ClipBrd; const AProvType = PROV_RSA_FULL; AProvFlag = CRYPT_VERIFYCONTEXT; AAlgHash = CALG_MD5; AAlgCrypt = CALG_RC4; exSesKeyHeader: array[0..11] of byte = ($01, $02, $00, $00, $01, $68, $00, $00, $00, $A4, $00, $00); exPublicKey: array[0.....
unit UControle; interface uses SQLExpr, UPersistentObjectDBX, DBClient, Classes, UIntObserver; type // Classe base para os controladores do sistema TControle = class(TInterfacedObject) private FSQLConnection: TSQLConnection; protected function DeleteDependencies(PersistentObject: TPersistentObjectDBX):...
unit Matrix2DTest; interface uses TestFramework, CommonGeometry, GeosGeometry, Matrices; type TMatrix2DTest = class(TTestCase) private FMatrix: TMatrix2D; FTestPoint: TVertex; procedure CheckArraysEqual(const got, expected: TMatrix2DArray); procedure CheckPointsEqual(const got, expected: ...
unit Rice.MongoBuilder4D; interface uses System.Classes, System.SysUtils, System.Generics.Collections, System.StrUtils, System.Rtti, System.TypInfo; type INoSQL = interface ['{B622BAC1-8A43-476E-A40B-B293BE6CF91E}'] function ToString(): string; end; INoSQLCriteria = interface(INoSQL) ...
unit RRManagerEditObjectVersionFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, RRManagerBaseGUI, StdCtrls, Mask, ToolEdit, RRManagerObjects, RRManagerBaseObjects; type // TfrmEditObjectVersion = class(TFrame) TfrmEditObjectVersion = class(TBaseFrame) ...
unit PedidosCadastro; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, Buttons, StdCtrls, Grids, DBGrids, Mask, DB, SqlExpr, ConexaoDB, FMTBcd, DBClient, Provider, ORMUtils, PedidosORM, PedidosItensORM, ClientesORM, ProdutosORM; const t...
unit UdmNotificadorClient; interface uses System.SysUtils, System.Classes, uROChannelAwareComponent, uRORemoteService, uROBaseConnection, uROTransportChannel, uROIndyUDPChannel, uROComponent, uROMessage, uROBinMessage, LGenericServiceTool_Intf; type TdmNotificadorClient = class(TDataModule) ROMessage ...
unit uJxdUdpSynchroClient; interface uses Windows, SysUtils, Forms, uJxdUdpIoHandle, uJxdUdpSynchroBasic, uJxdDataStruct, uJxdDataStream; type TSynchroResult = (srSuccess{成功}, srSystemBuffer{系统动态申请内存,外部要调用ReleaseSynchroRecvBuffer}, srNoEnoughSynchroID{同步ID不够用}, srFail{失败}); //同步信息, 当接收到同步...
unit uMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Grids, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DA...
{ //membuat program prosedur penjumlahan program penjumlahan; //menggunakan crt uses crt; //membuat procedure dengan nama hitung //yang berisi a dan b tipe data integer procedure hitung(a,b:integer); //variabel c dengan tipe data real var c : real; //start program begin // variabel c menjumlhkan nilai a dan b ...
unit dgTimer; // ---------------------------------------------------------------------------// // Copyright © 2005-2007 DunconGames. All rights reserved. Authors: Duncon // Лицензионное соглашение Open Source (version 2.11.2007) // ---------------------------------------------------------------------------// inte...
(* * Copyright (c) 2011, Ciobanu Alexandru * 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 o...
{ ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: QuickReport 5.0 for Delphi and C++Builder :: :: :: :: QRExpr - EXPRESSION EVALUATOR :: :: :: ...
{******************************************************************************* * * * PentireFMX * * ...
(* Last edit: 18-Feb-2012 Author : Nick Korasidis Generator of maximal conflict-free strings. Input : d = number of avalable distinct characters. 1 <= d <= 26 Output: A maximal conflict-free string with d distinct characters. Time complexity : O(2^d). Space complexity: O(d). *) program cfree2 (...
unit Scan; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, ImgList; type TScanForm = class(TForm) Image1: TImage; InfoLabel: TLabel; Bevel: TBevel; ReportList: TListView; ScanStatusBar: TStatusBar...
unit DataFilter; interface uses System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, SynEdit, ActnList, JvExStdCtrls, JvListBox, SynEditHighlighter, BCDialogs.Dlg, SynHighlighterSQL, ValEdit, JvStringHolder, Menus, BCControls.Edit, Vcl.ExtCtrls, System.Action...
unit VisibleDSA.AlgoVisualizer; interface uses System.Classes, System.SysUtils, System.Types, System.Math, FMX.Graphics, FMX.Forms, VisibleDSA.AlgoVisHelper, VisibleDSA.MineSweeperData; type TAlgoVisualizer = class(TObject) public const D: TArr2D_int = [[-1, 0], [0, 1], [1, 0], [0, -1]]; ...
unit URawdataDataType; interface type DataType = ( INVALID=-1, tdsTypeVoid=0, tdsTypeI8=1, tdsTypeI16=2, tdsTypeI32=3, tdsTypeI64=4, tdsTypeU8=5, tdsTypeU16=6, tdsTypeU32=7, tdsTypeU64=8, tdsTypeSingleFloat=9, tdsTypeDoubleFloat=10, tdsTypeExtendedFloat=11, tdsT...
unit NewGame; {******************************************************************************} { $Id: NewGame.pas,v 1.13 2005/06/13 23:22:06 savage Exp $ } { } { Siege Of Avalon : Open Source Edition }...
unit System.Classes.Helper; interface uses System.Classes; type TStringListHelper = class helper for TStringList private procedure ValidToJson; public function IsEmpty: Boolean; function HasDuplicate: Boolean; function toJson: string; end; implementation uses System.SysUtils, System.M...
unit TComandPostUnit; interface uses TPosobjectUnit; type TComandpost = class (Tposobject) private Safetydistance :real; public function getr:real; procedure setr(r_:real); property rValue:real read getr write setr; constructor create(x,y,t,r:real); destructor destroy; end; implementation constructor Tc...
unit Aurelius.Sql.ElevateDB; {$I Aurelius.Inc} interface uses DB, Aurelius.Sql.AnsiSqlGenerator, Aurelius.Sql.BaseTypes, Aurelius.Sql.Commands, Aurelius.Sql.Interfaces, Aurelius.Sql.Metadata, Aurelius.Sql.Register; type TElevateDBSQLGenerator = class(TAnsiSQLGenerator) protected ...
unit fServerDataModule; {$I RemObjects.inc} interface uses SysUtils, Classes, uROClient, uROServer, uROIndyTCPServer, uROPoweredByRemObjectsButton, uROClientIntf, uROClasses, uROBinMessage, uROIndyUDPServer, uROBaseConnection, uROComponent, uROMessage, uROSOAPMessage, uROCustomHTTPServer, uROBaseHTTPServer, uR...
unit ScrErr; interface uses IO; const {errors} calcFailed = 1; labelNotFound = 2; tooManyVars = 3; fileNotFound = 4; Overflow = 5; ifError = 6; genError = 7; var errorsOff : boolean; trappedError : integer; procedure tellError (prob: integer); implementation (*** TELL ...
unit DUP.Controller; interface uses System.SysUtils, DUP.Model.Entidades.Interfaces, DUP.Controller.Interfaces, DUP.Model.Entidades.Factory; type TController = class(TInterfacedObject, iController) private FModelEntidades : iModelEntidadeFactory; public constructor Create ; d...
unit ControllerProdutoInterface; interface type IProduto = interface ['{C1178038-AD9B-40A0-AC04-659FAFCD8B7A}'] function GETId(): Integer; function GETNome(): string; function Id(const pValue: Integer): IProduto; function Nome(const pValue: String): IProduto; end; implementatio...
unit URegraCRUDUsuario; interface uses URegraCRUD , URepositorioDB , URepositorioUsuario , UEntidade , UUsuario ; type TRegraCRUDUsuario = class(TRegraCRUD) protected procedure ValidaInsercao(const coENTIDADE: TENTIDADE); override; procedure ValidaAtualizacao(const coENTIDADE: TENTIDADE); o...
// Copyright 2018 by John Kouraklis and Contributors. All Rights Reserved. // // 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 // // Unle...
unit Model.ProSu.Provider; interface uses Model.ProSu.Interfaces, System.Generics.Collections; type TProSuProvider = class(TInterfacedObject, IProviderInterface) private fSubscriberList: TList<ISubscriberInterface>; public procedure subscribe(const tmpSubscriber: ISubscriberInterface)...
unit uMunicipioControler; interface uses System.SysUtils, Data.DB, System.Generics.Collections, uMunicipioDto, uMunicipioModel, uMunicipio, uEstadoDto, uEstadoModel, uMunicipioRegra, Dialogs, System.UITypes, System.Classes, Winapi.Windows; type TMunicipioControler = class private oListaEstados: TObject...
unit SubDividerTectonicBlockForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, SubDividerCommonObjects, Variants; type TfrmTectBlock = class(TForm) gbxTectBlock: TGroupBox; pnlButtons: TPanel; cmbxTectBlock: TComboBox; btnOK: TButt...
unit FHIR.Support.Certs; { Copyright (c) 2017+, Health Intersections Pty Ltd (http://www.healthintersections.com.au) 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 m...
unit kode_filters; interface implementation end. //---------------------------------------------------------------------- // 4 pole lowpass // http://www.musicdsp.org/showArchiveComment.php?ArchiveID=181 //---------------------------------------------------------------------- { unit T4PoleUnit; interface type TF...
unit AsyncHttpServer.Request; interface uses AsyncHttpServer.Headers; type HttpRequest = record Method: string; URI: string; HttpVersionMajor: integer; HttpVersionMinor: integer; Headers: HttpHeaders; end; function NewHttpRequest: HttpRequest; implementation function NewHttpRequest: Http...
(*******************************************************) (* *) (* Engine Paulovich DirectX *) (* Win32-DirectX API Unit *) (* *) (* Copyright (c) 20...
namespace Sugar.Test; interface uses Sugar, Sugar.Collections, Sugar.TestFramework; type ListTest = public class (Testcase) private Data: Sugar.Collections.List<String>; public method Setup; override; method Constructors; method &Add; method AddRange; method C...
unit MongoPool; { Copyright 2012 Convey Compliance Systems, Inc. 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...
unit UCadCaixa; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.Bind.EngExt, Vcl.Bind.DBEngExt, System.Rtti, System.Bindings.Outputs, Vcl.Bind.Editors, Data.Bind.Components, Data.Bind.DBScope, Data.DB, V...
unit sAlphaGraph; {$I sDefs.inc} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, sConst, ExtCtrls, Jpeg, math{$IFNDEF ACHINTS}, sMaskData, sCommonData{$ENDIF}; {$IFNDEF NOTFORHELP} type TsCorner = (scLeftTop, scLeftBottom, scRightTop, scRightBottom); TsCor...
{$include kode.inc} unit syn_perc_filter; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- const flt_type_none = 0; flt_type_lp = 1; flt_type_hp = 2; flt_type_count = 3; txt_flt : array[0....
{***************************************************************************} { } { DelphiWebDriver } { } { ...
unit UValidador; interface uses RTTI, Variants, StrUtils, SysUtils; type TValidador = class(TCustomAttribute) private FDescricao: string; public constructor Create(const Descricao: string); function ValidarValor(Propriedade: TRttiProperty; Objeto: TObject): boolean; property Descricao: string...
{ TransDisplay version 2.0.1 - TransSkel plug-in module supporting} { an arbitrary number of generic display windows with memory.} { TransSkel and TransDisplay are public domain, and are written by:} { Paul DuBois} { Wisconsin Regional Primate Research Center} { 1220 Capital Court} { Madison WI 53706 USA} ...
unit ExampleWorker; interface type TExampleWorker = class public class procedure SimulateWork(const pBusyMS:Integer=1000); end; implementation uses System.Diagnostics; class procedure TExampleWorker.SimulateWork(const pBusyMS:Integer=1000); var vStopWatch:TStopwatch; x:Extend...
unit View.ListaProdutosVA; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinBlueprint, dxSkinCaramel, dx...
{ Arquivo criado automaticamente Gerador Multicamadas (Multitiers Generator VERSÃO 0.01) Data e Hora: 11/10/2016 - 23:02:06 } unit Marvin.AulaMulticamada.Cadastro.TipoCliente; interface uses Classes, { marvin } uMRVClasses, uMRVCadastroBase, uMRVClassesServidor, Marvin.AulaMulticamada.Classes.Tipo...
unit UVersionManager; interface function CheckVersion (): boolean; // 未来多数据库版本则应为:(const s_idxfile, s_datafile: widestring); procedure BackupAndDeleteFile (s_file: widestring); implementation uses SysUtils, UxlIniFile, UxlFunctions, UxlStrUtils, UxlList, UxlCommDlgs, UxlFile, UGlobalObj, U30to31, U31to32;...
unit classe.RemoverPastas; interface type TRemoverPastas = class public procedure removerRenomearPastas; end; implementation uses classe.Pastas, Winapi.ShellAPI, Winapi.Windows; { TRemoverPastas } procedure TRemoverPastas.removerRenomearPastas; var I : Integer; SH : SHFILEOPSTRUCT; pastaOrigem, ...
program AlgLista5Ex3; //Exercicio 3 da Lista 5 de algoritmos. Autor: Henrique Colodetti Escanferla. const n=120; m=240; max=29399; // Constantes globáis definidas de acordo com o enunciado. type vetor=array[1..n,1..m]of integer; // Criação do tipo de variavel vetor bidimensional n por m. var v:vetor; // Variaveis gl...
// GLCadencer {: Egg<p> Candencing composant for GLScene (ease Progress processing)<p> <b>Historique : </b><font size=-1><ul> <li>01/02/01 - Egg - Fixed "Freezing" when Enabled set to False <li>08/10/00 - Egg - Added TASAPHandler to support multiple ASAP cadencers <li>19/06/00 - Egg - Fixe...
unit Logger.Debug; interface uses Casbin.Core.Logger.Base, LogWindow; type TLogDebug = class (TBaseLogger) private fForm: TFormLog; public constructor Create(const aForm: TFormLog); procedure log(const aMessage: string); override; end; implementation uses System.classes, System.SysUtils; ...
{ ID: ndchiph1 PROG: runround LANG: PASCAL } uses math; //const type mang = array[0..10] of longint; var fi,fo: text; a,b,d: mang; ndigit,cnt: longint; free,frnum: array[0..10] of boolean; exist: boolean; procedure input; var i: longint; s: string; begin readln(fi,s); for ndigit:= 1 to lengt...
unit classes.HttpConnect; interface uses REST.Client, REST.Types, Web.HTTPApp, System.JSON, classes.Constantes, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants; type THttpConnectJSON = class(TObject) strict private aRESTClient : TRESTClient; ...
{ ******************************************************************************* Title: T2Ti ERP Description: Tela que aparece apůs efetuarem todos os pagamentos. The MIT License Copyright: Copyright (C) 2015 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this s...
unit TelaConfiguracaoTecnica_p; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, FMTBcd, DB, DBClient, Provider, SqlExpr, ExtCtrls, StdCtrls, Mask, DBCtrls, JvExButtons, JvBitBtn, Buttons; type TTelaConfiguracaoTecnica = class(TForm) qTecnica: TSQLQuery; ...
unit BHatch; ///////////////////////////////////////////////////////////////////// // // Hi-Files Version 2 // Copyright (c) 1997-2004 Dmitry Liman [2:461/79] // // http://hi-files.narod.ru // ///////////////////////////////////////////////////////////////////// interface procedure BatchHatcher; { ==...
unit GenericFactory; interface uses RTTI, SysUtils; type TGenericFactory = class class function CreateInstance<T>: T; end; implementation uses System.TypInfo; class function TGenericFactory.CreateInstance<T>: T; var AValue: TValue; ctx: TRttiContext; rType: TRttiType; AMethCreate: TRttiMethod; ...
{**************************************************** // Description : 把一个表或Query或StringGrid中的数据保存到一个Execl文件中 Function List : 创建接口 procedure CreateExcelInstance; 把表内容放到Excel文件中 procedure TableToExcel( const Table: TTable ); 把Query内容放到Excel文件中 procedure QueryToExcel( const Query: TQuery ); 把StringGrid内容放...
unit Mainm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, uniGUITypes, uniGUIAbstractClasses, uniGUIClasses, uniGUImClasses, uniGUIRegClasses, uniGUIForm, uniGUImForm, uniGUImJSForm, uniGUIBaseClasses, uniMemo, unimMemo, unimScrollBox, uniButton, unimButton, uniP...
object FSOBRE_: TFSOBRE_ Left = 229 Top = 157 BorderStyle = bsDialog Caption = 'Sobre o Sistema' ClientHeight = 210 ClientWidth = 359 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] OldCreateO...
unit TBGFirebaseConnection.Model.Patch; interface uses TBGFirebaseConnection.Interfaces, System.JSON, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, System.Net.HttpClient; Type TFirebaseConnectionModelPatch = class(TInterfacedObject, iFirebasePatch) private FParent : iFir...
program CountSpacesInString; var str: string; function CountSpaces (s: string): integer; var i, count: integer; begin count := 0; for i:=1 to length(s) do if s[i]=' ' then count := count+1; CountSpaces := count; end; {основная программа} begin writeln('Программа подсчитывает количество пробел...
unit SqlMonitor; interface uses Generics.Collections, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Aurelius.Drivers.Interfaces, Aurelius.Commands.Listeners; type TFrmSqlMonitor = class(TForm, ICommandExecutionListener) Memo: TMemo...
unit KObjects; interface uses Well, CoreDescription, Slotting, SysUtils; type TDescriptedWell = class(TWell) protected function GetSlottings: TSlottings; override; end; TDescriptedWells = class(TWells) private function GetItems(Index: integer): TDescriptedWell; public property Items[Ind...
unit untPlaySound; {$mode objfpc}{$H+} interface uses Classes, SysUtils, mmsystem, untProgram; type MessageIds=(miBirthDay, miCaptured, miFailed, miComeHere, miCustom, miRepeated, miThanks, miCardRead); function PSound(FileName:WideString):Boolean; function SSound:Boolean; function PlayFixedSound...
(** * $Id: dco.transport.Pdu.pas 840 2014-05-24 06:04:58Z QXu $ * * Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either * express or implied. See the License for the specific language governing rights and limitations under the License. *) unit dco.transp...
unit Unit7; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm7 = class(TForm) Button1: TButton; Edit1: TEdit; procedure Button1Click(Sender: TObject); private { Private...
{@unit RLBarcode - Implementação dos componentes para código de barras. } unit RLBarcode; interface uses Windows, Graphics, Dialogs, Types, Classes, SysUtils, DB, RLReport, RLConsts; type {@type TRLBarcodeType - Padrão de codificação para o código de barras. Pode ser um dos seguintes valores: bcCo...
unit MainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Mask, UnitCluster, UnitBox, UnitGraph, Series, TeEngine, TeeProcs, Chart; type TmainForm1 = class(TForm) LblR: TLabel; LblN: TLabel; LblX: TLabel; ...
unit FindDialogFix; {$mode objfpc}{$H+} interface uses Classes, SysUtils, forms, Dialogs; type TFindDialog=class(Dialogs.TFindDialog) private FFormLeft: integer; FFormTop: integer; protected function GetLeftFix: integer; procedure SetLeftFix(l: integer); function GetTo...
Unit GUIView; interface Uses Classes,OperType,GUIField,GUIBlank,SysUtils; Type TGUISearch=class(TGUIObject) public FieldView,FieldSearchView:TName; SearchView:TGUIObject; constructor Create(sv:TGUIObject;dFieldView,dFieldSearchView:string); end; Type TGUIView=class(TGUIObjec...
{******************************************************************************* Title: T2Ti ERP Fenix Description: Model relacionado à tabela [PESSOA_FISICA] The MIT License...
unit Tuple; {$mode objfpc}{$H+} {$ModeSwitch advancedrecords} interface uses Classes, SysUtils; type { TPair } generic TPair<TFirst, TSecond> = record public type TSpecializedPair = specialize TPair<TFirst, TSecond>; public First: TFirst; Second: TSecond; private class operator Initial...
{ ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi Copyright (c) 2016, Isaque Pinheiro All rights reserved. GNU Lesser General Public License Versão 3, 29 de junho de 2007 Copyright (C) 2007 Free S...
unit View.HashAndCrypto; interface uses MVC.ViewBlocks, MVC.FrameBlock, Vcl.Controls; type THashAndCryptoBlock = class(TFrameBlock) procedure CheckIsFrameClosing(Sender: TObject); public procedure BuildAndShow(); reintroduce; end; implementation uses Vcl.ExtCtrls, Frame.HashAndCrypto; procedure THa...
unit ZmqIntf; interface uses SysUtils, Windows, ActiveX; const ZMQEAGAIN = 11; ZMQ_CHAR_SIZE = 2; (* Default for new contexts *) ZMQ_IO_THREADS_DFLT = 1; ZMQ_MAX_SOCKETS_DFLT = 1024; const DLL_Zmq4D = 'Zmq4D.dll'; CLASSNAM...
{$INCLUDE dcDataTypes.inc} unit uDataTypes; interface type // тип данных, в котором храним показания датчиков {$IFDEF VALUE_IS_DOUBLE} TSensorValue = Double; {$ELSE} TSensorValue = Extended; {$ENDIF} PSensorValue = ^TSensorValue; // запись, в которой храним показания в файле данных TSensorDataR...
unit LuaControl; {$mode delphi} interface uses Classes, SysUtils, lua, lualib, lauxlib, Controls, Menus, Graphics; procedure initializeLuaControl; procedure control_addMetaData(L: PLua_state; metatable: integer; userdata: integer ); implementation uses luahandler, pluginexports, LuaCaller, LuaComp...