public void Preview() { Form shell = workItem.Items.Get(UIExtensionSiteNames.Shell) as Form; if (shell != null) { xtrapService.Preview(shell); } else { xtrapService.Preview(shell); } }
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(); } }