Click here to Skip to main content
15,912,977 members
Home / Discussions / C#
   

C#

 
Question.Net 2.0 remoting security question Pin
Gizz17-Jul-07 0:15
Gizz17-Jul-07 0:15 
AnswerRe: .Net 2.0 remoting security question Pin
Gizz17-Jul-07 3:16
Gizz17-Jul-07 3:16 
QuestionReLoad Form Problem Pin
monafr8117-Jul-07 0:14
monafr8117-Jul-07 0:14 
AnswerRe: ReLoad Form Problem Pin
Luc Pattyn17-Jul-07 0:27
sitebuilderLuc Pattyn17-Jul-07 0:27 
GeneralRe: ReLoad Form Problem Pin
monafr8117-Jul-07 1:14
monafr8117-Jul-07 1:14 
GeneralRe: ReLoad Form Problem Pin
Luc Pattyn17-Jul-07 1:25
sitebuilderLuc Pattyn17-Jul-07 1:25 
GeneralRe: ReLoad Form Problem Pin
monafr8117-Jul-07 1:50
monafr8117-Jul-07 1:50 
GeneralRe: ReLoad Form Problem Pin
Luc Pattyn17-Jul-07 1:53
sitebuilderLuc Pattyn17-Jul-07 1:53 
Adding to my previous reply:
you may find it difficult to organize the looping in a single form; the natural solution
is to have two form classes, the main one organizing the looping (and maybe showing highest
scores, or whatever), the second one representing a single game.

So now the app would:

create and show a main form,
then loop over the following steps {
create a game form,
show it (maybe as a dialog) (and maybe you want to temporarily hide the main form)
let the game run,
when the game is done, make mainform visible again (if hidden), and close the game form
}

As I said before you could reuse the game form (by hiding, not closing it), but I
see no real advantage here, since now you must reinitialize the game form explicitly
for consecutive runs of the game.

Smile | :)





GeneralRe: ReLoad Form Problem Pin
monafr8117-Jul-07 2:06
monafr8117-Jul-07 2:06 
GeneralRe: ReLoad Form Problem Pin
Luc Pattyn17-Jul-07 2:09
sitebuilderLuc Pattyn17-Jul-07 2:09 
AnswerRe: ReLoad Form Problem Pin
Nisar Inamdar17-Jul-07 0:27
Nisar Inamdar17-Jul-07 0:27 
GeneralRe: ReLoad Form Problem Pin
monafr8117-Jul-07 1:07
monafr8117-Jul-07 1:07 
GeneralRe: ReLoad Form Problem Pin
PhilDanger17-Jul-07 4:55
PhilDanger17-Jul-07 4:55 
GeneralRe: ReLoad Form Problem Pin
Martin#17-Jul-07 20:08
Martin#17-Jul-07 20:08 
QuestionPassing a String Array in a Dictionary to a WCF service Pin
Projjal17-Jul-07 0:10
Projjal17-Jul-07 0:10 
AnswerRe: Passing a String Array in a Dictionary to a WCF service Pin
Eduard Keilholz17-Jul-07 0:57
Eduard Keilholz17-Jul-07 0:57 
Questiona question about using sn.exe - private key Pin
mhp13017-Jul-07 0:09
mhp13017-Jul-07 0:09 
AnswerRe: a question about using sn.exe - private key Pin
Mike Dimmick17-Jul-07 1:16
Mike Dimmick17-Jul-07 1:16 
Questiontwo commands are possible Pin
srinivassam16-Jul-07 23:52
srinivassam16-Jul-07 23:52 
AnswerRe: two commands are possible Pin
Nisar Inamdar16-Jul-07 23:59
Nisar Inamdar16-Jul-07 23:59 
AnswerRe: two commands are possible Pin
Mike Dimmick17-Jul-07 2:21
Mike Dimmick17-Jul-07 2:21 
QuestionRDLC Pin
manoj_ce16-Jul-07 23:37
manoj_ce16-Jul-07 23:37 
QuestionBest practice for ADO.NET and C# Pin
matbuk16-Jul-07 23:08
matbuk16-Jul-07 23:08 
AnswerRe: Best practice for ADO.NET and C# Pin
Colin Angus Mackay16-Jul-07 23:17
Colin Angus Mackay16-Jul-07 23:17 
GeneralRe: Best practice for ADO.NET and C# Pin
matbuk16-Jul-07 23:33
matbuk16-Jul-07 23:33 

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.