private void IPageParent_IOperationEvent(object sender, OperationEventArgs e) { string LStrNewValue = string.Empty; LStrNewValue = TextBoxPositiveInteger.GetElementData(); if (e.StrObjectTag == "Save") { IPageParent.SaveEditedParameterValue(LStrNewValue); } }
private void IPageParent_IOperationEvent(object sender, OperationEventArgs e) { string LStrNewValue = string.Empty; if (RadioButtonValue0.IsChecked == true) { LStrNewValue = "0"; } else { LStrNewValue = TextBoxPositiveInteger.GetElementData(); } if (e.StrObjectTag == "Save") { IPageParent.SaveEditedParameterValue(LStrNewValue); } }
public string GetElementData() { return(TextBoxPositiveInteger.GetElementData()); }