Beispiel #1
0
 private void Show_Load(object sender, EventArgs e)
 {
     if (wordPackungen.Count == 0)
     {
         Close();
         return;
     }
     currentWordPackung = wordPackungen[0];
     ShowWord();
     Show_Resize(sender, e);
 }
Beispiel #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            int i = wordPackungen.IndexOf(currentWordPackung) - 1;

            if (-1 == i)
            {
                i = wordPackungen.Count - 1;
            }
            currentWordPackung = wordPackungen[i];
            ShowWord();
        }