Пример #1
0
 /// <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);
 }
Пример #2
0
 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);
     }
 }
Пример #3
0
 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);
     }
 }
Пример #4
0
 public void setStatusBar(string _msg, SAPbouiCOM.BoMessageTime _time, SAPbouiCOM.BoStatusBarMessageType _type)
 {
     SBO_Application.StatusBar.SetText("SDK : " + _msg, _time, _type);
     func.log(_msg);
 }
Пример #5
0
 private void setStatusBar(string _msg, SAPbouiCOM.BoMessageTime _time, SAPbouiCOM.BoStatusBarMessageType _type)
 {
     SBO_Application.StatusBar.SetText("SDK : " + _msg, _time, _type);
     DealError(_msg);
 }