text stringlengths 14 6.51M |
|---|
unit NewExperimentUnit;
// ---------------------
// Select new experiment
// ---------------------
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TNewExperimentFrm = class(TForm)
cbTissue: TComboBox;
bOK: TButton;
bCancel: TButton;
... |
unit UfP;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs, IniFiles,
IdBaseComponent, IdComponent, IdCustomTCPServer, IdMappedPortTCP, IdContext,
IdUDPBase, IdUDPServer, IdMappedPortUDP, IdGlobal, IdSocketHandle,
Vcl.ExtCtrls... |
// ******************************************************************
//
// Program Name : AT Software_DNA Library
// Program Version: 1.00
// Platform(s) : OS X, Win32, Win64
// Framework : FireMonkey
//
// Filenames : AT.DNA.FMX.Dlg.Base.pas/.fmx
// File Version : 1.20
// Date Created : 04-MAY-2016... |
unit fAppPushDemo;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
System.Threading, System.NetEncoding,
FMX.Platform, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.TabControl, FMX.StdCtrls, FMX.Controls.Presentation,
FMX.Gestures, System... |
program helloworld;
{$MODE OBJFPC}{$H+}{$HINTS ON}
{
===========================================================================
Project : helloworld
Topic : Prints some text to standard output
Author : The AROS Development Team.
Source : http://www.aros.org/documentation/developers/samplecode/helloworl... |
//In this unit we process operators
unit uOperators;
interface
uses SysUtils , RegExpr ;
const
countOperators = 12 ;
type
OperatorNumbersrange = 0..11 ;
tOperatorType = ( otSimple , otIf , otSwitch , otWhile , otDoWhile ,
otFor , otElse , otDefault , otCase , openBrace ,
... |
unit main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ThoughtWorks.QRCode.Codec.QRCodeEncoder,
Vcl.StdCtrls, GdiPlus, Vcl.ComCtrls, Vcl.ExtCtrls;
type
TForm1 = class(TForm)
pgc1: TPageControl;
t... |
unit OrdrspXML;
interface
uses xmldom, XMLDoc, XMLIntf;
type
{ Forward Decls }
IXMLORDRSPType = interface;
IXMLHEADType = interface;
IXMLPOSITIONType = interface;
IXMLPOSITIONTypeList = interface;
{ IXMLORDRSPType }
IXMLORDRSPType = interface(IXMLNode)
['{62D984AC-364C-4888-9B04-96413D6D7B95}']
... |
Program intuition_easyreq;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{$MODE OBJFPC}{$H+}{$HINTS ON}
{$UNITPATH ../../../Base/CHelpers}
{$UNITPATH ../../../Base/Trinity}
{
===========================================================================
Project... |
unit MUIClass.Image;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fgl, Math,
Exec, Utility, AmigaDOS, Intuition, agraphics, icon, mui, muihelper,
tagsparamshelper, MUIClass.Base, MUIClass.Area;
{$M+}
type
TMUIImage = class(TMUIArea)
private
FFontMatch: Boolean;
FFontMatchHeight: Boolean;
... |
unit ViewModel.CountryEdit;
interface
uses
Model.Interfaces;
function CreateCountryEditViewModelClass: ICountryEditViewModelInterface;
implementation
uses
Model.Country,
Model.FormDeclarations,
Model.ProSu.Interfaces,
Model.ProSu.InterfaceActions,
Model.ProSu.Provider,
Model.ProSu.Subscriber;
type
... |
unit UDebug;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted 1998 - 2011 by Bradford Technologies, Inc. }
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ... |
unit USelection;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
UToolForm, ActnList, ImgList, StdCtrls, ToolWin, ComCtrls, UTools,
CheckLst;
type
TfmSelection = class(TToolForm, ISimpleSelection, ISelection)
ToolBar1: TToolBar;
lsSelection: TCheckListBox;
... |
unit UWebUtils;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 2004-2006 by Bradford Technologies, Inc. }
{$WARN SYMBOL_PLATFORM OFF}
{$WARN UNIT_PLATFORM OFF}
interface
uses
SysUtils,Types,Classes, uStatu... |
unit Iterator.AbstractClass.IteratorAggregate;
interface
type
TIteratorAggregate = class(TInterfacedObject, IEnumerable)
public
// Returns an Iterator or another IteratorAggregate for the implementing object.
// Retorna um Iterator ou outro IteratorAggregate para o objeto de implementação.
function Ge... |
unit RPDBDesignInfo;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit>RPSimpleReports
<What>提供一个简单的报表使用工具
<Written By> Huang YanLai (黄燕来)
<History>
**********************************************}
interface
uses SysUtils, Classes,... |
unit HSVColorPicker;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Graphics, Math, RGBHSVUtils, Scanlines,
Forms, {IFDEF DELPHI_7_UP Themes, $ENDIF} HTMLColors, SelPropUtils, mbColorPickerControl;
type
THSVColorPicker = class(TmbColorPickerControl)
private
FHue, FSat, FValue: i... |
PROGRAM NumberConverter;
CONST MAX_BASE = 36;
MIN_BASE = 2;
ASCII_0 = Ord('0');
ASCII_9 = Ord('9');
ASCII_A_UPPER = Ord('A');
ASCII_Z_UPPER = Ord('Z');
ASCII_A_LOWER = Ord('a');
ASCII_Z_LOWER = Ord('z');
ALPHANUMERIC_DIGIT_OFFSET = 10;
MAX_STRING_REPRESENTATION_LENGTH = 5;
(* Determine base power ex... |
{
Модуль классов движка
Версия: 0.0.3.2
}
unit engine;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Crt,
XmlRpcServer, XmlRpcTypes,
dictionary, settings, obj_proto;
{ Режимы запуска движка }
const
RUN_MODE_SINGLE: AnsiString = 'single';
RUN_MODE_LOOP: AnsiString = 'loop';
RUN_MODE_DIAG... |
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Quality Software Components }
{ }
{ For further infor... |
unit UBase;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Layouts, FMX.Ani,
FMX.Objects, Winapi.Messages, Winapi.Windows, FMX.Platform.Win;
type
TSinglePoint = record
X: Single;
Y: Single... |
unit videoview;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, AndroidWidget, systryparent;
type
{Draft Component code by "Lazarus Android Module Wizard" [3/11/2017 15:51:37]}
{https://github.com/jmpessoa/lazandroidmodulewizard}
{jVisualControl template}
jVideoView = class(jVisualControl)
private
... |
unit PrintPreviewBoard;
interface
uses Grids, Windows, Messages, Classes, Controls, Printers, Forms,
Project, PrintPainter, Painter, ColorScheme;
// This class can draw the board at desired scale, with red lines
// drawn over the board to show where pages will cut the board
type TvePrintPreview = cl... |
unit GermanTranslator;
interface
uses Translator;
type
TGermanTranslator = class(TTranslator)
public
constructor Create;
end;
implementation
constructor TGermanTranslator.Create;
begin
{ main ui translations }
Self.add('searchbtn.title', 'Suchen');
{ car detail translations }
Self.add(... |
// Fit4Delphi Copyright (C) 2008. Sabre Inc.
// 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 version.
//
// This program is dist... |
unit RepositorioCidade;
interface
uses DB, Repositorio;
type
TRepositorioCidade = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdentificador(Objeto :TObj... |
unit Universe;
interface
uses
System.Classes, System.Types, WinApi.Windows;
type
{ TDiBits }
/// <summary>
/// Encapsulation of a monochrome bitmap
/// for displaying Life patterns on the screen
/// </summary>
TDiBits = record
public
function Stride: integer; inline;
class function Create:... |
unit Delphi.Mocks.Tests.Behavior;
interface
uses
SysUtils,
DUnitX.TestFramework,
Rtti,
Delphi.Mocks,
Delphi.Mocks.ParamMatcher;
type
ETestBehaviourException = class(Exception);
{$M+}
[TestFixture]
TTestBehaviors = class
private
FContext : TRttiContext;
FMatchers : TArray<IMatcher>;
pro... |
{ search-api
Copyright (c) 2019 mr-highball
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, pub... |
unit IdTestSys;
interface
uses
IdTest,
IdSys;
type
TIdTestSys = class(TIdTest)
published
procedure TestStrToInt64;
procedure TestFormat;
procedure TestStringReplace;
end;
implementation
const
cLargeStr='6000000000';
cLargeNum=6000000000;
procedure TIdTestSys.TestFor... |
unit uGridComHint;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, DB, ADODB, Unit2, Unit3;
type
TForm1 = class(TForm)
DBGrid1: TDBGrid;
DataSource1: TDataSource;
ADOConnection1: TADOConnection;
Sp: TADOStoredProc;
procedure... |
unit AuxProcs;
interface
uses
Windows, SysUtils, Classes;
{ Fills rectangle with simple gradient }
procedure FillGradientRect(const hDC: Cardinal; const AWidth, AHeight: Integer;
const ColorA, ColorB: Integer; const Vertical: Boolean = True);
{ Get file size in bytes }
function GetFileSize(const FileName: Strin... |
PROGRAM Lines (input,output);
{reads line of input from keyboard and determines number of words
and number of sentances}
VAR Numword,Sentances: integer;
Ch,CurrCh: char;
(***************************************************************************)
PROCEDURE Init(var Ch,CurrCh: char;
... |
unit AbstractReferenceFormControllerEvents;
interface
uses
Event,
SysUtils,
ReferenceFormRecordViewModel,
Classes;
type
TReferenceRecordChooseRequestedEvent = class (TEvent)
protected
FSelectedRecordId: Variant;
public
constructor Create(const SelectedRecordId: Variant);
... |
unit DW.FileWriter;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library }
{ ... |
{ Working with L-1250 L-1251 L-305 L-264}
unit cmd1251;
interface
{ Commands supported ADSP on L-1250/L-1251/L-264/L-305 boards }
const
cmSTOP_1251 = 0; { Превод платы в тихое состояние }
cmADC_CHAN_1251 = 1; { Ввод с АЦП с переустановкой каналов }
cmOUT_DAC_1251 = 2;... |
unit AqDrop.Core.Observer;
interface
uses
System.Classes,
System.Generics.Collections,
System.SysUtils,
AqDrop.Core.InterfacedObject,
AqDrop.Core.Observer.Intf,
AqDrop.Core.Collections;
type
TAqNotifyEvent<T> = procedure(pMessage: T) of object;
TAqObserver<T> = class(TAqInterfacedObje... |
unit RepositorioCofinsAliq;
interface
uses
DB,
Repositorio;
type
TRepositorioCofinsAliq = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdentificador(... |
unit MyScreen;
interface
type
Screen = class
name: string;
InitializeProc:procedure;
UpdateProc: procedure;
KeyDown: procedure (key: integer);
active: boolean:= false;
constructor Create(name: string; InitializeProc:procedure; UpdateProc:procedure; KeyDown: procedure (key: integer));... |
unit uSolicitacaoDAO;
interface
uses Generics.Collections, SqlExpr, DB, Dialogs, uModelPessoa, SysUtils, DBAccess, Ora, MemDS, OraCall,
Datasnap.DBClient, IPPeerClient,uModelMemorialDescritivo,
Data.DBXCommon, udmDados, uModelGrupos, UModelSolicitacao;
type
TSolicitacaoDAO = class
private
FQuery : TOraq... |
unit PartnerJuridicalEdit;
interface
uses
AncestorEditDialog, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters,
Vcl.Menus, cxControls, cxContainer, cxEdit, dsdGuides, cxMaskEdit,
cxButtonEdit, cxCurrencyEdit, cxLabel, Vcl.Controls, cxTextEdit, dsdDB,
dsdAction, System.Classes, Vcl.ActnList, cxPropertiesStore... |
unit Utils;
interface
uses
Windows, SysUtils, Classes, FileCtrl, ShlObj, ShellIDFunc, StrUtils, ActiveX, ComObj;
function FileTimeToDateTime(FileTime: TFileTime): TDateTime;
function DateTimeToFileTime(DateTime: TDateTime): TFileTime;
function FileGetAge(Path: String; var CreateAge: TDateTime; var LastAccessAge: ... |
unit fsplugin; {Plugin definitions version 2.1}
interface
uses windows;
{ ids for FsGetFile }
const FS_FILE_OK=0;
FS_FILE_EXISTS=1;
FS_FILE_NOTFOUND=2;
FS_FILE_READERROR=3;
FS_FILE_WRITEERROR=4;
FS_FILE_USERABORT=5;
FS_FILE_NOTSUPPORTED=6;
FS_FILE_EXISTSRESUMEALLOWED=7;
... |
unit RTXC<%PROJECTNAME%>ActiveXContainerLib_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library re... |
unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.Samples.Calendar,
Vcl.StdCtrls, Vcl.Buttons, Vcl.ComCtrls, DateUtils, IdBaseComponent,
IdComponent, IdTCPConnection, IdTCPClient, IdHT... |
unit dbCLBox;
interface
uses Windows, SysUtils, Messages, Classes, Controls, Forms,
Graphics, Menus, StdCtrls, ExtCtrls, Mask, Dialogs, Buttons, ComCtrls, Db, DBCtrls, DBTables;
type
TDBCodeListBox = class(TCustomListBox)
private
FDataLink: TFieldDataLink;
FQuery : TQuery;
FCodeField: string;
... |
unit editor_utils;
{$mode objfpc}{$H+}
interface
uses
controls,windows,messages,shellapi,forms,clipbrd,SysUtils,core_types,
dialogs,ComCtrls,ExtCtrls,stdctrls,grids,Graphics,classes,inifiles;
procedure loadControl(obj:tcontrol);
procedure saveControl(obj:tcontrol);
implementation
const inifilename = 'e... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.StrUtils, System.Types,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm1 = class(TForm)
OpenDialog1: TOpenDialog;
Button1: TButton;
Memo1: TMemo;
p... |
unit qEstatistica;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, q_RelPadrao, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, QRPDFFilt, JvExControls, JvXPCore, JvXPButtons, StdCtrls, ExtCtrls,
QRCtrls, QuickRpt, uFrameClasse, uFramePeriodo, DBCtrls, kbmM... |
unit UnitPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Data.Win.ADODB, Vcl.Grids,
Vcl.DBGrids, Vcl.ExtCtrls, Vcl.DBCtrls, Vcl.Menus, Vcl.StdCtrls,
Vcl.Imaging.pngimage, frxClass, frxEx... |
//***************************************************************************
//function source code is written by Zarko Gajic
//http://delphi.about.com/cs/adptips2001/a/bltip0301_5.htm
//***************************************************************************
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Me... |
unit TelegAPI.Receiver.Console;
interface
uses
TelegAPI.Receiver.Base,
TelegAPI.Types,
System.SysUtils;
type
TtgReceiverConsole = class(TTgBotReceiverBase)
private
FOnStart: TProc;
FOnStop: TProc;
FOnUpdates: TProc<TArray<ItgUpdate>>;
FOnUpdate: TProc<ItgUpdate>;
FOnMessage: TProc<ITgMe... |
unit ResponseUnit;
//------------------------------------------------------------------------------
// Модуль подготовки ответа сервиса на запросы
//------------------------------------------------------------------------------
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, TypesUnit;
type
{ TResponse }... |
unit FileSystemWatcher;
interface
uses
System.SysUtils,
System.Threading,
Winapi.Windows;
type
WatcherChangeType =
(
Created = 1,
Deleted = 2,
Changed = 4,
Renamed = 8,
All = 15
);
TNotifyFilter =
(
FileName,
DirectoryName,
... |
{
Here is a good ANSI unit I picked up over WWIVNET.... I've added it to a
simple modem program I was writing and it worked just fine. To get
it to work just send every charachter coming in through the procedure
Ice_Display_ANSI
Hope this is helpful..... Vince Weaver c/o MJWEAVER@UMD5.UMD.... |
unit ExportTabularRACE;
uses ExportCore,
ExportTabularCore,
ExportJson;
var ExportTabularRACE_outputLines: TStringList;
function initialize(): Integer;
begin
ExportTabularRACE_outputLines := TStringList.create();
ExportTabularRACE_outputLines.add(
'"File"' // Name of the origin... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2013 Embarcadero Technologies, Inc. }
{ ... |
unit AqDrop.Core.Helpers.TRttiObject;
interface
uses
System.Rtti,
System.SysUtils,
AqDrop.Core.Collections.Intf;
type
TAqRttiObjectHelper = class helper for TRttiObject
strict private
procedure ForEachAttribute<T: TCustomAttribute>(const pProcessing: TFunc<T, Boolean>);
public
funct... |
unit UServer;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IPPeerServer, Datasnap.DSCommonServer,
Datasnap.DSTCPServerTransport, Datasnap.DSServer, Vcl.ExtCtrls, Vcl.StdCtrls,
Vcl.Buttons;
type
... |
unit fmConsulta;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, fmBase, dmConsulta, DB, Grids, DBGrids, JvExDBGrids, JvDBGrid,
JvDBUltimGrid, Tipos, ExtCtrls, UtilGrid, Menus, ActnList, ImgList, TB2Item,
SpTBXItem, TB2Dock, TB2Toolbar;
const
WM_IR_A_VALOR... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
(*
Some basic string handling functions written by Frank Engo, author
of How To Program Delphi 3.
*)
unit LMString;
interface
Uses
SysUtils, Forms, Graphics, ExtCtrls, Dialogs; // WinProcs;
function FormatUpper (Str1: string): string;
//function EncryptMsg (Msg1: string; EncryptNo: integer): string;
//function De... |
{$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... |
unit User;
interface
type
TUser = record
Name: String[20];
Mail: String[25];
Login: String[15];
Password: String[15];
constructor Create(Name, Mail, Login, Password: String);
end;
implementation
constructor TUser.Create(Name, Mail, Login, Password: String);
begin
... |
{*******************************************
Misc function that use winsock (for exemple
ALHostToIP, ALIPAddrToName or ALgetLocalIPs)
*******************************************}
unit Alcinoe.WinSock;
interface
uses
Alcinoe.StringList;
function ALHostToIP(const HostName: AnsiString; var Ip: AnsiString)... |
unit fmBuscarValor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, StdCtrls, Buttons, Grids,
DBGrids, ActnMan, ActnList, ImgList, XPStyleActnCtrls,
ExtCtrls, fmBaseBuscar,
ComCtrls, JvExDBGrids, JvDBGrid, JvDBUltimGrid, dmBuscarValor,
dmBaseBuscar, ... |
unit UExportXML;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2005 by Bradford Technologies, Inc. }
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Grids_... |
PROGRAM ReverseName (input,output);
{Takes a name and reverses it i.e. John H. Doe --> Doe, J. H.}
CONST Blank = ' ';
TYPE Name = PACKED ARRAY[1..20] OF char;
VAR WholeName: Name;
(**************************************************************************)
FUNCTION FirstNonBlank(WholeName: Name;... |
unit RepositorioItemAvulso;
interface
uses
DB,
Repositorio;
type
TRepositorioItemAvulso = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdentificador(... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
program Sunko;
uses System;
uses System.IO;
{$reference 'KTX.dll'}
{$resource 'ru.lng'}
{$resource 'en.lng'}
{$includenamespace Version.pas}
{$includenamespace SunkoError.pas}
{$includenamespace WordTypes\WordType.pas}
{$includenamespace WordTypes\Keyword.pas}
{$includenamespace WordTypes\ProcedureName.pas}
{$includ... |
unit RocketPotentialPayload;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, RocketFairing, BaseModel;
type
IBaseRocketPotentialPayload = interface(IBaseModel) ['{C03BF20A-6BC5-4A86-9648-B98D0B84EDA8}']
function GetFairing: IRocketFairing;
function GetOption: string;
procedure SetFairing(AVa... |
{*************************************************************************************************}
{ }
{ XML Data Binding }
{ ... |
unit FormSettingMySQL;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.AppEvnts, Settings;
type
TFrmSettingMySQL = class(TForm)
grpSetting: TGroupBox;
edtHostname: TEdit;
Label1: ... |
program Muenzen (input, output);
{ Berechnet die Anzahl der Centmuenzen 1,2,5,10,20,50 in einem Betrag
1-99 Cent }
var
Einer,
Zweier,
Fuenfer,
Zehner,
Zwanziger,
Fuenfziger,
Rest,
Eingabe : integer;
begin
readln (Eingabe);
if (Eingabe <= 99) and (Eingabe >= 1) then
begin
Fuenfziger := Ein... |
unit uVersion;
// TODO [X] Debug the Pascal translation
// TODO [ ] Implement the Java translation
// ENDTODO
// TODO PARAM WinLocation=494;347;900;350
interface
type
TVersion = class
private
class var FVersion : string;
class var FVersionDebug : integer;
public
class function get : string;
... |
unit KM_Hungarian;
{$I KaM_Remake.inc}
interface
uses Classes, SysUtils, Math, KM_CommonClasses, KM_CommonTypes, KM_Points;
type
THungarianOptimisation = (
hu_Overall, //Minimize total cost (opposite of hu_Individual)
hu_Individual); //20 agents taking 1 cost beats 1 agent taking 10 cost
TLoca... |
unit PPL.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls,
Vcl.ComCtrls, System.Threading, Data.DB, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireD... |
unit uCoverSearch;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, sPanel, Vcl.StdCtrls,
sLabel, Vcl.Grids, JvExGrids, JvStringGrid, sEdit, JvComponentBase,
JvThread, IdComponent, uSearchImage... |
unit main;
{$mode delphi}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrls, DynLibs, testlib_intf, testlib_caller;
type
{ TForm1 }
TForm1 = class(TForm)
Label1: TLabel;
LabeledEdit1: TLabeledEdit;
Memo1: TMemo;
procedure F... |
unit BaseViewFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, mvc_base;
type
TBaseViewForm = class(TForm)
private
FController: TMVCController;
procedure SetController(const Value: TMVCController);
public
property Controller: TMVCControll... |
Program Quadrat_2DArray; //Programmname
Uses crt, sysutils; //verwendete Units
CONST Abmasse=4; //Abmaáe des Quadrates (nur 4 mglich)
MaxWert=20; //grátmgliche Zahl in einer Zelle
TYPE Feld=ARRAY[1..Abmasse,1..Abmasse] OF INTEGER; //Array als Typ definieren
VAR Tabelle : Feld; //Tabelleninhalt
Procedure Array... |
unit PromoInvoice;
interface
uses
AncestorEditDialog, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters,
Vcl.Menus, cxControls, cxContainer, cxEdit, Vcl.ComCtrls, dxCore, cxDateUtils,
dsdGuides, cxDropDownEdit, cxCalendar, cxMaskEdit, cxButtonEdit, cxTextEdit,
cxCurrencyEdit, Vcl.Controls, cxLabel, dsdDB, ds... |
{**************************************************************************}
{ }
{ This Source Code Form is subject to the terms of the Mozilla Public }
{ License, v. 2.0. If a copy of the MPL was not distributed with this }
{ fi... |
unit uAction_MongoQuery;
interface
uses
FMX.ActnList, System.Actions, System.SysUtils, uMongoQuery, FMX.Forms, FMX.Layouts, FMX.Dialogs;
type
TMongoInsert = class(TAction)
private
FMongoQuery : TMongoQuery;
FLayout : TLayout;
public
function HandlesTarget(Target: TObject): Boolean; o... |
(*****************************************************************************
==============================================================================
CODEMETER.PAS Public Borland Delphi definition module
==============================================================================
... |
{$WARN SYMBOL_PLATFORM OFF}
{$MINENUMSIZE 4}
unit SubtitleInt;
interface
uses
Winapi.Windows, Winapi.Messages, System.Types, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.ImgList, Vcl.Menus, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.OleCtrls, SHDocVw, Vcl.ComC... |
unit ormbr.model.lookup;
interface
uses
Classes,
DB,
SysUtils,
Generics.Collections,
/// orm
ormbr.mapping.attributes,
ormbr.mapping.register,
ormbr.types.mapping;
type
[Entity]
[Table('lookup','')]
[PrimaryKey('lookup_id', 'Chave primária')]
[Indexe('idx_lookup_descri... |
unit GraphicsGroupRadio;
interface
uses
System.SysUtils, System.Classes, Vcl.Controls, Vcl.Buttons,
Winapi.GDIPAPI, Winapi.GDIPOBJ;
type
TGraphicsGroupRadio = class(TSpeedButton)
private
{ Private declarations }
FImage : TGPBitmap;
FBtnText : String;
FImageLeft: In... |
{
DSP.PAS - A demo SoundBlaster DSP unit for real mode
By Mark Feldman
}
Unit DSP;
Interface
{ ResetDSP returns true if reset was successful
base should be 1 for base address 210h, 2 for 220h etc... }
function ResetDSP(base : word) : boolean;
{ Write DAC sets the speaker output level }
pro... |
unit uRavenClient;
interface
uses System.SysUtils, System.Classes, System.Variants, System.DateUtils,
System.RegularExpressions,
uRavenConnection, uEvent;
{ TODO : DSN 을 Connect 에서 지정하게 하도록 변경 }
type
TOnSend = procedure(Sender: TObject; ALog: String) of object;
TRavenClient = class(TComponent)
FRavenCon... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Neurons, Vcl.StdCtrls, System.UITypes,
Vcl.Buttons, System.IniFiles, System.Contnrs;
type
TBitMapSegment = class(TBitMap)
public
... |
// Fit4Delphi Copyright (C) 2008. Sabre Inc.
// 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 version.
//
// This program i... |
Program P121501; {IOI 94}
Const Test = true;
Var inp,out: text;
Procedure Init;
Begin
If Test then Writeln('IOI''94 - Day 1 - Problem 1: The Triangle');
Assign(inp,'input.txt'); Reset(inp);
Assign(out,'output.txt'); ReWrite(out);
If Test then Writeln('Initialized')
End;
Procedure Fini;
Begin
Close(inp); Close... |
unit AqDrop.DB.FD.Ora;
{$I '..\Core\AqDrop.Core.Defines.Inc'}
interface
uses
Data.DB,
{$IFNDEF AQMOBILE}
{$IF CompilerVersion >= 26}
FireDAC.Phys.Oracle,
{$ELSE}
uADPhysOracle,
{$ENDIF}
{$ENDIF}
AqDrop.Core.Types,
AqDrop.DB.Adapter,
AqDrop.DB.FD,
AqDrop.DB.FD.TypeMapping;
type
T... |
{$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 PBevel;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, ComCtrls;
type
TPBevel = class(TGraphicControl)
private
FShape: TBevelShape;
FStyle: TBevelStyle;
protected
procedure Paint; override;
procedure SetShape(Value: TBevelShape);
... |
unit whellScrollBox;
interface
uses
SysUtils,
Forms,
Classes,
Messages,
Controls,
Windows;
const
CM_IBSCLButtonDown = WM_USER + 1453;
type
TFormBorderStyle = (bsNone, bsSingle, bsSizeable, bsDialog, bsToolWindow,
bsSizeToolWin);
TBorderStyle = bsNone..bsSingle;
TScrollBox = class(TScrolling... |
{
Copyright (C) 2012 Matthias Bolte <matthias@tinkerforge.com>
Redistribution and use in source and binary forms of this file,
with or without modification, are permitted. See the Creative
Commons Zero (CC0 1.0) License for more details.
}
unit Base58;
{$ifdef FPC}{$mode OBJFPC}{$endif}
interface
function... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2011 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of Delphi, C++Builder or RAD Studio (Embarcadero Products).
// This software is considered a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.