Show () and showdialog ()

xiaoxiao2021-03-06  67

Main topic: High score, mentally issue, about WinForm form pop up! Author: wanderung (I want to mix a star, you join) the reputation value: 96 belongs forum: .NET C # technical problems Points: 100 Replies: 22 Time: 2004-10-14 12:47:03 in the main window of the Form1 , The button executes the following code

FORM2 FRM1 = New Form2 ();

FRM1.SHOWDIALOG ();

Why does the dialog box display FORM2 also have it in the taskbar? ? Why don't you appear in the task bar? ?

Strange, what is the default? ?

Reply to: DIMNET (in the wind, etc.) () Reputation: 100 2004-10-14 12:48:15 Score: 0 Up Help

TOP

Reply to: Fellowcheng (a grassmin) () reputation: 100 2004-10-14 12:48:16 Score: 0 Up

TOP

Reply to: Wanderung (I want to mix a star, everyone to join) () Reputation: 96 2004-10-14 12:49:31 Score: 0 Even with Showdialog (this);

TOP

Reply to: Wanderung (I want to mix a star, you put each play) () Reputation: 96 2004-10-14 12:52:10 Score: 0 Search for a long time, there is no result! And many of the system tray area

How to be interested in TRAY! gosh

TOP

Reply to: Bearrui (I am a bit stupid, but I am very special, so I am very stupid!) () Reputation: 100 2004-10-14 12:52:46 Score: 40 Put the form2 ShowintaskBar property Set to false

TOP

Reply to: Fellowcheng (a grassmin) () reputation: 100 2004-10-14 12:52:54 Score: 30 f2.showintaskbar = false;

TOP

Reply to: happyrose (Book Sketch) () Reputation: 100 2004-10-14 12:56:33 Score: 0 ShowDialog method is a display mode form. Will definitely stop in the task. Change to show

Or like the same form2.showintaskbar = false

TOP

Reply to: Aboluoyure (Wandering Xiaobian) () Reputation: 100 2004-10-14 12:56:38 Score: 0 with f2.show

ShowDialog is just the mode of popping up the dialog box!

TOP

Reply to: WANDERUNG (I want to mix a star, you put each play) () Reputation: 96 2004-10-14 12:59:08 Score: 0 Thank you, who can explain why Microsoft is so practical, I used to use it. Net is a web form

TOP

Reply to: Bearrui (I am a little stupid, but I am very special, so I am very stupid!) () Reputation: 100 2004-10-14 13:00:46 Score: 6 Microsoft Why is this practice, what practice! ! !

TOP

Reply to: Night_elf (Storm) () Reputation: 100 2004-10-14 13:12:50 Score: 0 Everywhere!

TOP

Reply to: Kintsoon (Kintsoon) () Reputation: 100 2004-10-14 13:44:37 Score: 0 form2.showintaskbar = falsetop

Reply to: Fellowcheng (Mihamin) () Reputation: 100 2004-10-14 13:54:50 Score: 10 Respect the landlord:

May be to highlight object-oriented concepts - everything is an object

In addition, if the sub-form that is set to another form is not displayed in the taskbar

TOP

Reply to: IAMBEST (flying Eagle) () Reputation: 84 2004-10-14 14:10:06 Score: 0 Learning

TOP

Reply to: shijicatty (faint) () Reputation: 100 2004-10-14 14:53:42 Score: 0 I have learned another trick

TOP

Reply to: MYLOVLOVE (Che) Reputation: 99 2004-10-14 15:02:14 Score: 0 huh, come late

TOP

Reply to: xiaxilin (Swing to the sheep of the little wolf) () Reputation: 100 2004-10-14 15:13:26 Score: 0 Form2.Showintaskbar = FALSE

TOP

Reply to: ZC747 (Bee 2009) () Reputation: 100 2004-10-14 16:25:28 Score: 4 Showintaskbar = FALSE

The effect is okay

TOP

Reply to: ICESNOWS (lost day) () Reputation: 100 2004-10-14 16:26:39 Score: 0 Form2.Showintaskbar = false

TOP

Reply to: lxrxyz (worry-free ten years) () reputation: 100 2004-10-14 17:35:49 Score: 10 This is Microsoft's improvement, you open Word to see, open to a word document in the taskbar Show a few.

TOP

Reply to: wjcking (www.cs-aspx.net) () Reputation: 52 2004-10-14 17:44:44 Score: 0 Showintaskbar = FALSE

TOP

Reply to: Wanderung (I want to mix a star, you put each play) () Reputation: 96 2004-10-15 8:51:24 Score: 0 THX

Post

TOP

This problem has been posted, score record: Bearrui (40), Fellowcheng (30), Bearrui (6), Fellowcheng (10), ZC747 (4), LXRXYZ (10),

转载请注明原文地址:https://www.9cbs.com/read-106111.html

New Post(0)