SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
JournalViewer.xaml.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Windows;
6 using System.Windows.Controls;
7 using System.Windows.Data;
8 using System.Windows.Documents;
9 using System.Windows.Input;
10 using System.Windows.Media;
11 using System.Windows.Media.Imaging;
12 using System.Windows.Navigation;
13 using System.Windows.Shapes;
14 using System.IO;
15 
16 namespace SeciControls
17 {
21  public partial class JournalViewer : UserControl
22  {
23  public JournalViewer()
24  {
25  InitializeComponent();
26  }
27 
28  private void UserControl_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
29  {
30  bool? visible = e.NewValue as bool?;
31 
32  if (visible == true)
33  {
34  journal.OkayToUpdate = true;
35  }
36  else
37  {
38  journal.OkayToUpdate = false;
39  }
40  }
41  }
42 }
Interaction logic for JournalViewer.xaml
void UserControl_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)