home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2233.zip / wxOS2-2_3_3.zip / wxWindows-2.3.3 / demos / dbbrowse / dlguser.h < prev    next >
C/C++ Source or Header  |  2001-02-12  |  2KB  |  40 lines

  1. //----------------------------------------------------------------------------------------
  2. // Name:        DlgUser.h,cpp
  3. // Purpose:     Dialog mit Variable Gestaltung durch DlgUser.wxr
  4. // Author:      Mark Johnson
  5. // Modified by: 19991105.mj10777
  6. // Created:     19991105
  7. // Copyright:   (c) Mark Johnson
  8. // Licence:     wxWindows license
  9. // RCS-ID:      $Id: dlguser.h,v 1.7 2001/02/12 19:23:44 georgetasker Exp $
  10. //----------------------------------------------------------------------------------------
  11. // DlgUser
  12. //----------------------------------------------------------------------------------------
  13. #define ID_DIALOG_DSN   100
  14. #define ID_DSN          101
  15. #define ID_USER         102
  16. #define ID_PASSWORD     103
  17. #define ID_TEXT         104
  18.  
  19. //----------------------------------------------------------------------------------------
  20. class MainDoc;
  21.  
  22. //----------------------------------------------------------------------------------------
  23. class DlgUser: public wxDialog
  24. {
  25. public:
  26.     wxString s_DSN, s_User, s_Password;
  27.     wxStaticText *m_Label1, *m_Label2;
  28.     wxTextCtrl *m_UserName, *m_Password;
  29.     wxButton *m_OK, *m_Cancel;
  30.     MainDoc *pDoc;
  31.     //---------------------------------------------------------------------------------------
  32.     DlgUser(wxWindow *parent,MainDoc *pDoc, const wxString& title);
  33.     void OnInit();
  34.     void OnOk(wxCommandEvent& event);
  35.     //---------------------------------------------------------------------------------------
  36.  
  37.     DECLARE_EVENT_TABLE()
  38. };
  39. //----------------------------------------------------------------------------------------
  40.