Also das mit dem enster stimmt das hab ic hvergessen wenn ich ein Programm erstelle ohne noch was dazuzuschreiben dann öffnet sich einfach ein fenster ohne was drinnen...
Also so sieht der Quelltext aus wenn ich meinen code noch drunter schreibe und "Class Hello World" unterkringelt er als falsch beim debuggen
/*
* Created by SharpDevelop.
* User: Raoul
* Date: 19.05.2004
* Time: 16:34
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Windows.Forms;
namespace DefaultNamespace
{
/// <summary>
/// Description of MainForm.
/// </summary>
public class MainForm : System.Windows.Forms.Form
{
public MainForm()
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
//
// TODO: Add constructor code after the InitializeComponent() call.
//
}
[STAThread]
public static void Main(string[] args)
{
Application.Run(new MainForm());
}
#region Windows Forms Designer generated code
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(292, 266);
this.Text = "MainForm";
this.Name = "MainForm";
}
#endregion
}
}
Class Hello World
Sub Main()
Console.Writeline("Hello World")
End Sub
End Class
Es ist einfach kompliziert...