// U_Indrapportering.h // 21. maj 2001 // Datamatiker, Programmering af store systemer // Mikkel Munksgaard og Niels Grove-Rasmussen //---------------------------------------------------------------------------- #ifndef U_IndrapporteringH #define U_IndrapporteringH //---------------------------------------------------------------------------- // added by Munksgaard & Grove #include "U_IndmelderKunde.h" #include "U_IndmelderTekniker.h" #include #include #include #include #include #include #include #include #include #include #include #include #include //---------------------------------------------------------------------------- class TDial_Indrapportering : public TForm { __published: TButton *OKBtn; TButton *CancelBtn; TBevel *Bevel1; TLabel *Labl_Tidspunkt; TLabel *Labl_Indmelder; TButton *Butn_Kunde; TButton *Butn_Tekniker; TLabel *Labl_Modtager; TLabel *Labl_Modtagerdata; TLabel *Labl_Beskrivelse; TLabel *Labl_Status; TLabel *Labl_Indmelderdata; TTable *Tabl_Status; TDataSource *Sour_Status; TDBLookupComboBox *CBox_Status; TMemo *Memo_Beskrivelse; TLabel *Labl_Udstyr; TDBLookupComboBox *CBox_Udstyr; TTable *Tabl_Udstyr; TDataSource *Sour_Udstyr; void __fastcall FormActivate(TObject *Sender); void __fastcall OKBtnClick(TObject *Sender); void __fastcall CancelBtnClick(TObject *Sender); void __fastcall Labl_TidspunktClick(TObject *Sender); void __fastcall Butn_KundeClick(TObject *Sender); void __fastcall Butn_TeknikerClick(TObject *Sender); private: // added by Munksgaard & Grove int TDial_Indrapportering::getUserId(); String TDial_Indrapportering::getUserName(); int TDial_Indrapportering::getIndmelderId(); int TDial_Indrapportering::getUdstyrId(); int TDial_Indrapportering::getStatusId(); int TDial_Indrapportering::setFejlmelding(); void TDial_Indrapportering::Fejl(const String& metode, const String& meddelelse); public: virtual __fastcall TDial_Indrapportering(TComponent* AOwner); }; //---------------------------------------------------------------------------- extern PACKAGE TDial_Indrapportering *Dial_Indrapportering; //---------------------------------------------------------------------------- #endif