SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
SeciMessages.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.ComponentModel;
4 using System.Data;
5 using System.Drawing;
6 using System.Text;
7 using System.Windows.Forms;
8 
9 namespace Sample_Environment_Control_Interface.Dialogs.Messages
10 {
11  public partial class SeciMessages : Form
12  {
13  public SeciMessages()
14  {
15  InitializeComponent();
16  }
17 
18  public void addSeciMessage(String date, String time, String source, String message)
19  {
20  seciErrors.addMessage(date, time, source, message);
21  }
22 
23  public void addLabViewMessages(Seci.SerialisableList<Seci.LabView.MessageInfo> messages)
24  {
25  lvErrors.addMessages(messages);
26  }
27 
28  public void btnClose_Click(object sender, EventArgs e)
29  {
30  this.Hide();
31  }
32 
33  public void SECI_Messages_FormClosing(object sender, FormClosingEventArgs e)
34  {
35  //Hide but don't kill
36  this.Hide();
37  e.Cancel = true;
38  }
39  }
40 }
void addSeciMessage(String date, String time, String source, String message)
Definition: SeciMessages.cs:18
void SECI_Messages_FormClosing(object sender, FormClosingEventArgs e)
Definition: SeciMessages.cs:33
void addLabViewMessages(Seci.SerialisableList< Seci.LabView.MessageInfo > messages)
Definition: SeciMessages.cs:23