Click here to Skip to main content
15,887,341 members
Home / Discussions / C#
   

C#

 
GeneralRe: Read Excel C# windows form using OleDB Connection Pin
Zeyad Jalil13-Mar-14 2:26
professionalZeyad Jalil13-Mar-14 2:26 
GeneralRe: Read Excel C# windows form using OleDB Connection Pin
Richard MacCutchan13-Mar-14 2:44
mveRichard MacCutchan13-Mar-14 2:44 
AnswerRe: Read Excel C# windows form using OleDB Connection Pin
OriginalGriff13-Mar-14 2:59
mveOriginalGriff13-Mar-14 2:59 
GeneralRe: Read Excel C# windows form using OleDB Connection Pin
Eddy Vluggen13-Mar-14 3:59
professionalEddy Vluggen13-Mar-14 3:59 
GeneralRe: Read Excel C# windows form using OleDB Connection Pin
OriginalGriff13-Mar-14 4:51
mveOriginalGriff13-Mar-14 4:51 
QuestionCalling through modem to mobile phone Pin
Akshay41112-Mar-14 1:43
Akshay41112-Mar-14 1:43 
AnswerRe: Calling through modem to mobile phone Pin
jschell12-Mar-14 11:14
jschell12-Mar-14 11:14 
QuestionSend info from XNA-game Pin
larsp77711-Mar-14 22:47
larsp77711-Mar-14 22:47 
I have a winform and a picturebox.

In the picturebox I´m running a XNA-game.

In the winform I have:

C#
Game1 game = new Game1();

public Game1 Game
        {
            get
            {
                return game;
            }
            set
            {
                game = value;
            }
        }


In the XNA-form I try

C#
public Form1 form = new Form1();


    public Form1 Form
    {
        get
        {
            return form;
        }
        set
        {
            form = value;
        }
    }


I can via methods send info to the game using:

game.StartBoat();

where StartBoat is a method in my XNA-game.

I would like to send info to the winform also.

But I get a stackoverflow exception indicating an infinite loop. How should I do it if possible?
SuggestionRe: Send info from XNA-game Pin
Richard MacCutchan11-Mar-14 23:01
mveRichard MacCutchan11-Mar-14 23:01 
GeneralRe: Send info from XNA-game Pin
larsp77711-Mar-14 23:29
larsp77711-Mar-14 23:29 
AnswerRe: Send info from XNA-game Pin
Pete O'Hanlon11-Mar-14 23:04
mvePete O'Hanlon11-Mar-14 23:04 
GeneralRe: Send info from XNA-game Pin
larsp77711-Mar-14 23:30
larsp77711-Mar-14 23:30 
GeneralRe: Send info from XNA-game Pin
Pete O'Hanlon11-Mar-14 23:35
mvePete O'Hanlon11-Mar-14 23:35 
QuestionChart Control Pin
Subin Mavunkal11-Mar-14 21:39
Subin Mavunkal11-Mar-14 21:39 
AnswerRe: Chart Control Pin
Richard MacCutchan11-Mar-14 22:59
mveRichard MacCutchan11-Mar-14 22:59 
AnswerRe: Chart Control Pin
BillWoodruff12-Mar-14 18:29
professionalBillWoodruff12-Mar-14 18:29 
QuestionHow to display many terminal in other server software ? Pin
Ramkrishn Mishra11-Mar-14 21:15
Ramkrishn Mishra11-Mar-14 21:15 
AnswerRe: How to display many terminal in other server software ? Pin
Richard MacCutchan11-Mar-14 22:58
mveRichard MacCutchan11-Mar-14 22:58 
AnswerRe: How to display many terminal in other server software ? Pin
OriginalGriff11-Mar-14 23:28
mveOriginalGriff11-Mar-14 23:28 
QuestionCOPY ACCESS TABLE FROM ONE DATABASE TO OTHER Pin
pelitech11-Mar-14 18:47
pelitech11-Mar-14 18:47 
AnswerRe: COPY ACCESS TABLE FROM ONE DATABASE TO OTHER Pin
Chris Quinn11-Mar-14 21:57
Chris Quinn11-Mar-14 21:57 
AnswerRe: COPY ACCESS TABLE FROM ONE DATABASE TO OTHER Pin
OriginalGriff11-Mar-14 22:12
mveOriginalGriff11-Mar-14 22:12 
GeneralRe: COPY ACCESS TABLE FROM ONE DATABASE TO OTHER Pin
harold aptroot11-Mar-14 23:32
harold aptroot11-Mar-14 23:32 
QuestionC# technology Pin
Member 1066255811-Mar-14 15:17
Member 1066255811-Mar-14 15:17 
AnswerRe: C# technology Pin
Dave Kreskowiak11-Mar-14 15:39
mveDave Kreskowiak11-Mar-14 15:39 

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.