예제 #1
0
        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);
        }
예제 #2
0
        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();
        }
예제 #3
0
파일: Canadian.cs 프로젝트: mnisl/OD
		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();
		}