private void OnApplyClicked() { try { for (int i = 0; i < CurrentInfo.Fields.Length; i++) { CurrentInfo.SetValue(RefInstance, inputFields[i].Text, i); } CurrentOwner.SetUserValue(RefInstance); } catch (Exception ex) { ExplorerCore.LogWarning("Exception setting value: " + ex); } }