Ejemplo n.º 1
0
        private void AddObject(ContentObject o)
        {
            try
            {
                if (!myPackage.Add(o.Type, o.Object))
                {
                    MessageBox.Show(
                        this,
                        "Object " + o.Name + " not supported.");
                    return;
                }

                FillList();
            }
            catch (Exception)
            {
            }
        }