private void ActionForm_Load(object sender, EventArgs e)
{
switch (this.action)
{
case FreebooterHost.Actions.PROGRAM:
actionName = "Programming";
break;
case FreebooterHost.Actions.VERIFY:
actionName = "Verifying";
break;
case FreebooterHost.Actions.ERASE:
actionName = "Erasing";
break;
}
progressLabel.Text = actionName + "...";
this.Text = actionName + " device";
progressBar1.Maximum = 100;
progressBar1.Value = 0;
}