text
stringlengths
14
6.51M
unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TThreadFunc = function (hThread: THandle): DWORD; stdcall; TForm3 = class(TForm) ProcessListBox: TListBox; Label1: TLabel; Button1: TButton; OutDir: TEdit; ...
unit MdiChilds.DTXView; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MDIChilds.CustomDialog, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxCustomData, cxStyles, cxTL, cxTLdxBarBuiltInMenu,...
{********************************************************************* * * 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...
// Simple types used in the code formatter // Original Author: Egbert van Nes (http://www.dow.wau.nl/aew/People/Egbert_van_Nes.html) // Contributors: Thomas Mueller (http://www.dummzeuch.de) unit GX_CodeFormatterTypes; {$I GX_CondDefine.inc} interface uses SysUtils, GX_CollectionLikeLists; ...
unit dmdItensCartaCorrecao; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, dmdPadrao, DBTables, DB; type TdmodItensCartaCorrecao = class(TdmodPadrao) qryManutencaoFIL_CARTA: TStringField; qryManutencaoNRO_CARTA: TIntegerField; qryManutencaoCOD_OCO...
unit Variant1D; interface uses Classes; type VariantTernary1D = class(TPersistent) private data: array of Variant; fq,fqmin1: Integer; //число тритов fT,fN: Integer; //полное число элементов (total) и макс/мин значение (-N;N) base: Integer; //смещение нулевого отсчета function...
{ $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 Ragna.Criteria.Impl; {$IF DEFINED(FPC)} {$MODE DELPHI}{$H+} {$ENDIF} interface uses {$IFDEF UNIDAC}Uni{$ELSE}FireDAC.Comp.Client, FireDAC.Stan.Param{$ENDIF}, StrUtils, Data.DB, System.Hash, Ragna.Criteria.Intf, Ragna.Types; type TDefaultCriteria = class(TInterfacedObject, ICriteria) private FQuery:...
unit UBlockChain; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} { Copyright (c) 2016 by Albert Molina Distributed under the MIT software license, see the accompanying file LICENSE or visit http://www.opensource.org/licenses/mit-license.php. This unit is a part of Pascal Coin, a P2P crypto currency without need of ...
{ Subroutine SST_W_C_SMENT_START * * Set up for writing the start of a new statement. The write pointer will be * tabbed to the current indentation level, and the level will be incremented * by one. This way any continuation lines for this statement will automatically * be indented one level more than the f...
unit WorkforceSheet; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit, GradientBox, FramedButton, SheetHandlers, ExtCtrls, InternationalizerComponent; const tidCurrBlock = 'CurrBlock'; tidSecuri...
unit Pinger; interface uses SysUtils,WinSock,Windows; type ip_option_information = record // Информация заголовка IP (Наполнение // этой структуры и формат полей описан в RFC791. Ttl : u_char; // Время жизни (используется traceroute-ом) Tos : u_char; // Тип обслуживания, обычно ...
unit DAO.FaixaPeso; interface uses DAO.Base, Model.FaixaPeso, Generics.Collections, System.Classes; type TFaixaPesoDAO = class(TDAO) public function Insert(aFaixas: Model.FaixaPeso.TFaixaPeso): Boolean; function Update(aFaixas: Model.FaixaPeso.TFaixaPeso): Boolean; function Delete(sFiltro:...
unit DAO.Acessos; interface uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Control.Sistema, Model.Acessos, Vcl.ActnList; type TAcessosDAO = class private FConexao: TConexao; public constructor Create; destructor Destroy; function Inserir(AAcessos: TAcessos): Boolean; function Exclu...
(* * 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 distributed under the License is distributed on an "AS...
unit ApplicationUnit; {$WARN SYMBOL_PLATFORM OFF} interface uses Windows, SysUtils, ComObj, ActiveX, AxCtrls, Classes, OpcBridgeServer_TLB, StdVcl, StrUtils; type TApplication = class(TAutoObject, IConnectionPointContainer, IApplication) private { Private declarations } FConnectionPoints: TConnectio...
{ Copyright (c) 2016, Vencejo Software Distributed under the terms of the Modified BSD License The full license is distributed with this software } unit ooFactory.List; interface uses SysUtils, Generics.Collections, ooFactory.Item.Intf; type EFactoryList = class(Exception) end; TFactoryList<T> = c...
{******************************************************************************* 作者: dmzn@163.com 2009-6-27 描述: 带背景窗体 *******************************************************************************} unit UBgFormBase; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, For...
unit TTSTRAKTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSTRAKRecord = record PLenderNum: String[4]; PTrackCode: String[8]; PModCount: Integer; PDescription: String[30]; PPrintNotify: Boolean; PNotifyLead: Integer; PPrintOffic...
unit ZMReader; // ZMReader.pas - Loads a Zip file (* *************************************************************************** TZipMaster VCL originally by Chris Vleghert, Eric W. Engler. Present Maintainers and Authors Roger Aelbrecht and Russell Peters. Copyright (C) 1997-2002 Chris Vleghert and Eric W. Engle...
unit PrimDocNumberQuery_Form; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "View" // Автор: Люлин А.В. // Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/PrimDocNumberQuery_Form.pas" // Начат: 02.10.2009 21:19 // Ро...
unit BackUpMgr_TLB; { This file contains pascal declarations imported from a type library. This file will be written during each import or refresh of the type library editor. Changes to this file will be discarded during the refresh process. } { BackUpMgr Library } { Version 1.0 } interface uses Windows, Act...
{ This file is part of the Free Component Library (FCL) Copyright (c) 2018 by Michael Van Canneyt Unit tests for Pascal-to-Javascript precompile class. See the file COPYING.FPC, included in this distribution, for details about the copyright. This program is distributed in the hope that it wil...
unit GX_Zipper; interface {$I GX_CondDefine.inc} {$WARN SYMBOL_PLATFORM OFF} uses Classes, // The Abbrevia units below are in the Comps\Abbrevia directory in the GExperts // source code. See http://sourceforge.net/projects/tpabbrevia/ for more info. AbArcTyp, AbZipTyp; type TGXZipItem = T...
{*******************************************************************} { CRC32 calculation of file } { for Delphi 3.0,4.0,5.0,6.0 - C++Builder 3,4,5 } { version 1.3 - August 2001 } { ...
unit PercentEdit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, stdctrls; type TPercentEdit = class(TGraphicControl) public constructor Create(AOwner : TComponent); override; destructor Destroy; override; private ...
unit l3Diff; // Модуль: "w:\common\components\rtl\Garant\L3\l3Diff.pas" // Стереотип: "UtilityPack" // Элемент модели: "l3Diff" MUID: (5644774902C8) {$Include w:\common\components\rtl\Garant\L3\l3Define.inc} interface uses l3IntfUses ; type Tl3DiffCompareFunc = function(I: Integer; J: Integer): Boolean; Tl3D...
unit f2ScnSaveLoad; interface uses d2dTypes, d2dInterfaces, d2dApplication, d2dGUI, d2dUtils, d2dFont, f2Application, f2Scene, f2SaveLoadManager, f2Context; type Tf2SaveLoadMode = (slmSave, slmLoad); Tf2SaveLoadScene = class(Tf2Scene) private f_BGColor: Td2dColor; f_CaptionColor: Td2dColor; f_C...
unit JSONDictionaryIntermediateObjectUnit; interface uses Classes, SysUtils, System.Generics.Collections, System.Rtti, REST.JsonReflect, CommonTypesUnit; type TStringPair = TPair<String,String>; TDictionaryStringIntermediateObject = class private // This field can not be renamed FDictionaryIntermed...
unit TTSGUARTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSGUARRecord = record PLenderNum: String[4]; PLoanNum: String[20]; PCifNum: String[20]; PModCount: Integer; PCifY: String[1]; PCifN: String[1]; End; TTTSGUARBuffer = c...
{ rzfswizard x1nixmzeng (July 2012) July 21st Added data checksum (although unchecked in client) July 15th Added some structure comments and function descriptions } unit rzFileSys; interface // Optional debugging features // { $DEFINE EXPORT_MSFDEC} // Dump the decompressed MSF data { $DEFINE EXPORT...
unit seta_sprites; interface uses {$IFDEF WINDOWS}windows,{$ELSE IF}main_engine,{$ENDIF} gfx_engine; type tfunction=function(code:word;color:word):word; tseta_sprites=class constructor create(sprite_gfx,screen_gfx,bank_size:byte;sprite_mask:word;code_cb:tfunction=nil); destructor free; ...
unit UnitGUI; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, ADODB , ICDsearcher , ICDtranslator, Grids ; type TApplicationGUIForm = class(TForm) lbCriteria: TLabel; edCriteria: TEdit; btSearch: TButton; cbLng: TComboBox; ...
program ch8(data7, out7); { Chapter 8 Assignment Alberto Villalobos April 2, 2014 Description: This programs simulates a refinery's pressure monitoring system. Input: A file that contains intervals to check and line separated value groups. Output: A file that contains the output of pressures, warnings and ...
unit AddCircleTerritoryUnit; interface uses SysUtils, BaseExampleUnit, NullableBasicTypesUnit; type TAddCircleTerritory = class(TBaseExample) public function Execute: NullableString; end; implementation uses TerritoryContourUnit; function TAddCircleTerritory.Execute: NullableString; var ErrorStr...
unit IndyClientUnit; {$I IdCompilerDefines.inc} interface procedure RunTest(URL: string); implementation // see // https://www.indyproject.org/2016/01/10/new-tidhttp-flags-and-onchunkreceived-event/ // https://www.html5rocks.com/en/tutorials/eventsource/basics/ uses IdHTTP, IdGlobal, SysUtils; type { TIndyS...
unit u812Firmware; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Gauges, StdCtrls, Buttons, RzButton, RzCmboBx, RzLabel, ExtCtrls, RzPanel, RzRadGrp,iniFiles, Menus; type Tfm812Firmware = class(TForm) GroupBox1: TGroupBox; RzLabel41: TRzLabel; ...
unit Model.PlanilhaBaixasTFO; interface uses Generics.Collections, System.Classes, System.SysUtils, System.StrUtils; type TPlanilhaBaixasTFO = class private FCodigoClienteTFO: integer; FDataEntrega: TDate; FPesoCobrado: double; FDataPrevisaoEntrega: TDate; FDescricaoTipoPeso: string; FCod...
program oddEven1(input, output); var k : integer; procedure announceOddEven(i: integer); var isEven : boolean; procedure odd(n: integer; var b : boolean); forward; procedure even(n : integer; var b : boolean); begin if n = 0 then b := true else odd(n - 1, b) end; { even } ...
// **************************************************************************** // * An Outlook style sidebar component for Delphi. // **************************************************************************** // * Copyright 2001-2005, Bitvadász Kft. All Rights Reserved. // ***************************************...
unit l3FormattedLines; {* Список отформатированных строк. } { Библиотека "Эверест" } { Автор: Люлин А.В. © } { Модуль: l3FormattedLines - } { Начат: 18.07.2002 16:59 } { $Id: l3FormattedLines.pas,v 1.27 2014/02/18 13:34:30 lulin Exp $ } // $Log: l3FormattedLines.pas,v $ // Revision 1.27 2014/02/18 13:34:30 l...
unit View.CadastroGeral; 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, dxSkinsDefaultPainters, cxClasses, dxLayoutContainer, dxLayou...
unit FileUtilsObj; interface uses ComObj, NewsFileUtils_TLB, SysUtils; type TFolderIterator = class(TAutoObject, IFolderIterator) public destructor Destroy; override; protected function FindFirst(const aPath: WideString): WideString; safecall; function FindNext: WideString; safecall; procedur...
namespace Sugar.RegularExpressions; interface type &Group = public class protected fLength: Integer; fStart: Integer; fText: String; public constructor(aStart: Integer; aLength: Integer; aText: String); property &End: Integer read fStart + fLength - 1; property Length: Integer read fLe...
unit FFSAdvStringGrid; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Grids, AdvGrid, registry, FFSTypes,advedit,dcEdit; type TGetDataRecords = procedure ( Rows : array of integer; Fields:TStringList; csvList:TStringList) of object; TGetRowCount = proced...
unit glr_gui; {$i defines.inc} interface uses glr_core, glr_render, glr_render2d, glr_scene, glr_math, glr_utils; type TglrGuiElement = class; TglrGuiBooleanCallback = procedure (Sender: TglrGuiElement; aValue: Boolean) of object; TglrGuiIntegerCallback = procedure (Sender: TglrGuiElement; aValue: Integer)...
unit Behavior3.Project; interface uses System.Classes, System.Generics.Collections, System.Generics.Defaults, System.JSON, Behavior3.Core.BehaviorTree, Behavior3.NodeTypes; type TB3Project = class(TObject) private protected public Name: String; Description: String; Path: String; Trees: TB...
unit ULicencaVO; interface uses uTableName, uKeyField, System.SysUtils, System.Generics.Collections; type [TableName('Licenca')] TLicencaVO = class private FDataAtualizacao: TDate; FIPExterno: string; FQtdeUsuario: Integer; FCNPJCPF: string; FId: Integer; FEmpresa: string; FQtdeEs...
{!DOCTOPIC}{ Sorting functions } {!DOCREF} { @method: procedure se.SortTBA(var Arr: TByteArray); @desc: Sorts the array from low to high } procedure SimbaExt.SortTBA(var Arr: TByteArray); begin exp_SortTBA(Arr); end; {!DOCREF} { @method: procedure se.SortTIA(var Arr: TIntArray); @des...
unit odaBasicXML; {******************************************************************************} { Author : Loda } { Create Date : 20060728 } { ...
unit TransparentWindows; interface uses Windows, Messages, Controls, Classes, WinUtils, Rects, VCLUtils; // High level routines procedure ParentChanged( aControl : TWinControl ); // Low level routines procedure ClearControlHooks( aControl : TWinControl ); procedure AddControlHook( aControl, aH...
Program categoria_natacao; {Faça um programa que receba a idade de um nadador e mostre sua categoria, usando as regras a seguir. Para idade inferior a 5, deverá mostrar mensagem. Infantil 5 a 7 Juvenil 8 a 10 Adolescente 11 a 15 Adulto 16 a 30 Sênior Acima de 30} var idade_nadador : integer; Begin write('Informe a id...
unit UFormScanner; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, Grids; type TGetStringsEvent = procedure(Sender:TObject; SS:TStrings) of object; TFormScanner = class(TForm) stStatus: TStaticText; gbControls: TGroupBox; Label1: TLabel; ...
// Upgraded to Delphi 2009: Sebastian Zierer (* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 * * 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 a...
{$REGION 'Copyright (C) CMC Development Team'} { ************************************************************************** Copyright (C) 2015 CMC Development Team CMC is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software ...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com) * ***************************************************...
{ File: CFNetwork/CFProxySupport.h Contains: Support for computing which proxy applies when Version: CFNetwork-219~1 Copyright: © 2006 by Apple Computer, Inc., all rights reserved } { Pascal Translation: Gale R Paeper, <gpaeper@empirenet.com>, 2008 } { Modified for use w...
unit ManifestCostMaster; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Grids, DBGrids, currEdit, BmDtEdit, NUMMIBmDateEdit, DB; type TManifestCostMaster_Form = class(TForm) PartsStockMaster_Label: TLabel; MonthlyPOMa...
unit IdFTPListParsePCTCP; interface {$i IdCompilerDefines.inc} uses Classes, IdFTPList, IdFTPListParseBase; type TIdPCTCPFTPListItem = class(TIdFTPListItem); TIdFTPLPPCTCPNet = class(TIdFTPListBase) protected class function MakeNewItem(AOwner : TIdFTPListItems) : TIdFTPListItem; overri...
unit GX_KibitzComp; {$I GX_CondDefine.inc} {$IFDEF GX_VER150_up} // Delphi 7+ {$DEFINE GX_KIBITZ_OTA} {$ENDIF GX_VER150_up} interface uses Classes, ToolsAPI; procedure GetKibitzSymbols(const SourceEditor: IOTASourceEditor; const EditControl: TObject; const EditView: IOTAEditView; const XPos,...
{ File: MacLocales.p Contains: Types & prototypes for locale functions Version: Technology: Mac OS 9.0 Release: Universal Interfaces 3.4.2 Copyright: © 1998-2002 by Apple Computer, Inc., all rights reserved. Bugs?: For bug reports, consult the follow...
unit InfoRULE78Table; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoRULE78Record = record PTerm: String[3]; PMonths: String[3]; PPercent: Currency; End; TInfoRULE78Class2 = class public PTerm: String[3]; PMonths: String[3]; ...
unit GlassedBuffers; // This is a patch! OK? This is the only way I found to draw glassed vector graphics. interface uses Windows, SpriteImages, SpeedBmp, ColorTableMgr, GDI, Palettes; procedure CreateBuffer(Width, Height : integer); procedure ResizeBuffer(NewWidth, NewHeight : integer); procedure FreeB...
unit CFHelpers; { Unit of handy routines for use with Core Foundation. CFStrToAnsiStr was adapted from the Lazarus CarbonProc unit's CFStringToStr function. License: Modified LGPL. Note that objects returned by functions with "Create" or "Copy" in the function name need to be released by the calling ...
//==================================================================// // 工作量网上查询接口申明单元: // 功能描述:为了实现教师从网上自助查询自己的工作量而设置的接口。 // 接口名称:Ijxgzl // 接口引用:http://url/jxgzl/jxgzlWebSrv.dll/soap/Ijxgzl // 或者:http://url/jxgzl/jxgzlWebSrv.dll/wsdl/Ijxgzl //==============================================...
unit FlashUtils; {* Утилиты для работы с Flash-схемами } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Common\FlashUtils.pas" // Стереотип: "UtilityPack" // Элемент модели: "FlashUtils" MUID: (4981A3DC007E) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface {$If NOT Defined(Admin) ...
{ CoreGraphics - CGPath.h * Copyright (c) 2001-2002 Apple Computer, Inc. * All rights reserved. } { Pascal Translation: Peter N Lewis, <peter@stairways.com.au>, August 2005 } { Modified for use with Free Pascal Version 210 Please report any bugs to <gpc@microbizz.nl> } {$mode macpas} {$packenum 1...
unit FrameDataCompareViewer; interface uses Windows, Messages, SysUtils, Classes, Controls, Forms, BaseApp, BaseForm, VirtualTrees, ExtCtrls, define_dealItem, db_dealItem, QuickList_Int, BaseRule, Rule_CYHT, Rule_BDZX, Rule_Boll, Rule_Std, Rule_MA, StockDayDataAccess, UIDealItemNode, StockDetailD...
{5. Realizar un programa que lea números enteros desde teclado. La lectura debe finalizar cuando se ingrese el número 100, el cual debe procesarse. Informar en pantalla: ◦ El número máximo leído. ◦ El número mínimo leído. ◦ La suma total de los números leídos. } program ejercicio5; var num, max, min, suma: Integer;...
unit UNetServer; interface uses UTCPIP, UConst; type { TNetServer } TNetServer = Class(TNetTcpIpServer) private protected Procedure OnNewIncommingConnection(Sender : TObject; Client : TNetTcpIpClient); override; procedure SetActive(const Value: Boolean); override; procedure SetMaxConnections(AV...
unit CompWizard; { Inno Setup Copyright (C) 1997-2010 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Compiler Script Wizard form $jrsoftware: issrc/Projects/CompWizard.pas,v 1.68 2011/04/16 05:51:19 jr Exp $ } interface {$I VERSION.INC} uses Windows,...
unit ts.Core.VTNode; {$MODE DELPHI} interface uses VirtualTrees; { Documentation TVTNode is a type designed to be used as the data structure where each treenode in a treeview is pointing to. For any treenode (of type PVirtualNode) this can be obtained by the following method defined in TBaseVir...
unit CardEdit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, DBCtrls, Buttons, ExtCtrls, bddatamodule, DB, sqldb, MetaData, StdCtrls; type TInsert_help = record FLookUpComboBox: TDBLookupComboBox; FLst_Source: TDataSource; FLs...
unit TFGame; interface uses GVDLL, SysUtils; type TTFGame = class; TTFGameScene = class private FGame : TTFGame; function GetRez: Integer; protected property Rez: Integer read GetRez; public constructor Create(AOwner: TTFGame); procedure LoadResources; virtual; abstract; procedure...
unit TestActivitiesSamplesUnit; interface uses TestFramework, Classes, SysUtils, DateUtils, BaseTestOnlineExamplesUnit, EnumsUnit; type TTestActivitiesSamples = class(TTestOnlineExamples) private function GetRouteId: String; procedure CheckActivitiesWithInvalidRouteId(ActivityType: TAct...
{ DBAExplorer - Oracle Admin Management Tool Copyright (C) 2008 Alpaslan KILICKAYA This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
unit XPTheme; { Inno Setup Copyright (C) 1997-2007 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Enables themes on Windows XP/Vista, and disables DPI scaling on Vista. Used only by the Setup and SetupLdr projects. Note: XPTheme must be included as the ...
unit Pessoa.Impl; interface type TPessoa = class(TObject) private FNome: string; class var FInstance: TPessoa; protected constructor CreateInstance; public constructor Create; destructor Destroy; override; class function GetInstance: TPessoa; class procedure ReleaseInstance; fu...
unit fcImgBtn; { // // Components : TfcImageBtn // // Copyright (c) 1999 by Woll2Woll Software } interface {$i fcIfDef.pas} uses Windows, Messages, Classes, Controls, Forms, Graphics, StdCtrls, CommCtrl, Buttons, Dialogs, Math, Consts, SysUtils, fcCommon, fcText, fcButton, fcBitmap, fcChangeLink, fcImager {$if...
{====================================================} { } { EldoS Visual Components } { } { Copyright (c) 1998-2003, EldoS Corporation } { ...
unit uLicencaItensVO; interface uses uTableName, uKeyField, System.SysUtils, System.Generics.Collections; type [TableName('Licenca_Itens')] TLicencaItensVO = class private FDataLcto: TDate; FCNPJCPF: string; FId: Integer; FDataUtilizacao: TDate; FLicenca: string; FSituacao: string; ...
unit GetUsersUnit; interface uses SysUtils, BaseExampleUnit; type TGetUsers = class(TBaseExample) public procedure Execute; end; implementation uses UserUnit; procedure TGetUsers.Execute; var ErrorString: String; Users: TUserList; begin Users := Route4MeManager.User.Get(ErrorString); try ...
unit phpgd2; interface const php_gd2 = 'php_gd2.dll'; function imagecreatefromjpeg(filename:PAnsiChar): Integer; cdecl; external php_gd2 name 'imagecreatefromjpeg'; function imagecreatefrompng(filename:PAnsiChar): Integer; cdecl; external php_gd2; //clq 调用这个函数后最后接着调用 imagesavealpha,这样才能存出透明的 png 图片 //新建一个真彩色图像...
//---------------------------------------------------------------- // Most of these functions are taken from "Mini Webbrowser Demo", // which is available on http://torry.net. // Some functions are added later by AT as stated in the comments. // The original WBFuncs.pas unit caption is below: //-----------------------...
unit TTSNOTLISTTAGTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSNOTLISTTAGRecord = record PCifFlag: String[1]; PLoanNum: String[20]; PTrackCode: String[8]; PCategorySub: Integer; PSeparateBy: String[10]; PSortBy: String[120]; En...
unit AdvCardListAdvEditLink; interface uses Classes, Spin, Controls, AdvCardList, AdvEdit, Forms, Graphics; type { TAdvCardListSpinEditLink } TAdvCardListAdvEditLink = class(TCardListEditLink) private FAdvEdit: TAdvEdit; FEditType: TAdvEditType; FShowModified: Boolean; FModifiedColor: TColor...
Unit mte.component.network; {----------------------------------------------------------} { Developed by Muhammad Ajmal p } { ajumalp@gmail.com } { pajmal@hotmail.com } { ajmal@erratums.com } {----------------------------------------------------------} {$mode objfpc}{$H+} Interface Uses Classes, ...
unit Controller.Vendas; interface uses Controller.Interfaces, Model.Interfaces, Controller.Observer.Interfaces; type TControllerVendas = class(TInterfacedObject, iControllerVenda) private FItem : iControllerItens; FModel : iModelVenda; FObserverItem : iSubjectItem; public constr...
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.StdCtrls, Androidapi.JNI.BluetoothAdapter, Androidapi.JNI.JavaTypes, Androidapi.JNIBridge, FMX.ListBox, FMX.Layouts, FMX.Memo, FMX.E...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : C:\clientes\AFIP - Factura electronica\MTXCAService.xml // >Import : C:\clientes\AFIP - Factura electronica\MTXCAService.x...
{ ORIGINAL FILE: edkErrorCode.h ------------------------------------------ |Emotiv Development Kit API return values| |Copyright (c) 2009 Emotiv Systems, Inc. | ------------------------------------------ Translated by LaKraven Studios Ltd (14th October 2011) Copyright (C) 2011, LaKraven Studios Ltd, All ...
unit ErrorCodes; interface const errNoError = 0; errMalformedQuery = 1; errIllegalObject = 2; errUnexistentProperty = 3; errIllegalPropValue = 4; errUnexistentMethod = 5; errIllegalParamList = 6; errIllegalPropType ...
unit evCustomEditorModelPart; {* Часть TevCustomEditor перенесённая на модель } // Модуль: "w:\common\components\gui\Garant\Everest\evCustomEditorModelPart.pas" // Стереотип: "GuiControl" // Элемент модели: "TevCustomEditorModelPart" MUID: (4B877C5101C1) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc...
unit evMergedCellFilter; {* фильтр для преобразования "подвисших" ячеек объединения в нормальный вид. } // Модуль: "w:\common\components\gui\Garant\Everest\evMergedCellFilter.pas" // Стереотип: "SimpleClass" // Элемент модели: "TevMergedCellFilter" MUID: (49C21D090093) {$Include w:\common\components\gui\Garant\Evere...
unit MFichas.Model.GrupoProduto.Interfaces; interface uses MFichas.Model.Entidade.GRUPOPRODUTO, ORMBR.Container.ObjectSet.Interfaces, ORMBR.Container.DataSet.Interfaces, FireDAC.Comp.Client; type iModelGrupoProduto = interface; iModelGrupoProdutoMetodos = interface; iModelGrupoP...
Program OrdenarVector; const max=30; Type vector= array [1..max] of integer; Var A:vector; n:integer; {Dado un vector de números reales A, escriba un procedimiento ORDENAR que ordene los elementos del vector de tal forma que los números pares aparezcan antes que los números impares. Además, los números ...
{ Exercicio 83: Faça um algoritmo que receba a idade, o peso e o sexo de 10 pessoas. Calcule e imprima: a) total de homens; b) total de mulheres; c) média da idade dos homens; d) média dos pesos das mulheres. } { Solução em Portugol Algoritmo Exercicio ; Var peso: vetor[1..10] de real; idade: vetor[1..10...
unit TTSTDOCTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSTDOCRecord = record PLenderNum: String[4]; PCifFlag: String[1]; PLoanNum: String[20]; PCollNum: Integer; PCategory: String[8]; PSubNum: SmallInt; PDocCount: Integer; ...
unit Jc.CryptS; interface uses Windows, Messages, SysUtils, Classes; type TCryptS = class private class var FInstance: TCryptS; private FKey: string; FText: string; FCriptoBin: string; FCriptoHex: string; function Invert(SText: string): string; function DecToHex(Number: Byte): str...
unit SDDataTestForm; interface uses Windows, Forms, BaseForm, Classes, Controls, StdCtrls, Sysutils; type TfrmSDDataTest = class(TfrmBase) btnDownload163: TButton; btnDownloadSina: TButton; edtStockCode: TEdit; btnImportTDX: TButton; lbl1: TLabel; btnDownload163All: TButton; btnDownlo...