Пример #1
0
 protected void OnCurrentWindowChanged()
 {
     if (CurrentWindowChanged != null)
     {
         CurrentWindowChanged.Invoke(this, new EventArgs());
     }
 }
 /// <summary>
 /// Raises the CurrentWindowChanged event.
 /// </summary>
 protected void OnCurrentWindowChanged() =>
 CurrentWindowChanged?.Invoke(current);
 /// <summary>
 /// Raises the CurrentWindowChanged event.
 /// </summary>
 private void OnCurrentWindowChanged() =>
 CurrentWindowChanged?.Invoke(current);
Пример #4
0
 protected virtual void OnCurrentWindowChanged(IWindow oldWindow, IWindow newWindow, bool fromBack)
 {
     CurrentWindowChanged?.Invoke(oldWindow, newWindow, fromBack);
 }