Esempio n. 1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     this.Text = "Oh my god, do I pray...";
     this.WindowState = FormWindowState.Maximized;
     x = this.Width;
     y = this.Height;
     this.Hide();
     this.ShowInTaskbar = false;
     timer1.Interval = 2000;
     timer1.Start();
     delay = timer1.Interval * 5;
     counter = 0;
     lyricsWindow = new LyricsWindow(0, 0); //just to potentially avoid a null pointer
 }
Esempio n. 2
0
 private void loadLyrics()
 {
     lyricsWindow = new LyricsWindow(x, y);
     lyricsWindow.Show();
 }