예제 #1
0
        public static bool ShowCustomField(int organizationID, int customFieldID)
        {
            CustomFieldForm form = new CustomFieldForm();

            form._customFieldID  = customFieldID;
            form._organizationID = organizationID;
            form._auxID          = -1;
            return(form.ShowDialog() == DialogResult.OK);
        }
예제 #2
0
        public static bool ShowCustomField(int organizationID, ReferenceType refType, int auxID)
        {
            CustomFieldForm form = new CustomFieldForm();

            form._organizationID = organizationID;
            form._customFieldID  = -1;
            form._auxID          = auxID;
            form._refType        = refType;
            return(form.ShowDialog() == DialogResult.OK);
        }