Exemplo n.º 1
0
 private void ClearTxtSearchKey()
 {
     if (this.InvokeRequired)
     {
         DelegateClearTxtSearchKey inv = new DelegateClearTxtSearchKey(this.ClearTxtSearchKey);
         this.Invoke(inv, new object[] { });
     }
     else
     {
         Cursor.Current         = Cursors.WaitCursor;
         this.TxtSearchKey.Text = string.Empty;
         Cursor.Current         = Cursors.Default;
     }
 }
Exemplo n.º 2
0
		private void ClearTxtSearchKey()
		{
			if (this.InvokeRequired)
			{
				DelegateClearTxtSearchKey inv = new DelegateClearTxtSearchKey(this.ClearTxtSearchKey);
				this.Invoke(inv, new object[] { });
			}
			else
			{
				Cursor.Current = Cursors.WaitCursor;
				this.TxtSearchKey.Text = string.Empty;
				Cursor.Current = Cursors.Default;
			}
		}