Click here to Skip to main content
15,917,618 members
Home / Discussions / C#
   

C#

 
QuestionCrystal Report Licence Pin
Banjo Ayorinde20-Feb-07 22:25
Banjo Ayorinde20-Feb-07 22:25 
QuestionAdding Items to combo box from a table field Pin
Banjo Ayorinde20-Feb-07 22:17
Banjo Ayorinde20-Feb-07 22:17 
AnswerRe: Adding Items to combo box from a table field Pin
Christian Graus20-Feb-07 23:09
protectorChristian Graus20-Feb-07 23:09 
AnswerRe: Adding Items to combo box from a table field Pin
Niiiissssshhhhhuuuuu20-Feb-07 23:12
Niiiissssshhhhhuuuuu20-Feb-07 23:12 
Questionhow can i send just one byte with serial port? Pin
Mir_As20-Feb-07 22:15
Mir_As20-Feb-07 22:15 
AnswerRe: how can i send just one byte with serial port? Pin
stancrm20-Feb-07 22:36
stancrm20-Feb-07 22:36 
QuestionLoading Report (Crystal Report) from my Application, after deployment. Pin
Banjo Ayorinde20-Feb-07 22:11
Banjo Ayorinde20-Feb-07 22:11 
QuestionProblem in loading form Urgent please Pin
NK720-Feb-07 20:47
NK720-Feb-07 20:47 
Hi
I have problem in loading form back and forth. In form1 if i click next button I am showing form2 and hiding the form one. But when i click the cancel button in the form2 it will ask do you wan to exit with ok and cancel button if i click ok it is exiting the current application. if i click cancel the application is still running but i could able to see any form. any one help me please.

form1 code:
```````````

btnnext_click(object sender,eventargs e)
{
form2 objform2=new form2(this);
objform2.ShowDialog();
}

btncancel_click(object sender,eventargs e)
{
if(messagebox.show("Do you want to exit","Exiting", messageboxokcancel,messageboxquestion).equals(dialogresult.ok)
system.window.form.exit();
}


form2 code:
```````````

private Form frmForm1;

public form2(Form objForm)
{
frmForm1=objForm;
}

btnnext_click(object sender,eventargs e)
{
form3 objform3=new form3(this);
objform2.ShowDialog();
}

btncancel_click(object sender,eventargs e)
{
if(messagebox.show("Do you want to exit","Exiting", messageboxokcancel,messageboxquestion).equals(dialogresult.ok)
system.window.form.exit();
}

btnback_click(object sender, eventargs e)
{
frmForm1.visible=true;
}



kesavan

AnswerRe: Problem in loading form Urgent please Pin
NK720-Feb-07 20:48
NK720-Feb-07 20:48 
AnswerRe: Problem in loading form Urgent please Pin
PandemoniumPasha20-Feb-07 22:11
PandemoniumPasha20-Feb-07 22:11 
GeneralRe: Problem in loading form Urgent please Pin
NK720-Feb-07 22:25
NK720-Feb-07 22:25 
GeneralRe: Problem in loading form Urgent please Pin
NK720-Feb-07 22:41
NK720-Feb-07 22:41 
QuestionHow to retrieve list of users from particular Active Directory Group Pin
prabhakaranns20-Feb-07 20:40
prabhakaranns20-Feb-07 20:40 
Questionproblem in web form loading Pin
EEmaan20-Feb-07 20:32
EEmaan20-Feb-07 20:32 
AnswerRe: problem in web form loading Pin
il_masacratore20-Feb-07 21:34
il_masacratore20-Feb-07 21:34 
AnswerRe: problem in web form loading Pin
K.P.Kannan20-Feb-07 22:11
K.P.Kannan20-Feb-07 22:11 
QuestionWindows File System Refresh in C# Application Pin
Sunil Jampa20-Feb-07 19:23
Sunil Jampa20-Feb-07 19:23 
AnswerRe: Windows File System Refresh in C# Application Pin
Niiiissssshhhhhuuuuu20-Feb-07 19:52
Niiiissssshhhhhuuuuu20-Feb-07 19:52 
GeneralRe: Windows File System Refresh in C# Application Pin
Niiiissssshhhhhuuuuu20-Feb-07 19:55
Niiiissssshhhhhuuuuu20-Feb-07 19:55 
GeneralRe: Windows File System Refresh in C# Application Pin
Sunil Jampa20-Feb-07 20:17
Sunil Jampa20-Feb-07 20:17 
GeneralRe: Windows File System Refresh in C# Application Pin
Niiiissssshhhhhuuuuu20-Feb-07 20:31
Niiiissssshhhhhuuuuu20-Feb-07 20:31 
QuestionPop Up Menu Pin
hiremath7120-Feb-07 19:21
hiremath7120-Feb-07 19:21 
AnswerRe: Pop Up Menu Pin
Niiiissssshhhhhuuuuu20-Feb-07 20:12
Niiiissssshhhhhuuuuu20-Feb-07 20:12 
GeneralRe: Pop Up Menu Pin
hiremath7120-Feb-07 21:52
hiremath7120-Feb-07 21:52 
GeneralRe: Pop Up Menu Pin
Niiiissssshhhhhuuuuu20-Feb-07 22:57
Niiiissssshhhhhuuuuu20-Feb-07 22:57 

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.