示例#1
0
        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();
            }
        }
示例#2
0
        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();
            }
        }