text
stringlengths
14
6.51M
//------------------------------------------------------------------------------ // // Voxelizer // Copyright (C) 2021 by Jim Valavanis // // 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;...
unit MainDataSet; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls , IniFiles, jpeg, ExtCtrls, DB, ADODB, ComCtrls, DBClient, SimpleDS; type TfmMainDataSet = class(TForm) QryBranch: TSimpleDataSet; QryItemDefinition: TSimpleDataSe...
unit FMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Rtti, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Grid.Style, FMX.Grid, FMX.ScrollBox, FMX.StdCtrls, FMX.Controls.Presentation; type TFormMain = c...
(* @abstract(permet le support pour le chargement de fichier audio. @br Une fois chargé le fichier pourra être joué via le "SoundManager" de disponible de votre choix) ------------------------------------------------------------------------------------------------------------- @created(2016-11-16) @author(J...
// // // TThreadedQuery // Created By Gregg Teehan // Modified By David Verespey // Copyright 1997-2000 Gregg Teehan,David Verespey // // This component is intended to encapsulate all the code nessasary to run a database query in a // thread. // // Releases // Version 1.0 David Vere...
unit Iocp.SimpleServer; {$i Iocp.Ext.inc} interface uses System.Classes, Winapi.Windows, Iocp.TcpSocket{$ifdef __IOCP_SSL__},Iocp.SSLSocket{$endif}; type TSimpleIocpTcpServer = class({$ifdef __IOCP_SSL__}TIocpSSLSocket{$else}TIocpTcpSocket{$endif}) private FAddr: string; FPort: Word; ...
{*************************************************************} {* Unit LFN v1.0 *} {* Long filename support in Windows Dos session *} {*************************************************************} unit lfn; {$N-} interface uses {Win}dos,Strings; var DosError:...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.As...
unit PhisicsControllerExceptionUnit; interface uses SysUtils, Dialogs, System.Generics.Collections, stdCtrls, ControllersUnit,PhisicsControllerUnit; type PhisicsControllerException = class(TInterfacedObject, Controllers) private /// <link>aggregation</link> PhisicsControllerSource: PhisicsControlle...
unit UCadastroPadrao; interface //Cor Azul = $00D1621F //azul claro = $00CE9E0F - $00DFAC11 uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls, FireDAC.Stan.Intf, FireD...
unit uMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, System.IOUtils, System.IniFiles, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, IdStream, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, System.Dat...
unit ClipperTriangulation; (******************************************************************************* * Author : Angus Johnson * * Version : 10.0 (beta) * * Date : 11 Noveber 2017 ...
unit untLiables; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type { _YUKUMLULER } _YUKUMLULER = class private nYukumluId: integer; strKimlikNo: string; strIsim: string; strSoyisim: string; function GetIsim: string; function GetKimlikNo: string; fu...
unit untPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TfrmPrincipal = class(TForm) Label1: TLabel; edtNumero: TEdit; btnCalcular: TButton; mmoDetalhes: TMemo; ...
unit uConfig; interface uses Vcl.Forms,System.SysUtils,windows; const APP_NAME='猎豹远程协助手机系统(电脑版)'; APP_VERSION='4.00'; WORK_DIR:string='myphone'; LOG_NAME:string='myphoneLog.txt'; QQ_WRY:string='QQWry.dat'; GD_MAP:string='gdmap.htm'; CONFIG_DAT:string='config.dat'; //配置文件 JAVA_HOME:string='C:\Program ...
//Crie um programa que contenha uma matriz chamada MatrizDeReais4x2, com 4 x 2 números reais. //Métodos para: //a) Receber os valores; //b) Retornar a multiplicação dos valores de uma dada coluna; //c) Retornar a soma dos valores de uma dada linha; //d) Retornar a soma de todos os elementos da matriz. Program prMatriz...
unit MatrixDisplay; // ----------------------------------- // Matrix multi-channel signal display // ----------------------------------- // 19.10.12 // 11.07.13 interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Clipbrd, printers, mmsystem, math, strutils ; const ScopeCh...
unit uAdmDAO; interface uses uAdm, uDAO, System.SysUtils, uEndereco, System.generics.collections, FireDac.comp.client; type TAdmDAO = class(TConectDAO) private FListaAdm: TObjectList<TAdm>; procedure CriaLista(Ds: TFDQuery); public constructor Create; destructor Destroy; override; functi...
unit UTS2190ALT; interface uses Contnrs, System.Classes; type TS2190ALT = class(TObjectList) private function GetItem(Index: Integer): TS2190ALT; function Add: TS2190ALT; public tpAmb_4: String; procEmi_5: String; verProc_6: String; tpInsc_8: String; nrInsc_9: Str...
unit aOPCAuthorization; interface uses System.Classes, aOPCSource; const EncryptKey = 77; type TaOPCAuthorization = class(TComponent) private FUser: string; FPermissions: string; FOPCSource: TaOPCSource; FPassword: string; procedure SetUser(const Value: string); procedure SetPermi...
program WordsArray; //{$APPTYPE CONSOLE} { Строка произвольной длины состоит из слов, отделенных друг от друга пробелом. Записать эти слова в массив строк так, чтобы каждое слово являлось элементом массива. Упорядочить элементы полученного массива по алфавиту. } var Words: array [1..1000] of String; //...
unit AlunoUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Grids, DBGrids, DB, FMTBcd, SqlExpr; type TAlunosForm = class(TForm) MenuPanel: TPanel; IncluirButton: TButton; AlterarButton: TButton; ExcluirButton: TButton; ...
unit uOfflineInspector; {$mode objfpc}{$H+} interface uses Classes, SysUtils, uConst, uLog; type TThreadOfflineInspector = class(TThread) private { Private declarations } to_log_msg:string; to_log_dt_begin,to_log_dt_end:TDateTime; procedure toLog; procedure WriteOffline(dt_...
// New undo system 131010 // A better, more general solution would have to pack the TXNObject and undo data // in one structure, and make calls using that information for all calls (effectively // making a subclass of TXN). This is based on the Lightweight IDE window data arrays // and is therefore based on the edit wi...
program NameTester; uses TerminalUserInput; type HitDifficulty = (Normal, Hard, Insane); //enumeration TargetData = record name: string; hitID: integer; difficulty: HitDifficulty; value: integer; end; function ReadDifficulty(prompt: string): HitDifficulty; var val: integer; be...
unit uMaterials; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.Objects, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, FMX.Layouts, FMX.ImgList, uFrame, FullScreenTabs; type...
unit ExcelTable; interface uses BaseTable; type TExcelTable = class(TBaseTable) private FFirstRow: integer; FFirstCol: integer; FExcel, FXLWorkbook, FXLWorkSheet: OleVariant; FData: OleVariant; FDataRowCount: integer; FDataColCount: integer; protected function CheckPreconditions: ...
unit Server.Base.Connection; interface uses /// ORMBr Conex„o database dbebr.factory.interfaces, dbebr.factory.firedac, // ormbr.types.database, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan...
unit Servidor; interface uses Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.AppEvnts, Vcl.StdCtrls, IdHTTPWebBrokerBridge, Web.HTTPApp, CPort, MtsCompatibilidade,StrUtils; type Tserver = class(TForm) ApplicationEvents1: TAppli...
unit _Tic; ///////////////////////////////////////////////////////////////////// // // Hi-Files Version 2 // Copyright (c) 1997-2004 Dmitry Liman [2:461/79] // // http://hi-files.narod.ru // ///////////////////////////////////////////////////////////////////// interface uses Objects, MyLib, MsgAPI, _Far...
unit uPublic; interface uses Windows, Messages; type TMsgContent = string[100]; TGroupName = string[50]; TComName = string[20]; TQQNum = string[20]; TPhoneNum = string[20]; TCommType = ( ctNone, //--无类型 ctResult, //--返回结果 ctGroupName, //--设备端告诉中间服自己的组标识 ctSe...
module string_slen; define string_slen; %include 'string2.ins.pas'; { ******************************************************************************** * * Function STRING_SLEN (CHARS, MAXLEN) * * Find the string length of a sequence of characters CHARS. The end of the * string is found in one of two ways: * * ...
unit BZSnapForm; //============================================================================== // @NAME : BZSnapForm // @VERSION : 0.2 // @DATE : 22/10/2015 // @UPDATED : 23/10/2015 // @PACKAGE : BEANZ // @DESC : TBZSnapForm est un composant non visuel ajoutant quelques possibilités aux Forms comme : // ...
unit upnf; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, comctrls, IniFiles, Dialogs, stdctrls, Registry, ExtCtrls; type TLabel = class(StdCtrls.TLabel) private ub0: boolean; public procedure Paint; override; end; function FolderTemp: s...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela de Agendamentos do WMS The MIT License Copyright: Copyright (C) 2016 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentatio...
unit View.CompromissoEdicao; interface uses System.Generics.Collections, Services.ComplexTypes, Classe.ObjetoItemListView, Controller.Compromisso, Controllers.Interfaces.Observers, Views.Interfaces.Observers, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, ...
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, Buttons, ExtCtrls, Menus, ComCtrls, lNetComponents, lNet; type TChargeStatus = (st_Init,st_ready,st_connected,st_charging,st_error,st_standby,st_locked,st_Invalid); { TF...
PROGRAM Decryption(INPUT, OUTPUT); {Переводит символы из INPUT в код согласно Chiper и печатает новые символы в OUTPUT} CONST MaxLen = 20; TYPE Str = ARRAY [1 .. MaxLen] OF ' ' .. 'Z'; Chiper = ARRAY [' ' .. 'Z'] OF CHAR; VAR Msg: Str; Code: Chiper; I: 0 .. MaxLen; StrLen: 0 .. MaxLen; ValidCharSet: S...
{******************************************************************************* 作者: dmzn@163.com 2009-09-13 描述: 品种管理 *******************************************************************************} unit UFormStockType; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, ...
unit LuaCheckbox; {$mode delphi} interface uses Classes, SysUtils,lua, lualib, lauxlib, controls, StdCtrls, betterControls; procedure initializeLuaCheckbox; implementation uses luahandler, luacaller, luaclass, LuaWinControl, ceguicomponents; function createCheckBox(L: Plua_State): integer; cdecl...
unit FHIRAuthMap; { 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 m...
{ 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 untlocation; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type LokasyonType = (Station, Seminar); type { _Lokasyon } _Lokasyon = class private nLokasyonId: integer; lctLokasyonTipi: LokasyonType; strLokasyonAdi: string; strLokasyonTel: string; s...
{ IndySOAP: Support Classes } unit IdSoapClasses; {$I IdSoapDefines.inc} interface uses Classes, Contnrs, IdSoapDebug, SysUtils, SyncObjs, windows; type TIdStringList = class(TStringList) Private FSerialNo : cardinal; FOwnsObjects: Boolean; Public constructor Create(AOwnsObjects: Bool...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [NFE_CANA] The MIT License ...
unit UDelphiVersionCombo; interface uses Vcl.StdCtrls; type TDelphiVersionItem = class public InternalNumber: string; end; TDelphiVersionComboLoader = class public class procedure Load(Combo: TComboBox; const DelphiVersions: string); class procedure Clear(Combo: TComboBox); end; implementat...
unit CommonfmeOptions_PKCS11; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, OTFEFreeOTFEBase_U, CommonSettings, SDUFrames, SDUFilenameEdit_U, OTFEFreeOTFE_VolumeSelect, CommonfmeOptions_Base; type TfmeOptions_PKCS11 = class(TfmeOptio...
unit ssl_asn; interface uses ssl_types; var ASN_ANY_it: function: PASN1_ITEM; ASN1_PCTX_new: function: PASN1_PCTX; cdecl = nil; ASN1_PCTX_free: procedure(p: PASN1_PCTX); cdecl = nil; ASN1_PCTX_get_flags: function(p: PASN1_PCTX): TC_ULONG; cdecl = nil; ASN1_PCTX_set_flags: procedure(p: PASN1_PCTX; ...
program nueve; const corte = 32767; type tMesaElectoral = record codProvincia : integer; codLocalidad : integer; numeroDeMesa : integer; cantVotos : integer; end; archivoVotos = file of tMesaElectoral; procedure leerArchivo (var arc : archivoVotos; var reg : tMesaElectoral); begin if...
unit AspectModel; interface uses InfraValueTypeIntf, InfraValueType, AspectModelIntf; type TClassA = class(TInfraObject, IClassA) public procedure NotIntercepted; virtual; procedure ProcSemPar; virtual; procedure Proc1Par(const x: IInfraInteger); virtual; procedure Proc2Par(const x...
(*Напишите и испытайте процедуру (назовем ее Line - линия), печатающую строку заданной длины, составленную из звездочек*) procedure Line(number : integer); var i : integer; begin for i:=1 to number do Write('*'); Writeln; end; begin Line(3); Line(7); end.
unit Form.PreviewItem; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TFormPreview = class(TForm) Memo1: TMemo; procedure FormClose(Sender: TObject; var Action: TCloseAction); pri...
unit ViewModel.Main; interface uses Model.TaskList, ViewModel.Task, Model.Task; type TOnEditTask = reference to function (Sender : TObject; TaskViewModel : TTaskViewModel) : boolean; TMainViewModel = class private FTasks : TTaskList; FOnEditTask: TOnEditTask; function DoOnEditTask(Task...
{ 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 gtadll; interface const gtainterface = 'gtainterface.dll'; // IMG utils type Tdirentry = packed record startblock: Longword; sizeblocks: Longword; Name: array[0..23] of char; // null terminated, there is possible garbage after the null terminator end; // 32 bytes Tdefragcallbackpro...
{$mode TP} {$codepage UTF-8} {$R+,B+,X-} program T_16_44(input, output); uses heaptrc; type TE = integer; list = ^node; node = record elem: TE; next: list end; stack = list; TE1 = char; list1 = ^node1; node1 = record elem: TE1; next: list1...
unit uCefWebActionBase; interface uses Sysutils, Classes, System.SyncObjs, // uCEFInterfaces, uCEFTypes, uCEFChromium, uReLog3, uLoggerInterface; type TCefWebActionBase = class abstract private FChromium: TChromium; //--- function GetIsSucccess: Boolean; function GetLocati...
unit XPMenu; interface uses Windows, Graphics, Controls, Classes, SysUtils; type TXPMenu = class(TComponent) private FOwner: TComponent; FActive: Boolean; FSelectedBackColor: TColor; FSelectedFontColor: TColor; FSeparatorColor: TColor; FBackColor: TColor; FFontColor: TColor; FCh...
unit WebModuleUnit1; interface uses System.SysUtils, System.Classes, Web.HTTPApp, mvcframework; type TWebModule1 = class(TWebModule) procedure WebModule1DefaultHandlerAction(Sender: TObject; Request: TWebRequest; Response: TWebResponse; var Handled: Boolean); private Engine: TMVCEngine; { Priva...
unit AllCustomers; {This is the form that shows all the customers.} interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf,...
unit bca_integration; {$mode objfpc}{$H+} interface uses base64, common, http_lib, json_lib, logutil_lib, {$if FPC_FULlVERSION >= 30200} opensslsockets, {$endif} Classes, SysUtils; type { TBCAIntegration } TBCAIntegration = class(TInterfacedObject) private FClientID: string; FClientSecre...
unit ChatWindow; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Math, StdCtrls, ExtCtrls, ChatControl, Vcl.ComCtrls, RichEdit; type TForm4 = class(TForm) Panel1: TPanel; Panel2: TPanel; LabeledEdit1: TLabeledEdit; Button1: TButt...
unit DevMax.DAO.REST.Manifest; interface uses DevMax.Types, DevMax.Types.ViewInfo, IPPeerClient, REST.Client, Data.Bind.Components, Data.Bind.ObjectScope // REST Client ; type TManifestRESTDAO = class(TInterfacedObject, IManifestDAO) private FRESTClient: TRESTClient; FRESTRequest: TRESTRequest; ...
(* @created(2019-12-27) @author(J.Delauney (BeanzMaster)) Historique : @br @unorderedList( @item(27/12/2019 : Creation ) ) --------------------------------------------------------------------------------@br ------------------------------------------------------------------------------ Description : Simulation d...
unit xe_COM50; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus, Vcl.StdCtrls, cxButtons, Vcl.ExtCtrls, cxControls, cxContainer, cxEdit, cxStyles, c...
// Global defines {$I IPDEFINE.INC} unit ipHtmlBlockLayout; interface uses types, Classes, SysUtils, LCLPRoc, LCLIntf, Graphics, IpUtils, IpHtml, iphtmlprop; type { TIpNodeBlockLayouter } TIpNodeBlockLayouter = class(TIpHtmlBaseLayouter) private FBlockOwner : TIpHtmlNodeBlock; ...
unit Controle.CadastroTanque; interface uses Controle.Padrao, Modelo.Tanque, Dao.Tanque, Bd.Gerenciador, uTipos; type TControleTanque = class(TControlePadrao) public Tanque: TTanque; Constructor Create; Destructor Destroy; override; function CarregaTanque(ACodigoTanque: string): Boolean; fu...
unit frImam; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Layouts, System.Threading, FMX.Effects, FMX.Objects, System.Actions, FMX.ActnList, FMX.StdActn...
unit TBGInterbaseExpressDriver.Model.Query; interface uses TBGConnection.Model.Interfaces, System.Classes, System.SysUtils, Data.DB, IBX.IBDatabase, IBX.IBCustomDataSet, IBX.IBQuery, Datasnap.Provider, Datasnap.DBCLient, TBGConnection.Model.DataSet.Proxy, TBGConnection.Model.DataSet.Interfaces, TBGConnec...
{$MODE OBJFPC} { -*- delphi -*- } {$INCLUDE settings.inc} unit hashset; interface uses hashfunctions; type generic THashSet <T, Utils> = class strict protected type PPHashSetEntry = ^PHashSetEntry; PHashSetEntry = ^THashSetEntry; THashSetEntry = record Value: T; Next:...
unit TestUConexao; { 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, System.SysUtils, FireDac.comp....
{$include kode.inc} unit kode_color; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- type KColor = packed record r,g,b,a : single; //sys : longword; end; PColor = ^KColor; function color(c:Singl...
unit Server; interface uses ConnectionModule, RemoteDB.Server.Module, System.SysUtils, Sparkle.HttpSys.Server, Sparkle.HttpServer.Context, Sparkle.HttpServer.Module, Sparkle.Logger; type TLogger = class(TInterfacedObject, ILogEngine) procedure Log(const Msg: string); end; pro...
unit angFrmSelectSnippet; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, ExtCtrls, StdCtrls, Buttons, angSnippet, angPKZ,angfrmSnippet,strutils; type { TfrmSelectSnippet } TfrmSelectSnippet = class(TForm) bDelete: TButton; BitBtn1: TBi...
unit unAcesso; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Buttons, DB, SqlExpr, Vcl.Imaging.pngimage, uniGUIForm, uniGUIBaseClasses, uniGUIClasses, uniButton, uniBitBtn, uniEdit, uniImage, uniCheckBox; type TfrmAcesso = class(TUni...
unit UQueryManager; interface uses SysUtils, UxlClasses, UxlExtClasses, UxlWindow, UWordBox; type TWordChangeEvent = procedure (o_word: TWord) of object; TQueryManager = class (TxlInterfacedObject, IOptionObserver, IMemorizer, ICommandExecutor) private FWordBox: TWordBox; FOnBoxChange...
unit UfrmEditVariables; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UFastKeysSS, Vcl.StdCtrls, Vcl.ExtCtrls, USlide; type TfrmEditVariables = class(TForm, ISlideEditForm) Panel1: TPanel; btnCance...
{******************************************************************************* * * * PentireFMX * * ...
unit UBackupInfoXml; interface uses UChangeInfo, xmldom, XMLIntf, msxmldom, XMLDoc, UXmlUtil, UMyUtil, SysUtils, Classes; type {$Region ' 写 备份路径 xml信息 '} // 备份路径Xml 写信息 父类 TBackupPathWriteXml = class( TChangeInfo ) public FullPath : string; protected BackupPathNode : IXMLNode; public constr...
{ Module of routines that convert between system screen handles * and strings. * * The string format of a complete system screen identifier is: * * <machine name>:<server ID>.<screen ID> * * Empty or fields indicate to use default values. * The string may be truncated before or after any punctuation, where ...
unit mbMainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ToolWin, StdCtrls, FreeBitmap; type TMainForm = class(TForm) ToolBar: TToolBar; tbLoad: TToolButton; ToolButton1: TToolButton; tbClose: TToolButton; ToolButton2: TTo...
{ Compare record to the previous override and remove if the same. This process depends on the plugins and their load order in xEdit! Not to be used on DLC, mods, nor any part of the cleaning process. Recomended use: for removing unneeded records from dynamic patch files. } unit RemoveITPO; var CountITPO: Int...
{ 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 ServerController; interface uses SysUtils, Classes, IWServerControllerBase, IWBaseForm, HTTPApp, // For OnNewSession Event UserSessionUnit, IWApplication, IWAppForm, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, Fire...
unit SDDialog; interface uses Windows, SysUtils, Classes, ShellAPI, ShlObj, Forms; type TSDDialog = class(TComponent) function Execute: boolean; private FHandle: HWND; FPath: string; FTitle: string; { Private declarations } protected { Protected declarations } publi...
unit ServiceForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, SvcMgr, Dialogs, BasisFunction, ActiveX; type TIOCPDemoSvc = class(TService) procedure ServiceAfterInstall(Sender: TService); procedure ServiceBeforeInstall(Sender: TService); procedure ServiceSta...
unit DisciplinaUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Grids, DBGrids, DB, FMTBcd, SqlExpr; type TDisciplinasForm = class(TForm) MenuPanel: TPanel; IncluirButton: TButton; AlterarButton: TButton; ExcluirButton:...
unit Delta.System.Classes; interface uses System.Classes, System.SysUtils, System.UITypes, System.TypInfo, System.rtti; type TNotifyEventCallBack = procedure(Reference: Integer; DReference, DFuncPointer: Integer); stdcall; procedure registerNotifyEvent(Reference: Integer; AName: PAnsiChar; DReference, DFu...
library project2; {$mode objfpc}{$H+} uses Classes, pqconnection { you can add units after this }; function pgroles_add(pg: TPQConnection; userName: string): boolean; cdecl; begin if (userName <> '') then begin pg.ExecuteDirect('CREATE USER "' + userName + '";'); pg.Transaction.Commit(); ...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela Cadastro de Dependentes dos Socios The MIT License Copyright: Copyright (C) 2016 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ...
unit ProfessorIncAltUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, FMTBcd, DB, SqlExpr; type TProfessorIncAltForm = class(TForm) DadosPanel: TPanel; BotaoPanel: TPanel; NomeLabel: TLabel; NomeEdit: TEdit; CPFLabel...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ACBrBarCode, AJBarcode, Spin, ComCtrls; type TForm1 = class(TForm) ButtonGerar: TButton; Image1: TImage; Edit1: TEdit; Label3: TLabel; Label4: TLabel; SpinE...
unit uVendasDao; interface uses uVendasModel, uFuncoes, System.SysUtils, System.Generics.Collections; type TvendasDao = class private public function NewPed: Integer; function VerificaPedido: Boolean; function Inserir(oVendas: TVendasModel; out sErro: String):Boolean; function Fi...
unit UFormSearchFileDecrypt; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, UMyUtil, UIconUtil, siComp, UMainForm; type TfrmSearchFileDecrypt = class(TForm) lvEncryptFile: TListView; Panel1: TPanel; Label1: TLabel; ...
// ------------------------------- EJERCICIO DE AUTOEVALUACION ------------------------------------------ Teniendo en cuenta el siguiente código que contabiliza la cantidad de repeticiones de cada letra minúscula almacenada en el arreglo v2: program repeticiones; type rango='a'..'z'; vector1=array['a'..'z'] of in...
unit xmplayer_server; {$mode delphi} interface uses {$ifdef darwin} macport, {$endif} {$ifdef windows} windows, {$endif} Classes, SysUtils, xmplayer_defines, cefuncproc, globals, mikmod; type TXMPlayer=class private finitialized: boolean; function getPlayingState: boolean; ...
{---------------------------------------------------------------------- DEVIUM Content Management System Copyright (C) 2004 by DEIV Development Team. http://www.deiv.com/ $Header: /devium/Devium\040CMS\0402/Source/PhotoGallery/pgMainForm.pas,v 1.5 2004/04/17 12:19:01 paladin Exp $ ---------------...
unit AnnotationsModel; interface uses InfraCommon, InfraCommonIntf, InfraValueTypeIntf, InfraValueType, AnnotationsModelIntf; type // Esta classe serve apenas para propósito de teste. Nossas classes poderiam // ser registradas todas de uma só vez. Estes registros serão gerados // automaticamente...
unit Constants; interface const csDataPath = 'Data\'; csTempPath = 'TMPNP01VN'; csArhivPath = 'Arhiv\'; //csArhivRun = 'rar a -r '; csArhivRun = '7z a '; csJournalLog = 'Journal.log'; csJournalLock = 'JOURNAL.LCK'; csNP01F = 'NP01F'; csDBExt = '.db'; csArcExt = '.7z'; // cs7ZExt = '....
// ---------------------------------------------------------------------------- // Unit : PxAviWriter.pas - a part of PxLib // Author : Matthias Hryniszak // Date : 2005-04-18 // Version : 1.0 // Description : A class to create an AVI file from a list of bitmaps // Changes log : 2005-04-18 ...