示例#1
0
文件: Form3.cs 项目: 13r4cl1y/prueba
        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>());
        }
示例#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();
        }