Ejemplo n.º 1
1
 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();
 }
Ejemplo n.º 2
0
 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();
 }