Пример #1
0
 private void onPaint(object sender, PaintEventArgs e)
 {
     if (null != _bProperties)
     {
         BoxToPictureBox.Draw(_bProperties, HalfAxis.HAxis.AXIS_X_P, pictureBoxX);
         BoxToPictureBox.Draw(_bProperties, HalfAxis.HAxis.AXIS_Y_P, pictureBoxY);
         BoxToPictureBox.Draw(_bProperties, HalfAxis.HAxis.AXIS_Z_P, pictureBoxZ);
     }
 }
Пример #2
0
 private void onPaint(object sender, PaintEventArgs e)
 {
     if (null != _packable)
     {
         if (PackableOrientationAllowed)
         {
             BoxToPictureBox.Draw(_packable, HalfAxis.HAxis.AXIS_X_P, pictureBoxX);
             BoxToPictureBox.Draw(_packable, HalfAxis.HAxis.AXIS_Y_P, pictureBoxY);
             BoxToPictureBox.Draw(_packable, HalfAxis.HAxis.AXIS_Z_P, pictureBoxZ);
         }
         else
         {
             BoxToPictureBox.Draw(_packable, HalfAxis.HAxis.AXIS_Z_P, pictureBoxGlobal);
         }
     }
 }