private void tsbAddGast_Click(object sender, EventArgs e) { AddGast addGastForm = new AddGast(Data.DatasetFactory.WeddingPlan.Gast.NewGastRow()); if ((addGastForm.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)) { DatasetFactory.WeddingPlan.Gast.AddGastRow(addGastForm.Gast); // TODO nettere oplossing DatasetFactory.WeddingPlan.Gast.AcceptChanges(); ReloadDataSource(); } }