private panelMain_Selecting ( object sender, TabControlCancelEventArgs e ) : void | ||
sender | object | |
e | TabControlCancelEventArgs | |
Результат | void |
private void panelMain_Selecting(object sender, TabControlCancelEventArgs e)
{
if (e.TabPageIndex == 0)
{
WinAPI.UnsetWindowExFlag(MainObj.Handle, (int)Win32.WS_EX_COMPOSITED);
}
else
{
WinAPI.SetWindowExFlag(MainObj.Handle, (int)Win32.WS_EX_COMPOSITED);
}
}