FileTransferDlg -> MainDlg
add class Application, Exception (Exception is not fully functional)
move function definitions from main.cpp to Tools.cpp. TODO: later, split these functions in multiple, more specific files.
fix crash: main dialog was not created.
Refactor AboutDlg using Dialog as base class; reduce warning level to 3; default calling convention now cdecl.
CAboutDlg -> AboutDlg
refactor CNicknameDlg: now it inherits Dialog; add Dialog::OnOK() and Dialog::OnCancel()
CNickNameDlg -> NickNameDlg
Refactor MainDlg: must inherit Dialog; Refactor MainDlg dialog procedure; TODO: must refactor the other stuff as well.
fix crash.
renounce global hMainWnd
Move m_hIcon and m_hKey from MainDlg into Application, and split into functions.
move & refactor PickFile and PickFolder.
Refactor MainDlg::OnInitDialog and MainDlg::OnButtonConnect
SamSocket -> Socket
CSamSocket -> Socket
CSocketClient -> SocketClient; CSocketServer -> SocketServer
Refactor Recv: namespace -> class, hThread, hConnThread -> Thread classes. NOTE: Recv refactoring still in progress.
Send: namespace -> class; hThread, hConnThread: HANDLE -> Thread class
SamFile -> File