protected virtual void ChangeStatus(string status)
        {
            if (DEBUG >= 1)
            {
                Console.WriteLine(status);
            }
            ChangeStatusEventArgs args = new ChangeStatusEventArgs();

            args.Status = status;
            ChangeStatusEventHandler?.Invoke(this, args);
        }
Пример #2
0
 public void OnChangeStatus(object sender, ChangeStatusEventArgs e)
 {
     Dispatcher.Invoke(() => { statusBar.Text = e.Status; });
 }