예제 #1
0
 private void Form1_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Escape)
     {
         this.Close();
     }
     else if (e.KeyCode == Keys.F1)
     {
         if (T != null)
         {
             T = TGA.FromBytes(T.ToBytes());
             ShowTga();
         }
     }
 }