text
stringlengths
14
6.51M
unit uFrameAluno; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, uAlunosBusca, uDMPrincipal, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, ExtCtrls; type TOnSelecionaAluno = procedure (NumMatricula: String) of object; TframeAluno = class(T...
unit BookItems; interface type TBookItems = class public Index: Integer; Length: Integer; Name: string; constructor Create(myname: string; myindex, mylength: Integer); end; implementation constructor TBookItems.Create(myname: string; myindex: Integer; mylength: Integer); begin self.Index := ...
unit DsnList; // Runtime Design System Version 2.x June/08/1998 // Copyright(c) 1998 Kazuhiro Sasaki. interface uses Windows, Classes, Forms, Controls, Messages, Dialogs, Graphics; type TReceiveTargets = class protected Notifies: TList; procedure ItemDeath(Index:Integer); virtual; abstract; pr...
{ mteRecords Tests Tests for functions in mteRecords } unit mteRecordsTests; uses 'lib\mteBase', 'lib\mteRecords', 'lib\jvTest'; const mteTestVersion = '0.0.0.1'; mteTestFile1 = 'TestMTE-1.esp'; mteTestFile2 = 'TestMTE-2.esp'; mteTestFile3 = 'TestMTE-3.esp'; mteTestFile4 = 'TestMTE-4.esp'; expectedLo...
(* Copyright (c) 2011-2012, Stefan Glienke 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 of conditions ...
unit Cidade; interface uses SysUtils, Contnrs, Estado; type TCidade = class private Fcodigo :Integer; Fcodest :Integer; Fnome :String; Fcep :String; Fcodibge :Integer; FEstado :TEstado; private function GetEstado: TEstado; public property codigo :Integer read...
unit DataTypes; {********************************************** Kingstar Delphi Library Copyright (C) Kingstar Corporation <Unit>DataTypes <What>定义了可以处理各种数据类型的对象类。 该类可以代表不同的各种数据类型。 数据类型在一定程度上面进行了简化,整数只有Integer和Int64,浮点数只有Double和Currency <Written By> Huang YanLai (黄燕来) <History> ***********...
{*******************************************************} { } { Delphi FireMonkey Platform } { } { Copyright(c) 2011-2021 Embarcadero Technologies, Inc. } { All rights rese...
{ @abstract(Constants for GMLib.) @author(Xavier Martinez (cadetill) <cadetill@gmail.com>) @created(August 12, 2022) @lastmod(August 12, 2022) The GMLib.Constants unit contains all contants used by GMLib. } unit GMLib.Constants; {$I ..\gmlib.inc} interface const // @include(..\Help\docs\G...
unit OApproxShow; interface uses OlegShowTypes, OlegType, StdCtrls, Forms, FrameButtons, OApproxNew, ExtCtrls, OlegFunction, Controls, Graphics; const MarginLeft=20; MarginRight=30; Marginbetween=20; MarginTop=20; MarginFrame=2; NoLimit='No'; type TDiapazonDoubleParameterShow=cla...
unit OutputCals; interface uses FrogObj, Func1D, FrogTrace, NLO; type TOutputFormat = (ofClassic, ofFemtosoft); TOutputCals = class(TFrogObject) private mFilePath: string; mPhaseBlank: double; mDisplayGraphics: boolean; // controls whether graphics are displayed or not. mOverwrite: ...
unit DIOTA.Dto.Response.GetTransactionsToApproveResponse; interface uses DIOTA.IotaAPIClasses; type TGetTransactionsToApproveResponse = class(TIotaAPIResponse) private FTrunkTransaction: String; FBranchTransaction: String; public constructor Create(ATrunkTransaction: String; ABranchTransaction: S...
unit FabricaRepositorio; interface uses Repositorio; type TFabricaRepositorio = class public class function GetRepositorio(NomeDaEntidade :String) :TRepositorio; end; implementation uses SysUtils, uModulo, ExcecaoRepositorioNaoEncontrado, RepositorioUsuario, RepositorioDiretorioBackup, Repos...
unit GraphicsTrackBar; interface uses System.SysUtils, System.Classes, System.Types, Vcl.Controls, Vcl.ComCtrls, Vcl.Themes, Winapi.Messages, Winapi.Windows, Winapi.CommCtrl, Winapi.GDIPAPI, Winapi.GDIPOBJ, GraphicsUtils; type TGraphicsTrackBar = class(TWinControl) private { Private decla...
unit SSH_Client; {$I ..\..\Base\SBDemo.inc} interface uses Classes, SysUtils, DB, Windows, Messages, Graphics, Controls, Forms, Dialogs, DBCtrls, ExtCtrls, Grids, DBGrids, StdCtrls, ToolWin, ComCtrls, Buttons, Spin, DemoFrame, MemDS, DBAccess, Uni, UniProvider, UniDacVcl, ScBridge, ScSSHClient, ScSSHChannel...
unit setup; interface uses Windows, Messages; Const SETUP_WIDTH = 320; SETUP_HEIGHT = 320; var Width : Integer = 800; Height : Integer = 600; PixelDepth : Integer = 32; FullScreen : Boolean = FALSE; function SetupWin(hInstance : HINST; hPrevInstance : HINST) : Boolean; stdca...
unit uExemplo_If_Else; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm2 = class(TForm) Button1: TButton; mmIfElse: TMemo; procedure Button1...
unit Procesor.Currency.Intf; interface uses System.SysUtils; type EInvalidCurrency = class(Exception); TCurrencyRate = record Code: String; Rate: Currency; end; ICurrencyProcessor = interface(IInvokable) ['{08CE1219-BC8A-45C9-B704-9D8D3B25FDFB}'] function IsInitialiased: boolean; proc...
unit Sample7.Customer; interface type TCustomer = class private FCustomerId: string; FCompanyName: string; public constructor Create(ACustomerId: string = ''; ACompanyName: string = ''); property CustomerId: string read FCustomerId write FCustomerId; property CompanyName: string read FCompan...
{$reference ../lib/robocode.dll} {$reference mscorlib.dll} {$reference System.Drawing.dll} library CornersEx; uses System.Drawing, Robocode, Robocode.Util; type Corners = class(Robot) private // Количество роботов в игре others: integer; // Угол,в котором находится робот ...
unit DryConversion; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TInputLineCode = (CorrectLine, IncorrectLine, EmptyLine); const GravAcceleration = 9.80665; { m/s2 } function ConvertStrToInt(const Text: string; out Number: Integer): TInputLineCode; function ConvertStrToFloat(const Text: str...
unit uClienteController; interface uses uClienteModel, uClienteDAO, Generics.Collections; type TClienteController = class private FClienteDAO:TClienteDAO; public destructor Destroy;override; constructor Create; function Inserir(ClienteModel:TClienteModel):Boolean; function Exc...
// ****************************************************************** // // Program Name : AT Library // Program Version: 1.00 // Platform(s) : Android, iOS, OSX, Win32, Win64 // Framework : none // // Filename : AT.XPlatform.Internet.pas // File Version : 1.00 // Date Created : 06-MAY-2016 // Autho...
unit DateAndTime; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type { TMyDateTime } TMyDateTime = class private fDateTime: TDateTime; public function GetDateTime: TDateTime; procedure SetDateTime(ADateTime: TDateTime); procedure AddDays(Days: integer); proced...
(* Copyright (c) 2011-2012, Stefan Glienke 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 of conditions ...
unit TelaConfigAlias; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, DB, DBTables; type TFormConfigAlias = class(TForm) ListBox: TListBox; Panel1: TPanel; BtnAdd: TSpeedButton; BtnExcluir: TSpeedButton; BitBtn1...
unit Polynoms; interface uses Rationals, Naturals, CheckError; type (* * Полином от одной переменной * p[k] - коэффициент при x^k * ВНИМАНИЕ: Коэффициенты нумеруются с нуля (ячейки массива - тоже) *) TPolynom = array of PRationalNumber; procedure Add(var result : TPolynom; const a, b ...
unit Monitor; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, NvInfo, Graphics, Dialogs, ExtCtrls, StdCtrls, Spin; type { TFrmMonitor } TFrmMonitor = class(TForm) BtnUpdateTimer: TButton; BtnStartTimer: TButton; BtnStopTimer: TButton; GrClock: TGroupBox; GrGpuTem...
unit uZControlBar; interface uses Windows, Messages, SysUtils, Classes, Controls, ExtCtrls, Graphics; type ZControlBar = class(TControlBar) private { Private declarations } bmp: TBitmap; procedure BandPaint(Sender: TObject; Control: TControl; Canvas: TCanvas; var ARect: TRect; ...
namespace Beta; interface type DataAccess = public class(INSXMLParserDelegate) private class var fSharedInstance: DataAccess; class method sharedInstance: DataAccess; var fUsername, fUserToken: NSString; fPushDeviceToken: NSData; method setPushDeviceToken(aValue: NSData); ...
unit mnWaitDialog; interface uses Classes, SysUtils, mnForm, StdCtrls, cxButtons, Gauges; type {-------------------------------- 等待对话框,显示一个前端窗体让用户等待,同时后台仍旧执行代码。 等待对话框上可根据需要,决定是否允许用户取消,以及是否显示进度条。 注:关于前端窗体的介绍,参见mnForm单元的mnTFrontalForm类。 Tested in TestUnit and TestApp. --------------------------------} mnTWa...
unit UInsertMgr; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. } {$WARN SYMBOL_PLATFORM OFF} {$WARN UNIT_PLATFORM OFF} { This is the unit that is the bottlenext for...
unit Iterator.AbstractClass.Iterator; interface type TIterator = class(TInterfacedObject, IEnumerator) public function IEnumerator.GetCurrent = GetCurrent; // Returns the key of the current element // Retorna a chave do elemento atual function Key: Integer; virtual; abstract; // Returns the...
unit GetSid; interface uses Windows, SysUtils; function GetCurrentUserSid:string; procedure getCurrentUserAndDomain(var User, Domain: String); implementation const HEAP_ZERO_MEMORY = $00000008; SID_REVISION = 1; // Current revision level type PT...
unit core_player; {$mode objfpc}{$H+} interface uses fgl, VectorGeometry; type eFactionAttitudes = (faOwn,faFriendly,faNeutral,faEnemy); sPlayers = set of byte; //for stash portals: id,position TAffineVectorMap = specialize TFPGMap<integer,TAffineVector>; { TPlayer } TPlayer = class login:strin...
unit rListView; interface uses ComCtrls; { Добавление нового элемена в список } function AddNewListItem(LV: TListView; AId: Integer; AName: string; AImage: Integer): TListItem; function AddNewListNotesItem(LV: TListView; AId: Integer; AName, ANotes: string; AImage: Integer): TListItem; function AddNewListItemSu...
{ Description: vPlot layout form. Copyright (C) 2019 Melchiorre Caruso <melchiorrecaruso@gmail.com> This source 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 2 of the License, or (at y...
unit Merge; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Winapi.Shellapi, Vcl.ComCtrls, VideoConverterInt; type TfrmMerge = class(TForm) btnCancel: TButton; ...
unit uAluno; {$mode objfpc}{$H+} interface uses Classes, SysUtils, db; type TAluno = class private fid: integer; fnome: string; fdata_nascimento: TDate; fdata_cadastramento: TDate; fdata_inativacao: TDate; ffk_motivo_matricula_id: integer; ffk_doenca_pre_existente_id: integer; ...
unit Model.Cliente; interface uses Model, SysUtils; type TCliente = class(TModel) private FCNPJ: string; FEmail: string; FRazaoSocial: string; FEndereco: string; FTelefone: string; FNomeFantasia: string; procedure SetCNPJ(const Value: string); procedure SetEmail(const Value: str...
unit TSTOHackMasterList.Bin; interface Uses Windows, HsInterfaceEx, HsStreamEx, TSTOHackMasterListIntf; Type IBinTSTOHackMasterList = Interface(ITSTOHackMasterList) ['{4B61686E-29A0-2112-AFC8-A74E23466FF9}'] Procedure SaveToStream(AStream : IStreamEx); Procedure LoadFromStream(AStream : IStreamEx); ...
unit PortList; {--------------------------------------------------------------------------------------------------------------------------------+ ฆ COPYRIGHT NOTICE ฆ ฆ-----------------------------------------...
// This program demonstrates the basic features of a SwinGame program program SwinGameTemplate; //Names the Program uses SwinGame; //Imports "SwinGame" Library // begin //Opens main program instruction set OpenGraphicsWindow('SwinGame Template', 800, 600); //Opens an 800x6...
unit Dialogs_f; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; Button4: TButton; ...
{ Sobre o autor: Guinther Pauli Delphi Certified Professional - 3,5,6,7,2005,2006,Delphi Web,Kylix,XE Microsoft Certified Professional - MCP,MCAD,MCSD.NET,MCTS,MCPD (C#, ASP.NET, Arquitetura) Colaborador Editorial Revistas .net Magazine e ClubeDelphi MVP (Most Valuable Professional) - Embarcadero Technologies - U...
unit uZBase32; {$ZEROBASEDSTRINGS ON} interface uses System.SysUtils, System.Math, System.Generics.Collections, uBase, uUtils; type IZBase32 = interface ['{96264326-C333-4642-A9C6-BDEA183E6597}'] function Encode(data: TArray<Byte>): String; function Decode(const data: String): TArray<Byt...
unit uRabbitVCS; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Menus, Graphics, uPixMapManager; const RabbitVCSAddress = 'org.google.code.rabbitvcs.RabbitVCS.Checker'; RabbitVCSObject = '/org/google/code/rabbitvcs/StatusChecker'; RabbitVCSInterface = 'org.google.code.rabbitvcs.StatusChecker'; ...
program NxtRunCommand; // // Program used to execute another program. // Created to execute program without waiting for completion. // via QMBasic OS.EXECUTE // usage NxtRunCommand fullyQuilifiedPathofExe param(s) to pass // ie) // NxtRunCommand C:\Laz_projects\NxtReport\NxtDesigner\NxtReportGen.exe -f C:\QMACCOUNTS\nx...
unit Venda; interface uses Produto, ItemVenda, FormaPagamento, Funcoes, Cliente; type TVenda = class private FItens: TItens; FNumeroNFe: Integer; FData: TDateTime; FFormaPagamento: TFormaPagamento; FDesconto :Real; FAcrescimo: Real; FCodigo_pedido :integer; FCouvert :Real...
unit depscan.ScanSetup; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TScanSetupForm = class(TForm) Label1: TLabel; mmFolders: TMemo; cbRecursive: TCheckBox; L...
unit ETL.Form.Edit.Transform.Condensation; interface uses ETL.Form.Edit.Transform, Vcl.Controls, Vcl.StdCtrls, Vcl.CheckLst, Vcl.ExtCtrls, System.Classes, System.Actions, Vcl.ActnList, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxEdit, cxInplaceContainer, cxVGrid, cxDropDownEdi...
unit MainUnit; 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.StdCtrls, FMX.Objects, FMX.Effects, FMX.Layouts, FMX.TabControl; type TMainForm = class(TForm) ...
(* Copyright (c) 2011-2013, Stefan Glienke 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 of conditions ...
unit UnitPanalibuiMainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Menus, Vcl.ComCtrls, Vcl.ToolWin, Vcl.ExtCtrls, Vcl.Grids, System.ImageList, Vcl.ImgList, UnitServerAp...
unit ColoredPageControlUnit; interface uses ComCtrls, Graphics, Classes, Windows; type TColoredPageControl = class (TPageControl) private FActivePageColor: TColor; FPagesColor: TColor; FColor: TColor; procedure OnDrawTabHandle( Control: TCustomTabControl; TabIndex...
unit Modules.Connections; interface uses System.SysUtils, System.Classes, Aurelius.Drivers.Interfaces, Aurelius.Drivers.DBExpress, Aurelius.Drivers.SQLite, Aurelius.Schema.Firebird, Aurelius.Schema.SQLite, Aurelius.SQL.Firebird, Aurelius.SQL.SQLite; type TConnections = class(TDataMod...
unit uOrder; interface uses System.SysUtils, System.Generics.Collections, Data.DB, uCustomer, uProduct; type TEditMode = (emInsert, emEdit); TOrderLine = class; TOrder = class private FDate: TDateTime; FCustomer: TCustomer; FTotal: Double; FNumber: Integer; fun...
unit SizeableOutlines; interface uses Outlines, Painter, Classes, Types; // ********************************* // TveSizeableOutline // ********************************* (* This class is ancestor of all classes which can be stretched by mouse during editing. Descendants all have 2 leads and can ad...
unit DateTimeRange; interface uses DomainObjectValueUnit, SysUtils, Classes; type TDateTimeRange = class (TDomainObjectValue) protected FStartDateTime: TDateTime; FEndDateTime: TDateTime; public constructor Create; overload; virtual; constructor Create( const Sta...
unit Produto_kit; interface uses SysUtils, Contnrs, Produto; type TProduto_kit = class private Fcodigo :Integer; Fcodigo_kit :Integer; Fcodigo_produto :Integer; FProduto :TProduto; FQuantidade: Integer; function GetProduto: TProduto; public property codigo :Integer...
{ ExampleMainform.pas Written by Frank Plagge Copyright (c) 1998 by Frank Plagge, Elsterweg 39, 38446 Wolfsburg, Germany All rights reserved Please send comments to plagge@positiv.escape.de V 1.01 - Jan 3rd, 1998 first implementation, never trust a version 1.00 :-) *************************...
{PP1 Assignment 1 part C: Pascal Cross Referencer (Concordance) Nick Andrew (S8425464) (N.P.Andrew) 30/04/84 - Appropriate Comments added. } program xref(input,output,inputfile,xrefout,resvd1,resvd2); {X-Reference program: Description. This program produces a cross-reference li...
unit View.TemplateSelectForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, JvComponentBase, JvFormPlacement, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids, JvExDBGrids, JvDBGrid, JvDBUltimGri...
{ ***************************************************************************** * TagsParamsHelper.pas * * -------------- * * Taglist handling for Amiga-style systems * *...
(* Copyright (c) 2011, Stefan Glienke 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 of conditions and t...
unit UfrmPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Imaging.pngimage, Vcl.ImgList, Vcl.Imaging.jpeg, Vcl.ExtCtrls, Vcl.ToolWin, Vcl.ComCtrls, Vcl.Menus, WinSock, Vcl.StdCtrls, IdBaseCompon...
unit DateUtil; interface uses SysUtils, Classes, Windows; function InternalDateToStr(date : TDateTime) : string; function InternalStrToDate(date : string) : TDateTime; function VisibleDateToStr(date : TDateTime) : string; function VisibleStrToDate(date : string) : TDatetime; implementation function InternalDateTi...
{ @abstract(This file is part of the KControls component suite for Delphi and Lazarus.) @author(Tomas Krysl) Copyright (c) 2020 Tomas Krysl<BR><BR> <B>License:</B><BR> This code is licensed under BSD 3-Clause Clear License, see file License.txt or https://spdx.org/licenses/BSD-3-Clause-Clear.html. } ...
unit Kit; interface uses SysUtils, Contnrs, Generics.Collections, Produto_kit; type TKit = class private Fcodigo :Integer; Fdescricao :String; FProdutosKit: TObjectList<TProduto_kit>; function GetProdutosKit: TObjectList<TProduto_kit>; public property codigo :Integer read Fcodig...
unit UConsolePad; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TConsolePad = class(TForm) ListBox: TListBox; Panel1: TPanel; Edit: TEdit; procedure FormShow(Sender: TObject); procedure EditKeyPress(Sender: TObject; var Key...
unit Layer.Business; interface type TCliente = class private FNome: string; FTelefone: string; FDataNascimento: TDateTime; FOID: string; public property Nome: string read FNome write FNome; property Telefone: string read FTelefone write FTelefone; property DataNasciment...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls; type TForm1 = class(TForm) tTimerStopWatch: TTimer; btnEnable: TButton; btnDisable: TButton; lblAlive: TL...
object Optionen: TOptionen Left = 0 Top = 0 BorderStyle = bsDialog Caption = 'Zmart Renamer - Optionen' ClientHeight = 400 ClientWidth = 579 Color = clBtnFace Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Arial' Font.Style = [] OldCreateOrder = False Po...
(* Copyright (c) 2011, Stefan Glienke 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 of conditions and t...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC IBM DB2 metadata } { } { Copyright(c) 2004-2013 Embar...
unit MultiBuilder.Engine.Intf; interface uses System.Generics.Collections; type TExecuteResult = record Command : string; ExitCode: integer; Output : string; constructor Create(const ACommand: string; AExitCode: integer; const AOutput: string); end; TJobDoneEvent = reference to procedure (c...
unit UPrincipal; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.TabControl, FMX.Layouts, FMX.ListBox, FMX.Controls.Presentation, FMX.Edit, FMX.SearchBox, Data.DBXDataSnap, IPPeerClient, Data.DBXC...
unit dwsLinqSql; interface uses Classes, dwsLinq, dwsExprs, dwsXPlatform, dwsSymbols, dwsDataContext, dwsConstExprs, dwsMethodExprs, dwsCompiler, dwsCoreExprs, dwsErrors, dwsRelExprs; type TLinqSqlExtension = class(TComponent) private FLinqFactory: TdwsLinqFactory; procedure...
unit MyBaseThread; interface uses System.Classes, SysUtils, WinApi.Windows, WinApi.Messages, SyncObjs; type TMyBaseThread = class(TThread) private { Private declarations } FCriticalSection: TCriticalSection; protected FShouldFinishEvent: THandle; FFinishedEvent: THandle; //...
unit PrintReport; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, PrintStrings; type TPrintReportForm = class(TForm) Button1: TButton; PrintTButton: TButton; SetupTButton: TButton; PaperTLabel: TLabel; PrinterNameTLa...
unit ServerThread; interface uses IdTCPClient, IdTCPServer, Windows, Classes, Advantech; const ThreadTimeOut = 10000; DisconnectCheckFrequency = 10000; //ms type TRTServerThread = class( TIdPeerThread ) private fReadIndex : word; fReadLap : boolean; public ...
unit YOTM.Manager; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Direct2D, D2D1, System.Generics.Collections, HGM.Controls.PanelExt, Vcl.ComCtrls, System.Types, Vcl.StdCtrls, HGM.Controls.Spin...
unit uAccionesGrafico; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uAcciones, ActnList, ImgList, ActnMan, Menus, SpTBXItem, TB2Dock, TB2Toolbar, GraficoBolsa, SpTBXEditors, StdCtrls, TB2Item, UtilFrames; const WM_ZOOM_N_RETURN = WM_USER + 1; type TA...
unit shaderValues; interface uses OpenGL, classes, sysutils, Hashes; var ValueList : TIntegerHash; function LookUp(name : string) : integer; implementation uses Dialogs, q3shaders; function LookUp(name : string) : integer; begin result := -1; if (Copy(name, 1, 1) >= '0') and (Copy(name, 1, 1) ...
{ refactor: перенести некоторые методы в родительские классы, и для родительских сделать тоже самое } unit AbstractPostgresRepositoryUnit; interface uses AbstractRepositoryUnit, AbstractDBRepositoryUnit, TableColumnMappingsUnit, DBTableMappingUnit, QueryExecutor, DomainObjectUnit, DomainObjectListUni...
// This projects adds a thumbnail image and caption to all listview items, in event handlers unit AddThumbAndCaptionMainFormU; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.ListView.Types, FMX.StdCtrl...
unit DeleteFiles_u; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Gauges,ExtCtrls,Advanced, ComCtrls; type TDlgDeleteFiles = class(TForm) BtnStart: TBitBtn; BtnAbort: TBitBtn; gbDeleteOptions: TGroupBox; cbFillZeroBytes: TC...
unit LogViewFrame; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DemoInterfaces, Vcl.StdCtrls; type TLogFrame = class(TFrame, ILogger, IClipboardProvider) LogMemo: TMemo; private { Private declarat...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, REST.Json.Types, Child, Father; type TForm1 = class(TForm) Button1: TButton; Memo1: TMemo; Button2: TButton; proced...
unit RPPrintObjects; {********************************************** Kingstar Delphi Library Copyright (C) Kingstar Corporation <Unit>RPPrintObjects <What>包含实际的打印控制 <Written By> Huang YanLai (黄燕来) <History> **********************************************} interface uses SysUtils, Classes, Gra...
(* Volume query component This file is a part of Audio Components Suite. All rights reserved. See the license file for more details. Copyright (c) 2002-2009, Andrei Borovsky, anb@symmetrica.net Copyright (c) 2005-2006 Christian Ulrich, mail@z0m3ie.de Copyright (c) 2014-2015 Sergey Bodrov, serbod@gmail.com ...
unit USendHelp2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls, SHDocVw, StdCtrls, UForms; type TSupportPage = class(TAdvancedForm) WebBrowser: TWebBrowser; procedure FormClose(Sender: TObject; var Action: TCloseAction); private { Priv...
unit Storage; interface uses SysUtils; type /// <summary> /// Интерфейс - мост между приложением и средним уровнем. /// </summary> /// <remarks> /// Используейте данный Интерфейс для вызова методов на сервере базе данных /// </remarks> IStorage = interface function GetConnection: string; proce...
{$I XLib.inc } Unit XTools; Interface Uses Classes, Controls, WinTypes, Forms, ExtCtrls; Const tcDefaultClass ='tcDefault'; type { TXToolForm } TXToolClass = class of TXToolForm; TXToolForm = class(TForm) private Moving : Boolean; FHorizontal: Boolean; FIsLinkVisible: Boole...
unit AES_CTR; (************************************************************************* DESCRIPTION : AES CTR mode functions Because of buffering en/decrypting is associative User can supply a custom increment function REQUIREMENTS : TP5-7, D1-D7/D9-D10, FPC, VP ...
unit dbObjectTest; interface uses Classes, TestFramework, Authentication, Db, XMLIntf, dsdDB, dbTest, ObjectTest; type TdbObjectTestNew = class (TdbTest) protected procedure SetUp; override; // возвращаем данные для тестирования procedure TearDown; override; end; implementation uses ZDbcIntfs, Sy...
unit Controller.PedidoVenda; interface uses Model, Controller, Util.Enum; type TPedidoVendaController = class(TController) public constructor Create; override; procedure AfterSave(const AOperacao: TOperacao; const AModel: TModel); override; end; implementation uses Model.PedidoVenda, DAO.PedidoVe...
unit project_settings_ctrl; interface uses Classes ,SysUtils ,tiObject ,mapper ,mvc_base ,widget_controllers ,app_mdl ,proj_settings_view ,event_const ; type // ----------------------------------------------------------------- // Class Objects // --------------------------------------------...
unit UExportData; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2005 by Bradford Technologies, Inc. } interface uses Classes, UContainer; function ExportDocData(doc: TContainer; exportMap: T...
unit IdTestMD5Hash; interface uses IdTest; type TIdTestMD5Hash = class(TIdTest) private procedure CheckHash(const aStr, aExpect: string); published procedure TestRFC; end; implementation uses IdHashMessageDigest, IdObjs, IdSys; procedure TIdTestMD5Hash.CheckHash(con...