Beispiel #1
0
 public Form1()
 {
     InitializeComponent();
     this._miPaleta = (PaletaC)5;
     this.agregarTemperaToolStripMenuItem.Enabled = true;
     this.groupBox1.Enabled = false;
 }
Beispiel #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form2 form2 = new Form2();

            DialogResult rta = form2.ShowDialog();

            if (rta == DialogResult.OK)
            {
                this._miPaleta    += form2.MiTempera;
                this.textBox1.Text = (string)this._miPaleta;
            }
        }