表格不响应 [英] forms do not repond

查看:67
本文介绍了表格不响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用标准代码来显示表单。


dim msgForm = New Form1()

msgForm.Show()

虽然它确实显示了表格,但它只是一个空白的白色背景

当我拿着鼠标时它变成了''沙漏''我点击了

鼠标就可以了,表格就停止响应。


是我缺少的东西。我知道这是非常基本的。

irfan

I am trying to use the standard code for showing the form.

dim msgForm = New Form1()
msgForm.Show()
although it does show the form, but it is a just a blank white background
and when i take the mouse their it changes to an ''hour glass'' i click the
mouse on it and the form just stops to repond.

Is their anything i am missing. I know it is very basic.
irfan

推荐答案

听起来你的无限循环Form_Load例程。


发布代码。


-

--- Nick Malik [微软]

MCSD,CFPS,认证Scrummaster
http:// blogs .msdn.com / nickmalik


免责声明:本论坛中表达的观点是我自己的,而不是我雇主的b $ b代表。 />
我不代表我的雇主回答问题。我只是一个帮助程序员的
程序员。

-

" Irfan Mumtaz" < SP **** @ spam.net>在消息中写道

新闻:FC ********************************** @ microsof t.com ...
sounds like you have an infinite loop in your Form_Load routine.

Post the code.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I''m just a
programmer helping programmers.
--
"Irfan Mumtaz" <sp****@spam.net> wrote in message
news:FC**********************************@microsof t.com...
我正在尝试使用标准代码来显示表单。

dim msgForm = New Form1()
msgForm.Show( )虽然它确实显示了表格,但它只是一个空白的白色背景
当我拿它的鼠标时它变成了''沙漏''我点击了
鼠标在它上面,表格停止响应。

他们缺少什么。我知道这是非常基本的。
irfan
I am trying to use the standard code for showing the form.

dim msgForm = New Form1()
msgForm.Show()
although it does show the form, but it is a just a blank white background
and when i take the mouse their it changes to an ''hour glass'' i click the
mouse on it and the form just stops to repond.

Is their anything i am missing. I know it is very basic.
irfan






你类型:
Hi,

you type:
dim msgForm = New Form1()
msgForm.Show()


试试:

dim msgForm AS New Form1()

msgForm.Show()


hth Peter


" Irfan Mumtaz" < SP **** @ spam.net> schreef in bericht

新闻:FC ********************************** @ microsof t.com ...我正在尝试使用标准代码来显示表单。

dim msgForm =新Form1()
msgForm.Show()
虽然它确实如此显示表格,但它只是一个空白的白色背景
当我拿它的鼠标时它变成''沙漏''我点击它上面的鼠标,表格就停止了repond。

他们缺少什么。我知道这是非常基本的。
irfan
dim msgForm = New Form1()
msgForm.Show()
try:
dim msgForm AS New Form1()
msgForm.Show()

hth Peter

"Irfan Mumtaz" <sp****@spam.net> schreef in bericht
news:FC**********************************@microsof t.com... I am trying to use the standard code for showing the form.

dim msgForm = New Form1()
msgForm.Show()
although it does show the form, but it is a just a blank white background
and when i take the mouse their it changes to an ''hour glass'' i click the
mouse on it and the form just stops to repond.

Is their anything i am missing. I know it is very basic.
irfan



Irfan,


什么时候你已经使用VB.Net或一个版本的Visual

Studio Net创建了你的应用程序,而不是你不必做任何事情来展示你的主要表格。


在VBNet中是一个内置程序,显示了这个。


我认为这可能是你的问题。


因此删除那些两行尝试,当它没有去告诉我们。


我希望这有帮助


Cor
Irfan,

When you have created your application using VB.Net or a version of Visual
Studio Net, than you don''t have to do anything to show your main form.

In VBNet is a build in procedure that shows that.

I think that is your probably your problem.

Therefore remove those two rows try and when it does not go tell us.

I hope this helps

Cor


这篇关于表格不响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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