Example #1
0
        private void saveFileDialog1_FileOk(object sender, CancelEventArgs e)
        {
            Settings.FileName = saveFileDialog1.FileName;
            ModelExporter exporter = new ModelExporter(Settings);

            exporter.ExportDefinition(ProjectDefinition);
        }
Example #2
0
        void loadForm_loadedEvent(object sender, CodeGenerator.Forms.DBLoadedEventArgs args)
        {
            loadForm.Hide();
            ModelExporter exporter = new ModelExporter(Settings);

            toolStripStatusLabel1.Text = "Model Loaded";
            tvModel.Nodes.Add(ProjectDefinition.GetTreeView(TreeConfiguration));
            exporter.ExportDefinition(ProjectDefinition);
            toolStripProgressBar1.Visible = false;
        }
Example #3
0
        private void saveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ModelExporter exporter = new ModelExporter(Settings);

            exporter.ExportDefinition(ProjectDefinition);
        }