private void CreateReleation(string strRelation)
        {
            MyRelationControl relationControl = new MyRelationControl();

            relationControl.SetData(this.AvaliableFieldList);

            relationControl.ParentConfig = this;

            this.palFieldRelation.Controls.Add(relationControl);

            relationControl.Dock = DockStyle.Top;
        }
        private void BtnAdd_Click(object sender, System.EventArgs e)
        {
            MyRelationControl relationControl = new MyRelationControl();

            relationControl.SetData(this.AvaliableFieldList);

            relationControl.ParentConfig = this;

            this.palFieldRelation.Controls.Add(relationControl);

            relationControl.Dock = DockStyle.Top;

            relationControl.BringToFront();
        }