private void Menu_Export_Linked_VAB() { VAB vab = FindLinkedVAB(); byte[] data = vab.Save(); FileUtil.SaveFile(data, FileFilters.VAB, FileFilters.Any); }
private VAB FindLinkedVAB() { VH vh = FindLinkedVH(); SampleLine[] vb = FindLinkedVB(); return(VAB.Join(vh, vb)); }
private void Menu_Export_Linked_VAB_DLS() { if (MessageBox.Show("Exporting to DLS is experimental.\n\nContinue anyway?", "Export Linked VAB as DLS", MessageBoxButtons.YesNo) != DialogResult.Yes) { return; } VAB vab = FindLinkedVAB(); byte[] data = vab.ToDLS().Save(); FileUtil.SaveFile(data, FileFilters.DLS, FileFilters.Any); }
private VAB FindLinkedVAB() { SampleLine[] vb = FindLinkedVB(); return(VAB.Join(oldmusicentry.VH, vb)); }