public DatabaseProvider() { Users = new UsersData(); Roles = new RolesData(); Households = new HouseholdsData(); Audits = new AuditData(); Permissions = new PermissionsData(); }
public Permissions(PermissionsData data) { InitializeComponent(); this.data = data; Saved = false; manipulateOwnLines.IsChecked = data.ManipulateOwnLines; manipulateOtherLines.IsChecked = data.ManipulateOtherLines; manipulateOwnObjects.IsChecked = data.ManipulateOwnObjects; manipulateOtherObjects.IsChecked = data.ManipulateOtherObjects; wipeLines.IsChecked = data.WipeStrokes; wipeObjects.IsChecked = data.WipeObjects; usePointers.IsChecked = data.UsePointers; }