public LauncherForm() { this.InitializeComponent(); this.InitializeLocalizedFormItems(); this.InitializeVariables(); this.label1.Text = Program.ResourceManager.GetString("launcherPhotonStartingText"); this.trayIcon.Icon = this.iconStopped; try { this.panel1.BackgroundImage = Image.FromFile(Path.Combine(this.photonWorkingDirectory, "LauncherBackground.png")); } catch (FileNotFoundException) { } catch (OutOfMemoryException) { } PhotonHandler.AddPhotonToFirewall(this.photonWorkingDirectory); Timer timer = new Timer { Interval = 0x3e8 }; this.intervalTimer = timer; this.intervalTimer.Tick += new EventHandler(this.TimerTick); this.intervalTimer.Start(); }