Click here to Skip to main content
16,004,782 members
Home / Discussions / C#
   

C#

 
QuestionWindows Form control property issue Pin
venomation20-Jun-11 9:25
venomation20-Jun-11 9:25 
AnswerRe: Windows Form control property issue Pin
Dave Kreskowiak20-Jun-11 11:29
mveDave Kreskowiak20-Jun-11 11:29 
GeneralRe: Windows Form control property issue Pin
venomation21-Jun-11 6:00
venomation21-Jun-11 6:00 
GeneralRe: Windows Form control property issue Pin
mahendren29-Jun-11 2:15
mahendren29-Jun-11 2:15 
QuestionMonthCalendar Usage Pin
dipuks20-Jun-11 6:19
dipuks20-Jun-11 6:19 
AnswerRe: MonthCalendar Usage Pin
PanchoM20-Jun-11 7:10
PanchoM20-Jun-11 7:10 
SuggestionRe: MonthCalendar Usage Pin
theanil20-Jun-11 7:20
theanil20-Jun-11 7:20 
QuestionSplashscreen with taskbar icon Pin
lukeer20-Jun-11 3:57
lukeer20-Jun-11 3:57 
Hello Experts,

an application creates an instance of Form1 on startup. During Form1_Load(), an instance of Form2 is created and shown:
private void Form1_Load(object sender, EventArgs e)
{
    Form2 form2 = new Form2();
    DialogResult dialogResult = form2.ShowDialog(this);
    if (dialogResult == DialogResult.Cancel)
    {
        this.Close();
        return;
    }
}
While user sits in front of his notebook and thinks about pressing "OK" or "Cancel" (both are buttons on form2), there is no icon for Form1 in the taskbar. Neither is there for Form2.

I suppose that Form1's icon is not there because Form1 initialization is not complete at the time form2 is displayed. And Form2 doesn't show an icon since it's modal and leaves taskbar icons to parent. Right?

I'd like to have one icon in the taskbar. Two would be acceptable. How could I achive this?

Ciao,


luker

AnswerRe: Splashscreen with taskbar icon Pin
Pete O'Hanlon20-Jun-11 4:19
mvePete O'Hanlon20-Jun-11 4:19 
GeneralRe: Splashscreen with taskbar icon Pin
lukeer20-Jun-11 22:39
lukeer20-Jun-11 22:39 
GeneralRe: Splashscreen with taskbar icon Pin
BobJanova20-Jun-11 22:58
BobJanova20-Jun-11 22:58 
QuestionProject Deployment Pin
sarang_k20-Jun-11 1:55
sarang_k20-Jun-11 1:55 
AnswerRe: Project Deployment Pin
Pete O'Hanlon20-Jun-11 2:15
mvePete O'Hanlon20-Jun-11 2:15 
QuestionQuestion For Road Finding Software from an Image Pin
Anubhava Dimri20-Jun-11 0:18
Anubhava Dimri20-Jun-11 0:18 
AnswerRe: Question For Road Finding Software from an Image Pin
Pete O'Hanlon20-Jun-11 1:00
mvePete O'Hanlon20-Jun-11 1:00 
AnswerRe: Question For Road Finding Software from an Image Pin
Member 79570022-Jun-11 4:34
Member 79570022-Jun-11 4:34 
QuestionHow to record any activity in a form to a movie Pin
yvesc9119-Jun-11 22:38
yvesc9119-Jun-11 22:38 
AnswerRe: How to record any activity in a form to a movie Pin
Blue_Boy19-Jun-11 23:35
Blue_Boy19-Jun-11 23:35 
AnswerRe: How to record any activity in a form to a movie Pin
yvesc9120-Jun-11 0:21
yvesc9120-Jun-11 0:21 
GeneralRe: How to record any activity in a form to a movie Pin
Blue_Boy20-Jun-11 4:52
Blue_Boy20-Jun-11 4:52 
AnswerRe: How to record any activity in a form to a movie Pin
yvesc9120-Jun-11 4:54
yvesc9120-Jun-11 4:54 
GeneralRe: How to record any activity in a form to a movie Pin
Blue_Boy20-Jun-11 5:01
Blue_Boy20-Jun-11 5:01 
AnswerRe: How to record any activity in a form to a movie Pin
yvesc9120-Jun-11 19:56
yvesc9120-Jun-11 19:56 
AnswerRe: How to record any activity in a form to a movie Pin
Vladimir Kniazkov20-Jun-11 20:51
professionalVladimir Kniazkov20-Jun-11 20:51 
GeneralRe: How to record any activity in a form to a movie Pin
yvesc9120-Jun-11 21:24
yvesc9120-Jun-11 21:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.