text
stringlengths
14
6.51M
unit ConsultaBomba; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.Buttons, Data.SqlExpr; type TFormConsultaBomba = class(TForm) LabelBombasCombustivel: TLabel; ListVie...
{*! * Fano Web Framework (https://fanoframework.github.io) * * @link https://github.com/fanoframework/fano * @copyright Copyright (c) 2018 Zamrony P. Juhara * @license https://github.com/fanoframework/fano/blob/master/LICENSE (MIT) *} unit SimpleFastCGIAppImpl; interface {$MODE OBJFPC} uses BaseSim...
namespace iOSApp.AuthenticatedCore.Models; uses Foundation, iOSApp.Core.Storage.Data; type Authenticated = public class(DataObject) public property Email:NSString; property Name:NSString; property GivenName:NSString; property FamilyName:NSString; property Gender:NSString; ...
unit UCadServTerceirizado; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.DBCtrls, Data.DB, Vcl.Mask, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls, Vcl.ImgList,IdSSL, IdSSLOpen...
(* Base ACS classes This file is a part of Audio Components Suite. All rights reserved. See the license file for more details. Copyright (c) 2002-2009, Andrei Borovsky, anb@symmetrica.net Copyright (c) 2005-2006 Christian Ulrich, mail@z0m3ie.de Copyright (c) 2014-2015 Sergey Bodrov, serbod@gmail.com *) ...
// cerner_2^5_2018 Program FizzBuzz; const maxCount = 100; var counter : Integer; output : String; begin For counter := 1 to maxCount do Begin output := ''; If(counter mod 3 = 0) then output := 'Fizz'; If(counter mod 5 = 0) then output := output + 'Buzz'; If(output = '') then Str(cou...
{ 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the im...
unit FMouseClick; interface const DoubleClickDelay = 300; procedure OnLeftMouseDown(); procedure OnLeftMouseUp(); procedure OnRightMouseDown(); procedure OnRightMouseUp(); implementation uses FCursor, Classes, FData, FFPS, FInterfaceDraw, FKeys, FMap...
unit UFrmPrincipalConsultorio; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, StdCtrls , UfrmCadastroPrescricao , UFrmCadastroFuncionario , UFrmCadastroCliente , ULoginUsuario , UDialogo , UFrmCRUD , UControleFormulario , UfrmCadas...
unit uCadastroPadrao; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uPadrao, frameListaCampo, StdCtrls, Mask, Grids, DBGrids, DBGridCBN, ComCtrls, Buttons, ExtCtrls, DB, DBClient, Especificacao, ImgList, pngimage; { Enumerado que identifica o estado que a ...
{*********************************************************************************** ** SISTEMA...............: Vida Nova Gestão de Vendas 2019 ** ** PARA EMPRESAS.........: Micro e Pequena Empresa ** ** LINGUAGEM/DB..........: Delphi 10.3 Rio / Firebird 2.5 ...
unit CompanyHeadquarters; {$mode objfpc}{$H+} interface uses Classes, SysUtils, BaseModel; type IBaseCompanyHeadquarters = interface(IBaseModel) ['{78384C70-2A65-4103-93DA-917B5F09A390}'] function GetAddress: string; function GetCity: string; function GetState: string; procedure SetAddress(AVa...
{ ==03.29 1.ThumbNail Component 가 이상해서 TImage를 생성해서 그려주는걸로 대체한다. 2. ThumbNail Component를 구하면 그걸로 대체할것. } unit UThumbCls; interface uses Controls, Extctrls, Classes, SysUtils, StdCtrls; type FileErr = Class(Exception); Tbi_Thumb = Class(TGraphicControl) private FImg : TImage; FfL...
object formFreqTest: TformFreqTest Left = 0 Top = 0 BorderStyle = bsToolWindow Caption = 'FreqTest' ClientHeight = 152 ClientWidth = 404 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -15 Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 Font.Sty...
unit View.Principal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Data.DB, Datasnap.DBClient, Vcl.Grids, Vcl.DBGrids, MDBGrid, Vcl.Menus, Vcl.ComCtrls, ZAbstractConnection, ZConnection, Vcl.S...
(* Copyright (c) 2012-2014, Stefan Glienke 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 conditions ...
unit DW.OSDevice.Android; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Library ...
unit MyOpenGLContext; interface uses Windows, opengl; type //Guarda as informações do contexto do opengl. TMyOpenGLContext = record wnd : HWND; dc : HDC; glrc: HGLRC; end; //Cria um contexto pro hwnd dado. function myCreateContextForWindow(wnd:HWND):TMyOpenGLContext; //Destroi o contexto criado com CreateCo...
unit uMain; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ComCtrls, StdCtrls, ACS_CDROM, ExtCtrls, Buttons, ACS_File; type { TfMain } TfMain = class(TForm) bRip: TButton; cbDrives: TComboBox; cbFormat: TComboBox; CDI...
unit uRegSearch; // ************** Поиск в реестре ************** interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, StdCtrls, ComCtrls, Buttons, ExtCtrls, registry, zSharedFunctions; type TRegSearch = class(TForm) StatusBar1: TStatusBar; ...
unit CMW.ModuleStruct; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, System.IniFiles, Dialogs, ComCtrls, TLHelp32, PSAPI, Vcl.StdCtrls, CMW.OSInfo, System.Win.Registry; type TGlobalState = (gsNone, gsProcess, gsFinished, gsStopped, gsError); TGetState = (gsIsNotGetted, ...
unit ItemEditor.Coolant; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ItemEditor.Base, StdCtrls, ComCtrls, ExtCtrls, pngimage, Buttons, PngBitBtn; type TItemEditorFrame_COL = class(TItemEditorBaseFrame) CustomTabSheet: TTabSheet; PurposeCombo: TComb...
unit casebook; interface uses W3System, W3Components, W3Forms, W3Application, mainForm, w3header,w3toolbutton, w3graphics, qtxutils, qtxeffects, qtxheader, formLogin, formAccount, formProfile; type TApplication = class(TW3CustomApplication) private FForm1: TForm1; FLogin: TformLogi...
unit SpeechRecognition; interface uses System.SysUtils, System.Classes, System.Messaging; type TGuesses = Array of String; TRecognitionEventEx = procedure(Sender: TObject; Guesses: TGuesses) of object; TRecognitionEvent = procedure(Sender: TObject; Guess: String) of object; TSpeechRecognition = class(TCom...
unit ETL.Component.Transform.Condensation; interface uses ETL.Component.Transform, ETL.Form.Edit.Transform.Condensation, ETL.Form.Grid; type TCompCondensation = class(TCompTransform) strict private function GetInstanceFormEdit: TFoEditCondensation; strict protected function GetScrip...
unit uFormStartEmulator; {$mode objfpc}{$H+} interface uses // {$ifdef Windows}Windows{$else}XWindow{$endif}, {$ifdef Windows} {$define Emulator} Windows, {$else} {$ifndef Darwin} {$define Emulator} XWindow, {$endif} {$endif} Classes, SysUtils, process, FileUtil...
program TestValue; procedure DoubleIt(var value: Integer); begin value := value * 2; end; procedure MakeZero(out value: Integer); begin value := 0; end; procedure Main(); var testValue: Integer; begin MakeZero(testValue); WriteLn('testValue is ', testValue); testValue := 10; WriteLn('testValue is now ', testValue...
unit LoginForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, Vcl.Menus, cxLabel, Vcl.StdCtrls, cxButtons, cxTextEdit, cxM...
unit IcmsEstado; interface uses SysUtils, Contnrs, Estado; type TIcmsEstado = class private Fcodigo :Integer; Fcodigo_estado :Integer; Fperc_reducao_bc :Real; Faliquota_icms :Real; FEstado: TEstado; function GetEstado: TEstado; public property codigo :Integer read F...
unit CoolCtrlDSN; // for Cool Controls Design time useage interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,StdCtrls,ComCtrls, Buttons,ImgList,ComWriUtils, CoolCtrls; procedure Register; implementation uses TypInfo,dsgnintf, LabelLookCfgDLG, BtnLookCfgDLG, E...
{----------------------------------------------------------------------------- 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/MPL-1.1....
unit ufrmQueryConfig2; 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.ExtCtrls; type TfrmQueryConfig2 = class(TForm) btnOk: TButton; Panel1: TPanel; lblMaxPageNo...
unit DelThread; { Поток, который удаляет из списка потоков те, которые закончили свою работу. } Interface Uses Classes, SyncObjs, Common, Main, SysUtils; Type MyDelThread = Class(TThread) Private { Private declarations } Protected Procedure Execute; Override; End; Var NewDel : M...
(* ENUNCIADO Faça um programa em Free Pascal que leia dois inteiros positivos m e n, sendo 1 ≤ m, n ≤ 100, e uma matriz A m×n. O programa deve imprimir “sim” se há elementos repetidos na matriz A, caso contrário deve imprimir “nao”. Nos casos de teste cada elemento x da matriz A é definido por 1 ≤ x ≤ 1000. Exemplo d...
(** * A collection of functions used when creating tabular dumps. *) unit ExportTabularCore; (** * Escapes [text] by escaping quotes and then surrounding it with quotes. * * @param text the text to escape * @return a CSV-escaped version of [text] *) function escapeCsvString(text: String): String; begin re...
UNIT WLA_Panic_Modul; INTERFACE TYPE WishNodePtr = ^WishNode; WishNode = RECORD next: WishNodePtr; name: STRING; item: STRING; END; (*RECORD*) WishListPtr = WishNodePtr; WishersNodePtr = ^WishersNode; WishersNode = RECORD next: WishersNodePtr; name: STRING...
program CircleStats; Const PI = 3.1415; function CircleArea(var r : Double):Double; begin result := (PI * r * r); end; function CircleDiameter(var r : Double):Double; begin result := (2 * r); end; function CircleCircumfrerence( var r : Double):Double; begin result := PI * CircleDiameter(r); end; procedure Main...
program Vectores; const cant_datos=5; //dimension fisica type vDatos = array [1.. cant_datos] of real; procedure cargarVector (var v:vDatos; var dimL: integer); var numero:double; begin write('Ingrese un numero: '); readln(numero); while(numero<>0) and (dimL<cant_datos) do begin dimL:=dimL +1; ...
unit tiHelperClasses; interface uses tiObject, tiVisitor; type //TtiSkeleotonX classes implement a method of unloading persistent objects //i.e. allows for purges of the cache of in-memory objects loaded from disk //TtiSkeletonObject is used by owners of loaded singletons (0..1 relations) TtiSkeletonObject ...
unit figures; INTERFACE uses gsystem2,graph,gmath; type popointer = ^point; point = record xpos,ypos,zpos :real; next: popointer; end; plpointer = ^plane; plane = record number: integer; solid : boolean; color : integer; firstpoint : popointer; next: plpointer; visible...
program makewave; { *************************************************************************** * * * Wave maker for SoundBlaster 1.5 by HaJott * * ...
program port1; {$IFNDEF HASAMIGA} {$FATAL This source is compatible with Amiga, AROS and MorphOS only !} {$ENDIF} { Project : port1 Topic : port and message example, run at the same time as port2 Source : RKRM } {$MODE OBJFPC}{$H+}{$HINTS ON} {$UNITPATH ../../../Base/CHelpers} {$UNITPATH ../../../Bas...
{$MODESWITCH RESULT+} {$GOTO ON} (************************************************************************* Cephes Math Library Release 2.8: June, 2000 Copyright by Stephen L. Moshier Contributors: * Sergey Bochkanov (ALGLIB project). Translation from C to pseudocode. See subroutines comments for...
{ Description: PCA9685 library. Copyright (C) 2014-2019 Melchiorre Caruso <melchiorrecaruso@gmail.com> This source 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 ...
unit UnitConst; interface uses Winapi.Messages; const cExceptionMsg = '[%s] %s'; cTableLogStart = 'Начало обработки таблицы - %s'; cTableLogStartSize = 'Начало обработки таблицы - %s; записей - %s'; cTableLogFinishSize = ' обработана таблицы - %s; загружено записей - %s'; cTableLogFinish ...
// By Banban // Doc : http://www.fmod.org/docs/tutorials/basics.htm unit FSound; interface uses fmod, fmodtypes, FUnit; procedure Sound_init(); //Short sounds loaded into memory procedure Sound_Init_sample(); procedure Play_Sound_sample(son : PFSoundSample); procedure Sound_Close_sample(); procedure Ad...
{**********************************************************************} { } { "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 comp...
// mnbuf : abstract multi-line text buffer for minneron // // Copyright © 2014 Michal J Wallace http://tangentstorm.com/ // Available for use under the MIT license. See LICENSE.txt // {$mode delphiunicode}{$i xpc.inc}{$H+} unit mnbuf; interface uses xpc, rings, sysutils, fs, classes; type token = TStr; anchor = TOb...
unit MnTools; interface uses windows, sysutils; { SpCharAscii Renvois le caractere ou la definition d'un caractere de la table Ascii. Params : CharCode [I] byte, code du caractere 0..255 UseLongName [I] boolean (Default False), utilise les noms long ou cours pour les...
unit ClientModuleUnit1; interface uses System.SysUtils, System.Classes, ClientClassesUnit1, Datasnap.DSClientRest; type TClientModule1 = class(TDataModule) DSRestConnection1: TDSRestConnection; private FInstanceOwner: Boolean; FSrvMetodosClient: TSrvMetodosClient; function GetSrvMe...
object FrmDataMapping: TFrmDataMapping Left = 0 Top = 0 BorderIcons = [biSystemMenu] BorderStyle = bsSingle Caption = '03 - Data Mapping' ClientHeight = 449 ClientWidth = 609 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Tah...
unit NtUtils.WinUser; { This module includes various functions for working with window stations, desktops, and other parts of graphical subsystem. } interface uses Ntapi.WinNt, Ntapi.WinUser, NtUtils, NtUtils.Objects; const DEFAULT_USER_TIMEOUT = 1000; // in ms type TGuiThreadInfo = Ntapi.WinUser.TGuiThr...
function sum(a,b:integer); begin result:=a+b; end;
unit jclass_file; {$mode objfpc}{$H+} interface uses Classes, SysUtils, jclass_common, jclass_constants, jclass_attributes, jclass_fields, jclass_methods, jclass_common_abstract, jclass_common_types, jclass_interface_list; type { TJClassFile } TJClassFile = class(TJClassFileAbstract) pri...
unit RepositorioConfiguracoesSistema; interface uses DB, Auditoria, Repositorio; type TRepositorioConfiguracoesSistema = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; ...
unit NLDStringGridEdit; interface uses DesignEditors, NLDStringGrid, ColnEdit; type TNLDStringGridEditor = class(TComponentEditor) private function StringGrid: TNLDStringGrid; public procedure ExecuteVerb(Index: Integer); override; function GetVerb(Index: Integer): String; override; function ...
unit UAnimatedPaintBox; interface uses SysUtils, Windows, Classes, Controls, ExtCtrls, Graphics, SyncObjs, UCardinalList; type TAdjustType=(ajFieldResize, ajBitmapResize ,ajNone); TShrinkType=(stHighQuality,stHighSpeed); //ImageListが役に立たず、仕方なく作ったBitmap保持専用リスト {TBitmapList = class(TObject)...
unit u_TimeZone; interface function LonLatToTimeZoneID( const Lon: Double; const Lat: Double; var ALastTimeZoneIndex: Integer; var ALastPolygonIndex: Integer ): AnsiString; implementation uses t_TzWorld, c_TzWorld; type TLonLatPoint = record X: Double; Y: Double; end; ...
unit BoolLogicalRepositoryCriterionBindingsUnit; interface uses AbstractRepositoryCriteriaUnit, SysUtils; const BOOL_AND_BINDING_DEFAULT_VALUE = 'and'; BOOL_OR_BINDING_DEFAULT_VALUE = 'or'; type TBoolAndBinding = class (TAbstractRepositoryCriteriaBinding) protected function GetValue: String; ...
Unit USODMPrincipal; interface uses SysUtils, Classes, InvokeRegistry, Midas, SOAPMidas, SOAPDm, Types, DB , DBClient, Uni, DBAccess, UniProvider, PostgreSQLUniProvider , DASQLMonitor, UniSQLMonitor, Provider; type ISODMPrincipal = interface(IAppServerSOAP) ['{E3E8C375-D907-469E-B419-BC7AB6EB7F18...
unit IDACDevice1; ////////////////////////////////////////////////////////////////////////// // Revision : 05-08-2003 ////////////////////////////////////////////////////////////////////////// interface uses DAC_Const, IADCDevice; const DAC_GET_ATTEN_INFO_KOEF = $7A5A0000; DAC_GET_ATTEN_INFO_BELL ...
unit PromoKindTest; interface uses dbTest, dbObjectTest, TestFramework, ObjectTest; type TPromoKindTest = class (TdbObjectTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TPromoKind = class(TObjectTest) function InsertDefault: integer; override; public fu...
unit UDocSpeller; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2006 by Bradford Technologies, Inc. } { This is the object used in Addict for parsing each cell's text } { It is a subclass of Addicts...
const MAXX = 100; MAXY = 100; MAXN = 100; var N, X, Y: longint; MX, MY: longint; RX, RY, PX, PY: array[0..MAXN-1] of longint; visited: array[0..MAXN-1] of boolean; (* Funzione che calcola, dati due punti, la loro distanza *) function dist(x1: longint; y1: longint; x2: longint; y2: longint): longint; begi...
unit BoardTracks; interface uses Windows, ManagedItem, Board; // ************************************************************ // SIMPLE ENCAPSULATION OF STRIPS & SEGMENTS ON A BOARD // ************************************************************ type TbeFastStrip = class( TManagedItem ) pub...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
unit UPrefFDocColor; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. } { This is the Frame that contains the Document Color Preferences} interface uses Windows...
unit Delphi.Mocks.Tests.Interfaces; interface uses DUnitX.TestFramework, Delphi.Mocks; type {$M+} IA = interface ['{551FA8FF-E038-49BB-BCBC-E1F82544CA97}'] procedure Method1; end; IB = interface ['{956B7421-7F45-4E22-BD5F-E5898EC186F4}'] procedure Method2; end; IC = interface ['...
unit Form1; interface uses SmartCL.System, SmartCL.Graphics, SmartCL.Components, SmartCL.Forms, SmartCL.Fonts, SmartCL.Borders, SmartCL.Application, SmartCL.Controls.ComboBox, System.Colors, System.Types, SmartCL.Controls.Label, SmartCL.Controls.EditBox; type TForm1 = class(TW3Form) procedur...
unit frameBuscaProduto; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Mask, ToolEdit, CurrEdit, Produto, Estoque; type TBuscaProduto = class(TFrame) StaticText1: TStaticText; StaticText2: TStaticText; edtCodigo: TCurrencyEdit;...
unit Strategy; interface uses FrogObj, Func1D, NLO, FrogTrace, SignalField; type TNewFieldTypes = (nfUseOld, nfUseBest, nfPerturbBest); TStrategy = class(TFrogObject) private mNewField: double; mSpecialPurpose: integer; mName: string; protected mERef: TEField; mSwitchAfter: ...
unit httpprothandler; interface {$IFDEF FPC} {$mode delphi}{$H+} {$ENDIF} {$ifdef unix} {$define usezlib} {$define useopenssl} {$endif} {$IFDEF POSIX} {$define usezlib} {$define useopenssl} {$ENDIF} {$ifdef win32} {$define usezlib} {$define useopenssl} {$endif} {$ifdef win64} {$define us...
unit TapHoldForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Gestures, FMX.Objects, FMX.StdCtrls; type TTapHold = class(TForm) GestureManager1: TGestureManager; Image1: TImage; To...
{$ifdef license} (* Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com ) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this li...
unit PoolingLayerUnit; {Neural Network library, by Eric C. Joyce Model a Pooling Layer as 2D input dimensions and an array of 2D pools. inputW = width of the input inputH = height of the input Each pool has a 2D shape, two dimensions for stride, and a function/type: stride_h = horizontal stride of the pool ...
unit DataRCS; // TMTBTableData - trida starajici se o vyplnovani tabulky MTB interface uses ComCtrls, SysUtils; type TRCSTableData=class private LV:TListView; public procedure LoadToTable(); procedure UpdateLine(Board:integer); procedure UpdateTable(); constructor Create(L...
unit RegExprValidateRichEdit; interface uses Windows, Messages, StdCtrls, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ValidateRichEdit, RegExpr; type TRegExprValidateRichEdit = class(TValidateRichEdit) strict protected FRegExpr: TRegExpr; procedure CreateRegEx...
unit uItensAvulsos; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uPadrao, StdCtrls, DBGridCBN, Buttons, Grids, DBGrids, Mask, RxToolEdit, RxCurrEdit, frameBuscaProduto, NotaFiscal, DB, DBClient, Contnrs, ItemAvulso, Vcl.ExtCtrls, Vcl.Imaging.pngimage; typ...
{2. Se dispone de un archivo con información de los alumnos de la Facultad de Informática. Por cada alumno se dispone de su código de alumno, apellido, nombre, cantidad de materias (cursadas) aprobadas sin final y cantidad de materias con final aprobado. Además, se tiene un archivo detalle con el código de alu...
unit Entities.Register; interface implementation uses Aurelius.Mapping.Explorer, Aurelius.Mapping.Setup, Entities; procedure RegisterEntityClasses; var Setup: TMappingSetup; begin Setup := TMappingSetup.Create; try Setup.MappedClasses.RegisterClass(TCustomer); Setup.MappedClass...
unit ReportPromoParams; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AncestorEnum, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxPCdxBarPopupMenu, cxStyles, cxCustomData, cxFilter, cxDat...
{$ifdef license} (* Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com ) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this li...
unit CardCodeForm_Unit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, FrontData_Unit, AdvSmoothButton, ExtCtrls, AdvPanel, BaseFrontForm_Unit, AdvSmoothTouchKeyBoard; type TCardCode = class(TBaseFrontForm) AdvPanel1: TAdvPanel; ...
unit mnControlTestCase; { 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; type TmnControlTestCas...
unit PosgtresErrorsAtUserDataMapperUnit; interface uses DBErrorsAtUserDataMapperUnit, SysUtils, Variants, Classes; const UNIQUE_VIOLATION_ERROR_CODE = '23505'; FOREIGN_KEY_VIOLATION_ERROR_CODE = '23503'; type TPostgresErrorsAtUserDataMapper = class(TDBErrorsAtUserDataMapper) public constructor Cre...
unit FrameGraphic; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, TAGraph, TASeries, Forms, Controls, StdCtrls, ParseMath, Func, Math, TAChartUtils; type { TFrame1 } TFrame1 = class(TFrame) Chart1: TChart; AreaDraw: TAreaSeries; GraficaIII: TLineSeries; GraficaII: TLineSer...
unit DIOTA.Dto.Response.GetNeighborsResponse; interface uses DIOTA.IotaAPIClasses, DIOTA.Model.Neighbor; type TGetNeighborsResponse = class(TIotaAPIResponse) private FNeighbors: TArray<TNeighbor>; function GetNeighborsCount: Integer; function GetNeighbors(Index: Integer): TNeighbor; public ...
unit RPEasyReports; {********************************************** Kingstar Delphi Library Copyright (C) Kingstar Corporation <Unit>RPEasyReports <What>将实际的打印设备和TReportProcessor结合起来完成打印和预览的工作. <Written By> Huang YanLai (黄燕来) <History> **********************************************} interface ...
(*Output: Map of bool variables: {} Map of real variables: {a=null, b=null, c=null} Map of bool variables: {} Map of real variables: {a=null, b=null, c=null, d=10.0} Map of bool variables: {e=false} Map of real variables: {a=null, b=null, c=null, d=10.0} Map of bool variables: {e=false, f=true} Map of real variables...
unit Clothes.Model; interface uses System.SysUtils, System.Generics.Collections, Data.DB, Common.Types, Clothes.Classes, Database.Types, Database.Model; type TClothesTypeModel = class private class var FSQLCmd: string; class procedure Init; private FDatabaseModel: TDatabaseModel; // ...
PROGRAM Range; VAR read_number : INTEGER; min, max, result: INTEGER; count: INTEGER; BEGIN min := 32767; max := 0; REPEAT BEGIN Write('Please enter an integer number: '); ReadLn(read_number); IF read_number > 0 THEN BEGIN IF read_number < min THEN BEGIN mi...
unit dsdTranslator; interface uses Windows, Messages, Forms, ActnList, Controls, Classes, DB, DBClient, dsdDataSetDataLink; type TdsdTranslator = class; TdsdTranslator = class(TComponent) private protected FOnFormKeyDown : TKeyEvent; FOnFormCreate : TNotifyEvent; procedure OnFormKeyDown(Se...
unit IdTestGlobal; interface uses IdTest, IdObjs, IdSys, IdException, IdGlobal; type TIdTestGlobal = class(TIdTest) published procedure TestToBytes; procedure TestBytesToChar; procedure TestReadStringFromStream; procedure TestReadTIdBytesFromStream; procedure Tes...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 2010-2013 Embarcadero Technologies, Inc. } { ...
unit ioctl; interface uses Windows; { Board Type macro definitions } const NONE = 0; { no board in slot } L1250 = 1; { L1250 board } N1250 = 2; { N1250 board (may be not work)} L1251 = 3; { L1251 board } L1221 = 4; { L1221 board } PCIA = 5; { PCI rev A boa...
unit ConfiguracaoDAO; interface uses Data.SqlExpr, SysUtils, Forms, Windows, Util, Configuracao; type TConfiguracaoDAO = class private { private declarations } public function ObterConfiguracao:TConfiguracao; procedure Salvar(Configuracao: TConfiguracao); end; implementation { TConfiguracaoDA...
{******************************************************************************} { } { Icon Fonts ImageList: An extended ImageList for Delphi/VCL } { to simplify use of Icons (resize, colors and more...) ...
unit SDK.PropertySerializers; interface uses SDK.Types, SysUtils, Classes, SDK.XML, XMLIntf, TypInfo, SDK.Enums, StrUtils, Variants; type TModelListPropertySerializer = class(TInterfacedObject, IPropertySerializer) public function Execute(const AInstance: IModel; const AProperty: PPropInfo; ASeriali...
unit SE_EditorFactory; interface uses Messages, Classes, ComCtrls, SE_Globals, SE_Interfaces; type TSEEditorTabSheet = class(TTabSheet) private procedure WMDeleteThis(var aMsg: TMessage); message WM_DELETETHIS; end; TSEEditorFactory = class(TInterfacedObject, ISEEditorFactory) strict private fE...
unit FH.DeckLink.Helpers; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Json, System.TypInfo, System.Generics.Collections, Winapi.ActiveX, System.syncobjs, DeckLinkAPI_TLB_10_5, FH.DeckLink, FH.DeckLink.InputFrame, FH.DeckLink.Discovery, FH.Deck...