// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'SMCalc.pas' rev: 37.00 (Windows)

#ifndef SMCalcHPP
#define SMCalcHPP

#pragma delphiheader begin
#pragma option push
#if defined(__BORLANDC__) && !defined(__clang__)
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#endif
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Winapi.Windows.hpp>
#include <Winapi.Messages.hpp>
#include <System.SysUtils.hpp>
#include <System.Classes.hpp>
#include <Vcl.Graphics.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.Dialogs.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <SMRTypes.hpp>

//-- user supplied -----------------------------------------------------------

namespace Smcalc
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TfrmCalculation;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TfrmCalculation : public Vcl::Forms::TForm
{
	typedef Vcl::Forms::TForm inherited;
	
__published:
	Vcl::Extctrls::TBevel* bvlButtons;
	Vcl::Stdctrls::TButton* btnOk;
	Vcl::Stdctrls::TButton* btnCancel;
	Vcl::Extctrls::TImage* imgCalculation;
	Vcl::Stdctrls::TLabel* lblReset;
	Vcl::Stdctrls::TComboBox* cbResetType;
	Vcl::Extctrls::TRadioGroup* rgCalcMethod;
	Vcl::Stdctrls::TGroupBox* gbCalculate;
	Vcl::Stdctrls::TRadioButton* rbEveryPrintedRow;
	Vcl::Stdctrls::TRadioButton* rbGroupChange;
	Vcl::Stdctrls::TRadioButton* rbVariableChange;
	Vcl::Stdctrls::TComboBox* cbGroupChange;
	Vcl::Stdctrls::TComboBox* cbVariableChange;
	void __fastcall cbResetTypeChange(System::TObject* Sender);
	void __fastcall rbEveryPrintedRowClick(System::TObject* Sender);
	
protected:
	virtual void __fastcall FillStringsFromRes();
	
public:
	System::LongInt LangShift;
	void __fastcall SetFormat(System::UnicodeString strFormat);
	System::UnicodeString __fastcall GetFormat();
	void __fastcall UpdateStrings();
	void __fastcall Object2Controls(Smrtypes::TSMRCalculation* calc);
	void __fastcall Controls2Object(Smrtypes::TSMRCalculation* calc);
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfrmCalculation(System::Classes::TComponent* AOwner) : Vcl::Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmCalculation(System::Classes::TComponent* AOwner, int Dummy) : Vcl::Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.CreateScaledNew */ inline __fastcall virtual TfrmCalculation(System::Classes::TComponent* AOwner, int ADPI, int Dummy) : Vcl::Forms::TForm(AOwner, ADPI, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmCalculation() { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmCalculation(HWND ParentWindow) : Vcl::Forms::TForm(ParentWindow) { }
	
};


//-- var, const, procedure ---------------------------------------------------
}	/* namespace Smcalc */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_SMCALC)
using namespace Smcalc;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// SMCalcHPP
