Click here to Skip to main content
15,899,314 members
Home / Discussions / C#
   

C#

 
GeneralRe: display word file on form Pin
Guillermo Rivero11-Dec-03 4:22
Guillermo Rivero11-Dec-03 4:22 
GeneralRe: display word file on form Pin
Guillermo Rivero11-Dec-03 4:28
Guillermo Rivero11-Dec-03 4:28 
GeneralRe: display word file on form Pin
hazzem elrefai12-Dec-03 10:29
hazzem elrefai12-Dec-03 10:29 
GeneralRe: display word file on form Pin
hazzem elrefai12-Dec-03 13:57
hazzem elrefai12-Dec-03 13:57 
GeneralRe: display word file on form Pin
Guillermo Rivero13-Dec-03 11:22
Guillermo Rivero13-Dec-03 11:22 
GeneralRe: display word file on form Pin
hazzem elrefai13-Dec-03 12:55
hazzem elrefai13-Dec-03 12:55 
Generalnamespace curiosity Pin
Member 76049710-Dec-03 21:39
Member 76049710-Dec-03 21:39 
GeneralRe: namespace curiosity Pin
Heath Stewart11-Dec-03 3:27
protectorHeath Stewart11-Dec-03 3:27 
You definitely should read the C# language specification in the .NET Framework SDK documentation, and should at the very least take a look at some examples. It's important to understand what is in the .NET class library, but it's even more important to know the language you'll be programming in! By far!

What you're looking for is:
using System.Windows.Forms; // Notice the ;
public class MainForm : Form
{
  // ...
}
Like most languages, C# statements most often end with a semi-colon (;) and use curly brackets for blocks.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
General"database wizard" Pin
brain2cpu10-Dec-03 21:39
professionalbrain2cpu10-Dec-03 21:39 
GeneralRe: "database wizard" Pin
Heath Stewart11-Dec-03 3:24
protectorHeath Stewart11-Dec-03 3:24 
Generalopen forms in virtual display Pin
Günther Meusburger10-Dec-03 20:25
Günther Meusburger10-Dec-03 20:25 
General:: problem in use UPDATE statement :: Pin
Nazila Naderi10-Dec-03 16:08
Nazila Naderi10-Dec-03 16:08 
GeneralRe: :: problem in use UPDATE statement :: Pin
Heath Stewart11-Dec-03 3:10
protectorHeath Stewart11-Dec-03 3:10 
GeneralRe: :: problem in use UPDATE statement :: Pin
KevinMac11-Dec-03 10:20
KevinMac11-Dec-03 10:20 
GeneralPerl has made me soft. Pin
ambulopod10-Dec-03 14:25
ambulopod10-Dec-03 14:25 
GeneralRe: Perl has made me soft. Pin
Christian Graus10-Dec-03 15:07
protectorChristian Graus10-Dec-03 15:07 
GeneralRe: Perl has made me soft. Pin
ambulopod10-Dec-03 15:15
ambulopod10-Dec-03 15:15 
GeneralRe: Perl has made me soft. Pin
Christian Graus10-Dec-03 15:17
protectorChristian Graus10-Dec-03 15:17 
GeneralRe: Perl has made me soft. Pin
ambulopod10-Dec-03 15:20
ambulopod10-Dec-03 15:20 
GeneralRe: Perl has made me soft. Pin
Hovel10-Dec-03 22:30
Hovel10-Dec-03 22:30 
GeneralNetworking Question Pin
Spiros10-Dec-03 12:17
Spiros10-Dec-03 12:17 
GeneralOne More Detail Pin
Spiros10-Dec-03 12:32
Spiros10-Dec-03 12:32 
GeneralRe: Networking Question Pin
Heath Stewart10-Dec-03 12:37
protectorHeath Stewart10-Dec-03 12:37 
GeneralRe: Networking Question Pin
Spiros10-Dec-03 12:44
Spiros10-Dec-03 12:44 
GeneralRe: Networking Question Pin
Heath Stewart10-Dec-03 13:02
protectorHeath Stewart10-Dec-03 13:02 

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.