private async void Window_MouseEnterAsync(object sender, System.Windows.Input.MouseEventArgs e) { if (isFirstExtend) { isFirstExtend = false; } else { await Task.Run(() => { Dispatcher.Invoke(() => { OnRefreshRequired.Invoke(this, new EventArgs()); }); }); } ExtendSideBar(); }
private void RequireRefresh() { OnRefreshRequired.InvokeSafe(); }
protected void RequireRefresh() { OnRefreshRequired.InvokeSafe(); }