Example #1
0
 private void OnPaint(object sender, PaintEventArgs e)
 {
     if (null != _packable)
     {
         BoxToPictureBox.Draw(_packable, pictureBox);
     }
 }
        private void DrawBoxPositions()
        {
            BoxProperties currentCase = Case;

            BoxToPictureBox.Draw(currentCase, HalfAxis.HAxis.AXIS_X_P, pbCaseX);
            BoxToPictureBox.Draw(currentCase, HalfAxis.HAxis.AXIS_Y_P, pbCaseY);
            BoxToPictureBox.Draw(currentCase, HalfAxis.HAxis.AXIS_Z_P, pbCaseZ);
        }
Example #3
0
        private void DrawBoxPositions()
        {
            // get current boxProperties
            BProperties selectedBox = SelectedBox;

            BoxToPictureBox.Draw(selectedBox, HalfAxis.HAxis.AXIS_X_P, pictureBoxPositionX);
            BoxToPictureBox.Draw(selectedBox, HalfAxis.HAxis.AXIS_Y_P, pictureBoxPositionY);
            BoxToPictureBox.Draw(selectedBox, HalfAxis.HAxis.AXIS_Z_P, pictureBoxPositionZ);
        }