2000-02-12 14:11:17 +00:00
|
|
|
//----------------------------------------------------------------------------------------
|
2000-01-28 15:25:32 +00:00
|
|
|
// Name: DlgUser.h,cpp
|
|
|
|
// Purpose: Dialog mit Variable Gestaltung durch DlgUser.wxr
|
2001-02-12 19:23:44 +00:00
|
|
|
// Author: Mark Johnson
|
2000-01-28 15:25:32 +00:00
|
|
|
// Modified by: 19991105.mj10777
|
|
|
|
// Created: 19991105
|
|
|
|
// Copyright: (c) Mark Johnson
|
|
|
|
// Licence: wxWindows license
|
2000-01-31 13:20:36 +00:00
|
|
|
// RCS-ID: $Id$
|
2000-02-12 14:11:17 +00:00
|
|
|
//----------------------------------------------------------------------------------------
|
2000-01-28 15:25:32 +00:00
|
|
|
// DlgUser
|
2000-02-12 14:11:17 +00:00
|
|
|
//----------------------------------------------------------------------------------------
|
2000-01-28 15:25:32 +00:00
|
|
|
#define ID_DIALOG_DSN 100
|
|
|
|
#define ID_DSN 101
|
|
|
|
#define ID_USER 102
|
|
|
|
#define ID_PASSWORD 103
|
|
|
|
#define ID_TEXT 104
|
2001-02-01 20:24:44 +00:00
|
|
|
|
2000-02-12 14:11:17 +00:00
|
|
|
//----------------------------------------------------------------------------------------
|
2000-02-21 08:05:13 +00:00
|
|
|
class MainDoc;
|
2001-02-01 20:24:44 +00:00
|
|
|
|
2000-02-12 14:11:17 +00:00
|
|
|
//----------------------------------------------------------------------------------------
|
2000-01-28 15:25:32 +00:00
|
|
|
class DlgUser: public wxDialog
|
|
|
|
{
|
2001-02-01 20:24:44 +00:00
|
|
|
public:
|
|
|
|
wxString s_DSN, s_User, s_Password;
|
|
|
|
wxStaticText *m_Label1, *m_Label2;
|
|
|
|
wxTextCtrl *m_UserName, *m_Password;
|
|
|
|
wxButton *m_OK, *m_Cancel;
|
|
|
|
MainDoc *pDoc;
|
|
|
|
//---------------------------------------------------------------------------------------
|
|
|
|
DlgUser(wxWindow *parent,MainDoc *pDoc, const wxString& title);
|
|
|
|
void OnInit();
|
|
|
|
void OnOk(wxCommandEvent& event);
|
|
|
|
//---------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
DECLARE_EVENT_TABLE()
|
2000-01-28 15:25:32 +00:00
|
|
|
};
|
2000-02-12 14:11:17 +00:00
|
|
|
//----------------------------------------------------------------------------------------
|