internal void editShow() { int index = ((MainView)_current_view).getIndexOfShowRow(showRowHighlight); AddShow addShowView = new AddShow(this, true, index, showHighlight.getDates()[index], showHighlight.getVenues()[index]); addShowView.Show(); }
internal void addShow() { if (showHighlight == null) { if (bandHighlight.getShows().Length > 0) showHighlight = bandHighlight.getShows()[0]; else { bandHighlight.addShow(new Show()); showHighlight = bandHighlight.getShows()[0]; } } else if (!bandHighlight.getShows().Contains(showHighlight)) { if (bandHighlight.getShows().Length > 0) showHighlight = bandHighlight.getShows()[0]; } else { bandHighlight.addShow(new Show()); showHighlight = bandHighlight.getShows()[0]; } AddShow addShowView = new AddShow(this, false, 0); addShowView.Show(); }