/// <summary> /// Function to check the status of AutomaticProductCode generation /// </summary> /// <returns></returns> public bool AutomaticProductCode() { bool isAuto = false; try { SettingsBll BllSettings = new SettingsBll(); isAuto = BllSettings.AutomaticProductCodeGeneration(); } catch (Exception ex) { MessageBox.Show("MPC16:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return isAuto; }