/// <summary> /// display settings window /// показать окно с настройками /// </summary> public void ShowDialog() { MovingAverageUi ui = new MovingAverageUi(this); ui.ShowDialog(); if (ui.IsChange) { Reload(); } }
/// <summary> /// показать окно с настройками /// </summary> public void ShowDialog() { MovingAverageUi ui = new MovingAverageUi(this); ui.ShowDialog(); if (ui.IsChange) { if (_myValues != null) { ProcessAll(_myValues); } if (_myCandles != null) { ProcessAll(_myCandles); } if (NeadToReloadEvent != null) { NeadToReloadEvent(this); } } }