public void EditProperties() { IAddonInstance addon = AddonBase.LoadFromFile(m_file.DataDiskPath); if (EditPropertiesForm.Run(addon, true)) { //addon.Original = false; addon.SaveToFile(m_file.DataDiskPath); } }
public void AddonEditor() { IAddonInstance addon = AddonBase.LoadFromFile(m_file.DataDiskPath); MainWindow.Instance.OpenContent(new AddonEditorFrame(addon, m_file.DataDiskPath)); }