/// <summary> /// call all required Methods /// </summary> private void Initialize() { AntiDouble = false; Controller.Initialize(); GetControllerStatus(); lightcontrol(); Socket.Initialize(); UiEvents(); GetSocketStatus(); try { WebBrowser.Navigate(Properties.Settings.Default.WebcamUrl); } catch (Exception) { } var cv = Xpcom.QueryInterface <nsIDocShell>(WebBrowser.WebBrowserFocus).GetContentViewerAttribute(); cv.SetFullZoomAttribute((float)1.6); StartWorker(); }