Esempio 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;
     }
 }
Esempio 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;
			}
		}