public DataError(int errorType, Fact.FactError errorLevel, Individual ind, string description) { this.ErrorType = DataErrorGroup.ErrorDescription(errorType); this.Icon = FactImage.ErrorIcon(errorLevel).Icon; this.individual = ind; this.family = null; this.Description = description; }
public DataError(int errorType, Fact.FactError errorLevel, Individual ind, string description) { ErrorType = DataErrorGroup.ErrorDescription(errorType); #if __PC__ Icon = FactImage.ErrorIcon(errorLevel).Icon; #elif __MACOS__ if (errorLevel == Fact.FactError.ERROR) { System.Debug.WriteLine("nothing"); // stop compiler warning } #endif individual = ind; family = null; Description = description; }