protected override void Initialize()
 {
     base.Initialize();
     ForegroundThreadGuard.BindThread();
 }