text
stringlengths
14
6.51M
namespace QueueAndStack; interface uses System.Windows.Forms, System.Drawing, OxygeneQueue, OxygeneStack; type MainForm = class(System.Windows.Forms.Form) {$REGION Windows Form Designer generated fields} private CountStringsButton: System.Windows.Forms.Button; PushIntegerButton: System.Windows.F...
unit uArrayListOfString; interface uses uArrayList; { Stores strs } type _Str = class(TObject) public str: String; end; function TStr(str: String): _Str; { Automatic dynamic string array } type ArrayListOfString = class(ArrayList) public procedure add(str: String); overload; ...
unit Frame.Communication; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Math, System.JSON, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Buttons, Lib.JSONFormat, Lib.VCL.HTTPGraphic, Lib....
unit OTFEUnifiedTestApp_U; // Description: // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface {$IFDEF LINUX} This software is only intended for use under MS Windows {$ENDIF} {...
unit rpVersionInfo; //версия 1.0 3/8/98 записана и проверена в Delphi 3. (*Автор Rick Peterson, данный компонент распространяется свободно и освобожден от платы за использование. В случае изменения авторского кода просьба прислать измененный код. Сообщайте пожалуйста обо всех найденных ошибках. Адрес для писем - ...
{ Role Drawing shapes(Collaborate with ThDrawObject) Display drawn shapes(Collaborate with ThItemList) } unit ThCanvasLayers; interface uses System.Classes, System.SysUtils, System.Types, System.Math, System.Generics.Collections, Vcl.Controls, GR32, GR32_Layers, GR32_Polygons, GR32_VectorUtils, T...
unit ThConsts; interface uses System.UIConsts; const {$IFDEF RELEASE} ItemDefaultOpacity = 0.8; {$ELSE} ItemDefaultOpacity = 1; {$ENDIF} ItemMinimumSize = 30; ItemShapeDefaultColor = claGreen; ItemLineThickness = 7; ItemLineSelectionThickness = 15; // 선 선택 범위 ItemFocusMinimumSize = ItemMinimumS...
(* * Copyright (c) 2004 * HouSisong@gmail.com * * This material is provided "as is", with absolutely no warranty expressed * or implied. Any use is at your own risk. * * Permission to use or copy this software for any purpose is hereby granted * without fee, provided the above notices are retained on all copies...
unit main; interface uses libFilmFile, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.StdCtrls, System.Classes; type TForm1 = class(TForm) StringGrid1: TStringGrid; Button1: TButton; Button2: TButton; Edit1: TEdit; ...
unit Xplat.Services; interface uses System.Classes, System.IniFiles; type IPleaseWaitService = interface ['{86D7671B-A5A0-4ADB-A4F9-E609A8246DC1}'] procedure StartWait; procedure StopWait; end; IIniFileService = interface(IInterface) ['{6024D9FD-3B3B-4B5A-B767-D87993B2E32D}'] ...
unit Amazon.Storage.Service; interface uses Amazon.Storage.Service.Intf, System.Classes, Amazon.Storage.Service.API, Amazon.Storage.Service.Config, System.SysUtils, IdCustomHTTPServer, Data.Cloud.CloudAPI, Amazon.Storage.Service.Types, System.Math; type TAmazonRegion = Amazon.Storage.Service.API.TAmazonRegion; ...
unit uPreSaleReceive; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Mask, DateBox, DBCtrls, DB, DBTables, Grids, DBGrids, Buttons, DBCGrids, ComCtrls, ADODB, SuperComboADO, siComp, siLangRT, PaiDeForms, Variants, uFrmPayPartial, uCCMercuryIntegrat...
unit MeshSmoothGaussianCommand; interface uses ControllerDataTypes, ActorActionCommandBase, Actor; {$INCLUDE source/Global_Conditionals.inc} type TMeshSmoothGaussianCommand = class (TActorActionCommandBase) public constructor Create(var _Actor: TActor; var _Params: TCommandParams); over...
(***** 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 at * http://www.mozilla.org/MPL/ * * Software...
unit uCheckReportFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uBaseEditFrm, ExtCtrls, Menus, cxCustomData, cxEdit, DB, cxDBData, cxGridLevel, cxClasses, cxControls, cxGridCustomView, cxGridCustomTableView, cxGridTableView, cxGridDBTable...
// // Generated by JavaToPas v1.5 20150831 - 132322 //////////////////////////////////////////////////////////////////////////////// unit android.graphics.drawable.GradientDrawable_Orientation; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes; type JGradientDrawable_Orientation = interface; JGr...
program HowToModelShapeUsingRecord; uses SwinGame; procedure Main(); var c : Circle; r : Rectangle; t : Triangle; l : LineSegment; begin OpenGraphicsWindow('Model Shape Using Record', 600, 100); LoadDefaultColors(); ClearScreen(ColorWhite); c := CircleAt(50, 50, 30); r ...
unit Personification_AddYearReport; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, cxLabel, cxTextEdit, cxMaskEdit, cxSpinEdit, ExtCtrls, cxControls, cxContainer, cxEdit, cxProgressBar, StdCtrls, cxButtons, ActnList, FIBQuery, pFIBQuer...
(* Fractal3D based on Ivan Lee Herring source code *) unit fmain; interface uses Winapi.Windows, Winapi.Messages, Winapi.MMSystem, System.Types, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Imaging.jpeg, Vcl.Clipbrd, Vcl.Printers, Vcl.Forms, Vcl....
unit ADSchemaTypes; interface uses Windows, Classes; type { Enum for error types } ErrorTypeEnum = ( SuccessStatus, LDAPError, ADSchemaError); { Status model *gets error number and forms output message } ADSchemaStatus = class strict private pvErrorNumb : integer; pvErrorType...
uses UConst, UGeneticAlgorithm; function read_txt(filename: string): array of array of real; begin foreach var (i, line) in ReadLines(filename).Numerate do begin Setlength (result, i); result[i-1] := line.ToReals; end; end; function mixing(ratio: array of real; ...
unit ElphyFormat; interface {$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF} uses classes,sysUtils, util1,Gdos, debug0, stmdef, stmObj,varConf1,blocInf0, DataGeneFile,cyberK2, acqDef2 ; { Nouveau format de fichier de données. Le fichier contiendra l'entête des fichiers...
unit ParallelEd2k; { Contains ED2K hashing functions, multi- and singlethreaded. } interface uses SysUtils, Classes, Windows, md4, FileInfo, UniStrUtils; //{$DEFINE HASH_STATS} //Enable to gather hashing statistics const ED2K_CHUNK_SIZE = 9728000; type { Generic hasher } TEd2kHasher = class; T...
unit UnitOpenGLShadowMapBlurShader; {$ifdef fpc} {$mode delphi} {$ifdef cpui386} {$define cpu386} {$endif} {$ifdef cpuamd64} {$define cpux86_64} {$endif} {$ifdef cpu386} {$define cpux86} {$define cpu32} {$asmmode intel} {$endif} {$ifdef cpux86_64} {$define cpux64} {$define cpu64} ...
unit uIBXCommonDB; interface uses uCommonDB, DB, IBDatabase, IBHeader, uIBXCommonDBErrors, IBQuery; type TIBXCommonDB = class(TCommonDB) private IBX_DB: TIBDatabase; DefaultTransaction: TIBTransaction; public constructor Create; destructor Destroy; override; proce...
unit ProcessTemplateUnit; interface {$IFDEF FPC} {$MODE DELPHI} {$ENDIF} uses Classes, Generics.Collections, SysUtils, RbwParser, Math {$IFDEF FPC} , SimpleTextWriter {$ENDIF} ; type TParameter = record ParameterName: string; ParameterValue: double; end; TParameterDictionary = TDictionary<str...
unit ufrmElectricPayment; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMasterBrowse, StdCtrls, ExtCtrls, ComCtrls, ActnList, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxBarBuiltInMenu, cxStyles, cxCustomData, cxFilter, cxData, cxDa...
unit M_checks; interface uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons, StdCtrls, SysUtils, _Strings, M_Global; type TChecksWindow = class(TForm) BNGoto: TBitBtn; CloseBtn: TBitBtn; LBChecks: TListBox; BNRecheck: TBitBtn; CBOnTop: TCheckBox; CBPin: TCheckBox; Me...
unit MainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, CelikApi, Vcl.ExtCtrls; type TForm1 = class(TForm) btnCitajLKEid: TButton; btnCitajLKNorm: TButton; Image1: TImage; ...
unit ServerDatabases; interface uses Classes, LrProfiles, htDatabaseProfile; type TServerDatabaseProfile = class(TLrProfile) private FDatabases: ThtDatabaseProfileMgr; //FServer: TLrProfileIdent; protected procedure SetDatabases(const Value: ThtDatabaseProfileMgr); //procedure SetServer(con...
(* Desciption: Calculate sqrt of a (Formular: x0 = a; x(n + 1) = (x(n) + a / x(n)) / 2 ) Programmer: Loc Pham Date: 23/01/2016 Version: v1.0 *) (* Program name *) program HomeWork9; (* Unit's inclusion *) uses crt; (* Const's declaration *) const EPSILON = 0.0000000000000025; (* Variable's declra...
{******************************************************************************} { } { Delphi OpenAPI 3.0 Generator } { Copyright (c) 2018-2021 Paolo Rossi ...
unit gr_CountSheet_Filter; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, cxCheckBox, StdCtrls, cxButtons, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxButtonEdit, cxControls, cxGroupBox, cxSpinEdit, cxDropDownEdit, uCommonSp, gr_u...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
namespace UINavigationController; interface uses UIKit; type [IBObject] SecondViewController = public class(UIViewController) private public method init: id; override; method viewDidLoad; override; [IBAction] method buttonPressed(sender: id); method otherButtonPressed; en...
(* Category: SWAG Title: DIRECTORY HANDLING ROUTINES Original name: 0047.PAS Description: File Searching Author: JOHN STEPHENSON Date: 09-04-95 11:01 *) { RA> Does anyone have a procedure for search for wildcards on Harddisks? RA> It needs to check multiple hard disks and all directories. I tried RA> so...
(* Category: SWAG Title: BITWISE TRANSLATIONS ROUTINES Original name: 0015.PAS Description: RANDOM1.PAS Author: SWAG SUPPORT TEAM Date: 05-28-93 13:53 *) {Another method to acComplish this (which only requires an order of n itterations is to generate an Array initialized from 2 to 1000 and then randomize th...
{Una empresa de transportes realiza envíos de cargas, se desea calcular y mostrar el importe a pagar. Los datos que se ingresan son PESO de la carga (número real) y CATEGORIA (dato codificado: 1 -común, 2 - especial, 3 – aéreo). El precio se calcula a $2 por Kg para categoría común, $2.5 por Kg para categoría especial ...
namespace org.me.openglapplication; //Multi-purpose activity that initiates OpenGL surface views //Expects 2 values to be passed in Intent's extras: // isTranslucent: Boolean // openGLRendererClass: string interface uses java.util, android.os, android.app, android.content, android.util, ...
unit DSA.Graph.Dijkstra; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DSA.Tree.IndexHeap, DSA.Interfaces.DataStructure, DSA.Interfaces.Comparer, DSA.Graph.Edge, DSA.List_Stack_Queue.ArrayList, DSA.List_Stack_Queue.LinkedListStack; type generic TDijkstra<T> = class private type ...
// ------------------------------------------------------------- // Este programa mostra como criar um game de labirinto :~ // Autor : Luiz Reginaldo - Desenvolvedor do Pzim // ------------------------------------------------------------- Program Pzim ; var maze: array[1..25,1..80] of char; i, j: integer ; ...
unit LightSourceComThreadUnit; // ================================================== // COM port I/O handler thread for Laser control unit // ================================================== // 02.10.18 // 22.03.22 COM port Baud rate now set by constructor interface uses System.Classes, System.SysUtils, Windows, ...
unit cnFormMargin; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, umcmIntE, cxLookAndFeelPainters, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxSpinEdit, cxControls, cxGroupBox, cxButtons; type TFormPageMargin = class(TForm) cxButton1: TcxBu...
unit ExtStringGrid; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Grids; type TDeleteEvent = procedure( Sender : TObject ) of object; TInsertEvent = procedure( Sender : TObject ) of object; type TExtStringGrid = class(TStringGrid) private { Private declaratio...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { Design time registration code for the Newton Manager. } unit VXS.NewtonRegister; interface uses System.Classes, VXS.NGDManager; procedure register; //=========================================================...
// // Generated by JavaToPas v1.5 20171018 - 171145 //////////////////////////////////////////////////////////////////////////////// unit java.sql.Timestamp; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes; type JTimestamp = interface; JTimestampClass = interface(JObjectClass) ['{595F67B1-...
namespace RemotingSample.Server; interface uses System.Reflection, System.Runtime.Remoting, System.Runtime.Remoting.Channels, System.Runtime.Remoting.Channels.HTTP, RemotingSample.Implementation; type ConsoleApp = class class var fChannel: HttpChannel; public class method Main; end...
Vie_algopermutation_LV_v1_20/11/17 Algorithme:Permutation_3_entiers //But:Permuter trois entiers saisie par l'utilisateur //Principe:On demande à l'utilisateur de saisir trois entiers et on va les permuters les uns avec les autres //Entrée:3 entiers saisie //Sortie:3 entiers dans un ordre inversé VAR Nb1,Nb2,Nb3...
unit JS_HTML_Code; interface const //subtitle word add HTML code HTML_CODE_A_WORD = '<li class="menu">' + '<ul>' + '<li class="button"><a href="#" class="green">%s<span></span></a></li>' + '<li class="dropdown">' + '</li></ul></li>'; JS_CODE_INIT1 = 'document.write("' + '<body bgColor=bla...
unit uMain; { Copyright (c) 2015 Ugochukwu Mmaduekwe ugo4brain@gmail.com This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for an...
unit TestUInquilinoUnidadeController; { 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, UCondomini...
unit URepositorioGrupoProduto; interface uses UGrupoProduto , UFamiliaProduto , UEntidade , URepositorioDB , SqlExpr , URepositorioFamiliaProduto ; type TRepositorioGRUPOPRODUTO = class (TRepositorioDB<TGrupoProduto>) private FRepositorioFamiliaProduto : TRepositorioFAMILIAPRODUTO; public ...
unit &Assembler.Global; interface type TNumberScale = (nsNo, nsBy2, nsBy4, nsBy8); TAddrSize = (msByte = 1, msWord = 2, msDWord = 4); TCmdPrefix = (cpRegSize = $66, // Overrides operand size (eax -> ax) cpAddrSize = $67, // Overrides address size cpWait = $9B, // wait ...
unit uUserButton; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Registry, ActnList; type TfrmChangeUserAction = class(TForm) OkButton: TBitBtn; CancelButton: TBitBtn; Label1: TLabel; ActionsListBox: TL...
unit uSintegraFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData, cxGridLevel, cxClasses, cxControls, cxGridCustomView, cxGridCustomTableView, cxGridTableView, cxGridDBTableView, cxG...
unit ibSHException; interface uses SysUtils, Classes, SHDesignIntf, ibSHDesignIntf, ibSHDBObject; type TibBTException = class(TibBTDBObject, IibSHException) private FText: string; FNumber: Integer; function GetText: string; procedure SetText(Value: string); function GetN...
// UTheBallStructures {: Structures you can have in a TheBall game map.<p> <b>History : </b><font size=-1><ul> <li>28/10/02 - EG - Creation </ul></font> } unit UTheBallStructures; interface uses Classes, SysUtils, GLScene, GLObjects, VectorGeometry, odeimport, GLBitmapFont, GLGeomObjects, BaseClasses, GLCol...
unit Actor; interface {$INCLUDE source/Global_Conditionals.inc} uses BasicMathsTypes, math3d, math, dglOpenGL, Model, ModelVxt, Palette, Graphics, {$IFDEF VOXEL_SUPPORT}Voxel, HVA,{$ENDIF} Windows, GLConstants, ShaderBank, Histogram; type PActor = ^TActor; TActor = class private // Fo...
unit UFiles; interface implementation uses UTypes, UHistory, SysUtils, DateUtils; const HISTORY_PATH = 'history.dat'; { Загружает историю из файла } procedure readHistory(path: String); var historyFile: file of THistoryCell; historyCell: THistoryCell; begin AssignFile(historyFile, path); if FileExists(...
(* * Copyright (c) 2011-2012, Ciobanu Alexandru * All rights reserved. *) unit Myloo.Comp.Coll.Serialization; interface uses SysUtils, TypInfo, Classes, Rtti, Generics.Collections, Myloo.Comp.Coll.Base; type /// <summary>Annotate this attribute on fields that should not be serialized.</su...
unit Node; interface uses Types, Classes, Graphics, Style; type TContextBase = class end; TContextClass = class of TContextBase; // TNode = class; TNodeClass = class of TNode; TNodeList = class; // TNode = class class function GetContextClass: TContextClass; virtual; public Nodes: ...
unit frmAddEnvironmentVariableU; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.ImageList, Vcl.ImgList, LibraryHelperU, System.UITypes, System.Actions, Vcl.ActnList, Vcl.StdCtrls, Vcl.Buttons, Vcl.E...
unit Pospolite.View.CSS.StyleSheet; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Pospolite.View.Basics, Pospolite.View.HTML.Document, Pospolite.View.CSS.Declaration, Pospolite.View.CSS.Selector, Pospolite.View.CSS.MediaQuery, Pospolite.View.CSS.Binder, Pospolite.View.Internet; type TPLCSSStyleSh...
unit BsGroupObj; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxCustomData, cxStyles, cxTL, DB, FIBDatabase, pFIBDatabase, FIBDataSet, pFIBDataSet, cxControls, cxInplaceContainer, cxTLData, cxDBTL, dxBar, dxBarExtItems, ActnList, cxMaskEdit, Im...
unit KpFault; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, ToolEdit, Buttons, ExtCtrls, Db, DBTables, RxLookup, uCommonForm,uOilQuery,Ora, uOilStoredProc, MemDS, DBAccess; type TKpFaultForm = class(TCommonForm) Label3: TLabel; Panel1: TPanel...
program dz3_mod(input,output); const MAX_CL = 40; MAX = 255; type matrica = array [1..MAX_CL,1..MAX_CL] of integer; skup = set of 1..MAX; var a : matrica; m,n : integer; s : skup; nema : boolean; procedure upis(var m,n:integer; var a: matrica; var nema: boolean); var i, j : integer; begin wri...
unit CFControl; interface uses Windows, Classes, Controls, Messages, Graphics; const WM_CF_CAPTIONBAR = WM_USER + $100; WM_CF_CARETCHANGE = WM_USER + $101; WM_CF_LBUTTONDOWN = WM_USER + $102; WM_CF_LBUTTONUP = WM_USER + $103; WM_CF_MOUSEMOVE = WM_USER + $104; WM_CF_LBUTTONDBLCLK = WM_USER ...
{**************************************************************************************} { } { CCR Exif - Delphi class library for reading and writing image metadata } { Version 1.5.1 ...
unit URegraCRUDStatus; interface uses URegraCRUD ,URepositorioDB ,URepositorioStatus ,UEntidade ,UStatus ; type TRegraCrudStatus = class (TRegraCRUD) protected procedure ValidaInsercao (const coENTIDADE: TENTIDADE); override; public constructor Create; override; end; implementation ...
namespace CirrusTraceAspectLibrary; interface uses RemObjects.Elements.Cirrus; type // This attribute will be transformed into RemObjects Cirrus Aspect later. // Note how RemObjects.Elements.Cirrus.IMethodDefinition interface is implemented // Also note how WriteLine method declaration is marked. This metho...
namespace VirtualProperties.VirtualPropertiesClasses; interface uses System.Windows.Forms; type { This class is abstract and only serves as a base for descendants. Notice how clean the Oxygene syntax is, compared to classic object pascal, where you'd need to declare two virtual abstract methods to set a...
unit HandlebarsParser; {$mode objfpc}{$H+} interface uses Classes, SysUtils, contnrs, HandlebarsScanner, DataContext; type THandlebarsHash = class; THandlebarsProgram = class; THandlebarsStatement = class; TStripFlag = (sfOpen, sfClose); TStripFlags = set of TStripFlag; TStringArray = array of Stri...
unit CmDialogTools; interface uses Dialogs, Windows, Forms, Controls; function CmMessageDlg(const Msg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint): Integer; procedure CmShowMessage(const Msg: string); implementation function CmMessageDlg(const Msg: string; DlgType:...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2011 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of Delphi, C++Builder or RAD Studio (Embarcadero Products). // This software is considered a Redis...
unit uExplorerSearchProviders; interface uses System.SysUtils, System.Classes, System.StrUtils, Vcl.Graphics, Dmitry.Utils.System, Dmitry.Utils.Files, Dmitry.Utils.ShellIcons, Dmitry.PathProviders, Dmitry.PathProviders.MyComputer, Dmitry.PathProviders.FileSystem, Dmitry.PathProv...
namespace TsmPluginFx.Manager; uses System.Text, System.Runtime.InteropServices, System.IO; [DllImport('kernel32.dll')] method LoadLibrary(aModulePath: not nullable String): IntPtr; external; [DllImport('kernel32.dll')] method GetProcAddress(aModule: IntPtr; aProcName: not nullable String...
{****** 单 元:uHotSpot.pas 作 者:刘景威 日 期:2007-11-25 说 明:热点题单元 更 新: ******} unit uHotSpot; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, PngImage; type //鼠标在指示区的位置 TMousePosition = (mpNone, mpLeft, mpTop, mpRight, mpBott...
unit uForm3; 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.Layouts, FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base, FMX.ListView;...
procedure ConvTextOut(CV: TCanvas; const sText: String; x, y,angle:integer); // // Escreve um texto e converte-o em Imagem // var LogFont: TLogFont; SaveFont: TFont; begin SaveFont := TFont.Create; SaveFont.Assign(CV.Font); GetObject(SaveFont.Handle, sizeof(TLogFont), @LogFont); with LogFont do begin lfEscape...
unit GraphicCrypt; {$WARN SYMBOL_PLATFORM OFF} interface uses Winapi.Windows, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Imaging.JPEG, Vcl.Imaging.PngImage, Data.DB, Data.Win.ADODB, Dmitry.CRC32, Dmitry.Utils.System, Dmitry.Utils.Files, Dmitry.Memory, DECUtil,...
unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, IPPeerClient, FMX.Objects, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Edit, REST.Client, REST.Authenticator.OAuth, Data.Bind.Components, D...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
unit versionInfoUnit; interface const VI_MAJOR_VERSION = 1; VI_MINOR_VERSION = 2; VI_RELEASE = 3; VI_BUILD = 4; VI_COMPANY_NAME = 1; VI_FILE_DESCRIPTION = 2; VI_FILE_VERSION = 3; VI_INTERNAL_NAME = 4; VI_LEGAL_COPYRIGHT = 5; VI_ORIGINAL_FILENAME = 6; VI_PRODUCT_NA...
unit DP.TrackPoints; //------------------------------------------------------------------------------ // !!! *** это не подноценый класс данных, а очень ограниченный *** !!! //------------------------------------------------------------------------------ //-------------------------------------------------------------...
unit UDConnect; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, UCrpe32; type TCrpeConnectDlg = class(TForm) pnlConnect1: TPanel; lblCServerName: TLabel; lblCDatabaseName: TLabel; lblCUserID: TLabel; lblCPassword: TLabel; edit...
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, MaskEdit, Spin; type { Tpane } Tpane = class(TForm) button_help: TButton; button_start: TButton; check_spin: TCheckBox; edit_isbn: TMaskEdit; label_isbn: TLabel; ...
unit uWPDClasses; interface uses Generics.Collections, System.Classes, System.SysUtils, System.Math, System.SyncObjs, Winapi.Windows, Winapi.ActiveX, Vcl.Imaging.Jpeg, Vcl.Imaging.pngimage, Vcl.Graphics, uGraphicUtils, uConstants, uMemory, uPortableClasses, uWPDInterfa...
unit AbsoluteValueTest; interface uses DUnitX.TestFramework, uIntXLibTypes, uIntX; type [TestFixture] TAbsoluteValueTest = class(TObject) public [Test] procedure AbsoluteTest(); [Test] procedure AbsoluteTestZero(); procedure NullAbsoluteTest(); [Test] procedure CallNullAbsol...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1999 Inprise Corporation } { ...
//****************************************************************************** // Easter Component unit // bb - sdtp May 2021 // Provides Easter dates and associated // Parameters: // EasterYear (Integer): Selected year for Easter dates // Properties : // InvalidYear (Boolean) True if year is invalid // Easterd...
unit f1df_Insertm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, cxRadioGroup, cxTextEdit, cxMaskEdit, cxSpinEdit, cxControls, cxContainer, cxEdit, cxLabel, ExtCtrls, ibase, ZProc, Unit_ZGlobal_Consts, PackageLoad...
namespace ; interface uses System, System.IO, System.Collections.Generic, System.Linq, System.Text, System.Threading.Tasks, Windows.Storage, Windows.Storage.Streams, System.Runtime.Serialization, Windows.ApplicationModel; type SuspensionManager = class private c...
unit ufrmListMembership; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMaster, StdCtrls, ExtCtrls, ComCtrls, ufraFooter5Button, ActnList, System.Actions; type TfrmListMembership = class(TfrmMaster) Label2: TLabel; Label3: TLabel; dtpFrom: T...
unit uViewerTypes; interface uses SyncObjs, ActiveX, uMemory, uThreadForm, uDBEntities; type TViewerForm = class(TThreadForm) private FFullScreenNow: Boolean; FSlideShowNow: Boolean; protected function GetItem: TMediaItem; virtual; public CurrentFileNumber: Inte...
PROGRAM PHONEBOOK; CONST n = 5; {number of total contact} TYPE contact_rec = RECORD name : STRING; family : STRING; code : STRING; number : STRING; address :...
unit Darbre1; INTERFACE uses classes, util1,debug0; const chiffre:set of Ansichar=['0'..'9']; lettre:set of Ansichar=['a'..'z','A'..'Z','_']; Aerror:integer=0; type tabNom = TstringList; tabVal=array of float; typeFonc1=function(x:float):float; typgenre=(op,nbr,vari,fonc); ptelem=^typelem ; t...
namespace org.remobjects.calculator; interface uses java.util, android.app, android.content, android.os, android.util, android.view, android.widget, Calculator.Engine; type MainActivity = public class(Activity) private var TbValue: TextView; method btnBackspace(v: View)...
(* Copyright (c) 2016 Darian Miller All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
{-$Id: CRC32.pas,v 1.1.1.1 2005/07/07 10:35:07 oleg Exp $} {******************************************************************************} { Автоматизированная система управления персоналом } { (c) Донецкий национальный университет, 2002-2004 } {****************...
unit uBuffer2; interface uses Buffer, Controls, IBDatabase, IBQuery, Halcn6Db, SysUtils; type BufList = array of String; TBufferTransaction2 = class private Buffers: BufList; IB_Buffers: BufList; First_PBKey, Last_PBKey: Integer; WorkTransaction: TIBTransaction; ...