private void btnBuscarTipo_Click(object sender, EventArgs e) { if (tabtipoAvion.SelectedIndex == 0) { funbuscarA(); } else if (tabtipoAvion.SelectedIndex == 1) { funbuscarV(); } funlimpiar(); }