void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.exportWindow = ((MediaPlayer.ExportMp3Window)(target)); return; } this._contentLoaded = true; }
private void exportSong() { ExportMp3Window export = new ExportMp3Window(); export.ShowDialog(); }