Esempio n. 1
0
 private void Next()
 {
     if (_tcIndex < _tcIDList.Count - 1)
     {
         _tcIndex = _tcIndex + 1;
         _descriptionTitle.Text = "DESCRIPTION : #" + (_tcIndex + 1);
         _tcResultText.Text     = _listItem[_tcIndex].Result;
         SetColor(_tcResultText.Text);
         UpdateDescriptions();
     }
     else if (_tcIndex == _tcIDList.Count - 1)
     {
         _toastMessage.Message = "This is last testcase";
         _toastMessage.Post();
     }
 }
        public override IDisposable Toast(ToastConfig config)
        {
            ToastMessage toast = new ToastMessage
            {
                Message = config.Message,
            };

            toast.Post();
            return(new DisposableAction(() => { }));
        }
 private void PostToastMessage(string message)
 {
     toast.Message = message;
     toast.Post();
     Debug.WriteLine(message);
 }