/// <summary> /// Method to used Sap Built in Status Bar /// </summary> /// <param name="Text"></param> /// <param name="messageTime"></param> /// <param name="messageType"></param> public static void App_StatusBarEvent(string Text, SAPbouiCOM.BoMessageTime messageTime, SAPbouiCOM.BoStatusBarMessageType messageType) { PublicVariable.oApplication.StatusBar.SetText( Text , messageTime , messageType); }
public static void setStatusBarMessage(string strMessage, bool isError, SAPbouiCOM.BoMessageTime msgTime) { try { MainObject.Instance.B1Application.SetStatusBarMessage(strMessage, msgTime, isError); } catch (Exception er) { _Logger.Error("", er); } }
public void showStatus(string msg, SAPbouiCOM.BoMessageTime t = SAPbouiCOM.BoMessageTime.bmt_Medium, bool error = true) { try { if (!bRunJob) { SBO_Application.SetStatusBarMessage(msg, t, error); } trace(msg); } catch (Exception ex) { errorLog(ex); } }
public void setStatusBar(string _msg, SAPbouiCOM.BoMessageTime _time, SAPbouiCOM.BoStatusBarMessageType _type) { SBO_Application.StatusBar.SetText("SDK : " + _msg, _time, _type); func.log(_msg); }
private void setStatusBar(string _msg, SAPbouiCOM.BoMessageTime _time, SAPbouiCOM.BoStatusBarMessageType _type) { SBO_Application.StatusBar.SetText("SDK : " + _msg, _time, _type); DealError(_msg); }