15,897,187 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Liam S. Crouch (Top 11 by date)
Liam S. Crouch
19-Nov-12 4:52am
View
glNormal3f()glTexCoord() glVertex3f();
Liam S. Crouch
3-Apr-12 12:30pm
View
Thats not fun
Liam S. Crouch
3-Apr-12 7:12am
View
This is C# -.-
Liam S. Crouch
3-Apr-12 7:12am
View
Because i need it some times. I just want it dead while i dont need it
Liam S. Crouch
3-Apr-12 7:11am
View
For my own use, but i may make a version to be shared on my website if i have time for a nice GUI.
Liam S. Crouch
18-Feb-12 0:42am
View
What do you mean?
Liam S. Crouch
24-Jan-12 1:22am
View
When i do that, the cubes run around in spiral. I'l update the post with src
Liam S. Crouch
21-Dec-11 15:06pm
View
I fixed it, thanks for thew help!
Liam S. Crouch
21-Dec-11 13:01pm
View
Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System;
using System.Threading;
namespace Tg12
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
button1.Text = "Start!";
}
private void button1_Click(object sender, EventArgs e)
{
Game1 ogame = new Game1();
Thread theThread = new Thread(new ThreadStart(StartGame()));
}
public void StartGame()
{
Game1 game = new Game1();
game.Run();
}
}
}
Program.cs
using System;
namespace Tg12
{
#if WINDOWS || XBOX
static class Program
{
///
/// The main entry point for the application.
///
static void Main(string[] args)
{
Form1 form = new Form1();
form.ShowDialog();
}
}
#endif
}
Liam S. Crouch
21-Dec-11 13:00pm
View
Deleted
Updated the code
Liam S. Crouch
21-Dec-11 11:56am
View
I get
The best overloaded method match for 'System.Threading.Thread.Thread(System.Threading.ParameterizedThreadStart)' has some invalid arguments
and Cannot convert from 'void' to 'System.Threadind.parameterizedThreadStart'
Show More