public bool OpenDialog(CPerson P1, CGeneaManager GeneaManager)
        {
            GeneaManager.Persons.FillComboBox(this.cboPerson1, P1.Guid);
            GeneaManager.Persons.FillComboBox(this.cboPerson2, null);
            GeneaManager.FillComboBoxWithRelation(this.cboRelation);

            if (this.ShowDialog() == DialogResult.OK)
            {
                CPerson   p1       = (CPerson)((CSLib.CObjectBoxItem)cboPerson1.SelectedItem).Value;
                CPerson   p2       = (CPerson)((CSLib.CObjectBoxItem)cboPerson2.SelectedItem).Value;
                ERelation Relation = (ERelation)((CSLib.CObjectBoxItem) this.cboRelation.SelectedItem).Value;

                p1.SetRelation(p2, Relation);

                return(true);
            }
            else
            {
                return(false);
            }
        }