private void btnDuzenle_Click(object sender, EventArgs e) { var cds = SelectedDataSet; if (cds == null) return; var f = new frmTransform(); f.SourceXML = cds.SourceXmlPath; f.Transform = SelectedTransform; if (f.Transform == null) return; if (f.ShowDialog() == DialogResult.OK) { _service.updateTransform(f.Transform); LoadTransforms(); } }
private void btnEkle_Click(object sender, EventArgs e) { var cds = SelectedDataSet; if (cds == null) return; var f = new frmTransform(); f.SourceXML = cds.SourceXmlPath; f.Transform = new TransformModel(); if (f.ShowDialog() == DialogResult.OK) { _service.createTransform(SelectedDataSet.ID, f.Transform); LoadTransforms(); } }