public static void ShowInvitationDialog(
            InvitationModel invitation,
            Action completed = null,
            Action cancelled = null)
        {
            var invitationDialog = new InvitationDialog();

            var dialogFrame = new DialogFrame(
                invitationDialog,
                "Add member",
                invitation,
                Color.FromArgb(0xFF, 0xD8, 0xC3, 0xD4),
                completed,
                cancelled);

            invitationDialog.Ok     += dialogFrame.OnOk;
            invitationDialog.Cancel += dialogFrame.OnCancel;

            dialogFrame.Open();
        }
        public static void ShowFamilyDialog(
            string title,
            Family family,
            Action completed = null,
            Action cancelled = null)
        {
            FamilyDialog familyDialog = new FamilyDialog();

            var dialogFrame = new DialogFrame(
                familyDialog,
                title,
                family,
                Color.FromArgb(0xff, 0xaf, 0xbe, 0xe2),
                completed,
                cancelled);

            familyDialog.Ok     += dialogFrame.OnOk;
            familyDialog.Cancel += dialogFrame.OnCancel;

            dialogFrame.Open();
        }