エラーがthe modifier "private" is not valid for this item c#
発生しました。トルコ (国) 向けの学校用ノート電卓を作ろうとしています。助けてください。
動作していません:(
public partial class Form1 : Form
{
string not;
public Form1()
{
InitializeComponent();
}
private void textBox7_TextChanged(object sender, EventArgs e)
{
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
}
private void label1_Click(object sender, EventArgs e)
{
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
not = (label1.Text+label2.Text+label3.Text+label4.Text+label5.Text+label6.Text);
label7.Text = not;
}
private void ConsoleApplication2.Form1_KeyDown(object sender, KeyEventArgs e);//ERROR\\
}
}
}
}