private void ClearButton_Click(object sender, EventArgs e) { commands.Clear(); drawCanvas1.Invalidate(); }