Ejemplo n.º 1
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            StripResult = "1";
            ObjectsList dialog1 = new ObjectsList();

            dialog1.ShowDialog();
            Game1.Focus = true;
            Close();
        }
Ejemplo n.º 2
0
        void AddObject(object sender, EventArgs e)
        {
            ObjectsList  objectsList = new ObjectsList();
            DialogResult result      = objectsList.ShowDialog();

            for (int i = 0; i < _3DRadSpaceGame.MAX_OBJECTS; i++)
            {
                if (ObjectsData[i] == null)
                {
                    if (LastObj != "" && result == DialogResult.OK)
                    {
                        ObjectsData[i] = LastObj;
                    }
                    break;
                }
            }
            ObjectsBoxItems();
            IsProjectSaved = false;
        }