End Google Ads 201810 - BS.net 01 --> Hi All

I'm create a system of medium-sized
I want to be the system of bilingual Arabic and English
I want to do the work Mithod GENERAL Oqo Bmnadadtha screen present in the system
How Ostzia of change in the screen from right to left or vice versa
Has been used following code but all the screen using this code to close immediately after opening

if (Arbic)
{
Form.RightToLeft = RightToLeft.Yes;
Form.RightToLeftLayout = true;
}
else
{
Form.RightToLeft = RightToLeft.No;
Form.RightToLeftLayout = false;
}

thanks

Thaer