public void Undo()
 {
     if (Action == null)
     {
         return;
     }
     Action(this, new ColorEventArgs(oldCap.ToNoHistory()));
 }