Exemplo n.º 1
0
 private void btnLoadGG_Click(object sender, EventArgs e)
 {
     this.openFileDialog1.RestoreDirectory = true;
     this.openFileDialog1.Filter           = "Images format GG | *.gg";
     if (this.openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         this.pictureBox1.Image = GGBitmap.LoadPictureGGFormat(openFileDialog1.FileName);
     }
 }
Exemplo n.º 2
0
 private void btnSaveGG_Click(object sender, EventArgs e)
 {
     //MessageBox.Show(System.IO.Path.GetDirectoryName(pictureBox1.ImageLocation));
     GGBitmap.SavePictureGGFormat(pictureBox1.Image, System.IO.Path.GetDirectoryName(pictureBox1.ImageLocation) + "\\toto.gg");
 }