source: Scheduling/trunk/cs/bsdx0200GUISourceCode/LoadingSplash.cs@ 1785

Last change on this file since 1785 was 1070, checked in by Sam Habiel, 14 years ago

LoadingSplash: New Form that does... pretty much nothing. Just shows a splash when updating data from server.
CGView:

CGDocumentManager:

CGDocument:

File size: 854 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Data;
5using System.Drawing;
6using System.Linq;
7using System.Text;
8using System.Windows.Forms;
9
10namespace IndianHealthService.ClinicalScheduling
11{
12 public partial class LoadingSplash : Form
13 {
14 public LoadingSplash()
15 {
16 InitializeComponent();
17 }
18
19 //Generic Delegate for fancy remote invokations
20 public delegate void dAny();
21
22 /// <summary>
23 /// Close a form from another thread
24 /// </summary>
25 public void RemoteClose()
26 {
27 if (InvokeRequired == true)
28 {
29 dAny d = new dAny(this.Close);
30 this.Invoke(d);
31 }
32 else
33 this.Close();
34 }
35 }
36}
Note: See TracBrowser for help on using the repository browser.