Exemplo n.º 1
0
        private void LoadFile( object sender, EventArgs e )
        {
            System.Windows.Controls.DocumentViewer dv = new System.Windows.Controls.DocumentViewer();
            dv.Document = _fd;
            elementHost1.Child = dv;

            if (_print)
                dv.Print();
        }