update status label if state changes

This commit is contained in:
test
2019-04-09 19:01:22 +02:00
parent 9984eca5ff
commit e7b37f8211
2 changed files with 43 additions and 2 deletions

View File

@ -25,13 +25,16 @@ namespace winVCR
SMtape.initSMtape();
SMvcr.initSMvcr();
SMvcr.evUpdateStatus += setLabelText;
}
public void setLabelText(string txt)
public void setLabelText(StatusEventArgs e)
{
statusLabel.Text = txt;
statusLabel.Text = e.Text;
}