private void InitScopeItems() { ScopeItems = new Caliburn.Micro.BindableCollection<LookupItem>(); ScopeItems.Add(new LookupItem() { Text = "Machine", Value = PasswordProtectionScope.LocalMachine }); ScopeItems.Add(new LookupItem() { Text = "User", Value = PasswordProtectionScope.CurrentUser }); SelectedScope = ScopeItems.FirstOrDefault(); }
private void InitScopeItems() { ScopeItems = new Caliburn.Micro.BindableCollection <LookupItem>(); ScopeItems.Add(new LookupItem() { Text = "Machine", Value = PasswordProtectionScope.LocalMachine }); ScopeItems.Add(new LookupItem() { Text = "User", Value = PasswordProtectionScope.CurrentUser }); SelectedScope = ScopeItems.FirstOrDefault(); }