示例#1
0
        public override void Setup()
        {
            fBase         = new BaseWindowStub();
            fPerson       = new GDMIndividualRecord(fBase.Context.Tree);
            fPersonalName = new GDMPersonalName(fPerson);

            fDialog = new PersonalNameEditDlg(fBase);
            fDialog.PersonalName = fPersonalName;
            fDialog.Show();
        }
        public override void Setup()
        {
            base.Setup();

            fBase         = new BaseWindowStub();
            fPerson       = new GEDCOMIndividualRecord(fBase.Context.Tree, fBase.Context.Tree, "", "");
            fPersonalName = new GEDCOMPersonalName(fBase.Context.Tree, fPerson, "", "");

            fDialog = new PersonalNameEditDlg(fBase);
            fDialog.PersonalName = fPersonalName;
            fDialog.Show();
        }