public MainWindow() { InitializeComponent(); sIndicator = new StatusIndicator(Repos.Status); sIndicator.Show(); Repos.LoadRepos(); while (!Repos.IsLoaded) { Thread.Sleep(200); } sIndicator.Close(); }
public void DelTest() { Repos.LoadRepos(); while (!Repos.IsLoaded) { Thread.Sleep(200); } var k = Repos.KeyWords.Create("testWord"); k.personId = 100; Repos.KeyWords.Add(k); Repos.KeyWords.Save(); }