public UserControlPractice(UserControlButtons userControlButtons)
        {
            InitializeComponent();
            this.userControlButtons = userControlButtons;

            this.userControlButtons.button1.Click += Button1_Click;
            this.userControlButtons.button2.Click += Button2_Click;
        }
 public UserControlEdit(UserControlButtons userControlButtons)
 {
     InitializeComponent();
     this.userControlButtons = userControlButtons;
 }