Beispiel #1
0
 public Scenario1()
 {
     this.InitializeComponent();
     // Initialize the password vault, this may take less than a second
     // An optimistic initialization at this stage improves the UI performance
     // when any other call to the password vault may be made later on
     InitializePasswordVault.Initialize();
 }
Beispiel #2
0
 public static void Initialize()
 {
     Task.Factory.StartNew(() => { InitializePasswordVault.LoadPasswordVault(); });
 }