private void listMonthly_MouseDown(object sender, MouseEventArgs e) { int selected = listMonthly.IndexFromPoint(e.Location); if (selected == -1) { return; } switch (selected) { case 0: //Aging Report FormRpAging FormA = new FormRpAging(); FormA.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Aging"); break; case 1: //Claims Not Sent FormRpClaimNotSent FormClaim = new FormRpClaimNotSent(); FormClaim.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Claims Not Sent"); break; case 2: //Capitation Utilization FormRpCapitation FormC = new FormRpCapitation(); FormC.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Capitation"); break; case 3: //Finance Charge Report FormRpFinanceCharge FormRpFinance = new FormRpFinanceCharge(); FormRpFinance.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Finance Charges"); break; case 4: //Outstanding Insurance Claims FormRpOutInsClaims FormOut = new FormRpOutInsClaims(); FormOut.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Outstanding Insurance Claims"); break; case 5: //Procedures Not Billed to Insurance FormRpProcNotBilledIns FormProc = new FormRpProcNotBilledIns(); FormProc.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Procedures not billed to insurance."); break; case 6: //PPO Writeoffs FormRpPPOwriteoffs FormPPO = new FormRpPPOwriteoffs(); FormPPO.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "PPO Writeoffs."); break; } }
private void listMonthly_MouseDown(object sender, MouseEventArgs e) { int selected = listMonthly.IndexFromPoint(e.Location); if (selected == -1) { return; } switch (selected) { case 0: //Aging Report if (!Security.IsAuthorized(Permissions.ReportProdInc)) { return; } FormRpAging FormA = new FormRpAging(); FormA.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Aging"); break; case 1: //Claims Not Sent FormRpClaimNotSent FormClaim = new FormRpClaimNotSent(); FormClaim.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Claims Not Sent"); break; case 2: //Capitation Utilization FormRpCapitation FormC = new FormRpCapitation(); FormC.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Capitation"); break; case 3: //Finance Charge Report FormRpFinanceCharge FormRpFinance = new FormRpFinanceCharge(); FormRpFinance.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Finance Charges"); break; case 4: //Outstanding Insurance Claims RpModalSelection = ReportModalSelection.OutstandingIns; SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Outstanding Insurance Claims"); Close(); break; case 5: //Procedures Not Billed to Insurance FormRpProcNotBilledIns FormProc = new FormRpProcNotBilledIns(); FormProc.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Procedures not billed to insurance."); break; case 6: //PPO Writeoffs FormRpPPOwriteoffs FormPPO = new FormRpPPOwriteoffs(); FormPPO.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "PPO Writeoffs."); break; case 7: //Payment Plans FormRpPayPlans FormPP = new FormRpPayPlans(); FormPP.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Payment Plans."); break; case 8: //Receivable Breakdown if (!Security.IsAuthorized(Permissions.ReportProdInc)) { return; } FormRpReceivablesBreakdown FormRcv = new FormRpReceivablesBreakdown(); FormRcv.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Receivable Breakdown."); break; case 9: //Unearned Income FormRpUnearnedIncome FormU = new FormRpUnearnedIncome(); FormU.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Unearned Income."); break; case 10: //Insurance Overpaid FormRpInsOverpaid FormI = new FormRpInsOverpaid(); FormI.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Insurance Overpaid."); break; } }
private void listMonthly_MouseDown(object sender,MouseEventArgs e) { int selected=listMonthly.IndexFromPoint(e.Location); if(selected==-1) { return; } switch(selected) { case 0://Aging of Accounts Receivable Report if(!Security.IsAuthorized(Permissions.ReportProdInc)) { return; } FormRpAging FormA=new FormRpAging(); FormA.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports,0,"Aging of A/R"); break; case 1://Claims Not Sent FormRpClaimNotSent FormClaim=new FormRpClaimNotSent(); FormClaim.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports,0,"Claims Not Sent"); break; case 2://Capitation Utilization FormRpCapitation FormC=new FormRpCapitation(); FormC.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports,0,"Capitation"); break; case 3://Finance Charge Report FormRpFinanceCharge FormRpFinance=new FormRpFinanceCharge(); FormRpFinance.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports,0,"Finance Charges"); break; case 4://Outstanding Insurance Claims RpModalSelection=ReportModalSelection.OutstandingIns; SecurityLogs.MakeLogEntry(Permissions.Reports,0,"Outstanding Insurance Claims"); Close(); break; case 5://Procedures Not Billed to Insurance FormRpProcNotBilledIns FormProc=new FormRpProcNotBilledIns(); FormProc.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports,0,"Procedures not billed to insurance."); break; case 6://PPO Writeoffs FormRpPPOwriteoffs FormPPO=new FormRpPPOwriteoffs(); FormPPO.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports,0,"PPO Writeoffs."); break; case 7://Payment Plans FormRpPayPlans FormPP=new FormRpPayPlans(); FormPP.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports,0,"Payment Plans."); break; case 8://Receivable Breakdown if(!Security.IsAuthorized(Permissions.ReportProdInc)) { return; } FormRpReceivablesBreakdown FormRcv = new FormRpReceivablesBreakdown(); FormRcv.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports,0,"Receivable Breakdown."); break; case 9://Unearned Income FormRpUnearnedIncome FormU=new FormRpUnearnedIncome(); FormU.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports,0,"Unearned Income."); break; case 10://Insurance Overpaid FormRpInsOverpaid FormI=new FormRpInsOverpaid(); FormI.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports,0,"Insurance Overpaid."); break; } }