text
stringlengths
14
6.51M
unit UnitMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.WebBrowser, System.IOUtils, FMX.StdCtrls, SG.ScriptGate, FMX.Controls.Presentation; type TfrmMain = class(TForm) wbWebBrowser:...
unit uPathProvideTreeView; interface uses Generics.Collections, Winapi.Windows, Winapi.Messages, Winapi.ActiveX, System.SysUtils, System.Classes, System.DateUtils, Vcl.Forms, Vcl.Dialogs, Vcl.Controls, Vcl.Graphics, VirtualTrees, Vcl.Themes, Vcl.ImgList, Dmitry.Graph...
unit Chapter05._04_Solution1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, AI.ListNode, DeepStar.Utils; // 24. Swap Nodes in Pairs // https://leetcode.com/problems/swap-nodes-in-pairs/description/ // 时间复杂度: O(n) // 空间复杂度: O(1) type TSolution = class(TObject) public function swapPairs(var h...
unit MainForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, uAssociativeArray, luaAssociativeArray, LuaWrapper; type { TfrmMain } TfrmMain = class(TForm) btnRead: TButton; btnWrite: TButton; edName: TEdit; edValue: TEdit; ...
unit uOilQuery; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Db, MemDs, DBAccess, Ora,uOilStoredProc; type TOilQuery = class(TOraQuery) private FDatabaseName : String; FDataSrc: TDataSource; FRequestLive : Boolean; FUpdateMode : TUpdateMode; pr...
unit uOilPanel; interface uses SysUtils, Classes, Controls, ExtCtrls, Messages; type TOilPanel = class(TPanel) private { Private declarations } FOnMouseLeave: TNotifyEvent; FOnMouseEnter: TNotifyEvent; procedure CMMouseEnter(var Message: TMessage); message CM_MOUSEENTER; procedure CMMouseLe...
Unit MTYPES; INTERFACE Var InitDef, HangDef : String; ComPort, ComPars : Byte; Const CR = #13+#10; COM1 = 0; { Communication ports } COM2 = 1; C110 = 0; { Speed in BPS of COMs } C150 = 32; C300 = 64; C600 = 96; C...
unit uFrmBaseBtypeInput; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uFrmBaseInput, Menus, cxLookAndFeelPainters, ActnList, cxLabel, cxControls, cxContainer, cxEdit, cxCheckBox, StdCtrls, cxButtons, ExtCtrls, Mask, cxTextEdit, cxMaskEdit, cxButtonEdit, cx...
unit DSA.Tree.SetCompare; interface uses System.SysUtils, System.Classes, DSA.Interfaces.DataStructure, DSA.Tree.BSTSet, DSA.Tree.LinkedListSet, DSA.Utils, DSA.Tree.AVLTreeSet; procedure Main; implementation function testTime(newSet: ISet<string>; fileName: string): string; var startTime, endTime:...
unit Pospolite.View.HTML.Layout; { +-------------------------+ | Package: Pospolite View | | Author: Matek0611 | | Email: matiowo@wp.pl | | Version: 1.0p | +-------------------------+ Comments: ... } {$mode objfpc}{$H+} {$modeswitch advancedrecords} interface uses Classes, SysU...
unit LrGraphics; interface uses Types, Classes, Graphics; type TLrHAlign = ( haDefault, haLeft, haCenter, haRight ); TLrVAlign = ( vaDefault, vaTop, vaMiddle, vaBottom {, vaBaseline} ); function LrCalcPaintPosition( inW, inH, inPictureW, inPictureH: Integer; inHAlign: TLrHAlign; inVAlign: TLrVAlig...
unit abApplication; interface uses Windows; type TProcedure = procedure; TApplication = class(TObject) private FStartup: TProcedure; FMain: TProcedure; FShutdown: TProcedure; FTerminated: boolean; function ProcessMessage(var Msg: TMsg): Boolean; protected public property Startup: T...
unit DPM.IDE.SearchBarFrame; interface {$I ..\DPMIDE.inc} uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.ImageList, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ImgList, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Themes, {$IFDEF USEIMAGECOLLECTION} Vcl.V...
unit uModSetupPOS; interface uses uModApp, uModUnit; type TModSetupPOS = class(TModApp) private FAUTUNIT: TModUnit; FSETUPPOS_COUNTER_NO: Integer; FSETUPPOS_DATE: TDateTime; FSETUPPOS_IP: string; FSETUPPOS_IS_ACTIVE: Integer; FSETUPPOS_IS_RESET: Integer; FSETUPPOS_NO_TRANSAKSI: stri...
unit HCEmrViewLite; interface uses Classes, SysUtils, HCViewLite, HCCustomData, HCItem; type THCImportAsTextEvent = procedure (const AText: string) of object; THCEmrViewLite = class(THCViewLite) private FPropertys: TStringList; protected /// <summary> 当有新Item创建时触发 </summary> /// <param name="A...
unit Embedded_GUI_ARM_Common; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Dialogs, LCLType, Controls, ProjectIntf, Embedded_GUI_Common, Embedded_GUI_Embedded_List_Const; // Unit wird von "./Tools/Ebedded_List_to_const" generiert. type { TARM_ProjectOptions } TARM_ProjectOptions = class s...
unit uFuncoes; interface uses Classes, SysUtils, DBXJSON, IdHTTP, IdSSLOpenSSL, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdExplicitTLSClientServerBase, IdMessageClient, IdSMTPBase, IdSMTP, IdMessage, IdSSL, IdText, IdAttachmentFile, Dialogs, xmldom, XMLIntf, msxmldom, XMLDoc; ...
unit MobQueries; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} interface uses {RTL/VCL} {Project} Mob, QueryBase, {3rd Party} ZSqlUpdate ; //------------------------------------------------------------------------------ //TMobQueries CLAS...
// // Generated by JavaToPas v1.4 20140526 - 133246 //////////////////////////////////////////////////////////////////////////////// unit javax.xml.transform.TransformerException; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, javax.xml.transform.SourceLocator; type JTransformerException = in...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit t_CSSThreads; interface uses Classes, SysUtils, IniFiles, Forms, DateUtils, System.Math, Variants, IdTCPServer, IBDatabase, IBSQL, IdHTTP, IdUri, n_CSSThreads, n_free_functions, n_server_common, v_constants, n_LogThreads, n_DataSetsManager, n_constants, n_DataCacheInMemory, t_function; type ...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { PFX particle effects revolving around the use of Perlin noise. } unit VXS.PerlinPFX; interface {$I VXScene.inc} uses System.Classes, System.Math, VXS.OpenGL, VXS.ParticleFX, VXS.Graphics, VXS.Perl...
unit uRegSCH; {******************************************************************************* * * * Название модуля : * * ...
// ################################## // ###### IT PAT 2018 ####### // ###### GrowCery ####### // ###### Tiaan van der Riel ####### // ################################## unit frmCreateNewAccount_u; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms...
unit GLDMaterial; interface uses Classes, GL, GLDConst, GLDTypes, GLDClasses; type TGLDMaterial = class; TGLDMaterialList = class; TGLDMaterial = class(TGLDSysClass) private FAmbient: TGLDColor4fClass; FDiffuse: TGLDColor4fClass; FSpecular: TGLDColor4fClass; FEmission: TGLD...
{ Article: System Tray Delphi application - quick and easy http://delphi.about.com/library/weekly/aa121801a.htm Placing Delphi applications in the System Tray in easy steps. The perfect place for programs that are left running for long periods of time with no user interaction. } unit frmMain; interface uses Wind...
unit uFrmAddItems; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, PaideTodos, siComp, siLangRT, StdCtrls, Buttons, ExtCtrls, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData, cxGridLevel, cxClasses, cxControls, cxGridCustomView, c...
// Copyright (c) 2009, ConTEXT Project Ltd // 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 condition...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit Ils.Redis.Conf; interface uses IniFiles; type TRedisConf = record Host: string; Port: Integer; Password: string; SSL: Boolean; Enabled: Boolean; constructor Create(const AHost: string; const APort: Integer; const APassword: string; const ASSL: Boolean; const AEnabled: Boolean); over...
namespace archimedianspiralapplet; // Sample applet project by Brian Long (http://blong.com) // Translated from Michael McGuffin's ArchimedianSpiral applet // from http://profs.etsmtl.ca/mmcguffin/learn/java/12-miscellaneous interface uses java.util, java.applet.*, java.awt; type ArchimedianS...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, XMLDoc, XMLIntf, ShellAPI, XPMan, ActiveX, IdBaseComponent, IdComponent, IdTCPServer, IdCustomHTTPServer, IdHTTPServer, ShlObj, Menus, ExtCtrls, ComCtrls, IniFiles; type TMain = class(TF...
unit uAutoTablesClientDM; interface uses System.SysUtils, System.Classes, IPPeerClient, REST.Backend.ServiceTypes, System.JSON, REST.Backend.EMSServices, REST.Backend.MetaTypes, REST.Backend.BindSource, REST.Backend.ServiceComponents, Data.Bind.Components, Data.Bind.ObjectScope, REST.Client, REST.Backend.EndP...
//============================================================================= // sgArduino.pas //============================================================================= /// SwinGame's Arduino unit is capable of connecting and communicating /// with an Arduino device using a Serial port. /// /// @module Arduino...
unit uSubCustomerInfo; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uParentSub, siComp, siLangRT, StdCtrls, Buttons, ExtCtrls, DB, ADODB, cxLookAndFeelPainters, cxButtons, Menus, uFrmSearchCustomer, uSystemTypes; type TSubCustomerInfo = class(TParentSub) ...
unit AdjustQtyReasonView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Grids, ExtCtrls, contnrs; type TvwAdjustReason = class(TForm) pnTop: TPanel; pnBottom: TPanel; stgReason: TStringGrid; bbtnAdd: TBitBtn; procedure ...
unit bufferedwrites; {$mode objfpc}{$H+} interface uses Classes, SysUtils, threads, globaltypes; type TBufferedWriter = class private FBufferSize : integer; FBufferP : PChar; FBufferPosP : PChar; FMutex : TMutexHandle; FBatchSize : integer; FBytesUsed : integer; FLogFile : file of ...
/// <summary> /// Unit generated using the Delphi Wmi class generator tool, Copyright Rodrigo Ruz V. 2010-2012 /// Application version 1.0.4674.62299 /// WMI version 7601.17514 /// Creation Date 17-10-2012 18:18:32 /// Namespace root\CIMV2 Class Win32_OperatingSystem /// MSDN info about this class http://msdn2.microsof...
unit ibSHPSQLDebuggerActions; interface uses SysUtils, Classes, Menus, SHDesignIntf, ibSHDesignIntf, ibSHConsts; type TibSHPSQLDebuggerPaletteAction = class(TSHAction) public constructor Create(AOwner: TComponent); override; function SupportComponent(const AClassIID: TGUID): Boolean; ov...
unit uContinente; interface uses System.Generics.Collections, uPais, uEnumContinente, System.SysUtils, uExceptions; type TContinente = class private FNomeContinente : tContinentes; FoListaDePaises : TList<TPais>; function GetNome: tContinentes; procedure SetNome(const Value: tContinentes); ...
unit MainForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, LuaWrapper, StdCtrls; type { TfrmMain } TfrmMain = class(TForm) btn: TButton; procedure FormCreate(Sender: TObject); procedure FormShow(Sender: TObject); private { private...
unit HandlebarsScanner; {$mode objfpc}{$H+} interface uses Classes; type THandlebarsToken = ( tkEOF, tkContent, tkOpenPartial, tkOpenPartialBlock, tkOpenBlock, tkOpenEndBlock, tkEndBlock, tkOpenRawBlock, tkCloseRawBlock, tkEndRawBlock, tkOpenBlockParams, tkCloseB...
//////////////////////////////////////////////////////////////////////////////// // // **************************************************************************** // * Project : Fangorn Wizards Lab Extension Library v2.00 // * Unit Name : Unit1 // * Purpose : Тестовый пример использования FWCobweb // * ...
unit CrudExampleHorseServer.Model.Conexao.DB; interface uses Data.DB , TBGConnection.View.Principal , System.Classes , TBGFiredacDriver.View.Driver , FireDAC.UI.Intf , FireDAC.VCLUI.Wait , FireDAC.Stan.Intf , FireDAC.Stan.Option , FireDAC.Stan.Error , FireDAC.Phys.Intf , FireDAC.Stan.Def , Fi...
{ "name": "Five teams 2vs2 shared or FFA", "description":"Hemispheric map inspired by WPMarshall's pack, you can play with 5 teams shared or 5 players FFA", "version":"1.0", "creator":"TheRealF", "players":[10, 10], "planets": [ { "name": "Burning star", ...
namespace TicTacToe; interface uses UIKit, GameKit; type [IBObject] RootViewController = public class(UIViewController, IUIActionSheetDelegate, IGKTurnBasedMatchmakerViewControllerDelegate, IGKTurnBasedEventHandlerDelegate, ...
unit CFLable; interface uses Winapi.Windows, System.Classes, Vcl.Controls, Vcl.Graphics; type TCFLable = class(TGraphicControl) private FAutoSize: Boolean; protected procedure Paint; override; public constructor Create(AOwner: TComponent); override; procedure SetBounds(ALeft, ATop, AWidth, ...
unit ideSHEnvironmentOptionsFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ideSHBaseDialogFrm, StdCtrls, ExtCtrls, AppEvnts, VirtualTrees, TypInfo, SHDesignIntf, SHOptionsIntf, SHEvents, Menus; type TEnvironmentOptionsForm = class(TBaseDialog...
unit uThreadConnectMRPDS; interface uses Classes, uInvoicePollDisplay, IdTCPClient; type TAfterSynchAdvertising = procedure of object; TAfterSynchCrossSaleItem = procedure of object; TThreadConnectMRPDS = class(TThread) private TCPClient: TIdTCPClient; FLocalPath: String; FIP : String; FPo...
(* Category: SWAG Title: MATH ROUTINES Original name: 0051.PAS Description: Compute POWER of Number Author: SWAG SUPPORT GROUP Date: 11-26-93 17:37 *) Procedure Power1(Var Num,Togo,Sofar:LongInt); Begin If Togo = 0 then Exit; If Sofar = 0 then Sofar := num Else Sofar := Sofar*Num; Togo...
{*******************************************************} { } { FileInfoDataModule.pas { Copyright @2014/5/12 14:17:45 by 姜梁 { } { 功能描述:fileinfo 文件信息构造类 { 函数说明: {*******************************...
unit Render3Test; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, pngimage, Node, Box {Layout}; type TRender3TestForm = class(TForm) BoxMemo: TMemo; Panel: TPanel; PaintBox: TPaintBox; Splitter1: TSplitter; DOMMem...
{ This Unit shall contain default values for strings, constant values etc. This is the place for the translation strings } unit CoyoteDefaults; interface uses INIFiles, workdays; procedure LoadFromLanguageFile(AFilePath: string); resourcestring // Programme-Information ProgrammeName = 'CoYOT(e)'; // Offi...
unit weather_utils; interface uses fillables, Data.DB; type TCityCountry = record City: string; Country: string; end; TCityCountryDynArray = array of TCityCountry; TWeatherRec = record Location: string; Time: string; Wind: string; Visibility: string; SkyCon...
{ $OmniXML: OmniXML/GpMemStr.pas,v 1.1.1.1 2004/04/17 11:16:33 mr Exp $ } (*:Different memory stream, designed to work with a preallocated, fixed-size buffer. @author Primoz Gabrijelcic @desc <pre> (c) 2001 Primoz Gabrijelcic Free for personal and commercial use. No rights reserved. Author ...
unit Pospolite.View.HTML.Scrolling; { +-------------------------+ | Package: Pospolite View | | Author: Matek0611 | | Email: matiowo@wp.pl | | Version: 1.0p | +-------------------------+ Comments: ... } {$mode objfpc}{$H+} {$modeswitch advancedrecords} interface uses Classes, S...
unit UDPictures; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, UCrpe32; type TCrpePicturesDlg = class(TForm) pnlPictures: TPanel; lblNumber: TLabel; lbNumbers: TListBox; editCount: TEdit; lblCount: TLabel; btnOk: TB...
unit Subtitles; interface uses Classes, Sysutils, Dialogs; const HEADER_UNICODE = $FEFF; MAX_SRT_FILESIZE = 1024 * 1024 * 2; // 2 Mb type TSubtitle = class private FIndex: Integer; FBeginTime: Integer; FEndTime: Integer; FText: String; public function isInTime(pos1, pos2: Inte...
{ ****************************************************************************** } { * ObjectDB Stream by qq600585 * } { * https://zpascal.net * } { * https://github.com/PassByYou888/zAI ...
{..............................................................................} { Summary Demo the use of Schematic Font Manager interface. } { Copyright (c) 2003 by Altium Limited } {...............................................................................
unit uMain; {$mode delphi}{$H+} interface uses uFont, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, EditBtn, Spin; type { TForm1 } TForm1 = class(TForm) bChooseFont: TButton; bLoadFont: TButton; bChooseFilePath: TButton; bGenerate...
unit antrikanU; interface uses System.Classes, Winapi.MMSystem, System.SysUtils, System.StrUtils, Vcl.Dialogs; type Antrian = class private fAntri : Integer; fLoket : Integer; suaraFile : TStringList; dbFile : TStringList; procedure masukkan_bawah12(angka : Integer); ...
unit uBobbyClasses; interface uses Classes, SysUtils, ODEImport, math; const cLIQUID_DENSITY = 3; cGRAVITY = -9.91; type TBobby = class; TBobbyHandler = class; // TBobby is a particle that handles buoyancy. It bobs in the water, hence // the name TOnGetDepthAndNormal = procedure (B...
unit NewFrontiers.GUI.BindingTarget; interface uses NewFrontiers.GUI.Binding, Vcl.Controls, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, System.Rtti, System.Classes, SysUtils; type TBindingTargetProperty = class(TBindingTarget) protected procedure setTarget(const Value: TObject); override; ...
unit QuarterRangeSearch_u; { Delphi Implementaion of a 2D quadrant search static DS -> TQuarterRangeSearch. Based on the ideas given of day 4 in the course 6.851 MIT OpenWare https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-851-advanced-data-structures-spring-2012/lecture-videos/sess...
unit form_conf; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, appconfig, Vcl.Grids, Vcl.ValEdit, strtools, System.Actions, Vcl.ActnList, System.ImageList, Vcl.ImgList; type Tfrm_conf = class(TFor...
unit Invoice.Model.Customer; interface uses DB, Classes, SysUtils, Generics.Collections, /// orm ormbr.types.blob, ormbr.types.lazy, ormbr.types.mapping, ormbr.types.nullable, ormbr.mapping.classes, ormbr.mapping.register, ormbr.mapping.attributes; type [Entity] [Table('Customer', '')] ...
unit uStageJSON; interface uses System.Generics.Collections, Rest.JSON; {$M+} type TPlayerDTO = class private FX: Integer; FY: Integer; published property X: Integer read FX write FX; property Y: Integer read FY write FY; end; TGoalsDTO = class private FX: Integer; FY: Integ...
{Newton copied from Mandel / Julia Explorer Copyright 2000 Hugh Allen Hugh.Allen@oz.quest.com 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 2 of the License, or (at your o...
unit Chapter03._05_Solution2; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DeepStar.Utils; // 75. Sort Colors // https://leetcode.com/problems/sort-colors/description/ // 三路快速排序的思想 // 对整个数组只遍历了一遍 // 时间复杂度: O(n) // 空间复杂度: O(1) type TSolution = class(TObject) public procedure SortColors(nums...
unit AssociationList; interface uses AssociationListConst, AssociationListUtils; type TStringAssociationList = class(TObject) private FCapacity: Integer; FKeys: PStringItemList; FValues: PPointerItemList; FCount: Integer; FCaseSensitive: Boolean; FOwnValues: Boolean; procedure SetCap...
unit Inventores_Model; interface uses {$IFDEF PRUEBAS} {$IFDEF VER130} Forms, {$ENDIF} {$ENDIF} Classes; type TInventor = class ID: integer; Nombre: string; Invento: string; Anyo: Integer; constructor Create(const aNombre,aInvento:string;const aAnyo: integer); end; type TmvvmNotif...
unit ToStringTest; {$mode objfpc}{$H+} interface uses fpcunit, testregistry, SysUtils, uIntX, uConstants; type { TTestToString } TTestToString = class(TTestCase) published procedure VerySimple(); procedure Simple(); procedure Zero(); procedure Neg(); procedure Big(); ...
//////////////////////////////////////////////////////////////////////////// // PaxCompiler // Site: http://www.paxcompiler.com // Author: Alexander Baranovsky (paxscript@gmail.com) // ======================================================================== // Copyright (c) Alexander Baranovsky, 2006-2014. All rig...
unit uEditorTypes; interface uses System.Classes, System.Math, Winapi.Windows, Vcl.Graphics, CCR.Exif, Dmitry.Graphics.Types, uDBForm; type TSetPointerToNewImage = procedure(Image: TBitmap) of object; TCancelTemporaryImage = procedure(Destroy: Boolean) of object; TBaseEffe...
unit Counters; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, cxControls, cxContainer, cxEdit, cxTextEdit, cxCurrencyEdit, StdCtrls, cxLookAndFeelPainters, cxButtons, ActnList; type TCountersAdd = class(TForm) Label1: TLabel; Label2: TLabe...
namespace Anonymous_Methods; interface uses System.Threading, System.Windows.Forms; type Program = assembly static class public class method Main; end; implementation /// <summary> /// The main entry point for the application. /// </summary> //[STAThread] class method Program.Main; begin Applicati...
{/*! Provides Dll entry point and exported functions. \modified 2019-07-19 13:04 \author Wuping Xin */} namespace TsmPluginFx.Core; uses rtl; {/*! Invokes a user-supplied editor for editing plugin parameters. */} [SymbolName('OpenParameterEditor'), DLLExport, CallingConve...
unit NewFrontiers.Validation.Base; interface uses NewFrontiers.Validation; type /// <summary> /// Nur Buchstaben /// </summary> TValidatorLetter = class(TValidator) public function validate(aString: string): boolean; override; end; /// <summary> /// Feld muss ausgefüllt werden /// </summ...
unit tvl_udatabinder; interface uses Classes, SysUtils, trl_irttibroker, Controls, StdCtrls, ExtCtrls, fgl, Graphics, tvl_udatabinders, Grids, SynEdit, trl_ipersist, tvl_ibindings, EditBtn, trl_urttibroker, ComCtrls; type { TCustomDataSlotsItem } TCustomDataSlotsItem = class private fD...
//********************************************************************************************************************** // $Id: udTranProps.pas,v 1.10 2006-08-23 15:19:11 dale Exp $ //---------------------------------------------------------------------------------------------------------------------- // DKLang Tran...
unit uServers; interface uses {$ifdef MSWINDOWS} Winapi.Windows, {$else .POSIX} {$endif} System.SysUtils, System.Classes, System.Generics.Collections, System.JSON; var WORK_MODE: Boolean = False; const SERVER_PORT = 1234; TEXT_CONTENT = 'text/plain'; JSON_CONTENT = 'application/json'; BL...
unit Validade; interface type TValidade = class private FData: TDateTime; public property Data: TDateTime read FData write FData; constructor Create; overload; constructor Create(Data: TDateTime); overload; end; implementation { TValidade } constructor TValidade.Create; begin end; constr...
unit Contour; {Demonstrates contour drawing features of MathImage, as well as the use of the TSurface/TLevelSurface object. The routines marked by *********** use MathImage methods. The filled level lines routine is very memory intensive. I found Robert Lee's memory manager replacement (available from Code Cen...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit SpPeople_ModForm; { Здесь есть переменная pManModified, указывающая на то, что данные лица изменены, если ИСТИНА. Потому при добавлении новых полей, относящихся к таблице People нужно в событии их редактирования присваивать этой переменной значение ИСТИНЫ, иначе ничего не сохранится.} interface uses Windows...
(* Category: SWAG Title: DATE & TIME ROUTINES Original name: 0047.PAS Description: One Month Calendar Author: KEITH MERCATILI Date: 11-26-94 04:59 *) { A couple of weeks ago, my computer science had to write a computer program to generate a calendar. Now my assignment is to incorporate the use of appropria...
{* ***** BEGIN LICENSE BLOCK ***** Copyright 2009 Sean B. Durkin This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free software being offered under a dual licensing scheme: LGPL3 or MPL1.1. The contents of this file are subject to the Mozilla Public License (MPL) Version 1.1 (the "License"); you may ...
unit Odontologia.Modelo.Entidades.Pais; interface uses SimpleAttributes; type [Tabela('DPAIS')] TDPAIS = Class private FID: Integer; FNOMBRE: String; procedure SetID(const Value: Integer); procedure SetNOMBRE(const Value: String); published [Campo('PAI_CODIGO'), Pk, AutoInc] prope...
unit pkcs11_mechanism; interface uses pkcs11_api, pkcs11t; type TPKCS11KeysizeUnits = (ksmBits, ksmBytes, ksmNA); TPKCS11Mechanism = class (TPKCS11API) private protected FSlotID: Integer; FMechanismType: CK_MECHANISM_TYPE; function GetFlags(): CK_FLAGS; function Ge...
{ * zExpression * } { ****************************************************************************** } { * https://zpascal.net * } { * https://github.com/PassByYou888/zAI ...
program MCAmiga; {$mode objfpc}{$H+} uses {$ifdef HASAMIGA} Exec, workbench, icon, AppWindowUnit, {$endif} {$ifdef RELEASE} Versioncheck, {$endif} Types, SysUtils, Video, mouse, keyboard, FileListUnit, dialogunit, EventUnit, archiveunit, {$if defined(Amiga68k) or defined(MorphOS) or defined(AROS)} xad...
unit uSkeletonColliders; interface uses System.Classes, System.SysUtils, GLVectorGeometry, GLApplicationFileIO, GLVectorFileObjects; const cSkeletonColliderID = 'SMCF'; cSkeletonColliderVersion = 1; type TSCDParamRange = 0..2; TSkeletonColliderType = (sctSphere, sctCapsule, s...
unit EmpresaEnderecoController; interface uses System.Generics.Collections, // Aurelius.Engine.ObjectManager, Aurelius.Criteria.Base, Aurelius.Criteria.Expression, Aurelius.Criteria.Linq, Aurelius.Criteria.Projections, // EmpresaEndereco; type TEmpresaEnderecoController = class private class var FM...
unit uFrmImportInfo; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, Grids, siComp; type TFrmImportInfo = class(TForm) Panel1: TPanel; Bevel1: TBevel; btnClose: TBitBtn; sgridInfo: TStringGrid; siLang: TsiLang; ...
unit UntLibrary; interface function IsEmpty(value: string): boolean; function IIf(condition: boolean; trueValue, falseValue: string): string; overload; function IIf(condition: boolean; trueValue, falseValue: integer): integer; overload; implementation uses SysUtils; function IsEmpty(value: string): boolean; beg...
unit OTFEStrongDiskPasswordEntry_U; // Description: // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, D...
{Ingresar los elementos de un vector A y a continuación ingresar los de un vector B, si la cantidad de componentes ingresadas para cada uno de los vectores no es la misma indicar con un cartel y finalizar, de lo contrario calcular: a. La suma y la diferencia de los vectores. b. El vector que posee mas elementos} Progr...
unit ConvertDBaseToSQLUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Buttons, ComCtrls, StdCtrls, ExtCtrls, xpButton, xpEdit, xpCheckBox, xpCombo, xpGroupBox, FileCtrl, DBTables, DB, ADODB, Menus, HotLog, SQLRemoteLogging, IdTCPConnection, IdTCPClie...
{================================================================================ Copyright (C) 1997-2002 Mills Enterprise Unit : rmCornerGrip Purpose : Allow for a working "Size Grip" to be placed on the components owner form. Date : 10-26-2000 Author : Ryan J. Mills Version : 1.92 ===...