Exemplo n.º 1
0
        private void OnSourceProperties (object o, EventArgs args)
        {
            if (ActionSource.Properties.Contains ("SourceProperties.GuiHandler")) {
                ActionSource.Properties.Get<Source.OpenPropertiesDelegate> ("SourceProperties.GuiHandler") ();
                return;
            }

            SmartPlaylistSource source = ActionSource as SmartPlaylistSource;
            if (source != null) {
                Editor ed = new Editor (source);
                ed.RunDialog ();
            }
        }
Exemplo n.º 2
0
 private void OnNewSmartPlaylist (object o, EventArgs args)
 {
     Editor ed = new Editor (ActivePrimarySource);
     ed.RunDialog ();
 }