Пример #1
0
 public ScenarioInput1()
 {
     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();
 }
Пример #2
0
 public static void Initialize()
 {
     Task.Factory.StartNew(() => { InitializePasswordVault.LoadPasswordVault(); });
 }