Testing 1, 2, 3...
Bold something
Italic something else
'Holm'
For Each C As Control In Me.Controls
If TypeOf C Is TextBox AndAlso CType(C, TextBox).SelectionStart > 0 Then
C.Text = "Moved Caret"
End If
Next
Item | Price | Stock |
Pi | $3.14 | 3.1415926535897932384626433832795 |
Square root of 2 | $1.14 | 1.4142135623730950488016887242097 |
public void ResetBalloonCloseTimer()
{
if (IsDisposed) return;
lock (this)
{
//reset timer in any case
balloonCloseTimer.Change(Timeout.Infinite, Timeout.Infinite);
}
}
private void CloseBalloonCallback(object state)
{
if (IsDisposed) return;
//switch to UI thread
Action action = CloseBalloon;
Application.Current.Dispatcher.Invoke(action);
}
private void kill_Test()
{
kill();
}
class myClass
{
myClass();
public static int DoSomethingUseful(this List obj)
{
return 0;
}
}
private declare void lib<mapi32.dll> (lpstrTZ dwWord, cpstRZ winHandle){
null == winHandle ? (IOAccessPtr>++dwWord) : null;
}