Ejemplo n.º 1
0
 /// <summary>
 /// Calls frmOverduePurchaseOrder form to view details
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void lnklblReminderPurchaseDue_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     try
     {
         frmOverduePurchaseOrder frmOverduePurchaseOrderObj = new frmOverduePurchaseOrder();
         frmOverduePurchaseOrder open = Application.OpenForms["frmOverduePurchaseOrder"] as frmOverduePurchaseOrder;
         if (open == null)
         {
             frmOverduePurchaseOrderObj.MdiParent = formMDI.MDIObj;
             frmOverduePurchaseOrderObj.CallFromReminder(this);
         }
         else
         {
             open.Activate();
         }
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "RPU:3" + ex.Message;
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Calls frmOverduePurchaseOrder form to view details
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void lnklblReminderPurchaseDue_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     try
     {
         frmOverduePurchaseOrder frmOverduePurchaseOrderObj = new frmOverduePurchaseOrder();
         frmOverduePurchaseOrder open = Application.OpenForms["frmOverduePurchaseOrder"] as frmOverduePurchaseOrder;
         if (open == null)
         {
             frmOverduePurchaseOrderObj.MdiParent = formMDI.MDIObj;
             frmOverduePurchaseOrderObj.CallFromReminder(this);
         }
         else
         {
             open.Activate();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("RPU:2" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }