关于vb.net的概念 [英] concepts about vb.net

查看:71
本文介绍了关于vb.net的概念的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用vb.net实现进度条

how to implement progress bar using vb.net

推荐答案

具体如何实现它取决于许多因素:环境,你在做什么,你是怎么做的正在做这件事等等。



谷歌是你的朋友:使用vb.net的进度条 [ ^ ]



从您的问题复制的简单查询提供了超过300,000次点击。



将来,请尝试自己做至少基础研究,不要浪费你的时间或我们。
Exactly how to implement it depends on a number of factors: environment, what you are doing, how you are doing it and so forth.

Google is your friend here: progress bar using vb.net[^]

A simple query copied from your question gave over 300,000 hits.

In future, please try to do at least basic research yourself and not waste your time or ours.


例如,参见如何在Stack Overflow执行大SQLCommand VB.Net时显示进度条[ ^ ]。


这段代码可以帮到你



1.点击按钮evevnt



2.写代码如



this code may be helps you

1. click button evevnt

2. write code like

Timer1.Enabled = True





3.计时器点击事件中的代码





3.write code in timer click event

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
       ProgressBar1.Value = ProgressBar1.Value + 5
       If ProgressBar1.Value = 100 Then
           Timer1.Enabled = False
       End If
   End Sub







谢谢




Thanks


这篇关于关于vb.net的概念的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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