SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
HelpBrowser.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.Shapes;
13 
14 namespace SeciControls
15 {
19  public partial class HelpBrowser : Window
20  {
21  public Boolean CloseForReal = false;
22 
23  public HelpBrowser()
24  {
25  InitializeComponent();
26  }
27 
28  new public void Show()
29  {
30  browser.Navigate(new Uri(Seci.Definitions.Status.HelpDir + "Introduction.htm"));
31  base.Show();
32  }
33 
34  private void btnHome_Click(object sender, RoutedEventArgs e)
35  {
36  browser.Navigate(new Uri(Seci.Definitions.Status.HelpDir + "Introduction.htm"));
37  }
38 
39  private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
40  {
41  if (CloseForReal)
42  {
43 
44  }
45  else
46  {
47  this.Hide();
48  e.Cancel = true;
49  }
50  }
51 
52  }
53 }
Interaction logic for HelpBrowser.xaml
void btnHome_Click(object sender, RoutedEventArgs e)
void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)