错误提供者 [英] Error Provider

查看:115
本文介绍了错误提供者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在使用错误提供程序控件来开发Windows应用程序.一切正常.如果我没有给出值就按下按钮,则显示错误提供程序也很好.现在,在出现错误后我需要什么,我将获得一些价值,然后将其移至下一个控件.如果先前的值不为空,则应隐藏错误提供程序;否则,应显示错误提供程序.

谁能告诉我该怎么做.

谢谢与问候,
M.Dorababu

Hi all,
I am developing an windows application in this i used error provider control. All works fine. If i hit the button with out giving values it is displaying the error provider it is also good. Now what i need after raising the error i will some value then i will move the to the next control. If the previous value is not empty it should hide the error provider if not it should display the provider.

Can any one tell how to do.

Thanks & Regards,
M.Dorababu

推荐答案

得到了所需的答案:)..... http://www.c-sharpcorner.com/UploadFile/DipalChoksi/UsingErrorProviderContolinWindowsFormsandCSharp11242005010829AM/UsingErrorProviderConalin. /UploadFile/DipalChoksi/UsingErrorProviderContolinWindowsFormsandCSharp11242005010829AM/UsingErrorProviderContolinWindowsFormsandCSharp.aspx"target =" _ blank"title =" New Window> ^ ]
Got the required answer :)....http://www.c-sharpcorner.com/UploadFile/DipalChoksi/UsingErrorProviderContolinWindowsFormsandCSharp11242005010829AM/UsingErrorProviderContolinWindowsFormsandCSharp.aspx[^]


这篇关于错误提供者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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