Exemplo n.º 1
0
        public void Preview()
        {
            Form shell = workItem.Items.Get(UIExtensionSiteNames.Shell) as Form;

            if (shell != null)
            {
                xtrapService.Preview(shell);
            }
            else
            {
                xtrapService.Preview(shell);
            }
        }
Exemplo n.º 2
0
        public void Preview()
        {
            Guard.ArgumentNotNull(workItem, "workItem");

            Form shell = workItem.Items.Get(UIExtensionSiteNames.Shell) as Form;

            if (shell != null)
            {
                xtrapService.Preview(shell);
            }
            else
            {
                xtrapService.Preview();
            }
        }