创建一个Web浏览器 [英] Creating a Web Browser

查看:124
本文介绍了创建一个Web浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在C#.NET中创建一个Web浏览器.同时,我面临一些困难.目前,我正在使用窗体上的StatusStrip控件.我想显示访问网站的进度.我添加了一个toolstripProgressBar 控制到StatusStrip&已将最小"的初始值设置为0,将"Max"的初始值设置为100和.其属性值为0.

Hello Everyone, I am creating a web browser in C#.NET. In the mean time, i am facing some difficulties. Currently , i am working with a StatusStrip Control on the Form. I want to display the Progress of website visited. I have added a toolstripProgressBar control to the StatusStrip & have set the initial values of Minimum to 0 , Maximum to 100 & Value to 0 in its Properties.

但是当我加载表格&时,输入任何网站地址,进度栏将启动,运行2秒钟左右.然后以ArgumentOutOfRange异常(带有Description)停止: -1的值"不是值".值应介于最小值和最大值之间.最大."   

But when i load the Form & enter any website address then the progress bar starts , runs for about 2 seconds & then stops with an ArgumentOutOfRange Exception with Description : "Value of '-1' is not for Value. Value should be in between minimum & maximum."   

很显然,我对ProgressBar的处理存在问题.请帮帮我.

Clearly, there is something wrong with my handling of the ProgressBar. Please, help me.

此致

Chaitanya

Chaitanya

推荐答案

这是Visual Basic .NET论坛,请查看 Visual C#一般论坛.

This is a Visual Basic .NET forum, please check out Visual C# General Forum .

此外,请提供您必须提供的代码,以向我们提供必要的信息以帮助您.

In addition, please provide the code you have to provide us with the necessary information to help you.

对于您的价值问题,我们需要用于更新进度条的代码.

For your value problem, we need the code which you use to update the progressbar.

塞缪尔


这篇关于创建一个Web浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆