private void CountButton_ClickBefore(object sboObject, SAPbouiCOM.SBOItemEventArg pVal, out bool BubbleEvent) { BubbleEvent = true; try { InfoBoxes.UseMessageBox(CountTotal.Count(EditText0, Matrix0)); } catch (Exception e) { InfoBoxes.UseMessageBox(e.Message); } }
public void SBO_Application_MenuEvent(ref SAPbouiCOM.MenuEvent pVal, out bool BubbleEvent) { BubbleEvent = true; try { if (pVal.BeforeAction && pVal.MenuUID == "PowerBusiness.Form1") { Form1 activeForm = new Form1(); activeForm.Show(); } } catch (Exception e) { InfoBoxes.UseMessageBox(e.Message); } }
private void Button2_ClickBefore(object sboObject, SAPbouiCOM.SBOItemEventArg pVal, out bool BubbleEvent) { BubbleEvent = true; try { // Grid0.Columns.Item("Indeks").Type = SAPbouiCOM.BoGridColumnType.gct_CheckBox; // this.Grid0.Item.Width = 1200; // Grid0.Columns.Item("ItemCode").Type = SAPbouiCOM.BoGridColumnType.gct_CheckBox; // authentication.returnDepartment(Grid2); Application.SBO_Application.ActivateMenuItem("ff"); Application.SBO_Application.Forms.Item("F_21").Select(); } catch (Exception e) { InfoBoxes.UseMessageBox(e.Message); } }
private void CountTotal(object sboObject, SAPbouiCOM.SBOItemEventArg pVal, out bool BubbleEvent) { BubbleEvent = true; InfoBoxes.UseMessageBox(cntObj.countTotal(Grid0, 8)); }