Exemple #1
0
        private void btnSetContainerOrShelfStop_Click(object sender, EventArgs e)
        {
            ((Button)sender).Enabled = false;

            // let's activate the container- or shelf-stop for our current position
            if (Handset.SetContainerOrShelfStop(VirtualHandset.MotorGroup.MotorGroup1, true) < 0)
            {
                MessageBox.Show("Could not set container- or shelf-stop position!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }

            this.Enabled = true;
        }