1 // SettingGitRemote.cpp : implementation file
\r
5 #include "TortoiseProc.h"
\r
6 #include "SettingGitRemote.h"
\r
9 // CSettingGitRemote dialog
\r
11 IMPLEMENT_DYNAMIC(CSettingGitRemote, ISettingsPropPage)
\r
13 CSettingGitRemote::CSettingGitRemote()
\r
14 : ISettingsPropPage(CSettingGitRemote::IDD)
\r
15 , m_strRemote(_T(""))
\r
17 , m_strPuttyKeyfile(_T(""))
\r
22 CSettingGitRemote::~CSettingGitRemote()
\r
26 void CSettingGitRemote::DoDataExchange(CDataExchange* pDX)
\r
28 CPropertyPage::DoDataExchange(pDX);
\r
29 DDX_Control(pDX, IDC_LIST_REMOTE, m_ctrlRemoteList);
\r
30 DDX_Text(pDX, IDC_EDIT_REMOTE, m_strRemote);
\r
31 DDX_Text(pDX, IDC_EDIT_URL, m_strUrl);
\r
32 DDX_Control(pDX, IDC_CHECK_ISAUTOLOADPUTTYKEY, m_bAutoLoad);
\r
33 DDX_Text(pDX, IDC_EDIT_PUTTY_KEY, m_strPuttyKeyfile);
\r
37 BEGIN_MESSAGE_MAP(CSettingGitRemote, CPropertyPage)
\r
38 ON_BN_CLICKED(IDC_BUTTON_BROWSE, &CSettingGitRemote::OnBnClickedButtonBrowse)
\r
39 ON_BN_CLICKED(IDC_BUTTON_ADD, &CSettingGitRemote::OnBnClickedButtonAdd)
\r
40 ON_LBN_SELCHANGE(IDC_LIST_REMOTE, &CSettingGitRemote::OnLbnSelchangeListRemote)
\r
41 ON_EN_CHANGE(IDC_EDIT_REMOTE, &CSettingGitRemote::OnEnChangeEditRemote)
\r
42 ON_EN_CHANGE(IDC_EDIT_URL, &CSettingGitRemote::OnEnChangeEditUrl)
\r
43 ON_BN_CLICKED(IDC_CHECK_ISAUTOLOADPUTTYKEY, &CSettingGitRemote::OnBnClickedCheckIsautoloadputtykey)
\r
44 ON_EN_CHANGE(IDC_EDIT_PUTTY_KEY, &CSettingGitRemote::OnEnChangeEditPuttyKey)
\r
48 // CSettingGitRemote message handlers
\r
50 void CSettingGitRemote::OnBnClickedButtonBrowse()
\r
52 // TODO: Add your control notification handler code here
\r
55 void CSettingGitRemote::OnBnClickedButtonAdd()
\r
57 // TODO: Add your control notification handler code here
\r
60 void CSettingGitRemote::OnLbnSelchangeListRemote()
\r
62 // TODO: Add your control notification handler code here
\r
65 void CSettingGitRemote::OnEnChangeEditRemote()
\r
67 // TODO: If this is a RICHEDIT control, the control will not
\r
68 // send this notification unless you override the ISettingsPropPage::OnInitDialog()
\r
69 // function and call CRichEditCtrl().SetEventMask()
\r
70 // with the ENM_CHANGE flag ORed into the mask.
\r
72 // TODO: Add your control notification handler code here
\r
75 void CSettingGitRemote::OnEnChangeEditUrl()
\r
77 // TODO: If this is a RICHEDIT control, the control will not
\r
78 // send this notification unless you override the ISettingsPropPage::OnInitDialog()
\r
79 // function and call CRichEditCtrl().SetEventMask()
\r
80 // with the ENM_CHANGE flag ORed into the mask.
\r
82 // TODO: Add your control notification handler code here
\r
85 void CSettingGitRemote::OnBnClickedCheckIsautoloadputtykey()
\r
87 // TODO: Add your control notification handler code here
\r
90 void CSettingGitRemote::OnEnChangeEditPuttyKey()
\r
92 // TODO: If this is a RICHEDIT control, the control will not
\r
93 // send this notification unless you override the ISettingsPropPage::OnInitDialog()
\r
94 // function and call CRichEditCtrl().SetEventMask()
\r
95 // with the ENM_CHANGE flag ORed into the mask.
\r
97 // TODO: Add your control notification handler code here
\r