Exemplo n.º 1
0
 public void EnableButtons()
 {
     if (_useDefaultRules)
     {
         EnableRules.EnableButtons(_keys);
     }
 }
 void BindData()
 {
     EnableCalibrationResults.CreateBinding(CheckBox.IsCheckedProperty, model, x => x.EnableCalibrationResults, (m, v) => { m.EnableCalibrationResults = v; });
     EnableChannelName.CreateBinding(CheckBox.IsCheckedProperty, model, x => x.EnableChannelName, (m, v) => { m.EnableChannelName = v; });
     EnableMovingRects.CreateBinding(CheckBox.IsCheckedProperty, model, x => x.EnableMovingRects, (m, v) => { m.EnableMovingRects = v; });
     EnableRules.CreateBinding(CheckBox.IsCheckedProperty, model, x => x.EnableRules, (m, v) => { m.EnableRules = v; });
     EnableSpeed.CreateBinding(CheckBox.IsCheckedProperty, model, x => x.EnableSpeed, (m, v) => { m.EnableSpeed = v; });
     EnableSystemInformation.CreateBinding(CheckBox.IsCheckedProperty, model, x => x.EnableSystemInformation, (m, v) => { m.EnableSystemInformation = v; });
     EnableTimestamp.CreateBinding(CheckBox.IsCheckedProperty, model, x => x.EnableTimestamp, (m, v) => { m.EnableTimestamp = v; });
     EnableTracking.CreateBinding(CheckBox.IsCheckedProperty, model, x => x.EnableTracking, (m, v) => { m.EnableTracking = v; });
     EnableUserRegion.CreateBinding(CheckBox.IsCheckedProperty, model, x => x.EnableUserRegion, (m, v) => { m.EnableUserRegion = v; });
 }