private void TradeForm_FormClosed(object sender, FormClosedEventArgs e) { _infoTimer.Elapsed -= InfoTimer_Elapsed; Locale.Instance.UnRegisterView(this); ViewClosed?.Invoke(); }
private static void OnViewClosed(BaseView view) { var prevState = view.VisibleState; (view as IBaseViewInternal).SetVisibleState(VisibleState.Closed); if (view.FullscreenFade) { FullScreenFadeStack.Remove(view); } ViewClosed?.Invoke(view); ViewVisibleStateChanged?.Invoke(view, prevState, view.VisibleState); }
private void CandlestickForm_FormClosed(object sender, FormClosedEventArgs e) { Locale.Instance.UnRegisterView(this); ViewClosed?.Invoke(); }
private void OnViewClosed() { ViewClosed?.Invoke(); }
protected override void OnFormClosed(FormClosedEventArgs e) { ViewClosed?.Invoke(this, e); base.OnFormClosed(e); }
private void BlowoutVolumeForm_FormClosed(object sender, FormClosedEventArgs e) { Locale.Instance.UnRegisterView(this); ViewClosed?.Invoke(); }
private void OnViewClosed(IView view) { ViewClosed?.Invoke(this, new ViewChangeEventArgs(view)); }