예제 #1
0
 public MainWindow()
 {
     InitializeComponent();
     sIndicator = new StatusIndicator(Repos.Status);
     sIndicator.Show();
     Repos.LoadRepos();
     while (!Repos.IsLoaded)
     {
         Thread.Sleep(200);
     }
     sIndicator.Close();
 }
예제 #2
0
        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();
        }