Thread: Windows C# with me coding...

  1. #1
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001

    Windows C# with me coding...


    I just got sent Visual Studio .NET beta 2 from ms free, and it kicks. I have learnt alot of console c# but i just tried a windows app, and saw that its all visually designed like vb.

    Is it possible for me to just right the win32 code in a .cs file then compile it with the command promt e.g csc win32.cs like i can with dos apps?

    Also i cant see to find any resources for learning windows c# can anyone reccomend anywhere?

    Thanks alot
    You Can Stop Me, But You Cant Stop Us All

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    It's all fairly simple stuff, I do it by hand. You can just click view->view code and type all thew code up there, or just type it all up in trusty notepad like me. Try this, and I think you'll get the hang of it. Any questions just ask:

    using System;
    using System.Windows.Forms;
    using System.ComponentModel;
    using System.Drawing;
    class MainForm : Form
    	public TextBox tbox = new TextBox();
    	public MainForm()
    		Button butt = new Button();
    		tbox.Location = new Point(10,10);
    		butt.Location=new Point(tbox.Left+tbox.Width+20,10);
    		butt.Size=new Size(150,24);
    		butt.Click += new System.EventHandler(this.ButtClick); 
    		Text = "Cool Stuff";
    	protected void ButtClick(object sender, System.EventArgs e) 
    		MessageBox.Show(tbox.Text,"You typed",MessageBoxButtons.OK); 
    	public static void Main()
    		Application.Run(new MainForm());

  3. #3
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Can someone please post a link to where one can dowload VS.NET beta 2? i've really got a hankering to try it out.....

  4. #4
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    I think you need a MSDN subsription to download, but you can order the CD/DVD's for the cost of p&p here

  5. #5
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    I got mine in the september issue of MSDN magazine that I picked up @ compUSA. you can always check some places and see if they have september back issues of it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Anyone using Windows 7?
    By Sharke in forum General Discussions
    Replies: 60
    Last Post: 07-12-2009, 08:05 AM
  2. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 08:14 AM
  3. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM