Exemple #1
0
        private void AddNewEvent_Click(object sender, EventArgs e)
        {
            Properties_Event NewEvent = new Properties_Event(_Interface, _Scene);

            this.AddControl(NewEvent);
            _AddNewEvent.BringToFront();
        }
        public void AddMaterial(object sender, EventArgs e)
        {
            _CurrentActor.Materials.Add(new Material("New Material", Material.Default));
            Properties_Material NewMaterial = new Properties_Material(_Interface, _CurrentActor, _Dock, _OpenForms, _CurrentActor.Materials.Count - 1);

            _Materials.AddControl(NewMaterial);
            _AddMaterial.BringToFront();
        }