Example #1
0
        private void button2_Click_2(object sender, EventArgs e)
        {
            Texturas a = new Texturas();

            a.guardar(cmR, cmG, cmB, lcolor2.BackColor, ltipo.Text, lcolor.Text);
            tex.Add(a);
            ltipo.Text        = "";
            lcolor.Text       = "";
            lcolor2.BackColor = Color.White;
            lcolor2.ForeColor = Color.White;
            gudardar(tex);
            panel1.Visible = false;
        }
Example #2
0
        // Boton guardar Textura
        private void button2_Click_2(object sender, EventArgs e)
        {
            Texturas t = new Texturas();

            t.guardar(cmR, cmG, cmB, lcolor2.BackColor, ltipo.Text, lcolor.Text);
            // guardamos en la lista
            tex.Add(t);
            ltipo.Text        = "";
            lcolor.Text       = "";
            lcolor2.BackColor = Color.White;
            lcolor2.ForeColor = Color.White;
            GuardarD(tex);
            panel1.Visible = false;
        }