text
stringlengths
14
6.51M
unit EmailBundle; interface type HCkTask = Pointer; HCkEmailBundle = Pointer; HCkStringArray = Pointer; HCkEmail = Pointer; HCkString = Pointer; function CkEmailBundle_Create: HCkEmailBundle; stdcall; procedure CkEmailBundle_Dispose(handle: HCkEmailBundle); stdcall; procedure CkEmailBundle_getDebugLogFilePath(objH...
program MillDisp; (***************************************************************************** Prozessprogrammierung SS08 Aufgabe: Muehle Hauptprogramm des Anzeigerechners. Hier werden alle fuer den Anzeigerechner noetigen Tasks erstellt. Autor: Alexander Bertram (B_TInf 2616) ************************...
unit CodeMetrics; interface uses Windows, Messages, Classes, SysUtils, Forms, Controls, ComCtrls, Dialogs, ParseTreeNode; type TFrmCodeMetrics = class(TForm) LivMetrics: TListView; StatusBar: TStatusBar; procedure FormResize(Sender: TObject); procedure FormKeyDown(Sender: TObject; ...
unit UFrmPai; interface uses Windows, Messages, SysUtils, Variants, Graphics, Controls, Forms, Dialogs, StdCtrls, DBClient; type TFrmPai = class(TForm) procedure FormCreate(Sender: TObject); procedure FormClose(Sender: TObject; var Action: TCloseAction); private fApenasDigitacaoMa...
unit ProjectInfo; interface uses Classes; type TProjectInfo = class private FName: string; FFileName: string; FFiles: TStrings; FFormsCaptions: TStrings; FFiltered: Boolean; FFilteredLines: array of Integer; FFilteredCount: Integer; protected function GetUnitName(aIndex: Int...
program NameTester; uses TerminalUserInput; procedure OutputSillyName(name: String); var i: Integer; begin i := 0; Write(name, ' is a '); {* While Loop *} while i < 60 do begin Write('silly, '); i := i + 1; end; Write('silly name!'); end; procedure Main(); var name: String; begin name := ReadString('Pl...
program SimplePolitics; const YEAR_TRUMP_ELECTED = 2016; function calculateAgeWhenTrumpElected(yearBorn: Integer): Integer; var YEAR_TRUMP_ELECTED: Integer; begin result := YEAR_TRUMP_ELECTED - yearBorn; end; procedure Main(); var name: String; yearBorn, ageWhenTrumpElected: Integer; begin ...
unit fib.docbinding; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, fib.framedoc, fib.dmmain, fib.dmdoc, ActnMan, fib.fmCustomDoc,uDocDescription, vkvariable, vkvariablebindingdialog, Vcl.StdCtrls, Vcl.ExtCtrls, System.Actions, Vcl.ActnList; type TDocMEdit...
// NAME: TUMAKOV KIRILL ALEKSANDROVICH, 203 // ASGN: N2 unit main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Buttons, Gauges; type TForm1 = class(TForm) Panel1: TPanel; Panel2: TPanel; GroupBox1: TGroupBox; ...
unit GameObjects; interface uses AvL, avlUtils, avlEventBus, avlMath, avlVectors, OpenGL, VSEOpenGLExt, oglExtensions, VSECore, VSEPrimitiveModel, GameData; type TAnimationAction = (aaMove, aaMoveTo, aaRotate, aaRemove); TAnimationStep = record Action: TAnimationAction; Param: TVector4D; ...
unit NPCs; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Controls, Graphics, LCLType, ExtCtrls; type Tstrela = (playstrela, playstrela2, enemstrela1, enemstrela2, enemstrela3, mina); strela = class(TGraphicControl) private Fshape: Tstrela; Fvx, Fvy, Fx, Fy, Fv:real; Fidle: boolean; ...
{ NIM/NAMA : 16518305/QURRATA A'YUNI TANGGAL : KAMIS, 4 APRIL 2019 DEKSRIPSI : OLAH IP MAHASISWA } Program lingkaran; {Buatlah program yang digunakan untuk membaca masukan sejumlah nilai IP mahasiswa (bilangan rill) sebuah angkatan, sampai pengguna mengetikkan -999 (-999 tidak termasuk). Nilai IP harus diper...
{//************************************************************//} {// //} {// Código gerado pelo assistente //} {// //} {// Projeto MVCBr ...
unit NotesFile; interface uses AvL, avlUtils, DataNode, NodeTag; type ENotesFile = class(Exception) end; TNotesFile = class private FRootNode: TDataNode; FModified: Boolean; FMakeBackup: Boolean; FName: string; procedure UpdateNode(Tag: TNodeTag); procedure UpdateTag(T...
{$include kode.inc} unit kode_widget_knob2; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_canvas, kode_flags, kode_rect, kode_widget_knob, kode_widget_number, kode_widget_text, kode_wi...
unit TBGFirebaseConnection.Model.Get; interface uses TBGFirebaseConnection.Interfaces, Data.DB, Data.DBXJSONReflect, REST.Client, REST.Types, REST.JSON, REST.Response.Adapter, IpPeerClient; Type TFirebaseConnectionModelGet = class(TInterfacedObject, iFirebaseGet) private FParent : iFirebaseCo...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type PFindWindowStruct = ^TFindWindowStruct; TFindWindowStruct = record Caption: string; ClassName: string; WindowHandle: THandle; end; type TForm1 = class(TFor...
{ ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi Copyright (c) 2016, Isaque Pinheiro All rights reserved. GNU Lesser General Public License Versão 3, 29 de junho de 2007 Copyright (C) 2007 Free S...
(* * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS...
// adds conditions defining that player has got an item in inventory function addHasItemCondition(list: IInterface; item: IInterface): IInterface; var newCondition, tmp: IInterface; itemSignature: string; begin if not (Name(list) = 'Conditions') then begin if Signature(list) = 'COBJ' then begin // record itse...
(* @abstract(Contient les classes pour l'application de filtres de déformations ) ------------------------------------------------------------------------------------------------------------- @created(2017-08-22) @author(J.Delauney (BeanzMaster)) Historique : @br @unorderedList( @item(22/08/2017 : Cre...
Unit AdvZipWriters; { Copyright (c) 2001-2013, Kestral Computing Pty Ltd (http://www.kestral.com.au) 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 ab...
unit DataModule; interface uses SysUtils, Classes, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, DateUtils, Controls, ComCtrls, DBGridEh, sTreeView, ZAbstractConnection, ZConnection, MemDS, DBAccess, Uni; const ShiftLeft=30; ShiftTop=30; MaxToolBtnCntr=20; RegisterBranchMetallica='SOFTWARE\P...
unit import_ASCII_Dialog; { Приводится форма, служащая шаблоном для построения программы импорта в базу данных GeMiSWin сигналов из файлов нестандартного или нерегулярного формата. Форма может работать, ТОЛЬКО будучи вызванной из GeMiSWin в качестве внешней программы. При этом управляющие данные в программ...
unit UBackupBoardInfo; interface uses UModelUtil, Generics.Collections, UChangeInfo, Classes, SysUtils; type {$Region ' 数据结构 ' } // 备份路径 公告信息 TBackupItemStatusInfo = class public StatusType : string; FullPath : string; FileCount : Integer; public constructor Create( _StatusType : string...
PROGRAM PaulRevere(INPUT, OUTPUT); USES DOS; FUNCTION GetQueryStringParameter(Key: STRING): STRING; VAR NonGarbage: STRING; BEGIN {GetQueryStringParameter} NonGarbage := (GetEnv('QUERY_STRING')); IF ((POS(Key, NonGarbage) = 1) OR ((COPY(NonGarbage, POS(Key, NonGarbage) - 1, 1) = '?') AND (COPY(NonGarbage, POS(K...
{ DBE Brasil é um Engine de Conexão simples e descomplicado for Delphi/Lazarus Copyright (c) 2016, Isaque Pinheiro All rights reserved. GNU Lesser General Public License Versão 3, 29 de junho de 2007 Copyright (C) 2007 Fr...
unit TestuOrderProcessor; interface uses TestFramework, uOrderInterfaces; type TestTOrderProcessor = class(TTestCase) strict private FOrderProcessor: IOrderProcessor; public procedure SetUp(); override; published procedure TestProcessOrder(); end; implementation uses SysUtils, uOrder,...
unit DevMax.View.Manager; interface uses System.Classes, System.SysUtils, System.Generics.Collections, FMX.Controls, DevMax.Types, DevMax.Types.ViewInfo, DevMax.View.Types, DevMax.View, DevMax.Service.Manifest; type TViewManager = class private FViewContainer: TControl; FViews: TDictionary<stri...
unit LuaFindDialog; {$mode delphi} interface uses Classes, SysUtils, dialogs, luaclass, lua, lauxlib, luahandler, betterControls; procedure initializeLuaFindDialog; implementation uses LuaCommonDialog; function finddialog_getLeft(L: Plua_State): integer; cdecl; begin lua_pushinteger(L, tfind...
unit GRRParameterPoster; interface uses PersistentObjects, DBGate, BaseObjects, DB, GRRParameter, MeasureUnits, Table, Well, LicenseZone, Organization; type TGRRWellIntervalTypeDataPoster = class(TImplementedDataPoster) public function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override;...
unit RT_Base; interface type TZestawienieKind = (zkDzien, zkOkres); const ridPostoj = 1001; ridUlica = 1002; ridTaksowka = 1003; ridKurs = 1004; ridKlient = 1005; type TRTBaseRec = packed object Kind : Integer; Size : Word; ID : Integer; Flags ...
unit ce_dubproject; {$I ce_defines.inc} interface uses Classes, SysUtils, fpjson, jsonparser, jsonscanner, process, strutils, ce_common, ce_interfaces, ce_observer, ce_dialogs; type TCEDubProject = class(TComponent, ICECommonProject) private fPackageName: string; fFilename: string; fModified: b...
{$INCLUDE switches} unit Battle; interface uses ScreenTools,Protocol,Messg,ButtonBase, ButtonA, Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms; type TBattleDlg = class(TDrawDlg) OKBtn: TButtonA; CancelBtn: TButtonA; procedure FormPaint(Sender: TObject); procedur...
unit uCefScriptNav; interface uses System.SysUtils, // // uCefScriptBase, uCefScriptNavBase, uCefWebAction; type TCefScriptNavFunc = TFunc<Boolean>; TCefScriptNavProc0 = TProc; TCefScriptNav = class(TCefScriptNavBase) private protected FUrl: string; FNavFunc: TCefScriptNa...
unit cwinsrvc; interface function ServiceGetStrCode(nID: integer): string; function ServiceGetStatus(sMachine, sService: string): DWord; function ServiceRunning(sMachine, sService: string): boolean; function ServiceStopped(sMachine, sService: string): boolean; function ServiceStart(sMachine, sService: string): ...
unit xe_xml; interface uses sysutils, Classes, Vcl.Dialogs, StrUtils, MSXML2_TLB; function GetXmlClientKey(ss_Xml: WideString): string; function GetXmlErrorCodeNum(ss_Xml: WideString): Integer; function GetXmlErrorMsg(ss_Xml: WideString): string; function GTx_UnitXmlLoad(sXmlNum: WideString): WideString; function ...
unit UFrmCadastroMaterial; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, UFrmCRUD, Menus, Buttons, StdCtrls, ExtCtrls , UUtilitarios , UMATERIAL , URegraCRUDMaterial ; type TFrmCadastroMaterial = class(TFrmCRUD) gbInformacoes: TGroupBox; edDe...
unit CRIntervalEditFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CommonFrame, ComCtrls, StdCtrls, CommonComplexCombo, ExtCtrls, Slotting, Well, BaseObjects, CommonComplexIDCombo, WellStratonByDepthFrame, ClientCommon, CheckLst, CommonObjectSelectFram...
unit fontSaveLoadRegistry; {Responsible for saving and loading a font from the registry} {$mode objfpc}{$H+} interface uses Classes, SysUtils, registry, Graphics, LazUTF8; procedure SaveFontToRegistry(f: TFont; reg: TRegistry); procedure LoadFontFromRegistry(f: TFont; reg: TRegistry); implementa...
{ Copyright (c) 2013 Nick Hodges for CodingInDelphi and Jeroen Wiert Pluimers for BeSharp.net and Coding In Delphi. Full BSD License is available at http://BeSharp.codeplex.com/license } unit IntegerCalculatorFormUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, Vcl.Graphics, ...
PROGRAM SarahRevere(INPUT, OUTPUT); VAR W1, W2, W3, W4: CHAR; Looking, Land, Sea: BOOLEAN; BEGIN {SarahRevere} IF NOT EOLN{Инициализация} THEN BEGIN READ(W2); IF NOT EOLN THEN BEGIN READ(W3); IF NOT EOLN THEN READ(W4) END ...
Unit UcumHandlers; { Copyright (c) 2001-2013, Health Intersections Pty Ltd (http://www.healthintersections.com.au) 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 mus...
unit u_wzsStyler; interface uses SysUtils, Classes, Graphics, Controls, Messages, CommCtrl, Windows, Dialogs, Forms, u_wzsToolsCommon; //const // cm_wzsStylerChanged = CM_BASE + 201; type TFrameStyles=(fsFlat, fsFlatSmooth, fsFlatRounded); TwzsStyler = class(TComponent) private FA...
{ Saves a plugin under a different name. Mode: Silent Hotkey: F5 } unit SaveAs; var PluginFile: IInterface; PluginName, PluginNameNew: string; frm: TForm; edFileName: TLabeledEdit; btnFileName, btnOk, btnCancel: TButton; chkReset: TCheckBox; //====================================================...
unit Unit4; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, IPPeerClient, IPPeerServer, System.Tether.Manager, System.Tether.AppProfile, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Edit, Syst...
{*******************************************************} { } { NTS Aero UI Library } { Created by GooD-NTS ( good.nts@gmail.com ) } { http://ntscorp.ru/ Copyright(c) 2011 } { License: Mozilla Pu...
unit iPodTrans; interface uses Windows, Messages; type MusicItem = record dwID : DWORD ; //Music唯一标识 dwFileSize : DWORD; //Music文件的大小   stTitle : array[0..255] of widechar; //Music标题,带扩展名 stFileDir : array[0..255] of widechar; //Musi...
unit csv; interface uses SysUtils, Classes; type PStringList = ^TStringList; function CSVSplit (S: String): PStringList; implementation function CSVSplit (S: String): PStringList; var j,st: Integer; begin New(Result); Result^ := TStringList.Create; j := 1; while (j <= Length(S)) do begin // Skip wh...
{ Модуль, реализующий поведение при расстановки кораблей игроком и ЭВМ. } unit ShipPlacement; Interface uses GraphABC, Types, GlobalVars, Drawing, Gameplay, GameStarting; procedure MouseClickShipPlacement(x,y, mousebutton:integer); procedure SetComputerShip(var p: Player); procedure SetCountInMenu(); Var ...
{..............................................................................} { Summary This scripts can be used to copy component designators to mech } { layer or mech layer pair. } { ...
{: GLScreen<p> Routines to interact with the screen/desktop.<p> <b>Historique : </b><font size=-1><ul> <li>08/02/00 - Egg - TLowResMode & TVideoMode packed (wins 5 kb) <li>06/02/00 - Egg - Javadocisation, added "default"s to properties </ul></font> } unit GLScreen; // GLScreen - Th...
{$A+,B-,D-,E-,F-,I-,L-,N-,O-,R-,S-,V+} {$M 8192,0,655360} Program CompFile; { This is a simple minded test program which uses COMPMARK to compress a file. This is intended as a demonstration of the objects in COMPMARK, not as a serious file compression program. See the comments in COMPMARK for information on app...
{ ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi Copyright (c) 2016, Isaque Pinheiro All rights reserved. GNU Lesser General Public License Versão 3, 29 de junho de 2007 Copyright (C) 2007 Free S...
unit Help; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Buttons, ExtCtrls, ActnList, Menus; type { TFrmHelp } TFrmHelp = class(TForm) helpClose: TBitBtn; Label1: TLabel; Memo1: TMemo; procedure FormCreate(Sender: TObject); private ...
unit uRequestStages; interface uses SysUtils; type TRequestStages = ( rsPreAccepted, rsPostAccepted, rsPreConfirmed, rsPostConfirmed ); function TryToParseRequestStage(const stage: String): TRequestStages; implementation function TryToParseRequestStage(const stage: String): TRequestStages; va...
unit UnitSizeEdit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TFormSizeEdit = class(TForm) LabelWidth: TLabel; LabelHeight: TLabel; EditWidth: TEdit; EditHeight: TEdit; ButtonOK: TButton; procedure FormClose(Sender: ...
unit ufrmEmpleadosInactivos; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmDialogo2, FlatHeader, DBGridEhGrouping, ToolCtrlsEh, DBGridEhToolCtrls, DynVarsEh, Data.DB, IBCustomDataSet, IBQuery, GridsEh, DBAx...
unit VectorOperatorsTimingTest; {$mode objfpc}{$H+} {$CODEALIGN LOCALMIN=16} {$CODEALIGN CONSTMIN=16} interface uses Classes, SysUtils, fpcunit, testregistry, BaseTestCase, BaseTimingTest, native, BZVectorMath, BZProfiler; {$I config.inc} type { TVectorOperatorsTimingTest } TVectorOperatorsTimingTest = cla...
unit MYX.Matery; interface //#################################################################### ■ uses Winapi.OpenGL, Winapi.OpenGLext, LUX, LUX.D1, LUX.D2, LUX.D3, LUX.M4, LUX.GPU.OpenGL, LUX.GPU.OpenGL.Viewer, LUX.GPU.OpenGL.Buffer, LUX.GPU.OpenGL.Buffer.Unifor, LUX.GPU.OpenGL.Buffe...
unit Test.AsyncIO.Net.IP.Detail.TCPImpl; { 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, AsyncIO...
unit UCoordinateSystem; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TWorldPoint = record X, Y: Double; end; function WorldPoint(X, Y: Double): TWorldPoint; function ToWorldPoint(X, Y: Double): TWorldPoint; function ToWorldPoint(Point: TPoint): TWorldPoint; function ToScreenPoint(WordPoi...
program hello; var st : string; procedure print_hello; begin Writeln('Before assignment'); { set breakpoint 1 here } st:='Hello, world!'; writeln(st); {set breakpoint 2 here } end; begin print_hello; end.
unit LZW; //////////////////////////////////////////////////////////////////////////// // // LZW compression routines // // (c) 2004 SCH // // Upgraded to use byte arrays instead of strings. Delphi 2009 compatible // DLM Sept 2008 //////////////////////////////////////////////////////////////////////////// interf...
{$MODE OBJFPC} { -*- delphi -*- } {$INCLUDE settings.inc} unit exceptions; interface uses sysutils, baseunix; type EKernelError = class(Exception) constructor Create(AErrorCode: cint); end; ESocketError = class(Exception) constructor Create(AErrorCode: cint); end; ESyntaxError = class(E...
{ Copyright (C) 2013-2018 Tim Sinaeve tim.sinaeve@gmail.com Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
unit uUTTDiagram; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, uGlobals, GdiPlus, GdiPlusHelpers; type TTask = record pie: IGPGraphicsPath; taskNo: integer; labelRect: TGPRectF; // compleate: boolean; end; TModule = rec...
unit fmChild1_; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, EventPacket, EventBus, Vcl.StdCtrls ; type TfmChild1 = class(TForm) Memo1: TMemo; procedure FormCreate(Sender: TObject); procedur...
unit Controller.Base; interface uses Classes, Controls, System.Rtti, Vcl.Forms, Dialogs, Dao.Persistencia, Dao.DB, View.Base.Ficha, View.Base.Lista; type TControllerBase<FrmLista: TBaseLista; FrmFicha: TBaseFicha; Persistencia: TPersistencia> = class strict private FViewFicha: FrmFicha; FModel: Persi...
unit Leader; (***************************************************************************** Prozessprogrammierung SS08 Aufgabe: Muehle Diese Unit beinhaltet die Spielleitertask. Der Spielleiter steuert den Spielablauf, nimmt die Zuege der Spieler entgegen und verwaltet das Spielfeld. Autor: Alexander B...
unit NLDDataSetListener; interface uses DB, DBCtrls, Classes; type TNLDFieldListener = class(TComponent) private FDataLink: TFieldDataLink; FOldValue: variant; procedure EditingChange(Sender: TObject); function GetDataField: string; function GetDataSource: TDataSource; proce...
unit SmartOnFhirLoginFMX; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.WebBrowser, FMX.StdCtrls, FMX.Controls.Presentation, IdContext, IdHTTPServer, IdCustomHTTPServer, IdSocketHandle, FileSu...
unit HTMLPublisher; { Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au) 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...
unit PixelFlyUnit; // ----------------------------------------------- // PCO PixelFly cameras // ----------------------------------------------- // 23-6-4 Started // 30-8-4 External Trigger mode now working correctly // 2-9-4 Slow (>250ms) exposure mode added // 21/01/09 AdditionalReadoutTime added to StartCaptu...
unit AArray; interface uses Classes, SysUtils, StrUtils, Variants; type TAArray = class private procedure PutV (Key, Value: Variant); function GetV (Key: Variant): Variant; function JsonEscapeString(const AValue: string): string; public Values: array of Variant; Keys: array of string[255]; Position: In...
{ this file is part of Ares Aresgalaxy ( http://aresgalaxy.sourceforge.net ) 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 option) any later v...
unit WellPoster; interface uses PersistentObjects, DBGate, BaseObjects, DB, LicenseZone, Well, Area, PetrolRegion, Organization, District, Structure, State, Topolist, Profile, Fluid, ReasonChange, Employee, Straton; type // для категорий скважин TWellCategoryDataPoster = class(TImplementedDataPoster) ...
unit GridController; interface uses Generics.Collections, FMX.Grid; type TGridFillRow<T> = reference to procedure(Obj: T; Cols: TArray<string>); TGridController<T: class> = class private FGrid: TStringGrid; FItems: TList<T>; FFillRow: TGridFillRow<T>; procedure FillGrid; fu...
unit FrameContainer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ActnList, ComCtrls, ToolWin, BaseContainedFrame, Contnrs; type TfrmContainer = class(TFrame) tlbrOperations: TToolBar; tlbtnAddContainer: TToolButton; tlbtnDeleteConta...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela Base The MIT License Copyright: Copyright (C) 2014 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Soft...
unit DCPrc2; {$MODE Delphi} interface uses Classes, Sysutils, Crypto; type { TCipherRC2 } TCipherRC2= class(TCipher) protected KeyData: array[0..63] of word; procedure InitKey(const Key; Size: longword); override; public destructor Destroy; override; class fu...
unit Controller.Module.Main; interface uses uniGUIMainModule, SysUtils, Classes, UniGUIVars, View.Module.Server, uniGUIApplication, View.Module.Main; type TControllerModuleMain = class strict private FView: TModuleMain; procedure Init; procedure UniGUIMainModuleCreate(Sender: TObject); proced...
unit UConection; interface uses SysUtils, Classes, ZAbstractConnection, ZConnection, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, Variants, Windows, Messages, DateUtils, ImgList, Controls, cxGraphics, dxLayoutLookAndFeels, cxClasses, Forms, dxRibbon, cxStyles, cxDBEdit, StrUtils, Graphics, cxImage, dxG...
/// <summary> /// <para> /// This micro-framework provides a simple creation of parameterized /// tests. /// </para> /// <para> /// Version 0.3.1 /// </para> /// <para> /// <u>To Do:</u> /// </para> /// <para> /// + support of parameterized destructors /// </para> /// <para> /// + support of constructors and destructo...
{******************************************************************************} { } { EasyIp communication Library } { Protocol helper unit ...
object fCPUregisters: TfCPUregisters Left = 454 Top = 103 BorderStyle = bsToolWindow Caption = 'CPU registers (after execution)' ClientHeight = 298 ClientWidth = 302 Color = clSilver Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' ...
{********************************************************** * Copyright (c) Zeljko Cvijanovic Teslic RS/BiH * www.zeljus.com * Created by: 25-11-15 18:04:47 ***********************************************************} unit AZCUHF; {$mode objfpc}{$H+} {$modeswitch unicodestrings} {$namespace zeljus.com.units} ...
{******************************************************************************* Title: T2Ti ERP Fenix Description: Service relacionado à tabela [BANCO_AGENCIA] The MIT Licen...
unit Defset; { ------------------------------------------------------- WINWCP (c) J. Dempster, University of Strathclyde 1997 Set default command voltage and digital output settings ------------------------------------------------------- 19/8/99 32 bit version for WinWCP V3.0 20/12/01 ... D/A and digital defa...
{ ****************************************************************** } { } { VCL component TProgress } { } { Enhanced progress bar ...
{ ******************************************************************************* Title: T2Ti ERP Description: Tela que aparece apůs efetuarem todos os pagamentos. The MIT License Copyright: Copyright (C) 2014 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ...
{---------------------------------------------------------------------- DEVIUM Content Management System Copyright (C) 2004 by DEIV Development Team. http://www.deiv.com/ $Header: /devium/Devium\040CMS\0402/Source/ControlPanel/PluginManager.pas,v 1.3 2004/04/17 12:17:05 paladin Exp $ ------------...
unit aOPCImage4In; interface uses Classes, aCustomOPCSource, aOPCDataObject, aOPCImage3In; type TaOPCImage4In = class(TaOPCImage3In) private FDataLink4: TaOPCDataLink; FGraphicDataLink4: TaOPCGraphicDataLink; function GetPhysID4: TPhysID; procedure SetPhysID4(const Value: TPhysID); function...
{ ---------------------------------------------------------- MAS-CompMaker was used to generate this code MAS-CompMaker, copyright(c) 2000, Mats Asplund / MAs Prod. ---------------------------------------------------------- Component Name: THPCounter Author: Mats Asplund Creation: 2000-09-17 ...
program usingObjects; { apparently, pascal has 'objects' that are concrete instances, a bit like javascript objects, created without having to be instancited from a class. in this lesson the subject were these 'pascal objects' the next lesson will be about actual classes. } type Rectangle = object ...
unit MsgDlgs; interface uses {$IFDEF Win32} Forms, Windows, Registry, ShellAPI, {$ELSE} WinTypes, WinProcs, {$ENDIF} Messages, Classes, Graphics, SysUtils; function MsgBox (const aTitle,aMsg: String; aFlag: Integer): Integer; function Question (const aTitle : String;const Msg: String):Boolean; procedure ...
unit CBSCustomComponent; interface {$RESOURCE ARROWS.RES} uses SysUtils, Classes, ComCtrls, StdCtrls, Controls, ExtCtrls, DBCtrls, JvExControls, JvComponent, Buttons, CheckLst, JvExCheckLst, JvCheckListBox, Dialogs, DB, Graphics; type TCBSDBComboEdit = class(TPanel) private FListBox: TJvCheckListBox; ...
(****************************************************************************** * * * NetAPI -- NetAPI function declarations * * * ...
program testfunctions13(output); {tests boolean return values from functions} function isless(a,b:integer):boolean; begin if a < b then isless := True else isless := False end; function isgreater(a,b:real):boolean; begin if a > b then isgreater := True else isgreater := False end; begin write('should be...
unit Password; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ExtCtrls, Dialogs, Messages, uDCLang, aOPCSource; type TUserChoice = class(TForm) OKBtn: TButton; CancelBtn: TButton; lUser: TLabel; lPassword: TLabel; ComboBox1: TComboBox; Edit1: ...