private void btnGenerateDynamic_Click(object sender, EventArgs e) { var builder = CreateBuilderDynamic(); var dataset = GenerateDynamic(builder); using (var form = new DatasetForm()) { form.SetDatasets(dataset); form.ShowDialog(); } }
private void btnGenerateTyped_Click(object sender, EventArgs e) { var builder = CreateBuilderTyped(); var dataset = GenerateTyped(builder); using (var form = new DatasetForm()) { form.SetDatasets(dataset, iris => iris.Label); form.ShowDialog(); } }