Esempio n. 1
0
        public void EditProperties()
        {
            IAddonInstance addon = AddonBase.LoadFromFile(m_file.DataDiskPath);

            if (EditPropertiesForm.Run(addon, true))
            {
                //addon.Original = false;
                addon.SaveToFile(m_file.DataDiskPath);
            }
        }
Esempio n. 2
0
        public void AddonEditor()
        {
            IAddonInstance addon = AddonBase.LoadFromFile(m_file.DataDiskPath);

            MainWindow.Instance.OpenContent(new AddonEditorFrame(addon, m_file.DataDiskPath));
        }