public void RegisterAddin() { // Register the Ribbon button. RibbonEvents = this.PSO.Ribbon; RibbonEvents.Executa += RibbonEvents_Executa; // Register the add-in. CriateTab(); CreateGroup(); CreateGroupButton32(RibbonConstants.cIDBUTTON1, "Visual Studio", Resources.VS2017_256x256); }
public void RegistarAddin(dynamic plataforma, dynamic Aplicacao) { plataformaPrimavera = plataforma; apl = Aplicacao; RibbonEvents = plataforma.Ribbon; RibbonEvents.Executa += RibbonEvents_Executa; CriarTab(); CriarGroup(); CriarBotao16(); }
/// <summary> /// Processes after the company opening. /// </summary> /// <param name="e"></param> public override void DepoisDeAbrirEmpresa(ExtensibilityEventArgs e) { base.DepoisDeAbrirEmpresa(e); // Check pending documents to import CrossCompany.Manager mngr = new CrossCompany.Manager(PSO, BSO); mngr.CheckPendingDocuments(); // Add the application menus to the Ribbon (Tab GERAL) StdBSPRibbon RibbonEvents = PSO.Ribbon; RibbonEvents.Executa += RibbonEvents_Executa; }