160 lines
8.8 KiB
Text
160 lines
8.8 KiB
Text
// Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "WinResrc.h"
|
|
#define IDC_STATIC -1
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Swedish (Sweden) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_SVE)
|
|
LANGUAGE LANG_SWEDISH, SUBLANG_SWEDISH
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE
|
|
BEGIN
|
|
"#include ""WinResrc.h""\r\n"
|
|
"#define IDC_STATIC -1\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_DIALOG1 DIALOGEX 0, 0, 341, 225
|
|
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "TunSafe VPN Client"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
BEGIN
|
|
PUSHBUTTON "&Options",ID_MORE_BUTTON,6,7,50,14
|
|
PUSHBUTTON "&Connect",ID_START,71,7,50,14
|
|
PUSHBUTTON "&Disconnect",ID_STOP,125,7,50,14
|
|
PUSHBUTTON "&Edit Config",ID_EDITCONF,209,7,50,14
|
|
PUSHBUTTON "E&xit",ID_EXIT,285,7,50,14
|
|
CONTROL "",IDC_RICHEDIT21,"RichEdit20A",ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP,6,23,328,124
|
|
EDITTEXT IDC_PUBLIC_KEY,56,159,275,13,ES_AUTOHSCROLL | ES_READONLY
|
|
DEFPUSHBUTTON "R&eset",ID_RESET,293,205,38,12
|
|
GROUPBOX " Status ",IDC_STATIC,6,148,328,70
|
|
LTEXT "Traffic:",IDC_STATIC,13,175,42,8
|
|
LTEXT "TUN Traffic:",IDC_STATIC,13,187,40,8
|
|
LTEXT "",IDTXT_UDP,57,175,270,8
|
|
LTEXT "",IDTXT_TUN,57,187,271,8
|
|
LTEXT "Handshake:",IDC_STATIC,14,200,38,8
|
|
LTEXT "",IDTXT_HANDSHAKE,57,200,209,8
|
|
LTEXT "Public Key:",IDC_STATIC,14,161,42,8
|
|
END
|
|
|
|
IDD_DIALOG2 DIALOGEX 0, 0, 267, 91
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Generate Key Pair"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
BEGIN
|
|
PUSHBUTTON "&Close",IDCANCEL,210,70,50,14
|
|
EDITTEXT IDC_PRIVATE_KEY,51,32,209,13,ES_AUTOHSCROLL
|
|
LTEXT "Private Key:",IDC_STATIC,9,34,42,8
|
|
EDITTEXT IDC_PUBLIC_KEY,51,49,209,13,ES_AUTOHSCROLL | ES_READONLY
|
|
LTEXT "Public Key:",IDC_STATIC,9,51,42,8
|
|
LTEXT "Enter a private key in the text box, and the corresponding public key will be displayed below.",IDC_STATIC,7,7,252,21
|
|
PUSHBUTTON "&Randomize",IDRAND,7,70,50,14
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO
|
|
BEGIN
|
|
IDD_DIALOG1, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 6
|
|
RIGHTMARGIN, 334
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 218
|
|
END
|
|
|
|
IDD_DIALOG2, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 260
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 84
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_ICON0 ICON "icons\\neutral-icon.ico"
|
|
|
|
IDI_ICON1 ICON "icons\\green-bg-icon.ico"
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// AFX_DIALOG_LAYOUT
|
|
//
|
|
|
|
IDD_DIALOG1 AFX_DIALOG_LAYOUT
|
|
BEGIN
|
|
0
|
|
END
|
|
|
|
IDD_DIALOG2 AFX_DIALOG_LAYOUT
|
|
BEGIN
|
|
0
|
|
END
|
|
|
|
#endif // Swedish (Sweden) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|