예제 #1
0
        private void extractToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog ofd = new OpenFileDialog();
            if (ofd.ShowDialog() == DialogResult.OK)
            {
                PartyBlam.Blam.Halo3.ScreenShot sShot = new PartyBlam.Blam.Halo3.ScreenShot(ofd.FileName);

                File.WriteAllBytes(@"C:/Users/Alex/Desktop/test_1.jpg", sShot.ExtractScreenshot());

                sShot.Close();
            }
        }
예제 #2
0
        private void extractToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog ofd = new OpenFileDialog();

            if (ofd.ShowDialog() == DialogResult.OK)
            {
                PartyBlam.Blam.Halo3.ScreenShot sShot = new PartyBlam.Blam.Halo3.ScreenShot(ofd.FileName);

                File.WriteAllBytes(@"C:/Users/Alex/Desktop/test_1.jpg", sShot.ExtractScreenshot());

                sShot.Close();
            }
        }