Example #1
0
        private void radioButton3_CheckedChanged(object sender, EventArgs e)
        {
            //el combobox para limpiar . items
            comboBox1.Items.Clear();
            Calculo art = new Calculo();

            //HAY QUE CONVERTIRLO EN UN ARREGLO el radiobutton y se hace con  .ToArray<string>()
            comboBox1.Items.AddRange(art.Listado(radioButton3.Text).ToArray <string>());
        }
Example #2
0
        private void buttoncalcular_Click(object sender, EventArgs e)
        {
            Calculo prome = new Calculo();

            textBox5.Text = prome.promedio(textBox2.Text, textBox3.Text, textBox4.Text).ToString();
        }