public RGBColor(ColorHolder holder)
 {
     this.holder = holder;
     Red         = 1;
     Green       = 0;
     Blue        = 0;
 }
Example #2
0
 public CMYKColor(ColorHolder holder)
 {
     this.holder = holder;
     Cyan        = 0;
     Magenta     = 0;
     Yellow      = 0;
     Black       = 0;
 }
Example #3
0
 public MainWindow()
 {
     InitializeComponent();
     ColorHolder = new ColorHolder();
     DataContext = ColorHolder;
 }