private void tsUpdate_Click(object sender, EventArgs e) { int id = getgoodid(); FrmGoodsInsert frm = new FrmGoodsInsert(id); frm.Owner = this; frm.ShowDialog(); }
private void tsAdd_Click(object sender, EventArgs e) { FrmGoodsInsert frm = new FrmGoodsInsert(); frm.Owner = this; frm.ShowDialog(); }