SourceCode/Bond/BondEq/BondEqDlg.cpp
@@ -12,6 +12,9 @@ #include "UserManager.h" #include "LoginDlg.h" // test #include "AxisSettingsDlg.h" #ifdef _DEBUG #define new DEBUG_NEW @@ -212,7 +215,6 @@ // Homeҳ m_pHomeDialog = CreateHomeDlg(); ShowWindow(SW_SHOWMAXIMIZED); SetTimer(2, 1000, nullptr); InitRxWindows(); @@ -536,6 +538,9 @@ userManager.logout(); m_pTopToolbar->SetOperatorBtnText(_T("未登录")); } CAxisSettingsDlg loginDlg; loginDlg.DoModal(); } } @@ -578,10 +583,7 @@ } } } else if (2 == nIDEvent) { KillTimer(2); theApp.m_model.createRemoteEqs(); } CDialogEx::OnTimer(nIDEvent); }