Esempio n. 1
0
        private void PushMessageToLog(string message, string value = null)
        {
            var msg = string.Format("{0} -> {1}", BaseUtils.GetNowDateTime(), message);

            InfoBox.Dispatcher.Invoke(() =>
            {
                InfoBox.Items.Add(new BaseListItem {
                    Value = value, Text = msg
                });
            });
        }