Ejemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

            Timer       = new DispatcherTimer();
            Timer.Tick += ProcessFrame;
            Connection  = new TcpConnection();

            ProcessOptionsWindow = new ProcessOptionsWindow();
            NetworkOptionsWindow = new NetworkOptionsWindow();
        }
Ejemplo n.º 2
0
        private void WindowClosing(object sender, CancelEventArgs e)
        {
            if (MediaHandler != null)
            {
                MediaHandler.Dispose();
            }

            if (Connection != null)
            {
                Connection.Close();
            }

            ProcessOptionsWindow.Close();
        }
Ejemplo n.º 3
0
 private void MenuItemProcessingSettingsClick(object sender, RoutedEventArgs e)
 {
     ProcessOptionsWindow.ShowDialog();
 }