private void DrawPointButton_Click(object sender, EventArgs e) { myDrawObject.DrawMode = DrawMode.Point; myDrawObject.IsEnabled = true; }