private void button2_Click(object sender, EventArgs e) { SaveFileDialog fd = new SaveFileDialog(); fd.Filter = "All AquaPlus Font Files|*.fnt"; if (fd.ShowDialog() != DialogResult.OK) { return; } using (Stream Output = new StreamWriter(fd.FileName).BaseStream) { Font.UpdatedGlyphs(Glyphs, Output, true); } MessageBox.Show("Saved"); }