Click here to Skip to main content
14,699,668 members
Home » Discussions » C#
   

C#

 
QuestionIs it possible to save DataGridView contents to a file with a specific suffix which can be loaded just by my own application? Pin
Alex Dunlop28-Oct-20 9:09
MemberAlex Dunlop28-Oct-20 9:09 
AnswerRe: Is it possible to save DataGridView contents to a file with a specific suffix which can be loaded just by my own application? Pin
Dave Kreskowiak28-Oct-20 10:21
mveDave Kreskowiak28-Oct-20 10:21 
AnswerRe: Is it possible to save DataGridView contents to a file with a specific suffix which can be loaded just by my own application? Pin
OriginalGriff28-Oct-20 10:27
mveOriginalGriff28-Oct-20 10:27 
AnswerRe: Is it possible to save DataGridView contents to a file with a specific suffix which can be loaded just by my own application? Pin
Gerry Schmitz28-Oct-20 19:31
mveGerry Schmitz28-Oct-20 19:31 
QuestionMouse enter to new form Pin
Member 1497767228-Oct-20 6:01
MemberMember 1497767228-Oct-20 6:01 
AnswerRe: Mouse enter to new form Pin
Richard MacCutchan28-Oct-20 6:44
mveRichard MacCutchan28-Oct-20 6:44 
GeneralRe: Mouse enter to new form Pin
Member 1497767228-Oct-20 6:46
MemberMember 1497767228-Oct-20 6:46 
GeneralRe: Mouse enter to new form Pin
OriginalGriff28-Oct-20 6:57
mveOriginalGriff28-Oct-20 6:57 
Don't close Form1 - that's likely to be your "startup form" and when that closes your application will automatically be terminated. Your players may get annoyed if they get to the end of a level and the app shuts down ... Laugh | :laugh:

Instead of that, consider "reusing" the original form: just clear out the existing maze and draw in your new one - it's the same process you did in the first place to "fill in" your Form1 when the app started, or should be, just with different maze data. You are loading your maze data from a file, I assume?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

QuestionC# win forms .net core, user control, array on a dialog. Pin
jkirkerx27-Oct-20 14:43
professionaljkirkerx27-Oct-20 14:43 
AnswerRe: C# win forms .net core, user control, array on a dialog. Pin
Gerry Schmitz27-Oct-20 20:20
mveGerry Schmitz27-Oct-20 20:20 
AnswerRe: C# win forms .net core, user control, array on a dialog. Pin
BillWoodruff28-Oct-20 0:05
mveBillWoodruff28-Oct-20 0:05 
GeneralMessage Closed Pin
28-Oct-20 0:44
MemberMember 1332584628-Oct-20 0:44 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
OriginalGriff28-Oct-20 1:03
mveOriginalGriff28-Oct-20 1:03 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
jkirkerx28-Oct-20 5:32
professionaljkirkerx28-Oct-20 5:32 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
OriginalGriff28-Oct-20 5:40
mveOriginalGriff28-Oct-20 5:40 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
jkirkerx28-Oct-20 5:49
professionaljkirkerx28-Oct-20 5:49 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
OriginalGriff28-Oct-20 6:20
mveOriginalGriff28-Oct-20 6:20 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
jkirkerx28-Oct-20 7:19
professionaljkirkerx28-Oct-20 7:19 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
OriginalGriff28-Oct-20 7:35
mveOriginalGriff28-Oct-20 7:35 
AnswerI think I have it now Pin
jkirkerx28-Oct-20 6:16
professionaljkirkerx28-Oct-20 6:16 
QuestionLinq To SQL - Join To Latest Record Pin
Kevin Marois27-Oct-20 13:27
professionalKevin Marois27-Oct-20 13:27 
AnswerRe: Linq To SQL - Join To Latest Record Pin
pkfox27-Oct-20 23:15
professionalpkfox27-Oct-20 23:15 
QuestionTemporal Nulls in C# Pin
RandyBuchholz27-Oct-20 4:18
MemberRandyBuchholz27-Oct-20 4:18 
AnswerRe: Temporal Nulls in C# Pin
Gerry Schmitz27-Oct-20 5:26
mveGerry Schmitz27-Oct-20 5:26 
AnswerRe: Temporal Nulls in C# Pin
Pete O'Hanlon27-Oct-20 10:55
subeditorPete O'Hanlon27-Oct-20 10:55 

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.