Exemplo n.º 1
0
 private void ClearLbxServerNodes()
 {
     if (this.InvokeRequired)
     {
         DelegateClearLbxServerNodes inv = new DelegateClearLbxServerNodes(this.ClearLbxServerNodes);
         this.Invoke(inv, new object[] { });
     }
     else
     {
         Cursor.Current = Cursors.WaitCursor;
         this.LbxServerNodes.Items.Clear();
         Cursor.Current = Cursors.Default;
     }
 }
Exemplo n.º 2
0
		private void ClearLbxServerNodes()
		{
			if (this.InvokeRequired)
			{
				DelegateClearLbxServerNodes inv = new DelegateClearLbxServerNodes(this.ClearLbxServerNodes);
				this.Invoke(inv, new object[] { });
			}
			else
			{
				Cursor.Current = Cursors.WaitCursor;
				this.LbxServerNodes.Items.Clear();
				Cursor.Current = Cursors.Default;
			}
		}