text
stringlengths
14
6.51M
unit ucad_padrao; {$mode ObjFPC}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, Buttons, ComCtrls, StdCtrls; type // Estrutura para Clique nos Botões TCliqueBotao = (cbIncluir, cbAlterar, cbNone); { Tfrmcad_padrao } Tfrmcad_padrao = class(TForm) edtPesquisa: TEd...
unit Model.RESTUsuarios; interface uses Web.HTTPApp, System.JSON, REST.Types, System.SysUtils, System.Classes; type TRESTUsuarios = class private FEMail: String; FAtivo: String; FExecutor: String; FCodigo: integer; FDiasExpira: Integer; FDataSenha: TDate; FNivel:...
Program Project(input, output); {Develops an income projection for two alternative salary offers.} Const YEARS = 10; {We'll run this projection for ten years.} Var Year : integer; CurrentA, CurrentB, {The current yearly pay rates.} TotalA, TotalB : real; {The running totals for ...
Unit JdefErr; { This file defines the error and message codes for the cjpeg/djpeg applications. These strings are not needed as part of the JPEG library proper. Edit this file to add new codes, or to translate the message strings to some other language. } { Original cderror.h ; Copyright (C) 1994, Thomas G....
unit OposPtrUtils; interface uses // VCL SysUtils, // Opos OposUtils, OposPtr, OposPtrhi; function GetPtrPropertyName(const ID: Integer): WideString; function GetResultCodeExtendedText(Value: Integer): WideString; implementation function GetPtrPropertyName(const ID: Integer): WideString; begin case ID of...
unit IntList; interface uses SysUtils, Classes, Controls, Generics.Collections; type TCustomIntList = TList<Integer>; TCustumLargeIntList= TList<Int64>; {TCustomIntList = class (TObject) private FList: TList; procedure SetInteger(i,v: integer); function GetInteger(i: integer): integer; function GetCoun...
unit uCidadeModel; interface { CREATE TABLE CIDADE ( ID_CIDADE VARCHAR(36) NOT NULL, CODIGO INTEGER, CIDADE VARCHAR(50), ID_ESTADO VARCHAR(50) ); } uses Windows, Messages, Classes, SysUtils,uEstadoModel; type TCidadeModel = class(TObject) private FFID: string; FFcidade :str...
{ This include file defines the raw keyboard key codes in a Microsoft * Windows system. } type winkey_k_t = ( winkey_lbutton_k = 16#01, {Left mouse button} winkey_rbutton_k = 16#02, {Right mouse button} winkey_cancel_k = 16#03, {Control-break processing} winkey_mbutton_...
{----------------------------------------------------------------------------- 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...
{ ---------------------------------------------------------------------------- FTDI D2XX async thread Copyright (c) Michael "Zipplet" Nixon 2009. Licensed under the MIT license, see license.txt in the project trunk. Unit: FTDIthread.pas Purpose: FTDI async thread ------------------------------------...
unit uRezerwacja; interface uses uPlanowanieTypes; type TRezerwacja = class(TObject) private FNumerKlienta: String; FNumerRejestracji: String; FRodzaj: TTypElementu; FRodzajUslugi: TRodzajUslugi; FRozpoczeciePrac: TDateTime; FStatus: TStatusElementu; FZakonczeniePrac: TDateTime; ...
unit neato.D.Clean; interface uses fmx.dialogs, classes, sysutils, neato.Commands, neato.errors, neato.helpers; const sDescription = 'Starts a cleaning by simulating press of start button'; // Command to send sClean = 'Clean'; sInvalid_Width = 'Invalid Width'; sExplore = 'Explore'; sExploreMSG = 'Equiva...
// ################################################################### // #### This file is part of the mrimageutils project, depends on // #### the mathematics library project and is // #### offered under the licence agreement described on // #### http://www.mrsoft.org/ // #### // #### Copyright:(c) 2012, Micha...
unit OriginOff; //origin function: 0 at 50,50,50...to n, uses euclidean distance equation //fitness at a given position is = sqrt((a-50)2+(b-50)2+(c-50)2+(d-50)2....(n-50)2) interface uses math, Definitions; const ORIOFFMAX = 400; ORIOFFMIN = -400; ORIOFFBEST = 0.1; function OriOffEvaluate(position: TIArray)...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, dglOpenGL, oglContext; type { TForm1 } TForm1 = class(TForm) procedure FormCreate(Sender: TObject); procedure FormDestroy(Sender: TObject); private ogc: TContext; ...
{ Fast Memory Manager: Messages German Translation by Thomas Speck (thomas.speck@tssoft.de). } unit FastMM4Messages; interface {$Include FastMM4Options.inc} const {The name of the debug info support DLL} FullDebugModeLibraryName32Bit = 'FastMM_FullDebugMode.dll'; FullDebugModeLibraryName64Bit = 'FastMM_Ful...
unit UnitSchemaElevator; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, iSevenSegmentDisplay, iSevenSegmentAnalog, iLabel, iComponent, iVCLComponent, iCustomComponent, iPanel, StdCtrls, iPositionComponent, iScaleComponent, iSlider, Spin, iGaugeComponent, iLi...
{*******************************************************} { } { 基于HCView的电子病历程序 作者:荆通 } { } { 此代码仅做学习交流使用,不可用于商业目的,由此引发的 } { 后果请使用者承担,加入QQ群 649023932 来获取更多的技术 } { 交流。 ...
{ This file is part of the Numlib package. Copyright (c) 1986-2000 by Kees van Ginneken, Wil Kortsmit and Loek van Reij of the Computational centre of the Eindhoven University of Technology FPC port Code by Marco van de Voort (marco@freepascal.org) documentation by Michael v...
unit uMainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, Mongo, MongoDB, MongoCollection, BSONTypes, MongoDBCursorIntf; type TFrm_MainForm = class(TForm) ListView1: TListView; Image1: TImage; btnAdd: TButton; ...
unit cu_tz; { Time Zone processing component. Based on FreePascal RTL rtl/unix/timezone.inc Copyright (C) 2007 Patrick Chevalley pch@ap-i.net 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 ...
{*******************************************************} { } { 基于HCView的电子病历程序 作者:荆通 } { } { 此代码仅做学习交流使用,不可用于商业目的,由此引发的 } { 后果请使用者承担,加入QQ群 649023932 来获取更多的技术 } { 交流。 ...
//----------------------------- // GSI Gesellschaft für // Schwerionenforschung mbH, // Darmstadt, Germany // // UnitMil.pas // // Autor : Zweig,Marcus // Version : 1.05 // letzte Änderung : 02.08.03 //------------------------------ unit UnitMil; interface uses Classes, SysUtils; var IFKNr : ...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
program roof1rte; uses typ, spe, roo; const num = 4; var term, i, j, n, p: ArbInt; a, b, ae, re, x: ArbFloat; function f(x: ArbFloat): ArbFloat; begin case i of 1: f := spepow(x - 1, 3); 2: f := cos(x); 3: f := sin(x) - x / 2; 4: f := exp(x) - sqr(sqr(x)) end; end; ...
Unit JdpHuff; { This file contains Huffman entropy decoding routines for progressive JPEG. Much of the complexity here has to do with supporting input suspension. If the data source module demands suspension, we want to be able to back up to the start of the current MCU. To do this, we copy state variables i...
unit Geoshaderkoerper; {$mode objfpc}{$H+} interface uses Classes, SysUtils, dglOpenGL, oglShader, oglVector, oglMatrix, oglVBO, oglTextur, oglVAO; type { TGeoShaderKoerper } TGeoShaderKoerper = class(TBasisTriangleVAO) private Shader: TShader; ShaderID_textur: record WorldMatri...
unit unObjCidade; interface uses unDM; type TObjCidade = class private FnCodigo: Integer; FnFk_Estado: Integer; FsNome: String[50]; FsExibeEstado: String; public procedure setCodigo(pnCodigo: Integer); procedure setFkEstado(pnFkEstado: Integer); ...
Function Generate(Var Seed : integer) : real; {Algorithm 2 from CACM, pg. 1195, col. 31, no. 10, (October, 1988).} Const MODULUS = 2147483647; MULTIPLIER = 16807; QUOTIENT = 127773; {MODULUS div MULTIPLIER} REMAINDER = 2836; {MODULUS mod MULTIPLIER} Var Low, Hi, Test: integer; Begin {First, pe...
{************************************************************************} { } { Skia4Delphi } { } { Copyright (c) 2011...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
{----------------------------------------------------------------------------- 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 C2X; Interface Uses Crt, Keyboard, C2Str, Graph, C2Lib; Type _Game = Object {$I GAMEVARS.PAS} Procedure NewDiscoveries(b : Word; cp : Byte); Procedure BWButton(x, y : Word; S : String; KC : Word); Procedu...
unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.DialogService.Async, FMX.StdCtrls, FMX.Effects, FMX.Controls.Presentation, FMX.Platform; type TForm1 = class(TForm) MaterialOxfordB...
unit ToolManager; interface uses Types, Generics.Collections, RzTabs, Tool; type TToolClass = class of TTool; TToolManager = class protected fPanel : TRzPageControl; fTools : TObjectList<TTool>; function GetCurrentTool:String; public property CurrentTool : String read GetCurrentTool...
{----------------------------------------------------------------------------- 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 main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs, ServiceManager, IniFiles, Vcl.StdCtrls; type TLiveMirror = class(TService) procedure ServiceExecute(Sender: TService); procedure ServiceCreate(Send...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, Menus, dglOpenGL, oglContext, oglShader, oglVector, oglMatrix; type { TForm1 } TForm1 = class(TForm) procedure FormCreate(Sender: TObject); procedure FormDestroy(Sender: TO...
unit UPlasmaEd; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls ,dsgnintf, Buttons,StdCtrls; type TPlasmaRegion = class(TPersistent) private FRegion :Hrgn; FOwner :TImage; ...
// // 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...
object FrameConfigPage: TFrameConfigPage Left = 0 Top = 0 Width = 518 Height = 397 TabOrder = 0 TabStop = True object LblBCBGuide: TLabel Left = 279 Top = 379 Width = 102 Height = 13 Cursor = crHandPoint Hint = 'Open the default web browser to show the C++Builder Installatio...
{================================================================================ Copyright (C) 1997-2001 Mills Enterprise Unit : rmBtnEdit Purpose : An edit control with a combo type button (or two). Also used as a basis for a couple of the "rm" combo boxes. Date : 03-15-1999 Author : Ryan J. M...
{ Fast Memory Manager: Messages French translation by Florent Ouchet. } unit FastMM4Messages; interface {$Include FastMM4Options.inc} const {The name of the debug info support DLL} FullDebugModeLibraryName32Bit = 'FastMM_FullDebugMode.dll'; FullDebugModeLibraryName64Bit = 'FastMM_FullDebugMode64.dll'; {E...
(* Origian : Turbocash 4.0.1.0 changed for osFinacials fork 2006/06/12 Pieter Valentijn Released under the GNU General Public License *) unit CreditorAgeAnalysisReport; interface uses Windows, SysUtils, Messages, Classes, Graphics, Controls, StdCtrls, ExtCtrls, Forms, Quickrpt, QRCtrls; type TqrCreditorAg...
unit cache; interface uses g2048types,syncobjs; type tHashRecord=packed record CompressedData:int64; Estimation:Double; Level:Byte; BestAction:t2048Action; ForMyAction:Boolean; IsFilled:Boolean; end; tGameCache=class private Filled:Integer; HashTable:array ...
unit CustomConverter; interface uses SrcConverter; type TCustomBusConvert = class(TConverter) protected function GetCvtCompClassName: string; override; function GetDescription: string; override; published [Impl] function ConvertTbF_010I(AProc, ASrc: string; var ADest: string): Integer; [Im...
unit MRollUp; interface uses Windows, Buttons, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TRolState = (rsUp, rsDown); TRollsUp = class(TForm) private { Private declarations } CaptionBtn: TRect; CloseBtn: TRect; FState: TRolState; procedure DrawCa...
unit gbCob151; interface uses classes, SysUtils, gbCobranca {$IFDEF VER150} , Variants, MaskUtils, contnrs, DateUtils {$ELSEIF VER140} , Variants, MaskUtils, contnrs, DateUtils {$ELSE} {$IFDEF VER130} , Mask, contnrs {$ELSE} , Mask {$ENDIF} {$IFEND} ; ...
{** @abstract(Configuracion del caso.) @author(Agustin Barto <abarto@gmail.com>) @created(January 1, 2003) @lastmod(September 24, 2004) Este modulo contiene la clase que almacena la configuracion del caso de estudio. } unit UnitConfiguracion; interface uses Classes, SysUtils, UnitParserConfiguracio...
unit fAmbarG; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Data.Win.ADODB, dmMAS, Vcl.ExtCtrls, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxD...
program GenPermIterative; const n = 4; {n порядок перестановок} var p: array [0..n] of 0..n; k: 0..n; j, r: 1..n; procedure Invert(m: integer); {инвертирование p[m]...p[n] } var i, j: 1..n; begin i := m; j := n; while i < j do begin r := p[i]; p[i] := p[j]; p[j] := r; i := i+1; j := j-1; end; e...
{----------------------------------------------------------------------------- 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...
{----------------------------------------------------------------------------- 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...
{----------------------------------------------------------------------------- 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...
{******************************************************************************* * Genesis Device Engine * * Copyright © 2007-2015 Luuk van Venrooij * * http://www.luukvanvenrooij.nl ...
unit uLoginFacebookController; interface uses StdCtrls, REST.Client, REST.Authenticator.OAuth, JSON, Vcl.ExtCtrls, System.Net.HttpClient, Classes, IPPeerClient; type TLoginFacebook = class RESTRequest: TRESTRequest; RESTResponse: TRESTResponse; RESTClient: TRESTClient; OAuth2_Faceb...
unit SDATemplateDataModule; interface uses Forms, SysUtils, SqlGeral, IniFiles,uConexao,Classes; type TSDA_DataSet = class(TSQLDataSet) private public Constructor Create(Owner : TComponent); override; Destructor Destroy; override; end; type TDMGeral = class(TDataModule)...
unit Model.Utils.StringHelper; interface uses System.Classes, System.SysUtils; type TCFSystemStringHelper = record helper for string end; TCFStringHelper = record helper for string public function FormatValues(_Values: array of string): String; end; implementation function TCFStringHelper.Format...
{----------------------------------------------------------------------------- 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 UGeConfiguracaoEmpresa; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, UGrPadraoCadastro, ImgList, IBCustomDataSet, IBUpdateSQL, DB, Mask, DBCtrls, StdCtrls, Buttons, ExtCtrls, Grids, DBGrids, ComCtrls, ToolWin, IBTable, IBQuery, cxGraphics, cxL...
unit neato.XV.GetVersion; interface uses fmx.dialogs, classes, sysutils, neato.Commands, neato.errors, neato.Helpers; const sDescription = 'Get the version information for the system software and hardware'; // labels of text to look / parse for sComponent = 'Component'; sMajor = 'Major'; sMinor = 'Mino...
unit Packer; interface uses Classes, SysUtils, System.Generics.Collections, FMX.Graphics, FMX.Dialogs; Type TRes = class private procedure LoadBitmap(const F:TStream); procedure LoadName(const F:TStream); procedure SaveBitmap(const F:TStream); procedure SaveName(const F:TStream); ...
unit uLeitorHamster; interface uses uLeitorBiometricoInterface,System.SysUtils; Type TLeitorHamster = class(TInterfacedObject, ILEitorBiometrico) private procedure CriarObjetos; procedure DestruirObjetos; function Excecoes(aCodigoErro: Integer): string; public function LerDigital(a...
{ ******************************************************************************* Copyright 2010-2015 Daniele Teti 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...
unit ActEdit; interface uses Windows, Messages, SysUtils, Classes, ActCustomEdit; type TActEdit = class(TActCustomEdit) published { Published declarations } property Anchors; property AutoSelect; property AutoSize; property BevelEdges; property BevelInner; property B...
unit uTdKsInfoBrowse; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, Buttons, ActnList, DB,StrUtils, DBGridEhImpExp, Menus, ImgList, frxClass, frxDBSet, frxDesgn, StdCtrls, Spin, DBCtrls, MyDBNavigator, StatusBarEx, GridsEh, DBGridEh, uStuI...
unit URLE; interface const EOMsg = '|'; // Символ конца строки type TRLEEncodedString = array of byte; // Сжатое сообщение function RLEEncode(InMsg: ShortString): TRLEEncodedString; // Сжатие сообщение с помощью RLE function RLEDecode(InMsg: TRLEEncodedString): ShortString; // Восстановление сжатого с помощью R...
unit BCCommon.Dialog.Options.Search; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BCEditor.Types, BCEditor.Editor, BCCommon.Dialog.Base, BCControl.Panel, BCControl.Button, acSlider, sLabel, Vcl.Std...
unit U_JSON_JS; {** Unit desenvolvida por Jonatan Souza Converter JSON para FireDac e FireDac para JSON, cria um arquivo simples JSON e faz o encode. Você pode alterar o método de criptografia de sua vontade nas funções _Encode64 e _Decode64 *-------------------------------------------------------* | ...
unit uEndereco.DAO; interface uses uInterfacedObject, uFuncoes, DB, SysUtils, Windows, ACBrUtil, Dialogs, FireDAC.Comp.Client, FireDAC.Stan.Param; type IEndereco_Customer_DAO = interface(uInterfacedObject.IInterfacedObject) function obterRegistro(AValor : rEndereco): rEndereco; procedure Incluir(AVal...
program hotreload; uses sysutils,js,web, hotreloadclient; Type { TForm } TForm = Class Button1 : TJSElement; Edit : TJSHTMLInputElement; FLastReq : TJSXMLHttpRequest; function RecompileClick(Event: TJSMouseEvent): boolean; Constructor create; reintroduce; private functio...
unit Model.Logger; interface uses System.Generics.Collections, System.SyncObjs, System.Classes, Model.Logger.Interfaces; type TLogger = class(TInterfacedObject, ILogger) var class var FInstance: ILogger; public class function NewInstance: TObject; override; class function GetInstance: ILogg...
{****************************************************************** JEDI-VCL Demo Copyright (C) 2002 Project JEDI Original author: Contributor(s): You may retrieve the latest version of this file at the JEDI-JVCL home page, located at http://jvcl.sourceforge.net The contents of this f...
unit UServer.CommonFunc; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Generics.Collections, Winapi.Dwmapi, Vcl.ValEdit, System.DateUtils, System.Math, System.Rtti, System.TypInfo, Vcl.ComCtrls, Vcl.Im...
unit frame.DXV.SetFuelGauge; interface uses frame.master, dmCommon, neato.DXV.SetFuelGauge, neato.helpers, FMX.TabControl, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, System.Math.Vectors, FMX.T...
unit EKInformacion; interface uses SysUtils, Classes, ComCtrls; type TEKInformacion = class(TComponent) private { Private declarations } FStatusBar : TStatusBar; FIndiceUsuario : integer; FIndiceTransaccion: integer; FIndiceVersion : integer; protected { Protecte...
program project1; {$mode objfpc}{$H+} uses strutils, {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, CustApp { you can add units after this }; type { TMyApplication } TMyApplication = class(TCustomApplication) protected procedure DoRun; override; public c...
unit dluSqlite3DbHeader; {$IFDEF FPC} //{$mode objfpc}{$H+} {$mode DELPHI} {$modeswitch UNICODESTRINGS+} {$modeswitch ADVANCEDRECORDS+} {$ELSE} {$MESSAGE HINT 'Tested only for LAZARUS!'} {$ENDIF} interface // https://www.sqlite.org/fileformat2.html#database_header type TuSDHF = ( hfMagicStr, hfPa...
unit ScaleDevice; interface uses // Opos OposDevice, // This untPages, fmuPages, ScaleParameters, LogFile; type { TScaleDevice } TScaleDevice = class(TOposDevice) private FLogger: ILogFile; FParameters: TScaleParameters; property Parameters: TScaleParameters read FParameters; public c...
unit numbermaskedit; interface uses SysUtils, Classes, Controls, StdCtrls, Mask, StrUtils, Windows, Messages, variants, math; type TNumberMaskEdit = class(TMaskEdit) private FCurrency: Boolean; FDecimalPlaces: Cardinal; FEditFormat: String; FInternalTextSetting: Boolean; bFocus: Boolean; ...
unit ChangePassword; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, MemDS, DBAccess, Ora, ActnList, Grids, DBGrids, CRGrid, StdCtrls, Buttons, ExtCtrls, Menus, oraerror, Func_Const, udm, TimedMsgBox; type TChangePasswordForm = class(TForm) btConnect...
unit Soccer.VotingWelfare.Actions; interface uses System.SysUtils, System.RegularExpressions, System.Generics.Collections, Soccer.Preferences, Soccer.Exceptions, Soccer.Rule.Abstract, Soccer.Rule.Chooser, Soccer.Domain.Abstract; type TSoccerVotingWelfareImportAction = class(TInterfacedObject, IS...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela Cadastro de OperadoraCartao 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 associ...
{----------------------------------------------------------------------------- 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 FrameGet; interface uses Windows, Messages, SysUtils, Classes, Asif, YMCPlugin; const WMYMCProgressUpdate = WM_USER + 10; type TYMCProgressUpdate = record MessageId: Word; CurrentFrame: Integer; ElapsedTime: Cardinal; RemainingTime: Cardinal; end; TFrameGetThread = ...
unit ActMemo; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ActLanguage; type TActMemo = class(TCustomMemo) private { Private declarations } FMemoLabel: TBoundLabel; FEnter: Boolean; FLabelSpacing: Integer; FLab...
{** DelphiPI (Delphi Package Installer) Author : ibrahim dursun (ibrahimdursun gmail) License : GNU General Public License 2.0 **} unit CompileThread; interface uses ProgressMonitor, PackageInfo, MonitoredPackageCompiler, Classes, JclIDEUtils, CompilationData; type TCompileThread = class(TThread, IProg...
unit resources; {$mode objfpc} interface uses JS, Classes, SysUtils, Types; type TResourceCallback = procedure(const AResource: string; AProgress: double) of object; TDoneCallback = procedure of object; procedure AddResource(const AFilename: string); procedure LoadResources(AEventCallback: TResourceCallbac...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.Buttons, IniFiles, ShlObj, StrUtils; type TForm1 = class(TForm) Label1: TLabel; ListView1: TListView; But...
Program repasoOficinas; const dimF=300; type indice=1..dimF; oficina=record cod_ide:integer; dni:integer; valor:real; end; vector=array[1..dimF] of oficina; Lista=^nodo; nodo=record datos: integer; sig: lista; end; Procedure LeerRegistro(Var R:oficina); begin write('Ingrese codigo...
unit MockSharedPrinter; interface uses // This SharedPrinterInterface, PrinterTypes, FiscalPrinterTypes, PrinterParameters, FixedStrings, NotifyLink, PrinterConnection; type { TMockSharedPrinter } TMockSharedPrinter = class(TInterfacedObject, ISharedPrinter) private FDevice: IFiscalPrinterDevice; ...
{******************************************************************************} { } { Delphi JOSE Library } { Copyright (c) 2015-2021 Paolo Rossi ...
unit UFileHandeler; interface uses sysutils, UEncrypt; function getfilelength(filename: string): integer; function readfile(filename: string): UEncrypt.TArrayOfString; procedure writefile(filename: string; data: string); procedure appendfile(filename: string; data: string); procedure printfile(fi...
unit ScannerKeywordsJumpTable; interface uses SysUtils; procedure IdentifierProc; procedure InitKeywords; inline; implementation uses Scanner, Tokens, Scopes; procedure IdentifierProc; assembler; asm // Hash in al. Input in cl. Input Pointer in edx. Input Start on stack. mov edx, Input // Load in...
{ This file is part of the Free Pascal Class Library SDO Implementation Copyright (c) 2012 by Inoussa OUEDRAOGO Free Pascal development team This unit implements streaming to binary file. See the file COPYING.FPC, included in this distribution, for details about the copyright. This progra...
unit rsMaterials; interface resourcestring rsSuchMaterialsAlreadyExist = 'Такой материал уже существует!'; rsEnterNameMaterials = 'Введите название материала!'; rsDeleteChannel = 'Вы действительно хотите удалить материал?'; rsNoDelete = 'Удаление не возможно, есть записи с даным материалом!'; rsCountRecord...
unit uGameDrive; interface uses uScriptDrive, superobject, uConst, System.SysUtils, Generics.Collections, Classes, Math, StrUtils, ShellAPI, uGameInterface, uLog, uTower, uThink, PhrasesDB, uFloor, uFloorTargetsDB; type TGameDrive = class private GameData: ISuperObject; /// все статичные...
unit UnitData; interface const ConstDataManipulateTop = 570; ConstDataManipulateLeft = 1400; sgCategorySpendPlan: array [1 .. 14] of string = ('Продукты', 'Алкоголь', 'Квартира', 'Мобильная связь, интернет', 'ЖКХ', 'Образование', 'Кредит, долг', 'Одежда', 'Проезд', 'Красота', 'Здоровье', 'Пут...
// File: SSecurityManager.pas // Version: 1.3 // Author: Spider13 unit SSecurityManager; interface uses SysUtils, Classes, SSecurityCommon, SSecurityController, SSecurityErrors; type TLoginEvent = procedure (_Sender: TObject; _UserName: String; _Password: String; _Access: TSSecurityAccess) of object; TLogoutEve...
unit BlockGroupSignal; { GROUP SIGNAL technological block definition. } interface uses IniFiles, Block, AreaDb, BlockSignal, IdContext, Generics.Collections, JsonDataObjects, Area; type TBlkGSSettings = record signalIds: TList<Integer>; end; TBlkGroupSignal = class(TBlkSignal) private m_gs_setti...