Exemplo n.º 1
0
 private void EditSB_Click(object sender, EventArgs e)
 {
     Wares.Manufacturer.ManufacturerData form = new Wares.Manufacturer.ManufacturerData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value));
     form.ShowDialog();
     manager.Save();
     manager.CloseContext();
     manager = new ContextManager();
     Fill();
 }
Exemplo n.º 2
0
 private void EditSB_Click(object sender, EventArgs e)
 {
     Wares.Manufacturer.ManufacturerData form = new Wares.Manufacturer.ManufacturerData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value));
     form.ShowDialog();
     manager.Save();
     manager.CloseContext();
     manager = new ContextManager();
     Fill();
 }
Exemplo n.º 3
0
 private void NewSB_Click(object sender, EventArgs e)
 {
     Wares.Manufacturer.ManufacturerData form = new Wares.Manufacturer.ManufacturerData("new", null);
     form.ShowDialog();
     Fill();
 }
Exemplo n.º 4
0
 private void NewSB_Click(object sender, EventArgs e)
 {
     Wares.Manufacturer.ManufacturerData form = new Wares.Manufacturer.ManufacturerData("new", null);
     form.ShowDialog();
     Fill();
 }