SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
ViHostWrapper.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 
15 namespace SeciControls
16 {
20  public partial class ViHostWrapper : UserControl
21  {
22  public ViHostWrapper()
23  {
24  InitializeComponent();
25  }
26 
27  public void AddVI(String filename)
28  {
29  ViHost1.AddVI(filename, 0, 0);
30  }
31 
32  public void AddVI(String filename, int x, int y)
33  {
34  ViHost1.AddVI(filename, x, y);
35  }
36 
37  public void RemoveVI(String filename)
38  {
39  ViHost1.RemoveVI(filename);
40  }
41 
42  public void RemoveAllVIs()
43  {
44  ViHost1.RemoveAllVIs();
45  }
46 
47  public void CascadeVIs()
48  {
49  ViHost1.CascadeVis();
50  }
51 
52  public void SetVisible(Boolean visible)
53  {
54  ViHost1.SetVisible(visible);
55  }
56 
57  public List<String> GetViNames()
58  {
59  return ViHost1.ViNames;
60  }
61 
62  public void StartTimer(int interval)
63  {
64  ViHost1.StartTimer(interval);
65  }
66 
67  }
68 }
Interaction logic for ViHostWrapper.xaml
void RemoveVI(String filename)
void AddVI(String filename, int x, int y)
void AddVI(String filename)
void StartTimer(int interval)
void SetVisible(Boolean visible)