Skip to content

Instantly share code, notes, and snippets.

@SimonCropp
Created September 19, 2011 12:09
Show Gist options
  • Save SimonCropp/1226376 to your computer and use it in GitHub Desktop.
Save SimonCropp/1226376 to your computer and use it in GitHub Desktop.
public class Class1 :INotifyPropertyChanged
{
public bool IsExistingProject { get; set; }
public bool CanSaveProject{get { return !IsExistingProject; }}
public event PropertyChangedEventHandler PropertyChanged;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment