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;
 }
Пример #2
0
 public MainForm()
 {
     InitializeComponent();
     songsModel = new SongsModel();
 }