C # does not write lines:
this.button1.Click += new System.EventHandler(this.button1_Click); this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
in Form1.designer.cs. It is necessary to record manually.