void CPCSoftwareDlg::OnBnClickedButRs485test()
{ // TODO: Add control notification handler code here OnBnClickedButtonSendmsg(); //Call the click event of another button m_RS485TestDlg.ShowWindow(TRUE);
}
void CPCSoftwareDlg::OnBnClickedButtonSendmsg()
{ // TODO: Add control notification handler code here // TODO: Add control notification handler code here if (pSocketServer == NULL) { WriteLog("Socket is not initialized"); return ; } if (pSocketServer->m_clientList.GetCount() <= 0) { WriteLog("No client connection"); return; }
}