示例#1
0
        protected override void InitializeContents()
        {
            base.InitializeContents();

            handler = new PrintDialogEventHandler();
            handler.PrintDialogHandled += PrintDialogHandled;
            WebBrowser.Current.DialogWatcher.Add(handler);
            //WebBrowser.Current.AddDialogHandler(handler);
        }
示例#2
0
        protected override void InitializeContents()
        {
            base.InitializeContents();

            handler = new PrintDialogEventHandler();
            handler.PrintDialogHandled += PrintDialogHandled;
            WebBrowser.Current.DialogWatcher.Add(handler);
            //WebBrowser.Current.AddDialogHandler(handler);
        }