Exemple #1
0
        public virtual void Start()
        {
            var s = this.shell;

            UiHelpers.WriteSync(
                s,
                () =>
            {
                s.SwitchUi(
                    this.ui);
            });
        }
 public override void Start()
 {
     UiHelpers.WriteSync(
         this.ui,
         () =>
     {
         try
         {
             this.ui.Display();
         }
         catch
         {
             // assume already visible, swallow
         }
     });
 }
 public override void Stop()
 {
     UiHelpers.WriteSync(
         this.ui,
         this.ui.Hide);
 }