text
stringlengths
14
6.51M
unit RCADOQuery; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Db, DBTables, ADODb, uSQLFunctions, uVarianteFunctions, Variants; type TRCADOQuery = class(TADOQuery) private { Private declarations } FOriginalSQl : String; FKeyFields : String; function...
namespace RemObjects.Elements.EUnit; interface uses Sugar; type ConsoleTestListener = public class (IEventListener) private Offset: Integer; method StringOffset: String; method StateToString(State: TestState): String; protected method Output(Message: String); virtual; public...
unit ExportarOrcamento.Controller; interface uses ExportarOrcamento.Controller.interf, Orcamento.Model.interf, TESTORCAMENTOITENS.Entidade.Model, Generics.Collections, FireDAC.Stan.Param, FireDAC.DatS, FireDAC.DApt.Intf, FireDAC.DApt, FireDAC.Comp.DataSet, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan....
unit SynHighlighterMyGeneral; {$I SynEdit.inc} interface uses SysUtils, Windows, Messages, Classes, Controls, Graphics, SynEditTypes, SynEditHighlighter, SynHighLighterGeneral, JclStrings; type TtkTokenKind = (tkComment, tkIdentifier, tkKey, tkNull, tkNumber, tkPreprocessor,...
unit Chapter09._07_Solution1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Math, DeepStar.Utils; /// 416. Partition Equal Subset Sum /// https://leetcode.com/problems/partition-equal-subset-sum/description/ /// 记忆化搜索 /// 时间复杂度: O(len(nums) * O(sum(nums))) /// 空间复杂度: O(len(nums) * O(sum(nums))) typ...
(* * DGL(The Delphi Generic Library) * * 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 ab...
unit MMBitmap; interface {$DEFINE ODS} uses Windows, { for HPalette } Classes, { for TStream } Graphics { for TBitmap} ; type TMMBitmap = class(TBitmap) private FCanvas: TCanvas; FIgnorePalette: Boolean; FTransparentMode: TTransparentMode; FFileName...
unit FreeOTFEDLLCypherAPI; // API ported from FreeOTFE4PDACypherAPI.h interface uses OTFEFreeOTFE_DriverCypherAPI, Windows; //#define DLLEXPORT_CYPHER_IDENTIFYDRIVER TEXT("CypherIdentifyDriver") //typedef DWORD (* PCypherDLLFnIdentifyDriver)( // DIOC_CYPHER_IDENTIFY...
unit uMetaData; interface uses classes, uAttributes, SysUtils; type TMetaDataItem = class(TCollectionItem) private FAttributeType: TAttributeType; FGridView: TObject; FParamName: string; FGroupID: integer; FColName: string; FParam1: integer; FParam2: integer; FC...
unit ippsOver1; interface uses util1,ippdefs,ipps; (* ///////////////////////////////////////////////////////////////////////////// // Arithmetic functions; ///////////////////////////////////////////////////////////////////////////// *) (* //////////////////////////////////////////////////////////...
{//************************************************************//} {// Projeto MVCBr //} {// tireideletra.com.br / amarildo lacerda //} {//************************************************************//} {// Data: 03/03/2017 ...
unit tal_uhistorysettings; {$mode delphi}{$H+} interface uses Classes, SysUtils, tal_ihistorysettings, Controls, StdCtrls, Forms, trl_irttibroker, trl_ipersist, trl_upersist, ExtCtrls, SynEditMiscClasses; type { THistoryData } THistoryData = class private fName: string; fID: string; published ...
unit genlist; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type { TGenericList } generic TGenericList<_TGenItem> = class(TList) var private protected function GetItems(Index: Integer): _TGenItem; procedure SetItems(Index: Integer; AItem: _TGenItem); pu...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
unit UfrTypes; {$ifdef FPC} {$mode DELPHI} {$endif} interface uses Windows; const //stPayNotEqualToPrice = 'Payment is not equal to the goods price'; errOk = 0; // без ошибок { универсальные ошибки инициализации 1-99 } errPortAlreadyUsed = 1; // порт уже использ...
unit values; {$MODE Delphi} interface uses Classes, SysUtils; type v_type=(vt_str,vt_int,vt_float,vt_flag,vt_ptr,vt_vect,vt_frame,vt_unk); tcog_type=(ct_unk,ct_ai,ct_cog,ct_key,ct_mat,ct_msg, ct_3do,ct_sec,ct_wav,ct_srf,ct_tpl,ct_thg, ct_int,ct_float,ct_vect); TAdjType=(at_unk,at_mat,at_cog,at_...
unit NSqlExceptions; {$I NSql.Inc} interface uses {$IFDEF NSQL_XE2UP} System.SysUtils; {$ELSE} SysUtils; {$ENDIF} type ENativeSqlException = class(Exception) private FMsg: UnicodeString; FExtendedInfo: UnicodeString; FErrorAtClass: UnicodeString; FIsNative: Boolean; pub...
unit uModTransferBarang; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs, uModApp, uModGudang, uModBarang, uModUnit, uModSatuan, Datasnap.DBClient, System.Generics.Collections; type TModTransferBarangItem = class; TModTransferBarang = class(TModApp) private FTB...
unit uBoleto.Intf; interface type IContaBancaria = interface ['{1529D3A2-10E4-44DD-9259-DE0C9484B885}'] function GetCodigoBanco: UInt16; procedure SetCodigoBanco(const pCodigoBanco: UInt16); property CodigoBanco: UInt16 read GetCodigoBanco write SetCodigoBanco; end; ICedente = interface [...
unit uniteConsigneur; interface uses SysUtils; const //journalSucces est fichier texte conservant le nom de fichier acces.log. journalSucces= 'acces.log'; //journalErreur est fichier texte conservant le nom de fichier erreurs.log. journalErreur= 'erreurs.log'; type //Consigneur des me...
//--------------------------------------------------------------------------- // 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 config; {$mode objfpc}{$H+} interface uses Classes, SysUtils, IniFiles; type TConfigIndex = ( cfWindowX, cfWindowY, cfWindowW, cfWindowH, cfConsoleWindowX, cfConsoleWindowY, cfConsoleWindowW, cfConsoleWindowH ); function ConfigGetStr(I: TConfigIndex): String; function Con...
{ Esta unit serve pra manipular arquivo binário da lotofacil, pra a tabela lotofacil_num. A tabela lotofacil_num é composta por: ltf_id -> número identificador de cada combinação. ltf_qt -> a quantidade de bolas na combinação, valores válidos: 15, 16, 17, ...
unit uWmLabelEditBtn; interface uses Classes, Messages, StdCtrls, Controls, Graphics, Types, Windows, Forms, cxContainer, cxEdit, cxMaskEdit, cxButtonEdit, cxControls; type TLabelPosition = (lpLeftTop, lpLeftCenter, lpLeftBottom, lpTopLeft, lpBottomLeft, lpLeftTopLeft, lpLeftCenterLeft, lpLeftBottomLeft, ...
{------------------------------------------------------------------------------- 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/. --------------------------------------...
{ Clever Internet Suite Version 6.2 Copyright (C) 1999 - 2006 Clever Components www.CleverComponents.com } unit clCookies; interface {$I clVer.inc} uses Classes; type TclCookieItem = class(TCollectionItem) private FSecure: Boolean; FValue: string; FExpires: string; FName: string; FD...
//--------------------------------------------------------------------------- // Copyright (c) 2016 Embarcadero Technologies, Inc. All rights reserved. // // This software is the copyrighted property of Embarcadero Technologies, Inc. // ("Embarcadero") and its licensors. You may only use this software if you /...
Unit DataParsers; Interface Uses Classes, Windows, Generics.Collections, IRPMonDll, AbstractRequest; Const DATA_PARSER_INIT_ROUTINE = 'DataParserInit'; IRPMON_DATA_PARSER_VERSION_1 = 1; Type _DP_REQUEST_EXTRA_INFO = Record DriverName : PWideChar; DeviceName : PWideChar; FileName : PWideCha...
unit GLDAxisFrame; interface uses Classes, Controls, Forms, StdCtrls, GLDTypes; type TGLDAxisFrame = class(TFrame) GB_Axis: TGroupBox; RB_X: TRadioButton; RB_Y: TRadioButton; RB_Z: TRadioButton; procedure AxisChange(Sender: TObject); private FOnAxisChange: TNotifyEvent; ...
(* Task: given a square with angles at (1,0), (0,1), (-1,0), and (0,-1), determine whether a point belongs to it or not. Solution: rotate the point by 45 degrees and see whether it belongs to the rotated square. The diagonal of the original square (or the side of the rotated one) is sqrt(2). *) program ex3a; type Po...
unit uSistemInfo; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TFrmError = class(TForm) btnClose: TButton; memSummary: TMemo; procedure FormClose(Sender: TObject; var Action: TCloseAction); private { Private declarations } public ...
unit stmMatBuffer1; interface {$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF} uses util1,IPPdefs17; { TmatBuffer implémente une matrice rudimentaire analogue à Tmatrix . Elle ne doit être utilisée que dans les calculs internes. } type TmatBuffer=class ...
unit DataSet.Model; interface uses System.SysUtils, Data.DB, FireDac.DApt, FireDac.Comp.Client, DataSet.Types; type TDataSet_Model = class private { Private declarations } FTableName: string; FTableIndex: string; FDTable1: TFDTable; protected function GetDataSet: TDataSet; fun...
{Objectif : 8- algo + pascal : Le jeu de loie le joueur est caractériser par un nombre nommé "place" compris entre 0 et 66 qui situe sa position sur le jeu de loie sachant qu'après le jet des 2 dés on applique les règles suivantes : on avance du nombre de case i ndiqué par la somme des dés. SI on arrive juste sur la c...
unit TPedido; interface {$IF VER330} REST.JSON.Types; {$ENDIF} {$M+} type TPedidoJson = class private FnomeSepardor: String; Fcodigo: String; [JSONMarshalledAttribute(false)] FvalorTotal: Double; procedure Setcodigo(const Value: String); procedure SetnomeSepardor(const Value: String); ...
// Fast Fourier Transform demo program {$APPTYPE CONSOLE} program FFT; const DataLength = 256; type Complex = record Re, Im: Real; end; TData = array [0..DataLength - 1] of Real; TComplexData = array [0..DataLength - 1] of Complex; PData = ^TData; var x, S: ...
unit uptext; { Insert and translate uptext } interface procedure initUptext; procedure clearUptext; function uptextLineNo(voice: integer): integer; procedure setUptextLineNo(voice, lno: integer); procedure addUptext(voice: integer; var no_uptext: boolean; var pretex: string); implementation uses globals, strings, ...
unit debugger; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Dialogs, Windows, Forms, svm_mem; type TInstructionPointer = cardinal; TMemory = array of pointer; PMemory = ^TMemory; TByteArr = array of byte; PByteArr = ^TByteArr; TConstSection = object constants: array of v...
unit uComments_AE; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, cxContainer, cxEdit, cxTextEdit, cxMemo, StdCtrls, cxControls, cxGroupBox, cxButtons, cnConsts; type Tfrm_comments_ae = class(TForm) OkButton: TcxButton; Cancel...
unit uCreateFile; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, Buttons, ExtCtrls, StdCtrls, Grids, PaiDeForms, Db, DBTables, PowerADOQuery, Mask, ADODb, siComp, siLangRT, siDialog, LblEffct; type TFrmCreateFile = class(TFrmParentForms) Panel1: TPane...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { Nodes are used to describe lines, polygons + more. } unit VXS.Nodes; interface uses System.Classes, System.SysUtils, System.Math, VXS.OpenGL, VXS.VectorGeometry, VXS.Context, VXS.BaseClasses, VX...
unit uPrintRepairCliReceipt; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Db, DBTables, ComCtrls, ADODB, siComp, siLangRT, PaiDeForms, PaidePrinter; type TPrintRepairCliReceipt = class(TFrmParentPrint) lblPrint: TLabel; pnlPrinter: TPane...
unit CamPlayer_Unit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, LibVlc, ExtCtrls; const VLC_TIMEOUT = 500; MSG_FULLSCREEN = WM_USER + 100; type TCamPlayer = class(TFrame) Button1: TButton; Panel1: TPanel; procedure FrameResi...
unit MeshPluginBase; interface uses GlConstants, ShaderBank; type PMeshPluginBase = ^TMeshPluginBase; TSetShaderAttributesFunc = procedure (const _ShaderBank: PShaderBank; _VertexID: integer; const _PPlugin: PMeshPluginBase) of object; TMeshPluginBase = class protected FPluginType ...
unit ExZmodm1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls, StdCtrls, ExtCtrls, Apax1_TLB; type TForm1 = class(TForm) Panel1: TPanel; Label1: TLabel; edtTapiNumber: TEdit; OpenDialog1: TOpenDialog; Apax1: TApax; procedure Apax1TapiCo...
unit Unit17; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, DragDrop, DropTarget, DragDropFile, o_DragAndDropDataAdapter, o_ObjOutlookDrop; type TForm17 = class(TForm) grd: TStringGrid; D...
unit MeshSmoothVertexNormals; interface uses MeshProcessingBase, Mesh, BasicMathsTypes, BasicDataTypes, NeighborDetector, LOD; {$INCLUDE source/Global_Conditionals.inc} type TMeshSmoothVertexNormals = class (TMeshProcessingBase) protected procedure MeshSmoothVertexNormalsOperation(var _...
unit ImageZoomU; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.Objects, FMX.Gestures; type TPinchZoom = class(TForm) GestureManager1: TGestureManager; Image1: TImage; T...
unit DivOpNewtonTest; {$mode objfpc}{$H+} interface uses SysUtils, fpcunit, testregistry, Math, TestHelper, uEnums, uIntXLibTypes, uIntX; type { TTestDivOpNewton } TTestDivOpNewton = class(TTestCase) private F_length: integer; function GetAllOneDigits(mlength: integer): TIntXLibUIn...
unit uDischargeAdd; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, uSpravControl, uDateControl, uFControl, uLabeledFControl, uCharControl, uIntControl, uFormControl, uInvisControl, uBoolControl, AccMgmt, BaseTypes, FIBDatabase, pFI...
unit SyntaxHighlight_Reg; interface uses Classes,SyntaxHighlighter,SyntaxHighlightMemo,TextEditorFooter,DesignEditors,DesignIntf,Menus, SysUtils,ShortCutCollection,Windows; type TShortCutProperty=class(TPropertyEditor) public function GetValue:string;override; procedure SetValue(const Val...
unit ZPrintReport; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, FIBDataSet, pFIBDataSet, FIBDatabase, pFIBDatabase, frxClass, frxDBSet, cxLookAndFeelPainters, ExtCtrls, StdCtrls, cxButtons, cxDropDownEdit, cxFontNameComboBox, cxControls, cxContainer, c...
unit nsErrRestoreFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, nsGlobals, nsTypes, StrUtils; type TfrmErrorRestore = class(TForm) btnYes: TButton; Image1: TImage; Label1: TLabel; Label6: TLabel; Labe...
// // Generated by JavaToPas v1.5 20180804 - 083210 //////////////////////////////////////////////////////////////////////////////// unit android.webkit.ConsoleMessage_MessageLevel; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes; type JConsoleMessage_MessageLevel = interface; JConsoleMessage_...
Unit uutama; Interface Uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ShellAPI, FileCtrl, XPMan, ComCtrls, StdCtrls; Type Tf0 = Class(TForm) c0: TLabel; c1: TDriveComboBox; c2: TButton; c3: TGroupBox; c4: TLabel; c5: TProgressBar;...
unit ufrmPopupGrid; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus, cxControls, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, cxNavigator, Data.DB, cxDBData, ...
program SearchRndElementInRndArray; uses Crt; const Arrlen = 10; var Arr: Array [1..Arrlen] of integer; Key: integer; IsFound: boolean; i: integer; begin randomize; for i := 1 to Arrlen do begin Arr[i] := Random(15); end; writeln('Filled random Array: '); for i := 1 to Arrlen do begin ...
{ Syn Copyright © 2003-2004, Danail Traichev. All rights reserved. neum@developer.bg, 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.mozill...
unit MeshVxt; // Mesh with Westwood Voxel Support (for Voxel Section Editor III) interface {$INCLUDE source/Global_Conditionals.inc} {$ifdef VOXEL_SUPPORT} uses dglOpenGL, GLConstants, Voxel, Normals, BasicMathsTypes, BasicDataTypes, BasicRenderingTypes, Palette, SysUtils, ShaderBank, MeshGeometry...
(* ABSSPELL.PAS - Copyright (c) 1995-1996, Eminent Domain Software *) unit AbsSpell; {-Abstract Spell Checking Dialog Form} {$D-} {$L-} interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Menus, ExtCtrls, EDSUtil, SpellGbl; const {Modal Resu...
unit Roles; {$mode objfpc}{$H+} interface uses DecConsts,Field; type TRoleFunc=procedure(num: integer); type TRole=(roleIdle, roleKeeper, roleKeeperDefendPenalty, roleKeeperPassive, roleAtackerKicker, roleAtackerReceiver, roleReceivePass, roleMamao, roleAtackerSupporter, ...
unit ibSHUserManagerFrm; interface uses SHDesignIntf, SHEvents, ibSHDesignIntf, ibSHComponentFrm, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ToolWin, ExtCtrls, VirtualTrees, Menus, ImgList, AppEvnts, ActnList; type TibSHUserManagerForm = class(T...
unit SDUDialogs; // Note: In order to use this, need XP Manifest in your application // See also: TaskDialogIndirect(...) and TASKDIALOGCONFIG!!! // msg boxes fns moved to lcDialogs interface uses Dialogs, Windows; (* const // Consts for use with Vista TaskDialogs // Taken from CommCtrl.h, Vis...
// // postprocess.h header binding for the Free Pascal Compiler aka FPC // // Binaries and demos available at http://www.djmaster.com/ // (* * Copyright (C) 2001-2003 Michael Niedermayer (michaelni@gmx.at) * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or modify * it un...
unit GLAntiZFightShaderDemo; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Math, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Imaging.Jpeg, GLScene, GLSkydome, GLWin32Viewer, GLObj...
unit Magento.Stock_Item; interface uses Magento.Interfaces, System.JSON; type TMagentoStock_Item = class (TInterfacedObject, iMagentoStock_Item) private FParent : iMagentoExtensionAttributes; FJSON : TJSONObject; public constructor Create(Parent : iMagentoExtensionAttribute...
unit MeshColourCalculator; interface uses BasicMathsTypes, BasicDataTypes, NeighborDetector, MeshGeometryList, Mesh; type TMeshColourCalculator = class private function GetEquivalentVertex(_VertexID,_MaxVertexID: integer; const _VertexEquivalences: auint32): integer; public ...
unit uFPGListView; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ComCtrls, ClipBrd, IntfGraphics, uFPG, uLoadImage, uMAPGraphic, utools; type TFPGListView = class(TListView) private { Private declarations } FrepaintNumber : Int...
unit ufrmGoodReceiving; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMasterDialogBrowse, StdCtrls, ExtCtrls, SUIButton, Grids, BaseGrid, AdvGrid, ufraFooter5Button, JclStrings, Mask, JvToolEdit, JvEdit, ActnList, DateUtils, AdvObj, JvExStdCtrls, JvVali...
unit BsReportFilter; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, ExtCtrls, cxControls, cxContainer, cxEdit, cxLabel, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar, cxSpinEdit, uCommon_Messages, cxCheckBox, ...
namespace wireframeviewerapplet; // Sample applet project by Brian Long (http://blong.com) // Translated from Michael McGuffin's WireframeViewer applet // from http://profs.etsmtl.ca/mmcguffin/learn/java/11-3d interface uses java.applet.*, java.awt.*, java.awt.event.*; type Point3D = class ...
namespace proholz.xsdparser; interface type XsdExtensionVisitor = public class(AttributesVisitor) private // * // * The {@link XsdExtension} instance which owns this {@link XsdExtensionVisitor} instance. This way this visitor // * instance can perform changes in the {@link XsdExtension} object. // ...
unit NFSEditProp; interface uses Classes, SysUtils, Contnrs, Controls, StdCtrls, ExtCtrls, Graphics, Vcl.Mask; type TnfsEditProp = class(TPersistent) private fOnChanged: TNotifyEvent; fAlignment: TAlignment; fEdit: TMaskEdit; fFont: TFont; fEnabled: Boolean; procedure setAlignment(con...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit uAnimationHelper; interface uses System.Math, Winapi.Windows, Vcl.Graphics, Vcl.ExtCtrls, Dmitry.Utils.System, GIFImage, uConstants, uAnimatedJPEG; type TDrawProcedure = reference to procedure; type TAnimationHelper = class helper for TGraphic public function V...
// Generated from XML data unit NtOrdinalData; interface implementation uses SysUtils, NtOrdinal, NtPattern; // Many European languages use just period to indicate an ordinal number function GetPeriodShort(ordinal: TOrdinal; plural: TPlural; gender: TGender): String; begin Result := IntToStr(ordinal) + '....
{*******************************************************} { } { 基于HCView的电子病历程序 作者:荆通 } { } { 此代码仅做学习交流使用,不可用于商业目的,由此引发的 } { 后果请使用者承担,加入QQ群 649023932 来获取更多的技术 } { 交流。 ...
// файл figureUnit.pas unit figureUnit; interface uses vectorUnit, colorUnit; //----------------------------------- type Tfigure = class protected center : Tvector; // центр фигуры; normal : Tvector; // нормаль; reflected : Tvector; // отражённый луч; color : Tcvet; // цвет...
unit SDUDropFiles; // File/Directory Drag Drop component // Set "DropControl" as appropriate, and then set Active to TRUE. // Note: If DropControl is set to nil, the parent control (e.g. frame/form) // will become the drop target) // !!! WARNING !!! // Not guaranteed to work correctly if multiple instan...
unit VOpDivRecType10Form; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, VCustomRecordForm, ToolEdit, CurrEdit, StdCtrls, Mask, ExtCtrls, COpDivSystemRecord, COpDivRecType10, Menus, Buttons; type TOpDivRecType10Form = class(TCustomRecordForm) Label1: TLabel; ...
unit unFrmCadDetailBase; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, Buttons, unFrmBase, unControllerBase, unModelBase, LCLType; type CadOperation = (view, insert, edit, filter); { TUpdater } TUpdater = class(TAggregatedObject, IObserverCurrent) ...
unit PrintForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, DB, FIBDataSet, pFIBDataSet, FR_DSet, FR_DBSet, FR_Class, ExtCtrls, StdCtrls, cxButtons, MainForm, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDo...
//****************************************************************************** // Проект "Контракты" // Кредит // Чернявский А.Э. 2007г. //****************************************************************************** unit Credit_Unit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Cont...
unit SortForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Menus, InflatablesList_Types, InflatablesList_Manager; type TfSortForm = class(TForm) lblProfiles: TLabel; lbProfiles: TListBox; btnProfileLoad: TButton; bt...
unit CCJAL_CreateUserMsg; {*********************************************** * © PgkSoft 05.10.2015 * Журнал интернет заказов * Механизм <Центр уведомлений> * Создание пользовательского уведомления ***********************************************} interface uses Windows, Messages, SysUtils, Variants, Classes, Gr...
unit Invoice.Model.Windows; interface uses Invoice.Model.Windows.Interfaces, Winapi.Windows, Winapi.Messages, Vcl.Dialogs, Vcl.Forms, System.SysUtils, System.Variants, System.Classes, System.UITypes, System.IniFiles; type TModelWindows = class(TInterfacedObject, iModelWindows) constructor Create; ...
unit ShopsForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, Spin, Menus, ShopFrame, InflatablesList_Item, InflatablesList_Manager; const LI_WM_USER_LVITEMSELECTED = WM_USER + 234; type TfShopsForm = class(TForm) ...
//------------------------------------------------------------------------------ //QueryBase UNIT //------------------------------------------------------------------------------ // What it does- // Base class for query collections // // Changes - ...
unit TextureAtlasExtractor; interface uses GLConstants, BasicMathsTypes, BasicDataTypes, Geometry, NeighborDetector, LOD, IntegerList, Math, VertexTransformationUtils, NeighborhoodDataPlugin, MeshPluginBase, SysUtils, GeometricAlgebra, Multivector, TextureAtlasExtractorBase; {$INCLUDE source/Global_Con...
unit Unit1; { Source: https://rosettacode.org/wiki/Pi#Delphi } interface uses Classes, Controls, Forms, StdCtrls; type TForm1 = class(TForm) memScreen: TMemo; btnStartStop: TButton; procedure btnStartStopClick(Sender: TObject); procedure FormCreate(Sender: TObject); private ...
(* 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...
unit fGridColors; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.UITypes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.Buttons, uGlobal; type TGridColorsForm = class(T...
unit MultiVector; interface uses BasicDataTypes, Math, GAConstants, GABasicFunctions, Debug, SysUtils; type TMultiVector = class private FData: array of Single; FDimension: Cardinal; FSize: Cardinal; protected // Gets function GetDimension: Cardinal; functi...
(* W96SPELL.PAS - Copyright (c) 1995-1996, Eminent Domain Software *) unit W96Spell; {-WordPro 96 style spell dialog for EDSSpell component} interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, Buttons, ExtCtrls, StdCtrls, EDSUtil, {$IFDEF Win32} {$IFDEF Ver100} ...
unit fre_system; { (§LIC) (c) Autor,Copyright Dipl.-Ing. Helmut Hartl, Dipl.-Ing. Franz Schober, Dipl.-Ing. Christian Koch FirmOS Business Solutions GmbH www.openfirmos.org New Style BSD Licence (OSI) Copyright (c) 2001-2009, FirmOS Business Solutions GmbH All rights reserved. Redistr...
unit uUserUtils; interface uses System.SysUtils, System.Classes, Winapi.Windows, Winapi.ShellApi, Dmitry.Utils.System, uMemory, uAppUtils; function RunAsAdmin(hWnd: HWND; FileName: string; Parameters: string; IsCurrentUserAdmin: Boolean): THandle; function RunAsUser(ExeName, ParameterStri...
{ Copyright (c) 2016 by Albert Molina Copyright (c) 2017 by BlaiseCoin developers 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 BlaiseCoin, a P2P crypto-currency. } unit upcdaemon; {$mode ob...
// // Generated by JavaToPas v1.4 20140515 - 181007 //////////////////////////////////////////////////////////////////////////////// unit javax.net.ssl.SSLEngineResult_HandshakeStatus; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes; type JSSLEngineResult_HandshakeStatus = interface; JSSLEngin...
unit Tests.TCommandFactory; interface uses DUnitX.TestFramework, System.Classes, System.SysUtils, Vcl.Pattern.Command; {$TYPEINFO ON} { Requred for old RTTI metadata form published section } type [TestFixture] TFactoryNoInjectionTest = class(TObject) strict private FOwnerComponent: TComponent; ...
program pacmanmodif; uses keyboard, crt, SysUtils, MMSystem; const MAX = 100; type Maze = Array[1..MAX, 1..MAX] of char; function readChoice(): Integer; var choice : Integer; begin write('Please type your choice: '); readln(choice); readChoice := choi...