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