From 9c4d604a7c9ee5f0d1484753bdaea1d470a58293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Rocco?= Date: Wed, 6 May 2020 14:36:23 +0200 Subject: [PATCH] rename ShowBalloonTip --- NeedABreak/App.xaml.cs | 2 +- NeedABreak/MainWindow.xaml.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NeedABreak/App.xaml.cs b/NeedABreak/App.xaml.cs index 3430f47..52a05dc 100644 --- a/NeedABreak/App.xaml.cs +++ b/NeedABreak/App.xaml.cs @@ -153,7 +153,7 @@ private static async Task TimesAlmostUp() await Current.Dispatcher.InvokeAsync(() => { var mainWindow = GetMainWindow(); - mainWindow.ShowBalloonTip(); + mainWindow.ShowCustomBalloon(); }); } diff --git a/NeedABreak/MainWindow.xaml.cs b/NeedABreak/MainWindow.xaml.cs index 03ecda0..5c9f28e 100644 --- a/NeedABreak/MainWindow.xaml.cs +++ b/NeedABreak/MainWindow.xaml.cs @@ -135,7 +135,7 @@ public async Task StartLockWorkStationAsync() _imminentLocking = false; } - public void ShowBalloonTip() + public void ShowCustomBalloon() { var template = (DataTemplate)FindResource("BalloonTipTemplate"); var balloon = (FrameworkElement)template.LoadContent();