ufrmMain.cpp 980 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. #include "ufrmMain.h"
  5. #include "mybean.core.beanFactoryForBCB.hpp"
  6. //---------------------------------------------------------------------------
  7. #pragma package(smart_init)
  8. #pragma resource "*.dfm"
  9. TForm1 *Form1;
  10. //---------------------------------------------------------------------------
  11. __fastcall TForm1::TForm1(TComponent* Owner)
  12. : TForm(Owner)
  13. {
  14. }
  15. int __stdcall TForm1::showAsModal()
  16. {
  17. return this->ShowModal();
  18. }
  19. //HRESULT __stdcall TForm1::QueryInterface(const GUID &IID, /* out */ void *Obj)
  20. //{
  21. // if (GetInterface(IID, Obj))
  22. // {
  23. // return 0;
  24. // } else
  25. // {
  26. // return E_NOINTERFACE;
  27. // }
  28. //}
  29. //---------------------------------------------------------------------------
  30. void __stdcall TForm1::showAsNormal()
  31. {
  32. this->Show();
  33. }
  34. //---------------------------------------------------------------------------