Esempio n. 1
0
 private void buttonImportVector_Click(object sender, EventArgs e)
 {
     using (FormTranslate f = new FormTranslate())
     {
         List <KeyValuePair <StorageInformation, Addon> > vList = f.DoTranslateBatch(true, true);
         if (vList != null)
         {
             Append(vList);
         }
     }
 }
Esempio n. 2
0
 void Translate(bool bImport, bool bVecotr)
 {
     using (FormTranslate f = new FormTranslate())
     {
         KeyValuePair <string, Addon> ret = f.DoTranslate(bImport, bVecotr);
         if (string.IsNullOrEmpty(ret.Key))
         {
             return;
         }
         Translate(ret.Key, ret.Value);
     }
 }