private void redSlide_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
 {
     EventHandler<ColorCtlEventArgs> handler = ColorCtlEvent;
     ColorCtlEventArgs sbea = new ColorCtlEventArgs();
     sbea.Changed = true;
     if (handler != null)
     {
         handler(this, sbea);
     }
 }
 private void color_Changed(object sender, ColorCtlEventArgs e)
 {
     boxCtrl.Background = ((ColorControl)sender).GetColor();
     SchedBoxModified();
 }