public void Show() { var task = dispatcher.RunAsync(CoreDispatcherPriority.Normal, async() => { SyncIconRotation.Begin(); isClosed = false; while (!isClosed) { await this.ShowAsync(); } }); }
public void Show(bool isNightMode) { var task = dispatcher.RunAsync(CoreDispatcherPriority.Normal, async() => { SyncIconRotation.Begin(); ChangeReadMode(isNightMode); isClosed = false; while (!isClosed) { await this.ShowAsync(); } }); }