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