static void ShowFormPrint(LayoutFarm.UI.UISurfaceViewportControl viewport) { var formPrint = new LayoutFarm.Dev.FormPrint(); formPrint.Show(); formPrint.FormClosed += (s, e2) => { formPrint = null; }; formPrint.Connect(viewport); }
static void ShowFormPrint(GraphicsViewRoot viewport) { var formPrint = new LayoutFarm.Dev.FormPrint(); formPrint.Show(); formPrint.FormClosed += (s, e2) => { formPrint = null; }; formPrint.Connect(viewport); }