View Single Post
  #5 (permalink)  
Old 08-07-2007, 12:33 AM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
PT Admin
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,118
iTrader: (0)
HelloWorld is a jewel in the roughHelloWorld is a jewel in the roughHelloWorld is a jewel in the rough
LOL, this is really dumb.. I had to do this to get the GUI works

PHP Code:
using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace DChat
{
    static class 
Program
    
{
        
/// <summary>
        /// The main entry point for the application.
        /// </summary>
        
[STAThread]
        static 
void Main()
        {
            
Application.EnableVisualStyles();
            
Application.SetCompatibleTextRenderingDefault(false);
            
Application.Run(new Form1());
        }
    }

I guess I deleted the Program.cs lol...

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote