English 中文(简体)
WinForms: 看看看看看看看看看看处理方法是否容易。
原标题:WinForms: Looking for an easy way to pop up a Processing.. panel

我有温森林申请,在某个时候,会作一些计算,得出两秒。 在此期间,我解除了控制。 此外,我还要表示,这种障碍越发明显。

我试图将一个小组排在表上,以便这样做,但我 there不能够给它增加任何案文。 I.e. The Labels and ValueBoxes I. , that there are somehow not show or after the Panel.

任何建议,我如何能够以迅速和容易的方式做到这一点? 。 我指的是,不重新设计整个表格。

最佳回答

你在补充小组中未显示的情况是,所有事情都在同一个read子里发生,但你的计算正阻碍一切出现,因为它们正在read。 你们应研究如何利用背景工作者,这是温森林的工具之一。 你们应当把进行计算的职能放在背景工作者的多工作方法中,然后,在计算过程中,形式本身能够继续发挥作用。

。 实例

问题回答

在加工过程中,创建糖尿病盒(窗口表),然后,一旦完成处理工作,你就可以关闭迪亚洛盒。

通过使用“Dialog”盒而不是“电文箱”,在你处理时,你仍然能够控制关闭窗户。

You could create a simple UserControl with just a Label and an ImageBox, maybe with public setter for their values. You can add it to your form setting its Visible property to false. Then you can make it visible during your calculations and go back top invisible in the end.





相关问题
Bring window to foreground after Mutex fails

I was wondering if someone can tell me what would be the best way to bring my application to the foreground if a mutex was not able to be created for a new instance. E.g.: Application X is running ...

How to start WinForm app minimized to tray?

I ve successfully created an app that minimizes to the tray using a NotifyIcon. When the form is manually closed it is successfully hidden from the desktop, taskbar, and alt-tab. The problem occurs ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

Handle DataTable.DataRow cell change event

I have a DataTable that has several DataColumns and DataRow. Now i would like to handle an event when cell of this DataRow is changed. How to do this in c#?

Apparent Memory Leak in DataGridView

How do you force a DataGridView to release its reference to a bound DataSet? We have a rather large dataset being displayed in a DataGridView and noticed that resources were not being freed after the ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

WPF-XAML window in Winforms Application

I have a Winforms application coded in VS C# 2008 and want to insert a WPF window into the window pane of Winforms application. Could you explain me how this is done.

热门标签