private void Validate_Initial_Coordinates()
{
//If there is an image, make sure X & Y are not blank
if (imgState1Img1 != null)
{
if (txtState1X.Text == "") txtState1X.Text = "100";
if (txtState1Y.Text == "") txtState1Y.Text = "100";
}
if (imgState2Img1 != null)
{
if (txtState2X.Text == "") txtState2X.Text = "100";
if (txtState2Y.Text == "") txtState2Y.Text = "100";
}
}