/// <summary> /// Run the ribbon commands /// </summary> /// <param name="Id"></param> /// <param name="Comando"></param> private void RibbonEvents_Executa(string Id, string Comando) { try { switch (Id) { case cXMERIBBON_BTNIMPORT: CrossCompany.Manager mngr = new CrossCompany.Manager(PSO, BSO); mngr.ImportDocuments(); break; } } catch (System.Exception ex) { PSO.Dialogos.MostraAviso("Fail to execute the command.", StdBSTipos.IconId.PRI_Informativo, ex.Message); } }
public void ImportDocuments() { CrossCompany.Manager mngr = new CrossCompany.Manager(PSO, BSO); mngr.ImportDocuments(); }