Exemplo n.º 1
0
        public override void OnActivate(int pinID)
        {
            switch (pinID)
            {
            case 1:
                NavigationWindow.Show(this.Template, LocalizedText.Get(this.TextID), this.Alignment);
                this.ActivateOutputLinks(10);
                break;

            case 2:
                NavigationWindow.DiscardCurrent();
                this.ActivateOutputLinks(10);
                break;
            }
        }
Exemplo n.º 2
0
 protected override void OnDestroy()
 {
     base.OnDestroy();
     NavigationWindow.DiscardCurrent();
 }