public static double ReadDouble(string title) { var inputWindow = new InputWindow(title); var value = inputWindow.ReadValue(); double readDouble; var result = double.TryParse(value, NumberStyles.Number, CultureInfo.InstalledUICulture, out readDouble); return result ? readDouble : 0.0; }
public static double ReadDouble(string title) { var inputWindow = new InputWindow(title); var value = inputWindow.ReadValue(); double readDouble; var result = double.TryParse(value, NumberStyles.Number, CultureInfo.InstalledUICulture, out readDouble); return(result ? readDouble : 0.0); }
public static string ReadValue(string title) { var inputWindow = new InputWindow(title); return(inputWindow.ReadValue()); }
public static string ReadValue(string title) { var inputWindow = new InputWindow(title); return inputWindow.ReadValue(); }