protected override void LoadComplete()
        {
            base.LoadComplete();
            Add(news = new NewsOverlay());
            AddStep(@"Show", news.Show);
            AddStep(@"Hide", news.Hide);

            AddStep(@"Show front page", () => news.ShowFrontPage());
            AddStep(@"Custom article", () => news.Current.Value = "Test Article 101");
        }
 public void SetUp() => Schedule(() => Child = news = new NewsOverlay());
Exemple #3
0
 private void load(NewsOverlay news)
 {
     StateContainer = news;
 }