private void ingresosToolStripMenuItem_Click(object sender, EventArgs e) { EntryView entryView = EntryView.GetInstance(); entryView.MdiParent = this; entryView.Show(); entryView.IdEmployee = Convert.ToInt32(this.IdEmployee); }
private void dataList_DoubleClick(object sender, EventArgs e) { EntryView entryView = EntryView.GetInstance(); string idItem = Convert.ToString(this.dataList.CurrentRow.Cells["id_articulo"].Value); string name = Convert.ToString(this.dataList.CurrentRow.Cells["nombre"].Value); entryView.setItem(idItem, name); this.Hide(); }