/// <summary> /// Constructs a new instance of the screensaver /// </summary> public Kraken() { try { data = new Rom(); System.IO.Stream ss = Assembly.GetExecutingAssembly().GetManifestResourceStream("Kraken.bgs.dat"); data.Open(ss); } catch (Exception e) { MessageBox.Show("Error opening background animation data.\n\n" + e.Message); } try { LoadConfig(); } catch (Exception e) { MessageBox.Show("Error loading configuration.\n\n" + e.Message); } Initialize += Kraken_Initialize; Update += Kraken_Update; Exit += Kraken_Exit; }