public void AddRecord(object sender, EventArgs args)
        {
            ChooseRecordTypeController cwc = new ChooseRecordTypeController(CurrentZone.Name);
            nint ret = NSApplication.SharedApplication.RunModalForWindow(cwc.Window);

            if (ret == (nint)VMIdentityConstants.DIALOGOK)
            {
                RecordType             recordType = VMDNSUtilityService.GetRecordType(cwc.RecordType);
                AddNewRecordController awc        = new AddNewRecordController(recordType);
                nint retVal = NSApplication.SharedApplication.RunModalForWindow(awc.Window);
                if (retVal == VMIdentityConstants.DIALOGOK)
                {
                    AddRecordToZone(awc.Record);
                }
            }
        }
        public void ShowRecordProperties(object sender, EventArgs args, VmDnsRecord record)
        {
            AddNewRecordController awc = new AddNewRecordController(record);

            NSApplication.SharedApplication.RunModalForWindow(awc.Window);
        }