0
I don’t know what I did but the mistake:
Error 4 A using namespace Directive can only be Applied to namespaces; 'System.Windows.Forms.Messageboxicon' is a type not a namespace C: Users Guilherme Documents Painelx Painelx Form1.Cs 25 7 Painelx
error print : http://prntscr.com/8dhnl8
public void button9_Click(object sender, EventArgs e)
{
if (MessageBox.Show("mensagem", "titulo", MessageBoxIcon.Warning, MessageBoxButtons.YesNo) == DialogResult.Yes)
{
}
}