Esempio n. 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();
         }
     }
 }
Esempio n. 2
0
 public Bitmap TgaSharpLib() => TGA.FromBytes(data).ToBitmap();