예제 #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;
        }
예제 #2
0
파일: Form1.cs 프로젝트: SadgamS/ProyPM
        // 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;
        }