Esempio n. 1
0
        //文本替换
        private void btnChangeTextByID_Click(object sender, EventArgs e)
        {
            m_strModelName = this.tbTextID.Text;
            m_strTextTxt   = this.tbTextTXT.Text;
            int nRet = CSharpInterface.HS_ChangeTextByName(m_strModelName, m_strTextTxt);

            if (0 == nRet)
            {
                tbNote.Text = "Change text successfully!";
                SelectSize();
                Preview();
            }
            else
            {
                ShowLastError();
            }
        }