public string Compile()
 {
     if (this.dict.IsEmpty())
     {
         DictExecute de = new DictExecute(this.web, this.dict, this.outputDict, this.fileName);
         this.result = de.ExecuteAndRead();
     }
     else
     {
         this.ShowDialog();
     }
     return(this.result);
 }
Beispiel #2
0
 private void DictForm_Load(object sender, EventArgs e)
 {
     if (this.dict.IsEmpty())
     {
         DictExecute de = new DictExecute(this.web, this.dict, new o2Mate.Dictionnaire(), this.fileName);
         de.Load();
         de.Navigate();
     }
     else
     {
         // le dictionnaire d'entrée sert pour connaitre les champs
         // le dictionnaire de sortie permet de stocker les valeurs effectives
         DictBienvenue db = new DictBienvenue(this.web, this.dict, new o2Mate.Dictionnaire(), this.fileName);
         db.Load();
         db.Navigate();
     }
 }
        private void SyntaxForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            DictExecute exec = new DictExecute(this.web, this.dict, this.outputDict, this.fileName);

            result = exec.ExecuteAndRead();
        }