Files
Matthias b32b2bd87b updates
git-svn-id: file:///srv/dev-disk-by-uuid-17e88007-4d0c-45e0-8757-cacfcc458630/repositories/svn/Diplomarbeit@138 9fe90eed-be63-e94b-8204-d34ff4c2ff93
2009-03-17 12:45:50 +00:00

72 lines
2.3 KiB
C#

/* ---------------------------------------------------------------------------
* MainWindow.cs (c) 2009 Micro-key bv
* ---------------------------------------------------------------------------
* Micro-key bv
* Industrieweg 28, 9804 TG Noordhorn
* Postbus 92, 9800 AB Zuidhorn
* The Netherlands
* Tel: +31 594 503020
* Fax: +31 594 505825
* Email: support@microkey.nl
* Web: www.microkey.nl
* ---------------------------------------------------------------------------
* Description: Main Form file. Bootup and Initialisation of the whole form
* ---------------------------------------------------------------------------
* Version(s): 0.1, Jan 08, 2008, MMi
* Creation.
* ---------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------
* System use files
* ---------------------------------------------------------------------------
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO.Ports;
using System.Threading;
/* ---------------------------------------------------------------------------
* Local function definitions
* ---------------------------------------------------------------------------
*/
namespace QUA_2475_designtest
{
public partial class mainWindow : Form
{
public mainWindow()
{
InitializeComponent();
initialise(); /* Init Variables, Arrays etc */
}
private void exit_Click(object sender, EventArgs e)
{
/* Quit Window Session */
Master_receiveMessages = false;
this.Close();
}
/* TimeOut Function
* This runs always in an own Thread
* Functrion is called directly before a Test is started. When Time
* is over and the Test is still active, then call TimeOut Procedure
*/
private void TimeoutThread()
{
Thread.Sleep(100000);
if (activeTest == true)
{
TestIsTimeout(actualTest);
}
}
}
}