private void button_create_quad_Click(object sender, EventArgs e) { SaveStateForUndo("Create quad"); m_dmesh.ClearAllMarked(); Vector2 v = new Vector2(m_size_x, m_size_y); m_dmesh.CreateQuad(v); RefreshGeometry(); }