private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e) { int selected = e.Row; FormClaimPrint FormCP; FormCP = new FormClaimPrint(); FormCP.ThisPatNum = listQueue[e.Row].PatNum; FormCP.ThisClaimNum = listQueue[e.Row].ClaimNum; FormCP.PrintImmediately = false; FormCP.ShowDialog(); FillGrid(); gridMain.SetSelected(selected, true); }
private void OnPreview_Click() { FormClaimPrint FormCP; FormCP = new FormClaimPrint(); if (gridMain.SelectedIndices.Length == 0) { MessageBox.Show(Lan.g(this, "Please select an item first.")); return; } if (gridMain.SelectedIndices.Length > 1) { MessageBox.Show(Lan.g(this, "Please select only one claim.")); return; } FormCP.ThisPatNum = listQueue[gridMain.GetSelectedIndex()].PatNum; FormCP.ThisClaimNum = listQueue[gridMain.GetSelectedIndex()].ClaimNum; FormCP.PrintImmediately = false; FormCP.ShowDialog(); FillGrid(); }
public static void ShowCdaClaimForm(Claim claim) { FormClaimPrint FormCP=new FormClaimPrint(); FormCP.PatNumCur=claim.PatNum; FormCP.ClaimNumCur=claim.ClaimNum; FormCP.ClaimFormCur=null;//so that it will pull from the individual claim or plan. FormCP.ShowDialog(); }