public bool Initialize(StartupArg startupArg)
{
PanelClass = startupArg.PanelClass;
_scannerCommon = new ScannerCommon(_scannerPanel);
_scannerHelper = new ScannerHelper(_scannerPanel, startupArg);
if (!_scannerCommon.Initialize(startupArg))
{
Log.Debug("Could not initialize form " + _form.Name);
return false;
}
_rootWidget = _scannerCommon.GetRootWidget();
return true;
}