Пример #1
0
        private void toolStripButtonSave_Click(object sender, EventArgs e)
        {
            UpdateEDObject(currentObj);
            if (currentObj is EDPlanet)
                edmat.StorePlanet((EDPlanet)currentObj);
            if (currentObj is EDStar)
                edmat.StoreStar((EDStar)currentObj);

            //Just Greg testing stuff. Go ahead and delete this comment if it's
            //in your way...
            //var edo = new EDObject();
            //edo.system = "MarlonTest";
            //edo.objectName = "A 1";
            //edo.commander = "Marlon Blake";
            //edmat.Store(edo);
        }