Example #1
0
        public Browser()
        {
            InitializeComponent();
            _onBrowserRender = AutofacManage.GetService <OnBrowserRender>();
            _onTipRender     = AutofacManage.GetService <OnTipRender>();

            _onBrowserRender.RenderInit(this);
            clientBrowser.Navigating += WebBrowserMain_Navigating;
        }
Example #2
0
        public PageBrowser()
        {
            InitializeComponent();
            _onBrowserRender = AutofacManage.GetService <OnBrowserRender>();
            _onTipRender     = AutofacManage.GetService <OnTipRender>();
            //_onTipRender.ExecuteTip(this.BodyPanel, "任务完成奖励10元");

            _onBrowserRender.RenderInit(this);
            clientBrowser.Navigating += WebBrowserMain_Navigating;
        }