private void ButtonFastNetworkFirewall_Click(object sender, EventArgs e) { string source = textBoxFastSource.Text; string destination = textBoxFastDestination.Text; bool Vsource = Common.ValidadorIP(source, "Source"); bool Vdestination = Common.ValidadorIP(destination, "Destination"); if (Vsource == true && Vdestination == true) { if (checkBoxIPv6.Checked == true) { Sentencias.Bbdd_apply_search_vlan_for_Fast_Firewall("IPv6", source, destination, dataGridViewFastNetworkFirewall); } else { Sentencias.Bbdd_apply_search_vlan_for_Fast_Firewall("IPv4", source, destination, dataGridViewFastNetworkFirewall); } } }