hi i am trying to make an if function to check the picturebox background but it is not working. i tried .equal or image.fromfile but nothing is working. can anyone help me pls?
if (pbxap.BackgroundImage.Equals("..\\..\\Images\\tbl9.jpg"))
{
//display error
MessageBox.Show("No records found on this table");
}