private void lbtAddnew_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { InstrumentForm frm = new InstrumentForm(new Instrument(), MdiParentForm); frm.ShowDialog(); }
public override void EditSelectedItem() { InstrumentForm frm = new InstrumentForm(GetSelectedInstrument(), MdiParentForm); frm.ShowDialog(); }
private void newInstrumentToolStripMenuItem_Click(object sender, EventArgs e) { InstrumentForm frm = new InstrumentForm(new Instrument(), this); frm.ShowDialog(); }