private void OnAddStation(object sender, EventArgs args) { StationEditor ed = new StationEditor(lastfm); ed.Window.ShowAll(); ed.RunDialog(); }
private void OnSourceProperties(object o, EventArgs args) { Source source = Actions.SourceActions.ActionSource; if (source is StationSource) { StationEditor editor = new StationEditor(lastfm, source as StationSource); editor.RunDialog(); } }