public MarkerDetailsDialog(string title, FrequencyMarker marker) { this.Text = title; this.marker = marker; InitializeComponent(); frequencySelector.Frequency = marker.Frequency; txtLabel.Text = marker.Label; txtDesc.Text = marker.Description.Replace("\r\n", "\n").Replace("\n", "\r\n"); }
public MarkerDetailsDialog(FrequencyMarker marker) : this("Marker...", marker) { }
public void Remove(FrequencyMarker marker) { Markers.Remove(marker); Notify(); }
public void Add(FrequencyMarker marker) { Markers.AddLast(marker); Notify(); }