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(); }
public static void Initialize() { Task.Factory.StartNew(() => { InitializePasswordVault.LoadPasswordVault(); }); }