private void ProceedMsg() { if (drCurMsg != null) { drCurMsg["STATE"] = AppC.MSGSTATE.PROCEED; drCurMsg["EXPR_STS"] = "¬ыполнено"; ServClass.ErrorMsg("Set State"); } }
/// *** ‘ункции работы с сообщени¤ми private void SetFltMsgState(bool bSetNow) { string sF = xNSI.DT[NSI.TBD_SMSG].sTFilt; if ((bSetNow == true) && (sF != "")) { return; } if (sF == "") { ServClass.ErrorMsg("Set Filter"); sF = String.Format("STATE<>{0}", (int)AppC.MSGSTATE.PROCEED); } else { ServClass.ErrorMsg("Reset Filter"); sF = ""; } ((DataTable)dgMsg.DataSource).DefaultView.RowFilter = sF; xNSI.DT[NSI.TBD_SMSG].sTFilt = sF; }