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); }
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); }