Skip to content

Instantly share code, notes, and snippets.

@parabola949
Created January 20, 2014 13:51
Show Gist options
  • Save parabola949/8520176 to your computer and use it in GitHub Desktop.
Save parabola949/8520176 to your computer and use it in GitHub Desktop.
private bool _stillDown;
public bool stillDown
{
get { return _stillDown; }
set { _stillDown = value; NotifyOfPropertyChange(() => stillDown);
if (resolved == _stillDown) resolved = !_stillDown;
}
}
private bool _resolved;
public bool resolved
{
get { return _resolved; }
set { _resolved = value; NotifyOfPropertyChange(() => resolved);
if (_resolved == stillDown) stillDown = !_resolved;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment