public static Convert ( bool is_outgoing ) : String | ||
is_outgoing | bool | |
Результат | String |
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { if (value == null) { return(""); } return(EnglishDirectionConverter.Convert((bool)value)); }
private void CallMessageBox(Call c) { MessageBox.Show( "Number: " + c.other_party_number + "\nStart Time: " + ShortDateTimeConverter.Convert(c.start_time) + "\nEnd Time: " + ShortDateTimeConverter.Convert(c.end_time) + "\nDuration: " + DurationTimeConverter.Convert(c.duration) + "\nAccount: " + c.account + "\nNote: " + c.note + "\nKeys: " + c.dtmfs , c.state + " " + EnglishDirectionConverter.Convert(c.is_outgoing) + " Call " + c.other_party_name); }