text
stringlengths
14
6.51M
unit GridConverter; interface uses SrcConverter; type TGridConverter = class(TConverter) private function RealGridOptionToStr(ACompName, ASrc: string): string; protected function GetCvtCompClassName: string; override; function GetDescription: string; override; function GetCvtBaseClassName: st...
unit Theos.Api.Pessoa; interface uses System.SysUtils, System.Math, Theos.Api.Calculadora; type TPessoa = class abstract strict private type TImposto = record public function CalcularINSS(const Salario: Double; const PossuiDependente: Boolean): Double; function CalcularBaseIR...
unit DataItem; interface uses Classes, Generics.Collections, SysUtils; {$HINTS OFF} type {$region 'TDataItem declaration'} TDataItem = class private constructor Create; public Id: Integer; Mandatory: boolean; ReadOnly: boolean; _Label: string; Description: TCDataValue; Color: strin...
unit PanamahSDK.Types; interface uses Classes, SysUtils, StrUtils, uLkJSON, Windows, PanamahSDK.Consts, IdCoderMIME; type IPanamahValidationResult = interface ['{2443A865-EFEE-4B6E-9FB8-69B6191C8D8F}'] function GetValid: Boolean; function GetReasons: TStrings; procedure Concat(AResult: IPanamahV...
unit ZMCore; (* ZMCore.pas - event triggering TZipMaster VCL by Chris Vleghert and Eric W. Engler v1.79 Copyright (C) 2005 Russell Peters This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software F...
unit DataUsers; // TUsersTableData - trida starajici se o vyplneni tabulky uzivatelu interface uses ComCtrls, SysUtils, Classes; type TUsersTableData = class private LV: TListView; public procedure LoadToTable(); procedure UpdateTable(); procedure UpdateLine(linei: Integer); procedure ...
unit MainView; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Mask, Vcl.Buttons; type Tmain_view = class(TForm) pnlFundo: TPanel; lblTitulo: TLabel; mskCPF: TMask...
{ Copyright (c) 1998-2008 by Florian Klaempfl This unit contains information about the target systems supported (these are not processor specific) This program is free software; you can redistribute it and/or modify iu under the terms of the GNU General Public License as published by the Free ...
{******************************************************************************* * Genesis Device Engine * * Copyright © 2007-2015 Luuk van Venrooij * * http://www.luukvanvenrooij.nl ...
unit rsBook; interface resourcestring rsSelectChannel = 'Необходимо выбрать минимум два канала!'; rsSelectOneChannel = 'Необходимо выбрать хотя бы один канал!'; rsSelectDate = 'Необходимо указать конечную дату!'; rsNeedAdmin = 'Необходимы права Администратора.'; rsSelectChannels = 'Выбрать каналы...'; rs...
{$i ../common/language.inc} {$IFDEF PORTUGUES} {: @abstract(Classes para organização de blocos de memória de um CLP.) @author(Fabio Luis Girardi fabio@pascalscada.com) } {$ELSE} {: @abstract(Set of class to handle blocks of memory of an PLC.) @author(Fabio Luis Girardi fabio@pascalscada.com) } {$ENDI...
unit m_hoofdmenu; {$mode objfpc}{$H+} interface uses gtk, gdk, glib, SysUtils; implementation { ----------------------------print_hello--------------------------- } PROCEDURE print_hello( Data : gpointer ; Action : guint ; Widget : pGtkWidget ); cdecl; { Obligatory basic callback. } BEGIN writel...
unit uMainClasses; interface uses System.SysUtils, System.IOUtils, System.JSON, System.Classes, System.Generics.Collections; type TAuto = class(TObject) private FBrand: string; FColor: string; FID: Integer; FModel: string; FNumber: string; public property Brand: string read FB...
unit HLVM.Runtime.Hashes; interface uses System.Hash; const Hash_Float_Initial = $57FBA6A; Hash_Integer_Initial = $30D021D; Hash_String_Initial = $4C3F644; Hash_Boolean_Initial = $1A2D973; const PositiveMask = not Integer($80000000); type THasher = record public class function HashInteger(co...
unit SettingRekening; {Unit yang mengelola pembuatan, perubahan data, dan penutupan rekening} { NOTE: kurang penutupan rekening } interface uses DataTypes, dateandtime; procedure login(username, password : string; var indexNasabah : integer; var nomorNasabah : string; var isLogin : boolean; userTerda...
unit AsciiChart.Chart; interface uses SysUtils, Types; type /// <summary> /// ScaleMode /// <ul> /// <li>Screen: maximize the size of the chart based on the form size</li> /// <li>Data : scale the chart based on the number of data items and its ranges</li> /// <li>Custom: let the user set the...
unit TestAhoCorasick; { 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, System.Classes, AhoCorasic...
unit StackTraceU; interface uses Winapi.Windows, System.Classes; type TStackTrace = class strict private FStakTrace: TStrings; public constructor Create(aRaw: Boolean; aThreadID: DWORD); reintroduce; destructor Destroy; override; property StakTrace: TStrings read FStakTrace; ...
unit WindowsXPStyleDemo; // Virtual Treeview sample form demonstrating following features: // - Windows XP style treeview. // Written by Mike Lischke. interface {$warn UNSAFE_TYPE off} {$warn UNSAFE_CAST off} {$warn UNSAFE_CODE off} uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs...
unit GlobusTextReceipt; interface uses // VCL Windows, Classes, SysUtils, // This CustomReceipt, PrinterTypes, ByteUtils, OposFptr, OposException, Opos, PayType, ReceiptPrinter, FiscalPrinterState, FiscalPrinterTypes, PrinterParameters, PrinterParametersX, DirectIOAPI, TextItem, MathUtils, StringUtils, ...
PROGRAM XPrint(INPUT, OUTPUT); USES Functions; VAR FMask: FileOfMask; FPat: TEXT; Letter: CHAR; LetterCounter: INTEGER; State: BOOLEAN; BEGIN { XPrint } ASSIGN(FPat, 'MASK'); ASSIGN(FMask, 'LETTER.MASK'); LetterCounter := 0; State := FALSE; CreateMaskFile(FPat, FMask); WRITE('Please enter word:...
unit Auto; // Модуль с некоторыми функциями автоматического режима, не вошедшими ни в один класс interface uses SysUtils, Forms, StrUtils, IniFiles, Classes, ContrAuto, ContrMan, FormMan, ClassZadanie, OPCClient; // Передать задание в компоненты ручного режима - готовность к командам Установить/Опустить ...
unit Client1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ScktComp, StdCtrls; type TForm1 = class(TForm) mmBox: TMemo; txtInput: TEdit; btnSend: TButton; csSocket: TClientSocket; lblHost: TLabel; eHost: TEdit; lblPort: TLabel; ePort: ...
unit MainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, module_loader, pascal_bindings, pascal_bindings_impl ; type TMForm = class(TForm) procedure FormCreate(Sender: TObject); private { Private declarations } public { Public ...
unit ErrorCodesU; {$mode objfpc}{$H+} interface uses Classes, SysUtils, customDatatypesU; Type PErrorSourceHeaders = ^TErrorSourceHeaders; TErrorSourceHeaders = packed record _SHC : Word; // Source Header Code; _SN : ShortString; // pcszSymbolicName end; PFacilityList = ^TFacility...
unit fhir4_ips; {$i fhir.inc} interface uses Classes, SysUtils, fsl_base, fsl_json, fsl_stream, fsl_http, fsl_utilities, fhir4_resources, fhir4_resources_clinical, fhir4_types, fhir4_utilities; const ROOT = 'http://healthintersections.com.au/IPS/'; type { TIPSGenerator } TIPSGenerator = class (TFslObj...
unit BinStream; interface uses // VCL Windows, Classes, // This PrinterTypes; type { TBinStream } TBinStream = class(TMemoryStream) private function GetData: AnsiString; procedure SetData(const Value: AnsiString); public function ReadByte: Byte; function ReadWord: Word; function ...
Program Shopper(input, output); {Provides a guide for shopping in today's increasingly complex world.} Var Age : integer; Begin write('How old are you? '); readln(Age); If (Age < 18) Or (Age > 34) Then Begin writeln('Uh oh ...you''re not in prime consumption years.'); writeln('Better stay ho...
{------------------------------------------------------------------------------- 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...
unit UGeneosFSearch; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, UReportBasis, StdCtrls, Buttons, ExtCtrls,UOSFVisuals; type TfmGenOsfSearch = class(TFormReportOptionsBase) procedure FormCreate(Sender: TObject); procedure FormDestroy(Sender: TObjec...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, dglOpenGL, oglContext, oglShader; //image image.png (* Bis jetzt wurde immer nur ein Vertex-Puffer pro Mesh geladen, hier wird ein zweiter geladen, welcher die Farben der Vektoren enthäl...
unit hxRecordViewerFrame; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Grids, ActnList, ComCtrls, StdCtrls, ExtCtrls, Contnrs, MPHexEditor, hxGlobal, hxViewerItems, hxViewerGrids, hxGridViewerFrame; type { TRecordViewerGrid } TRecordViewerGrid = class(TView...
{** @abstract(Clases y subrutinas sobre parametros de modelos.) @author(Agustin Barto <abarto@gmail.com>) @created(January 1, 2003) @lastmod(March 22, 2005) Este modulo contiene la definicion del tipo basico de parametros de modelos y clases de almacenamiento y manipulacion de informacion sobre los mismos. } un...
unit GotLineUnit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, SynEdit, LCLType, Spin, Math; type { TGoToLineWin } TGoToLineWin = class(TForm) OkButton: TButton; Label1: TLabel; AimLine: TSpinEdit; procedure AimLineChange(Sen...
unit ORM.Connection; interface uses Uni, SysUtils; type TpDataBaseType = (dbNaoDefinido, dbPostgres, dbMySQL, dbSQLServer, dbODBC); TConexao = class private FHost : String; FPort : Integer; FUser : String; FPassword : String; FDataBaseName: String; ...
unit cCellularAutomata; interface uses System.SysUtils; type TCellularAutomata = class private Grid : array of array of Integer; OldGrid : array of array of Integer; Rules : array[0..7] of Integer; FWidth : Integer; FIterations : Integer; procedure PrepareOldGrid; ...
// // Dragon // A game for Windows based on a modified and improved version of the // DelphiDoom engine // // Copyright (C) 1993-1996 by id Software, Inc. // Copyright (C) 2004-2022 by Jim Valavanis // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Genera...
{ Copyright (C) <2010> <Andrew Haines> itloitlsreader.pas 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 of the License, or (at your option) any later version. Th...
unit WareInOutQPS; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, QBasePS, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinsDefaultPainters, dxSkinscxPCPainter, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEd...
Program Gauss(output); {Adds the sequence of numbers 1 through 100.} Var Sum : integer; Procedure Add (Var Sum : integer; Limit : integer); {Adds the sequence 1 through Limit to Sum.} Var Count : integer; {The counter variable must be local.} Begin For Count := 1 To Limit Do Begin Sum := Sum + Co...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela para atualização dos executáveis The MIT License Copyright: Copyright (C) 2010 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and a...
{*********************************************************** R&A Library RAI2 Copyright (C) 1998-2000 R&A description : Parser for R&A Interpreter version 2 programmer : Andrey Prigunkov e-mail : a.prygounkov@gmx.de ncuxxu@pisem...
unit ChessPrg; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ChessBrd, Spin; type TForm1 = class(TForm) ButtonBack: TButton; ButtonForward: TButton; Buttonnew: TButton; ListBox1: TListBox; Label1: TLabel; Rad...
unit main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, CcReplicator, CcConf, CcProviders, DB, dconfig, Vcl.SvcMgr, dLiveMirrorNode, EExceptionManager, CcDB, SyncObjs, System.Generics.Collections; type TLiveMirror = class(TService) procedure ServiceCreate(Se...
unit frm_HistProfissional; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids, DBGrids, Buttons, ExtCtrls, Mask; type Tt_HistProf = class(TForm) Label1: TLabel; Label4: TLabel; Label5: TLabel; Label6: TLabel; Pane...
unit cLevel; interface uses contnrs, cPatternTableSettings; type TLevel = class private procedure SetNumberOfPaletteCycles(pNumber : Byte); procedure SetPaletteCycleSpeed(pCycleSpeed : Byte); function GetPaletteCycleSpeed() : Byte; function GetNumberOfPaletteCycles() : Byte; public Name : ...
unit TestPublic; interface uses Classes, Windows, SysUtils; procedure StrSaveToFile(const AStr, AFileName: string); procedure EmptyDirectory(ADir: string; ARecursive: Boolean = True); procedure CopyDirectory(ASourceDir, ATargetDir: string); procedure DirFileToList(ADir: string; const AList: TStrings; AMask: string...
(****************************************************************************** * * * File: lualib.pas * * Authors: TeCGraf (C headers + actual Lua libraries) * ...
unit Configuration; interface uses SysUtils, Classes, Contnrs, IniFiles, Registry, Dialogs, DelphiData; type TVersion = (d0, d5, d6, d7, d9, d9net); const VersionNames: array[TVersion] of string = ( '', 'Delphi 5.0', 'Delphi 6.0', 'Delphi 7.0', 'Delphi 2005', 'Delphi 2005' ); type TConfig = class(TOb...
unit Model.ClientDataSet; interface uses Datasnap.DBClient, System.Generics.Collections, Model.ClientDataSet.Interfaces; type TFieldClientDataSet = class(TInterfacedObject, iClientDataSet) private FClientDataSet : TClientDataSet; public constructor Create( aClientDataSet : TClientDataS...
//////////////////////////////////////////////////////////////////////////////// // // **************************************************************************** // * Project : FWZip // * Unit Name : FWZipConsts // * Purpose : Типы и константы используемые для работы с ZIP архивами // * Author : Але...
{ objcrtl10.pas Copyright (C) 2009 Dmitry Boyarintsev This unit is implementation for dynamic Objective-C Run-time Library based on run-time version 1.0 headers included with XCode 3.1.2 The original copyright note of is kept on each include file } {.$DEFINE DEBUG} unit objcrtl10; {$mode objfpc}{$H+} in...
unit clsMessageStrings; interface const ReturnMessage = '[$%s] %s'; ErrMsg = 'Failed to start server Error Message = %s'; ValidPortMessge = 'Port must be between %s and %s'; InvalidCommandType ='Server only supports GET commands you sent a %s '; WrongParamsCount = 'Sorry you passed in the wrong param c...
program TP3(input,output); uses crt,sysutils; type sin = array[1..6] of string[3]; pr = record cod_prov:char; nom_prov:string[30]; end; si = record cod_sint:string[3]; nom_sint:string[15]; desc_sint:string[30]; end; en = record cod_enf:string[3...
{ Judul } Program IndexStudentPoint; Uses sysutils, crt; {I.S. : User memasukkan data siswa dan nilai tiap pelajaran} {F.S. : Menampilkan data siswa dan keterangan nilai yang perlu diperbaiki atau tidak} { Kamus } Const User = 'Dwi'; Pass = '1234'; Var Nama, Ket, NamaPengguna, KataKunci: string; Var N_MTK,...
unit uload; {Unit yang berisi semua procedure untuk load berbagai tipe data dari file eksternal yang formatnya terdefinisi} interface procedure LoadBahanMentah (x:integer); {Membaca file eksternal yang bernama 'bahanmentah.txt' terus dimasukkin ke tipe bentukan mentah} procedure LoadBahanOlahan (x:integer); {M...
unit variantutils; interface uses Windows, SysUtils, types, variants,varutils,FMTBcd, SQLTimSt; function VariantIsEquel(const v1,v2:Variant):Boolean; function VariantIsEmpty(const AData:variant):Boolean; function VariantToStr(const AData:Variant):String; function IfVarEmpty(const Adata1,Adata2:Variant):Variant; funct...
unit FolhaPagamentoItensDominio; interface uses FolhaPagamentoItensEntidade, ADODB, ComandoSQLDominio; type TFolhaPagamentoItensDominio = class private Conexao: TADOConnection; FEntidade: TFolhaPagamentoItensEntidade; FEntidadeDAO: TExecutaComandosSQLDominio; public function Salvar...
unit Environments; interface type TEnv = class private const INI_FILEPATH = 'env\env.ini'; private class var FInstance: TEnv; function GetRootPath: string; procedure SetRootPath(const Value: string); function GetRecursively: Boolean; procedure SetRecursively(const Value: Boolean); f...
Unit JDataSrc; { This file contains decompression data source routines for the case of reading JPEG data from a file (or any stdio stream). While these routines are sufficient for most applications, some will want to use a different source manager. IMPORTANT: we assume that fread() will correctly transcribe a...
Unit HookProgressForm; Interface Uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls, Generics.Collections, HookObjects; Type THookProgressFrm = Class; THookProgressThread = Cl...
{******************************************************************************} { } { Delphi FB4D Library } { Copyright (c) 2018-2021 Christoph Schneider ...
unit Unit2; interface uses System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.StorageBin, FireDAC.Stan.Async, FireDAC.DApt, FireDAC.UI.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireD...
PROGRAM WorkWithQueryString(INPUT, OUTPUT); USES gpc; FUNCTION GetQueryStringParameter(Key: STRING): STRING; VAR Str: STRING; BEGIN Str := GetEnv('QUERY_STRING'); IF (Pos(Key, Str) <> 0) AND ((Pos(Key, Str) = 1) OR (Str[Pos(Key, Str) - 1] = '&')) AND (Str[Pos(Key, Str) + Length(Key)] = '=') THEN BEGIN ...
UNIT uTextDeco; INTERFACE PROCEDURE WriteTitle (s: string); PROCEDURE WriteSubtitle (s: string); IMPLEMENTATION PROCEDURE WriteTitle (s: string); BEGIN WriteLn('************************'); WriteLn(Upcase(s)); WriteLn('************************'); END; PROCEDURE WriteSubtitle (s: string); BEGIN WriteLn('====');...
{$Mode Delphi} { BASSFLAC 2.4 Delphi unit Copyright (c) 2004-2014 Un4seen Developments Ltd. See the BASSFLAC.CHM file for more detailed documentation } unit BassFLAC; interface {$IFDEF MSWINDOWS} uses BASS, Windows; {$ELSE} uses BASS; {$ENDIF} const // BASS_CHANNELINFO type BASS_CTYPE_STREAM_FLAC ...
unit hxDataViewerFrame; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Grids, MPHexEditor, hxGlobal, hxViewerGrids, hxGridViewerFrame; type { TDataViewerGrid } TDataViewerGrid = class(TViewerGrid) protected procedure DefineColumns; override; ...
unit MVVM.Model; interface uses Generics.Collections; type TObjectEnumerable<TModelObject : class> = class FObjects : TObjectList<TModelObject>; function GetCount: Integer; public constructor Create(OwnsObjects : boolean = False); virtual; destructor Destroy; override; function ...
unit EncapsulatedRecord; interface type IEncapsulatedRecordType = interface end; TRecordEncapsulation<T: record> = class(TInterfacedObject, IEncapsulatedRecordType) private FContents: T; public property Contents: T read FContents write FContents; constructor Create(AContents: T);...
unit DW.DESIGN.MainForm; interface uses Classes, SysUtils, Windows, Vcl.Dialogs, DesignIntf, ToolsAPI, TypInfo; type TDWMainFormModuleCreator = class(TInterfacedObject, IOTACreator, IOTAModuleCreator) private FOwner: IOTAModule; FHaveNames: Boolean; FImplFileName: string; FFormName: string; pu...
unit BaseLogin_Frm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.AppEvnts, Vcl.ExtCtrls, System.Actions, Vcl.ActnList, Vcl.Menus, Vcl.StdCtrls, Vcl.ImgList, Base_Frm, Vcl.Imaging.jpeg, // DevExpress ...
unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, MSXML, StdCtrls, Buttons, RxRichEd; type TMainForm = class(TForm) edSourse: TEdit; lSourse: TLabel; bbStart: TBitBtn; gbMain: TGroupBox; mData: TMemo; procedure edSourseChange(S...
unit bomba.model; interface uses base.model, base.model.intf, orm.atributes; type [TTabela('BOMBA')] TBombaModel = class(TBaseModel, IModel) private FID: Integer; FIdTanque: Integer; FDescricao: string; public procedure ValidarDados; override; [TCampo('id', 'Id da Bomba', True, Fal...
unit neato.XV.GetAnalogSensors; interface uses fmx.dialogs, classes, sysutils, neato.Commands, neato.errors, neato.Helpers; const sDescription = 'Get the A2D ( analog to digital ) readings for the analog sensors'; // labels of text to look / parse for sSensorName = 'SensorName'; sValue = 'Value'; sWall...
unit duICMPClient; interface uses // VCL Windows, SysUtils, Classes, // DUnit TestFramework, // Indy idICMPClient, // This ByteUtils; type { TICMPClientTest } TICMPClientTest = class(TTestCase) published procedure CheckPing; end; implementation { TICMPClientTest } procedure TICMPClien...
//------------------------------------------------------------------------------ // 用电营销管理系统 // 南昌电力科技开发公司 // // 单元名称: wait // 功能: 等待类型窗口的父窗口 // 编写人: 简亮 时间:2002-12-23 //-----------------------------------------------------...
{******************************************************************************} { Projeto: Componentes ACBr } { Biblioteca multiplataforma de componentes Delphi para interação com equipa- } { mentos de Automação Comercial utilizados no Brasil ...
unit UServices.Agendamentos; {Daniel Fernandes: Não instaciar com create() esta classe, utilizar a factory NewInstace por convesão de uso generico executeGetRequest arrayParams nesta classe fica com os valores ? arrayParams[0] = id_agenda arrayParams[1] = id_cliente arrayParams[2] = dataInicio arrayParams[3] =...
{----------------------------------------------------------------------------- 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/MPL-1.1.html...
unit UWP.Panel; interface uses Classes, SysUtils, Controls, ExtCtrls, Windows, Forms, Graphics, UWP.Classes, UWP.ColorManager, UWP.Colors, UWP.Utils; type TUWPPanel = class(TPanel, IUWPControl) private var AccentColor, BackColor, TextColor: TColor; FBarMargin: Integer; FBarPosition: TUWPDirectio...
(* Origian : Turbocash 4.0.1.0 changed for osFinacials fork 2006/06/12 Pieter Valentijn Released under the GNU General Public License *) unit CustomerBySalespersonOptions; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DBCtrls, ExtCtrls, Mask, wwdbdatetim...
unit FuncionarioUn; (* * Criar uma classe Funcionário com as seguintes propriedades * (Nome, CPF, Salário) * Criar uma classe Dependente com as seguintes propriedades * (Nome, IsCalculaIR, IsCalculaINSS) * A classe de Funcionario terá uma lista de dependentes * Cálculo de INSS e IR aplicado ao funcionário usando o ...
unit uDM; interface uses SysUtils, Classes, IniFiles, Forms, IBDatabase, DB, Windows, Messages, IBCustomDataSet, IBQuery; type TDM = class(TDataModule) Database: TIBDatabase; Transacao: TIBTransaction; procedure DataModuleCreate(Sender: TObject); private { Private declarations } public ...
unit URBPrivilege; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, URBMainGrid, Db, IBCustomDataSet, IBQuery, DBCtrls, StdCtrls, Buttons, ExtCtrls, dbgrids, IBDatabase, IB, Menus, IBUpdateSQL; type TfmRBPrivelege = class(TfmRBMainGrid) procedure FormCreate(Sender:...
unit TestTCPConnector.Main; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, FMX.StdCtrls, FMX.Layouts, LA.DC.TCPConnector, FMX.Memo.Types; type TMa...
unit MarkChecker; interface uses // VCL Windows, Classes, SysUtils, Registry, // This EkmClient, LogFile, DriverError, DriverTypes, GS1Barcode; type { TMarkChecker } TMarkChecker = class private FClient: TEkmClient; public EkmServerHost: string; EkmServerPort: Integer; EkmServerTimeo...
unit GOL_plainconsoleview; {$mode objfpc}{$H+} interface uses Classes, SysUtils, crt, Windows, GOL_Interfaces; type { TPlainConsoleView } TPlainConsoleView = class(TInterfacedObject, IGOL_View) private procedure SetConsoleWindowSize(Ax:integer; Ay:integer); public procedure UpdateView( ABoard : ...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela de critérios para compra sugerida The MIT License Copyright: Copyright (C) 2010 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ...
unit fmuFptrMalina; interface uses // VCL StdCtrls, pngimage, Controls, ExtCtrls, Classes, SysUtils, // Tnt TntClasses, TntStdCtrls, TntRegistry, // This FiscalPrinterDevice, MalinaReceipt, FptrTypes, MalinaParams, Spin; type { TfmFptrMalina } TfmFptrMalina = class(TFptrPage) memReceipt: TTntMem...
unit UCidade; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids, DBGrids, RXDBCtrl, Buttons, DBCtrls, Mask, RbDrawCore, RbButton, ExtCtrls, ComCtrls, DB; type TFCidade = class(TForm) PaginaControle: TPageControl; TbCadastro: TTabSheet; ...
unit fhir3_parserbase; { Copyright (c) 2011+, HL7 and 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: * Redistri...
unit CMovementStateFormUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CConfigFormUnit, StdCtrls, Buttons, ExtCtrls, CDatabase, CDataobjects, CComponents; type TMovementStateRecord = class(TObject) private FAccountId: TDataGid; FStated: Boole...
unit Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Buttons, MPlayer{Медиа плеер}, MMSYSTEM{WAVE_MAPPER}, FileCtrl {SelectDirectory}; type TFrmMain = cl...
{ CFNumberFormatter.h Copyright (c) 2003-2013, Apple Inc. All rights reserved. } { Modified for use with Free Pascal Version 308 Please report any bugs to <gpc@microbizz.nl> } {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE} {$mode macpas} {$modeswitch cblocks} {$packenum 1} {$macro on} {$inline ...
unit uIntegral; interface uses Classes, Contnrs; type TUnits = (nA, uA, mA, A, mV, V, mS, S); const // TUnitsString : array[0..Integer(High(TUnits))] of string = ('нА', 'мкА', 'мА', 'А', 'мВ', 'В', 'мс', 'с'); TUnitsString : array[TUnits] of string = ('нА', 'мкА', 'мА', 'А', 'мВ', 'В', 'мс', 'с'); { Параме...
{$O+} Unit FilmStrapTransmission; {-------------------------------------------------------------------------} {- Модуль проектирования передачи плоским пленочным ремнем. -} {-------------------------------------------------------------------------} INTERFACE Uses Objects, Views, Designers; Con...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [PATRIM_BEM] The MIT License ...
Function Newton(Number : real) : real; {Use Newton's method to approximate a square root.} Const EPSILON = 1.0E-09; Var OldGuess, NewGuess : real; Begin NewGuess := 1.0; {Take a lousy first guess.} Repeat OldGuess := NewGuess; NewGuess := ((Number/OldGuess) + OldGuess)/2.0; Until abs(NewGuess - O...
program ExampleThreshold; {$ifdef MSWINDOWS}{$apptype CONSOLE}{$endif} {$ifdef FPC}{$mode OBJFPC}{$H+}{$endif} uses SysUtils, IPConnection, BrickletUVLight; type TExample = class private oIPConnection: TIPConnection; oBricklet: TBrickletUVLight; public procedure UVLightReachedCB(sender: TBricklet...
unit PlayShop; interface uses Windows, SysUtils, ExtCtrls, Classes, EngineInterface, PlugShare; const //商铺相关 CM_OPENSHOP = 9000; CM_BUYSHOPITEM = 9002; SM_BUYSHOPITEM_SUCCESS = 9003; SM_BUYSHOPITEM_FAIL = 9004; SM_SENGSHOPITEMS = 9001; // SERIES 7 每页的数量 wParam 总页数 RM_OPENSHOP = 31001; RM_BUYSHOPI...