/// <summary> /// Called when the "New Library" button is clicked /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnNew_Click(object sender, EventArgs e) { NewDBForm form = new NewDBForm(); form.MdiParent = this.MdiParent; form.Show(); }
/// <summary> /// called when file->new is clicked /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void libraryToolStripMenuItem_Click(object sender, EventArgs e) { NewDBForm newForm = new NewDBForm(); newForm.ShowDialog(this); }