LokiProgrammer.ActionForm.ActionForm_Load C# (CSharp) Method

ActionForm_Load() private method

private ActionForm_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        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;
        }