protected override void OnActualWindowChanged(Window oldWindow) { oldWindow.Do(x => x.Closing -= OnClosing); ActualWindow.Do(x => x.Closing += OnClosing); }
void ICurrentWindowService.Show() { ActualWindow.Do(x => x.Show()); }
void ICurrentWindowService.SetWindowState(WindowState state) { ActualWindow.Do(x => x.WindowState = state); }
void ICurrentWindowService.Hide() { ActualWindow.Do(x => x.Hide()); }
void ICurrentWindowService.Activate() { ActualWindow.Do(x => x.Activate()); }
void ICurrentWindowService.Close() { ActualWindow.Do(x => x.Close()); }