partial void TANApply(Foundation.NSObject sender) { try { if (checker.IsCorrect(TNDesc.StringValue)) { Backendoptions.AddNote(TNVal.StringValue, TNDesc.StringValue, TNCat.StringValue, TNSub.StringValue, TNSt.StringValue); TErrNote.StringValue = "Dodano ocenę"; } else { TErrNote.StringValue = "Nie dodano oceny"; } } catch (Exception) { TErrNote.StringValue = "Nie dodano oceny"; } }