2000-02-12 09:11:17 -05:00
|
|
|
//----------------------------------------------------------------------------------------
|
2000-01-28 10:25:32 -05:00
|
|
|
// Name: DlgUser.h,cpp
|
|
|
|
// Purpose: Dialog mit Variable Gestaltung durch DlgUser.wxr
|
|
|
|
// Author: Mark Johnson, mj10777@gmx.net
|
|
|
|
// Modified by: 19991105.mj10777
|
|
|
|
// Created: 19991105
|
|
|
|
// Copyright: (c) Mark Johnson
|
|
|
|
// Licence: wxWindows license
|
2000-01-31 08:20:36 -05:00
|
|
|
// RCS-ID: $Id$
|
2000-02-12 09:11:17 -05:00
|
|
|
//----------------------------------------------------------------------------------------
|
2000-01-28 10:25:32 -05:00
|
|
|
// DlgUser
|
2000-02-12 09:11:17 -05:00
|
|
|
//----------------------------------------------------------------------------------------
|
2000-01-28 10:25:32 -05: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 15:24:44 -05:00
|
|
|
|
2000-02-12 09:11:17 -05:00
|
|
|
//----------------------------------------------------------------------------------------
|
2000-02-21 03:05:13 -05:00
|
|
|
class MainDoc;
|
2001-02-01 15:24:44 -05:00
|
|
|
|
2000-02-12 09:11:17 -05:00
|
|
|
//----------------------------------------------------------------------------------------
|
2000-01-28 10:25:32 -05:00
|
|
|
class DlgUser: public wxDialog
|
|
|
|
{
|
2001-02-01 15:24:44 -05: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 10:25:32 -05:00
|
|
|
};
|
2000-02-12 09:11:17 -05:00
|
|
|
//----------------------------------------------------------------------------------------
|