private void pictureBoxPreview_Paint(object sender, PaintEventArgs e)
{
if (m_activeElem == null) return;
ElementGeometry elemGeo = null;
if (!m_creationData.Creator.ElemGeomDic.TryGetValue(m_activeElem, out elemGeo)) return;
e.Graphics.Transform = m_centerMatrix;
e.Graphics.SmoothingMode = SmoothingMode.HighQuality;
elemGeo.Draw(e.Graphics);
}