SourceCode/Bond/Servo/CPageVarialbles.cpp
@@ -130,3 +130,12 @@ m_listCtrl.SetItemText(index, 4, item->getRemark().c_str()); } } void CPageVarialbles::OnCreateBtns() { const int BTN_W = 80; const int BTN_H = 28; CreateBtn(_T("新增"), BTN_W, BTN_H, 1001); CreateBtn(_T("删除"), BTN_W, BTN_H, 1002)->EnableWindow(FALSE); CreateBtn(_T("编辑"), BTN_W, BTN_H, 1003)->EnableWindow(FALSE); }