public SongsViewForm(SongsModel songsModel)
 {
     InitializeComponent();
     allToolStripMenuItem.Checked        = true;
     before2000ToolStripMenuItem.Checked = false;
     after2000ToolStripMenuItem.Checked  = false;
     this.songsModel          = songsModel;
     songsModel.SongAdded    += SongsModel_SongAdded;
     songsModel.SongModified += SongsModel_SongModified;
     songsModel.SongDeleted  += SongsModel_SongDeleted;
 }
Exemplo n.º 2
0
 public MainForm()
 {
     InitializeComponent();
     songsModel = new SongsModel();
 }