Ejemplo n.º 1
0
 private void button2_Click(object sender, EventArgs e)
 {
     kursOOP.Add a = new kursOOP.Add();
     a.tovarBindingSource.DataSource = tovarBindingSource;
     a.tovarBindingSource.Position = tovarBindingSource.Position;
     if (a.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         tovarTableAdapter.Update(this.allDataSet.Tovar);
 }
Ejemplo n.º 2
0
 private void button2_Click(object sender, EventArgs e)
 {
     kursOOP.Add a = new kursOOP.Add();
     a.tovarBindingSource.DataSource = tovarBindingSource;
     a.tovarBindingSource.Position   = tovarBindingSource.Position;
     if (a.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         tovarTableAdapter.Update(this.allDataSet.Tovar);
     }
 }