/// <summary> /// 提交事件 /// </summary> public void m_Commit() { if (m_objViewer.m_strAttachID.Trim() == "") { return; } int IntState = -1; //状态标志 {0=未发送;1=已发送;2=已有结果了;} try{ IntState = Int32.Parse(m_objViewer.m_lblPSTATUS_CHR.Tag.ToString()); } catch {} if (IntState != 0) { return; } long lngRes = 0; lngRes = m_objManage.m_lngCommitTemfororder(m_objViewer.m_strAttachID); //报告操作结果 if (lngRes > 0) { MessageBox.Show("提交成功!"); } else { MessageBox.Show("提交失败!"); } m_objViewer.Close(); }