예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     saveFileDialog1.Filter = "Sims 3 Texture|*.dds";
     if (saveFileDialog1.ShowDialog() == DialogResult.OK && saveFileDialog1.FileName != "")
     {
         FileStream saveFile = new FileStream(saveFileDialog1.FileName, FileMode.Create, FileAccess.Write);
         CopyStream(ddsFile.DDS(), saveFile);
         saveFile.Close();
     }
 }