启动隐藏的winform [英] Startup a winform hidden

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

问题描述

您好,

我有一个小应用程序,它会将一些文件复制到服务器进行备份,因为当用户退出Windows时,很快就会有b $ b。

我希望这个表单隐藏启动,所以对于用户来说它是不可见的并且

他/她不能关闭它。

我该怎么办?


thanx,

艾莉森

解决方案

你好艾莉森,


为什么不做它的窗户服务


Marwan Tarek
http://www.sharepointblogs.com/marwantarek/

你好,

我有一个小应用程序,它将一些文件复制到服务器进行备份,
尽快
用户退出Windows。
我希望这个表单隐藏启动,所以对于用户来说它是不可见的

他/她不能关闭它。
我该怎么做?
thanx,
Alis on



如果你把表单放在它自己的Thread中并用.Show

函数启动这个Thread。 ..这样做的一种方式...


顺便说一句:有没有人知道如何在自己的线程中显示一个表格,但是可以看到它可以看到
。当我这样做时,它不会给我一个错误,但表格不会显示

up ...


Josef


" Alison Givens" <在** @ cross-it.nl> schrieb im Newsbeitrag

新闻:uH ************* @ TK2MSFTNGP10.phx.gbl ...

你好,
我有一个小应用程序,它将一些文件复制到服务器进行备份,就像用户退出Windows一样。
我希望这个表单启动隐藏,所以对于用户来说是不可见的并且
他/她不能关闭它。
我该怎么做?

感谢,
Alison


我该怎么做?

请给我一个代码示例。



Josef Brunner <乔** @ newsgroups.nospam>在消息中写道

新闻:eZ ************* @tk2msftngp13.phx.gbl ...

如果你把表格放入它是自己的Thread并用
.Show函数启动这个Thread ...这样做的一种方法......

顺便说一句:有没有人知道如何在其中显示一个表单自己的线程,但让它可见。当我这样做时,它不会给我一个错误,但表格不会显示
了......

Josef

Alison Givens ; <在** @ cross-it.nl> schrieb im Newsbeitrag
新闻:uH ************* @ TK2MSFTNGP10.phx.gbl ...

你好,
我有一个小应用程序,它将一些文件复制到服务器进行备份,就像用户退出Windows一样。
我希望这个表单隐藏启动,所以对于用户来说它是不可见的
他/她不能关闭它。
我该怎么做?

感谢,
Alison



Hi there,

I have a small app, that copies some files to the server for backup, as soon
as the user exits Windows.
I want this form to startup hidden, so for the user it is not visible and
he/she can''t close it.
How do I do this?

thanx,
Alison

解决方案

Hello Alison,

why don''t make it a windows service

Marwan Tarek
http://www.sharepointblogs.com/marwantarek/

Hi there,

I have a small app, that copies some files to the server for backup,
as soon
as the user exits Windows.
I want this form to startup hidden, so for the user it is not visible
and
he/she can''t close it.
How do I do this?
thanx,
Alison



If you put the form in it''s own Thread and start this Thread with the .Show
function...one way to do it...

Btw: does anyone know how to show a Form in its own Thread but make it
visible. When I do this it won''t give me an error but the form won''t show
up...

Josef

"Alison Givens" <in**@cross-it.nl> schrieb im Newsbeitrag
news:uH*************@TK2MSFTNGP10.phx.gbl...

Hi there,

I have a small app, that copies some files to the server for backup, as
soon as the user exits Windows.
I want this form to startup hidden, so for the user it is not visible and
he/she can''t close it.
How do I do this?

thanx,
Alison



How do I do that?
Please give me a code example.


"Josef Brunner" <jo**@newsgroups.nospam> wrote in message
news:eZ*************@tk2msftngp13.phx.gbl...

If you put the form in it''s own Thread and start this Thread with the
.Show function...one way to do it...

Btw: does anyone know how to show a Form in its own Thread but make it
visible. When I do this it won''t give me an error but the form won''t show
up...

Josef

"Alison Givens" <in**@cross-it.nl> schrieb im Newsbeitrag
news:uH*************@TK2MSFTNGP10.phx.gbl...

Hi there,

I have a small app, that copies some files to the server for backup, as
soon as the user exits Windows.
I want this form to startup hidden, so for the user it is not visible and
he/she can''t close it.
How do I do this?

thanx,
Alison




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

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