【正文】
int nHeight = (()76)/2。 dcMoveTo(10,nHeight)。 =(int)(nHeight+Data1[i]*nHeight/10)。 } void CA11Dlg::OnChangeZqs() { // TODO: If this is a RICHEDIT control, the control will not // send this notification unless you override the CDialog::OnInitDialog() // function and call CRichEditCtrl().SetEventMask() // with the ENM_CHANGE flag ORed into the mask. // TODO: Add your control notification handler code here UpdateData ( TRUE)。 附錄 參考文獻(xiàn) 1 譚浩強(qiáng) .C程序設(shè)計 .北京:清華大學(xué)出版社, 2020. 2 鄭阿奇 .Visual C++ 編程 .北京:清華大學(xué)出版社, 2020. 3 鄭阿奇 .Visual C++ 實(shí)用教程 .北京:電子工業(yè)出版社, 2020. 4 楊樂平, 李海濤 .虛擬儀器技術(shù)概論 .北京:電子工業(yè)出版社, 2020. 5 張易知 .虛擬儀器的設(shè)計與實(shí)現(xiàn) .西安:西安電子科技大學(xué)出版社, 2020. 。在編譯運(yùn)行中,很有可能會出現(xiàn)編譯錯誤等,這種情況下就要返回到源代碼中,對照控件功能的添加和調(diào)用的函數(shù)來檢查源代碼的正確性。 } } 改變?nèi)齻€屬性并重新顯示 void CA11Dlg::OnChangePl() { // TODO: If this is a RICHEDIT control, the control will not // send this notification unless you override the CDialog::OnInitDialog() // function and call CRichEditCtrl().SetEventMask() // with the ENM_CHANGE flag ORed into the mask. // TODO: Add your control notification handler code here UpdateData ( TRUE)。 iPerMax。 dcMoveTo(10,nHeight)。rect)。 } } } CPoint aPoint。 else kk=m_FZ。j++) { Data1[j*perNum+i]=kk。 11 else if( i=num1*3) kk = i*(m_FZ/num1)+*m_FZ。 } } } else if (m_BXNum==1) { double num1=perNum*。i++) { kk =m_FZ*sin(PI/perNum*2*i)。 PerM