请大家帮忙! [英] splash screen help please!

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

问题描述




我创建了一个使用SQL Server数据库的应用程序。我创建了一个

主变形,它可以撤回所有客户。这大约需要3秒。我还有

创建了一个启动画面。我使用一个模块打开启动画面,然后是
然后是主窗体。


启动画面打开,主要来自加载,但仍需要3秒钟

数据显示。我想要的是在主窗体加载时,我想显示

启动画面。


任何建议。


senthilkumar

Hi,

I have created an application which uses a SQL server database. I created a
mainform which retreives all the customers. This takes about 3sec. I have
created a splash screen too. I use a module to open the splash screen and
then the mainform.

The splash screen opens up, mainfrom load, but still it takes 3sec for the
data to show up. What i want is while the mainform loads, i want to show the
splash screen.

Any suggestions.

senthilkumar

推荐答案

Senthil,


就在form1的load子中是我能想到的处理

a闪屏的最短路径。这不是任何错误处理,

所以它永远不会只是这个消息类型样本片段中的一个。


\\\\ \\ / $
dim frm2 as form2

frm2.show

datatadapter.fill(mydataset)

frm2.close < br $>
///


我希望这有帮助吗?


Cor

" KE Senthil Kumar <柯**** @ yahoo.co.in> schreef in bericht

news:ut ************** @ TK2MSFTNGP14.phx.gbl ...
Senthil,

Just this in the load sub of form1 is the shortest way of showing a handling
a splash screen I can think about. In this is not any error handling done,
so it will never be real just a here in this message types sample snippet.

\\\
dim frm2 as form2
frm2.show
datatadapter.fill(mydataset)
frm2.close
///

I hope this helps?

Cor
"K E Senthil Kumar" <ke****@yahoo.co.in> schreef in bericht
news:ut**************@TK2MSFTNGP14.phx.gbl...

我创建了一个使用SQL Server数据库的应用程序。我创建了一个
mainform,它可以让所有客户都感到震惊。这大约需要3秒。我也创建了一个启动画面。我使用一个模块打开启动画面,然后打开主窗口。

启动画面打开,主要来自加载,但仍然需要3秒才能显示
数据。我想要的是在主要形态加载时,我想要显示
启动画面。

任何建议。

senthilkumar
Hi,

I have created an application which uses a SQL server database. I created
a
mainform which retreives all the customers. This takes about 3sec. I have
created a splash screen too. I use a module to open the splash screen and
then the mainform.

The splash screen opens up, mainfrom load, but still it takes 3sec for the
data to show up. What i want is while the mainform loads, i want to show
the
splash screen.

Any suggestions.

senthilkumar



" KE Senthil Kumar" <柯**** @ yahoo.co.in> schrieb:
"K E Senthil Kumar" <ke****@yahoo.co.in> schrieb:
启动屏幕打开,主要来自加载,但仍然需要3秒才能显示数据。我想要的是当
主窗体加载时,我想显示启动画面。
The splash screen opens up, mainfrom load, but still it
takes 3sec for the data to show up. What i want is while
the mainform loads, i want to show the splash screen.



http://groups.google.com/groups?selm...40TK2MSFTNGP09


-

Herfried K. Wagner [MVP]

< URL:http://dotnet.mvps.org/>



http://groups.google.com/groups?selm...40TK2MSFTNGP09

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


Herfried,


在此消息中写着应该是我非常不同意,有数百种其他方法可以用更少的工作给出相同的结果。

(不否认有线程形式的情况可以帮助)。


我展示的方法也适用于资源工具包中的dataaccess,格式更加宽大。
。因此,我的问题为什么你表现出如此困难的方法

应该用于通常会显示如此短的启动画面,

该ID没有给它时间来读取它上面写的内容

再次关闭。


Cor


" Herfried K. Wagner [MVP]" < hi *************** @ gmx.at>
Herfried,

In this message is written "Should be" I disagree that very much, there are
hundreds of other methods which will give the same result with less work.
(Not denying that there are situation where a threaded form can help).

The method I showed is as well for dataaccess in the resource kit in a more
extended format. Therefore my question why you show such a difficult method
that "should" be used for a splash screen that normally would show so short,
that id does not give the time to read what is written on it before it is
closes again.

Cor

"Herfried K. Wagner [MVP]" <hi***************@gmx.at>
" K E Senthil Kumar" <柯**** @ yahoo.co.in> schrieb:
"K E Senthil Kumar" <ke****@yahoo.co.in> schrieb:
启动屏幕打开,主要来自加载,但仍然需要3秒才能显示数据。我想要的是当
主窗体加载时,我想显示启动画面。
The splash screen opens up, mainfrom load, but still it
takes 3sec for the data to show up. What i want is while
the mainform loads, i want to show the splash screen.



http://groups.google.com/groups?selm...40TK2MSFTNGP09

- -
Herfried K. Wagner [MVP]
< URL:http://dotnet.mvps.org/>



http://groups.google.com/groups?selm...40TK2MSFTNGP09

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>



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

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