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-01-28 10:25:32 -05:00
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
// DlgUser
|
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
#define ID_DIALOG_DSN 100
|
|
|
|
#define ID_DSN 101
|
|
|
|
#define ID_USER 102
|
|
|
|
#define ID_PASSWORD 103
|
|
|
|
#define ID_TEXT 104
|
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
class DlgUser: public wxDialog
|
|
|
|
{
|
|
|
|
public:
|
2000-01-31 08:20:36 -05:00
|
|
|
// bool canceled;
|
2000-01-28 10:25:32 -05:00
|
|
|
wxString s_DSN, s_User, s_Password;
|
2000-01-31 08:20:36 -05:00
|
|
|
// wxTextCtrl *tc_User, *tc_Password;
|
|
|
|
wxStaticText *m_Label1, *m_Label2;
|
|
|
|
wxTextCtrl *m_UserName, *m_Password;
|
|
|
|
wxButton *m_OK, *m_Cancel;
|
|
|
|
|
2000-01-28 10:25:32 -05:00
|
|
|
//---------------------------------------------------------------------------
|
2000-01-31 08:20:36 -05:00
|
|
|
DlgUser(wxWindow *parent, const wxString& title);
|
2000-01-28 10:25:32 -05:00
|
|
|
void OnInit();
|
|
|
|
void OnOk(wxCommandEvent& event);
|
2000-01-31 08:20:36 -05:00
|
|
|
// void OnCancel(wxCommandEvent& event);
|
2000-01-28 10:25:32 -05:00
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
};
|
|
|
|
//---------------------------------------------------------------------------
|