public AwesomiumWPFWebWindow(WebSession iSession)
        {
            _Session = iSession;

            _WebControl = new WebControl()
            {
                WebSession = _Session,
                Visibility = Visibility.Hidden,
                HorizontalAlignment = HorizontalAlignment.Stretch,
                VerticalAlignment = VerticalAlignment.Stretch,
                ContextMenu = new ContextMenu() { Visibility = Visibility.Collapsed }
            };

            _AwesomiumHTMLWindow = new AwesomiumHTMLWindow(_Session, _WebControl);     
        }
Exemplo n.º 2
0
        public AwesomiumWPFWebWindow(WebSession iSession)
        {
            _Session = iSession;

            _WebControl = new WebControl()
            {
                WebSession          = _Session,
                Visibility          = Visibility.Hidden,
                HorizontalAlignment = HorizontalAlignment.Stretch,
                VerticalAlignment   = VerticalAlignment.Stretch,
                ContextMenu         = new ContextMenu()
                {
                    Visibility = Visibility.Collapsed
                }
            };

            _AwesomiumHTMLWindow = new AwesomiumHTMLWindow(_Session, _WebControl);
        }