private void GitExtensionsFormLoad(object sender, EventArgs e)
{
// find out if the value is a component and is currently in design mode
var isComponentInDesignMode = CheckComponent(this);
if (!_translated && !isComponentInDesignMode)
throw new Exception("The control " + GetType().Name +
" is not transated in the constructor. You need to call Translate() right after InitializeComponent().");
}