private void exportSMDH() { var sfd = new SaveFileDialog { FileName = "icon.bin", Filter = "System Menu Data Header|*.*" }; if (sfd.ShowDialog() != DialogResult.Yes) { return; } CB_AppInfo_SelectedIndexChanged(null, null); // Force re-save File.WriteAllBytes(sfd.FileName, SMDH.Write()); }
public void Save(Stream s) { SMDH.Write(Model, s); }