예제 #1
0
        void UpdateTitle()
        {
            string title = _title?.Replace("&", "&")
                           .Replace("<", "&lt;")
                           .Replace(">", "&gt;")
                           .Replace(Environment.NewLine, "<br>");

            _layout.SetPartText("elm.text.title", title);
        }
예제 #2
0
 void UpdateTitle()
 {
     if (!_isProgressRunning)
     {
         _layout.SetPartText("elm.text.title", _title);
     }
     else
     {
         _layout.SetPartText("elm.text.title", null);
     }
 }
예제 #3
0
        void UpdateTitle()
        {
            string title = _title?.Replace("&", "&amp;")
                           .Replace("<", "&lt;")
                           .Replace(">", "&gt;")
                           .Replace(Environment.NewLine, "<br>");

            if (!_isProgressRunning)
            {
                _layout.SetPartText("elm.text.title", title);
            }
            else
            {
                _layout.SetPartText("elm.text.title", null);
            }
        }
예제 #4
0
 void UpdateTitle()
 {
     _layout.SetPartText("elm.text.title", _title);
 }