Ejemplo n.º 1
0
		public static void SetTitle(string text)
		{
			if (_instance == null)
				_instance = new FormStart();
			_instance.BeginInvoke(new MethodInvoker(() =>
			{
				_instance.laTitle.Text = text;
				SetDetails(String.Empty);
				Application.DoEvents();
			}));
		}
Ejemplo n.º 2
0
 public static void SetTitle(string text)
 {
     if (_instance == null)
     {
         _instance = new FormStart();
     }
     _instance.BeginInvoke(new MethodInvoker(() =>
     {
         _instance.laTitle.Text = text;
         SetDetails(String.Empty);
         Application.DoEvents();
     }));
 }
Ejemplo n.º 3
0
		public static void ShowProgress()
		{
			if (_instance == null)
				_instance = new FormStart();
			if (_instance.InvokeRequired)
				_instance.BeginInvoke(new MethodInvoker(() =>
				{
					_instance.Show();
					Application.DoEvents();
				}));
			else
				_instance.Show();
			_queueCount++;
			Application.DoEvents();
		}
Ejemplo n.º 4
0
 public static void SetDetails(string text)
 {
     if (_instance == null)
     {
         _instance = new FormStart();
     }
     _instance.BeginInvoke(new MethodInvoker(() =>
     {
         _instance.laDetails.Text = text;
         if (!String.IsNullOrEmpty(text))
         {
             _instance.laDetails.BringToFront();
         }
         else
         {
             _instance.laDetails.SendToBack();
         }
         Application.DoEvents();
     }));
 }
Ejemplo n.º 5
0
 public static void ShowProgress()
 {
     if (_instance == null)
     {
         _instance = new FormStart();
     }
     if (_instance.InvokeRequired)
     {
         _instance.BeginInvoke(new MethodInvoker(() =>
         {
             _instance.Show();
             Application.DoEvents();
         }));
     }
     else
     {
         _instance.Show();
     }
     _queueCount++;
     Application.DoEvents();
 }
Ejemplo n.º 6
0
		public static void SetDetails(string text)
		{
			if (_instance == null)
				_instance = new FormStart();
			_instance.BeginInvoke(new MethodInvoker(() =>
			{
				_instance.laDetails.Text = text;
				if (!String.IsNullOrEmpty(text))
					_instance.laDetails.BringToFront();
				else
					_instance.laDetails.SendToBack();
				Application.DoEvents();
			}));
		}
Ejemplo n.º 7
0
		public static void Destroy()
		{
			_instance.Dispose();
			_instance = null;
		}
Ejemplo n.º 8
0
 public static void Destroy()
 {
     _instance.Dispose();
     _instance = null;
 }