h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

Focus on Next Button after Clicked Previous Button Using C#.Net

            Today , we will discuss about focus on Next Button after clicked previous button using C#.net
Declare Variable
private static bool IsBtnClicked = false;
Go To Next button Property window
Select "Tab Stop"  and Change to False
Copy and Paste this below Code in your Previous Button Click Event:
IsBtnClicked = true;
if (IsBtnClicked)
{
button2.TabStop = true;
IsBtnClicked = false;
}
else
{
button2.TabStop = false;
IsBtnClicked = false;
}