Hi, thanks for the reply.

what is "factional"?
functional.

The errors are:

1) } expected ... but I cannot see a missing }

2) Expected class, delegate, enum, interface, or struc

3) Type or namespace definition, or end-of-file expected


Below is the coding:

Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace aa
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void radioButton1_CheckedChanged(object sender, EventArgs e)
        {
            private void button1_Click(object sender, EventArgs e)
           {
             label1.Text = "Left";
             label2.Text = "Label2";
           }
        }

        private void radioButton2_CheckedChanged(object sender, EventArgs e)
        {
           private void button2_Click(object sender, EventArgs e)
           {
             label2.Text = "Right";
             label1.Text = "Label1";
           }
        }


    }
}
The aim of this program is to ignore buttom2 when radiobutton1 is ticked and ignore buttom1 when radiobutton2 is true.

Thanks in advance.