Beispiel #1
0
        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());
        }
Beispiel #2
0
 public void Save(Stream s)
 {
     SMDH.Write(Model, s);
 }