/// <summary> /// Function to call this from from frmReminderPopUp form to view details /// </summary> /// <param name="frmReminderPopup"></param> public void CallFromReminder(frmReminderPopUp frmReminderPopup) { try { base.Show(); frmReminderPopupObj = frmReminderPopup; frmReminderPopupObj.Enabled = false; } catch (Exception ex) { MessageBox.Show("ODPO:3" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to call this form from frmReminderPopUp to view details /// </summary> /// <param name="frmreminder"></param> public void CallFromReminder(frmReminderPopUp frmreminder) { try { base.Show(); this.frmReminderPopupObj = frmreminder; frmReminderPopupObj.Enabled = false; OverDueSalesOrderGridFill(); } catch (Exception ex) { MessageBox.Show("ODSO3:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to call this form from frmReminderPopUp to view details /// </summary> /// <param name="frmReminder"></param> /// <param name="isFromreorderLevel"></param> public void CallFromReorderStockReminder(frmReminderPopUp frmReminder, bool isFromreorderLevel) { try { base.Show(); this.frmReminderPopupObj = frmReminder; frmReminderPopupObj.Enabled = false; rbtnReorder.Checked = true; btnSearch.PerformClick(); } catch (Exception ex) { MessageBox.Show("ST:15" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to call this form frmReminderPopUp form to view details /// </summary> /// <param name="frmReminder"></param> public void CallFromReminder(frmReminderPopUp frmReminder) { try { base.Show(); DataTable dtbl = new DataTable(); dtbl = new ReminderSP().ShortExpiryReminder(0, 0, 0, 0, 0, 0, 0, 0); dgvProductExpiry.DataSource = dtbl; this.frmReminderPopupObj = frmReminder; frmReminderPopupObj.Enabled = false; } catch (Exception ex) { MessageBox.Show("SE:11" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }