private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            Etrans etrans = list[e.Row];

            if (etrans.Etype == EtransType.Eligibility_CA)
            {
                FormEtransEdit formETE = new FormEtransEdit();
                formETE.EtransCur = etrans;
                formETE.ShowDialog();
            }
            else
            {
                string settingErrors271 = X271.ValidateSettings();
                if (settingErrors271 != "")
                {
                    MessageBox.Show(settingErrors271);
                    return;
                }
                bool              isDependent = (etrans.PatNum != 0 && _subPatNum != etrans.PatNum);//Old rows will be 0, but when 0 then request was for subscriber.
                Carrier           carrierCur  = Carriers.GetCarrier(_carrierNum);
                FormEtrans270Edit formE       = new FormEtrans270Edit(PatPlanNum, PlanNum, SubNum, isDependent, _subPatNum, carrierCur.IsCoinsuranceInverted);
                formE.EtransCur = etrans;
                formE.benList   = BenList;
                formE.ShowDialog();
            }
            FillGrid();
        }
		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			Etrans etrans=list[e.Row];
			if(etrans.Etype==EtransType.Eligibility_CA) {
				FormEtransEdit formETE=new FormEtransEdit();
				formETE.EtransCur=etrans;
				formETE.ShowDialog();
			}
			else {
				FormEtrans270Edit formE=new FormEtrans270Edit(PatPlanNum,PlanNum,SubNum);
				formE.EtransCur=etrans;
				formE.benList=BenList;
				formE.ShowDialog();
			}
			FillGrid();
		}
Exemple #3
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            Etrans etrans = list[e.Row];

            if (etrans.Etype == EtransType.Eligibility_CA)
            {
                FormEtransEdit formETE = new FormEtransEdit();
                formETE.EtransCur = etrans;
                formETE.ShowDialog();
            }
            else
            {
                FormEtrans270Edit formE = new FormEtrans270Edit(PatPlanNum, PlanNum, SubNum);
                formE.EtransCur = etrans;
                formE.benList   = BenList;
                formE.ShowDialog();
            }
            FillGrid();
        }
Exemple #4
0
		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			Etrans etrans=list[e.Row];
			if(etrans.Etype==EtransType.Eligibility_CA) {
				FormEtransEdit formETE=new FormEtransEdit();
				formETE.EtransCur=etrans;
				formETE.ShowDialog();
			}
			else {
				string settingErrors271=X271.ValidateSettings();
				if(settingErrors271!="") {
					MessageBox.Show(settingErrors271);
					return;
				}
				FormEtrans270Edit formE=new FormEtrans270Edit(PatPlanNum,PlanNum,SubNum);
				formE.EtransCur=etrans;
				formE.benList=BenList;
				formE.ShowDialog();
			}
			FillGrid();
		}