1
Vad är felet?
Postat av Dustarn den 28 Maj 2011, 13:09
8 kommentarer · 145 träffar
Halloj. jag är ganska ny på detta men kan någon försöka få reda på vad felet är ?
using System;
using System.Collections.Generic;
us ing System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
class System.Windows.Forms.OpenFileD ialog.Equals ("C:\\\\Progra m Files (x86)\\\\Heroe s of Newerth\\\\hon ") ;
}
}
}
FEL : 1. Warning 1 Could not find type 'WindowsFormsApplication1 .Form1+System'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU. C:\\\\Use rs\\\\Erik\ ;\\\Documents\ \\\Visual Studio 2010\\\\Projec ts\\\\WindowsF ormsApplication2\\\ ;\WindowsFormsApplication2 \\\\Form1.Desi gner.cs 38 0
2. Error 5 Unrecognized escape sequence C:\\\\ ;Users\\\\Erik \\\\Documents& #92;\\\Visual Studio 2010\\\\Projec ts\\\\WindowsF ormsApplication2\\\ ;\WindowsFormsApplication2 \\\\Form1.cs 2 2 105 WindowsFormsApplication2
3. Error 9 Invalid token '(' in class, struct, or interface member declaration C:\\\& #92;Users\\\\E rik\\\\Documen ts\\\\Visual Studio 2010\\\\Projec ts\\\\WindowsF ormsApplication2\\\ ;\WindowsFormsApplication2 \\\\Form1.cs 2 2 62 WindowsFormsApplication2
?? :O är nawb så gnäll inte :D
using System;
using System.Collections.Generic;
us ing System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
class System.Windows.Forms.OpenFileD ialog.Equals ("C:\\\\Progra m Files (x86)\\\\Heroe s of Newerth\\\\hon ") ;
}
}
}
FEL : 1. Warning 1 Could not find type 'WindowsFormsApplication1 .Form1+System'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU. C:\\\\Use rs\\\\Erik\ ;\\\Documents\ \\\Visual Studio 2010\\\\Projec ts\\\\WindowsF ormsApplication2\\\ ;\WindowsFormsApplication2 \\\\Form1.Desi gner.cs 38 0
2. Error 5 Unrecognized escape sequence C:\\\\ ;Users\\\\Erik \\\\Documents& #92;\\\Visual Studio 2010\\\\Projec ts\\\\WindowsF ormsApplication2\\\ ;\WindowsFormsApplication2 \\\\Form1.cs 2 2 105 WindowsFormsApplication2
3. Error 9 Invalid token '(' in class, struct, or interface member declaration C:\\\& #92;Users\\\\E rik\\\\Documen ts\\\\Visual Studio 2010\\\\Projec ts\\\\WindowsF ormsApplication2\\\ ;\WindowsFormsApplication2 \\\\Form1.cs 2 2 62 WindowsFormsApplication2
?? :O är nawb så gnäll inte :D






