/// <summary> /// The only unique/new method added on top of our base class for Business Services self-host Console. /// </summary> /// <param name="message">String message to display in main tab of base console</param> /// <param name="settingsInstance">Instance of the Settings class for this app.</param> public void ShowOrderMode(string message, object settingsInstance) { if (Initialize.InvokeRequired == false) { Initialize.Text = "Order Processing Behavior is: Standard"; ConfigUtility.writeConsoleMessage("\nMaster Host Initialization is Now Complete!\n",EventLogEntryType.Warning,true, settingsInstance); } else { // Show message asynchronously ShowOrderModeDelegate showordermode = new ShowOrderModeDelegate(ShowOrderMode); this.BeginInvoke(showordermode, new object[] { message, settingsInstance }); } }
/// <summary> /// The only unique/new method added on top of our base class for Business Services self-host Console. /// </summary> /// <param name="message">String message to display in main tab of base console</param> /// <param name="settingsInstance">Instance of the Settings class for this app.</param> public void ShowOrderMode(string message, object settingsInstance) { if (Initialize.InvokeRequired == false) { Initialize.Text = "Order Mode is: " + Settings.ORDER_PROCESSING_MODE; } else { // Show message asynchronously ShowOrderModeDelegate showordermode = new ShowOrderModeDelegate(ShowOrderMode); this.BeginInvoke(showordermode, new object[] { message, settingsInstance }); } }