Beispiel #1
0
        public MarginControl(CEFHost host)
        {
            _host = host;

            InitializeComponent();

            btnClear.Click    += BtnClear_Click;
            btnDevTools.Click += BtnDevTools_Click;
            btnConsole.Click  += BtnConsole_Click;
        }
Beispiel #2
0
 // Overrides ----------------------------------------------------------------
 protected override FrameworkElement CreatePreviewControl()
 {
     _cefhost = new CEFHost();
     return(_cefhost.CreateBrowserUI());
 }