private void OnInstructionValueChanged(object sender, EventArgs e) { if (Picture == null) return; int value = instructionTrackBar.Value; instructionCounter.Text = value + " of " + Picture.Instructions.Count; Redraw(); }