private void visibilityChanged(object sender, EventArgs e) { if (letterboxing) { letterboxPositionX.Show(); letterboxPositionY.Show(); } else { letterboxPositionX.Hide(); letterboxPositionY.Hide(); } }
private void visibilityChanged(bool newVisibility) { if (newVisibility) { letterboxPositionX.Show(); letterboxPositionY.Show(); } else { letterboxPositionX.Hide(); letterboxPositionY.Hide(); } }