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