
November 21st, 2000, 04:36 PM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 23
|
|
|
<i><b>Originally posted by : Mahesh Pawar (mpawar@netzero.net)</b></i><br />Provided VB.NET Beta installed on your system, you can run this sample.<br /><br />HelloWorldWin.cs<br />===================<br />namespace HelloWorldWin {<br /> using System;<br /> using System.WinForms;<br /> public class HelloWorldWin : System.WinForms.Form {<br /> public HelloWorldWin() {<br /> this.Text = "HelloWorldWin Sample";<br /> }<br /> public static void Main(string[] args) {<br /> Application.Run(new HelloWorldWin());<br /> }<br /> }<br />}<br /><br />Compile the file as:<br />csc /R:System.DLL /R:System.WinForms.DLL /R:System.Drawing.DLL /R:Microsoft.Win32.InterOp.DLL /out:%HelloWorldWin.exe HelloWorldWin.cs<br /><br />This will just display a window.<br /><br />Mahesh<br />------------<br />MIKE CHECHELNIK at 10/5/2000 3:36:50 PM<br /><br /><br />How can I start compiling and running Win Forms examples published in the section WinForms from the command line using csc ... / or I have to go to another place like WinForm designer?<br />PS:this is question regarding microsoft.NET
|