Exemple #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (string.IsNullOrEmpty(currentDir))
     {
         Form4 f = new Form4();
         f.Show();
     }
     else
     {
         Fullscreen openForm = new Fullscreen();
         openForm.Show();
     }
 }
Exemple #2
0
 private void button2_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.F5)
     {
         if (string.IsNullOrEmpty(currentDir))
         {
             Form4 f = new Form4();
             f.Show();
         }
         else
         {
             Fullscreen openForm = new Fullscreen();
             openForm.Show();
         }
     }
 }