public void VisibleMessage(QnaDataSend qds) { try { if (qds.Title.Equals("Qna_WriteVisible")) { sContentId = qds.contentId; if (!string.IsNullOrWhiteSpace(sContentId)) { SearchContent(); } else { sTitle = string.Empty; sContent = string.Empty; sPhoneNumber = string.Empty; } visiblePage = Visibility.Visible; } else if (qds.Title.Equals("Qna_WriteHidden")) { visiblePage = Visibility.Hidden; } } catch (Exception ex) { SysLog.Error("Message[{0}], StackTrace[{1}]", ex.Message, ex.StackTrace); } }
public void VisibleMessage(QnaDataSend qds) { try { if (qds.Title.Equals("QnaVisible")) { visiblePage = Visibility.Visible; GetData(); } else if (qds.Title.Equals("QnaHidden")) { visiblePage = Visibility.Hidden; } } catch (Exception ex) { SysLog.Error("Message[{0}], StackTrace[{1}]", ex.Message, ex.StackTrace); } }