123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- using System.Windows.Threading;
- namespace PDF_Office.Views.PropertyPanel.ViewModular
- {
-
-
-
- public partial class ReadViewContent : UserControl
- {
- public ReadViewContent()
- {
- InitializeComponent();
- }
-
-
-
-
-
- private void RectangleReadMode_MouseEnter(object sender, MouseEventArgs e)
- {
- Dispatcher.BeginInvoke(DispatcherPriority.Send, new Action(delegate
- {
- if (App.IsBookMode)
- {
- this.ReadModeContent.Visibility = Visibility.Visible;
- this.RectangleReadMode.Visibility = Visibility.Collapsed;
- }
- }));
- }
-
-
-
-
-
- private async void ReadModeContent_MouseLeave(object sender, MouseEventArgs e)
- {
- await System.Threading.Tasks.Task.Delay(3000);
-
- this.ReadModeContent.Visibility = Visibility.Collapsed;
- this.RectangleReadMode.Visibility = Visibility.Visible;
- }
- private void UserControl_KeyDown(object sender, KeyEventArgs e)
- {
- }
- }
- }
|