private void textHeight_Leave(object sender, EventArgs e)
{
if (!int.TryParse(textHeight.Text, out lastHeight))
{
MessageBox.Show("Positive integer required for screen height.", "CME Project Editor", MessageBoxButtons.OK, MessageBoxIcon.Error);
textHeight.Text = lastHeight.ToString();
}
}