private void button_create_cyl_x_Click(object sender, EventArgs e) { SaveStateForUndo("Create cylinder"); m_dmesh.ClearAllMarked(); m_dmesh.CreateCylinder(Axis.X, m_size_x, m_size_height, m_size_segments); RefreshGeometry(); }