5 const string WIDGET_TEXT_DETAIL =
"TxtDetail";
6 const string WIDGET_IMG_LINE =
"ImgLine";
9 protected TextWidget m_wTxtDetail;
10 protected ImageWidget m_wImgLine;
12 protected string m_sErrorMessage;
19 override void HandlerAttached(Widget w)
21 super.HandlerAttached(w);
24 m_wTxtDetail = TextWidget.Cast(w.FindAnyWidget(WIDGET_TEXT_DETAIL));
25 m_wImgLine = ImageWidget.Cast(w.FindAnyWidget(WIDGET_IMG_LINE));
28 m_wTxtDetail.SetVisible(
false);
31 m_wImgLine.SetVisible(
false);
39 void SetErrorMessage(
string message)
41 m_sErrorMessage = message;
45 string GetErrorMessage()
47 return m_sErrorMessage;
51 void SetErrorDetail(
string strDetail)
56 strDetail +=
"\n#AR-ServerBrowser_JoinErrorDetailLog";
57 m_wTxtDetail.SetText(strDetail);
58 m_wTxtDetail.SetVisible(
true);
63 m_wImgLine.SetVisible(
true);