Ejemplo n.º 1
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormRecallEdit FormR = new FormRecallEdit();

            FormR.RecallCur = RecallList[e.Row].Copy();
            FormR.ShowDialog();
            FillGrid();
        }
Ejemplo n.º 2
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormPopupEdit FormPE = new FormPopupEdit();

            FormPE.PopupCur = PopupList[e.Row];
            FormPE.ShowDialog();
            FillGrid();
        }
Ejemplo n.º 3
0
        private void gridMeds_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormMedPat FormMP = new FormMedPat();

            FormMP.MedicationPatCur = MedicationPats.List[e.Row];
            FormMP.ShowDialog();
            FillMeds();
        }
Ejemplo n.º 4
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            PaySplit paySplit = (PaySplit)gridMain.Rows[e.Row].Tag;

            ListSelectedSplits.Clear();
            ListSelectedSplits.Add(paySplit);
            DialogResult = DialogResult.OK;
        }
Ejemplo n.º 5
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            EhrAmendment         ehrAmd  = ListAmendments[e.Row];
            FormEhrAmendmentEdit FormEAE = new FormEhrAmendmentEdit(ehrAmd);

            FormEAE.ShowDialog();
            FillGrid();            //Always have to refresh grid due to using the images module to update the db.
        }
Ejemplo n.º 6
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormProcApptColorEdit FormP = new FormProcApptColorEdit();

            FormP.ProcApptColorCur = ProcApptColors.Listt[e.Row];
            FormP.ShowDialog();
            FillGrid();
        }
Ejemplo n.º 7
0
 private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
 {
     //if(!CreateLabPanel()) {
     //	return;
     //}
     CreateLabPanel();
     DialogResult = DialogResult.OK;
 }
Ejemplo n.º 8
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormEhrLabPanelEdit FormLPE = new FormEhrLabPanelEdit();

            FormLPE.PanelCur = listLP[e.Row];
            FormLPE.ShowDialog();
            FillGrid();
        }
Ejemplo n.º 9
0
 private void gridRecipients_CellClick(object sender, ODGridClickEventArgs e)
 {
     if (gridRecipients.Columns[e.Col].Heading == "Send")
     {
         _listJobEmails[e.Row].IsSend = !_listJobEmails[e.Row].IsSend;
         FillGridRecipients();
     }
 }
Ejemplo n.º 10
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormPhoneEmpDefaultEdit FormPED = new FormPhoneEmpDefaultEdit();

            FormPED.PedCur = (PhoneEmpDefault)gridMain.ListGridRows[e.Row].Tag;
            FormPED.ShowDialog();
            FillGrid();
        }
Ejemplo n.º 11
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormReqStudentOne FormR = new FormReqStudentOne();

            FormR.ProvNum = PIn.Long(table.Rows[e.Row]["studentNum"].ToString());
            FormR.ShowDialog();
            FillGrid();
        }
Ejemplo n.º 12
0
        private void gridEdu_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormEduResourceEdit FormERE = new FormEduResourceEdit();

            FormERE.EduResourceCur = eduResourceList[e.Row];
            FormERE.ShowDialog();
            FillGrid();
        }
Ejemplo n.º 13
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormEhrLabResultEdit FormLRE = new FormEhrLabResultEdit();

            FormLRE.LabCur = listResults[e.Row];
            FormLRE.ShowDialog();
            FillGrid();
        }
Ejemplo n.º 14
0
 private void gridMain_CellLeave(object sender, ODGridClickEventArgs e)
 {
     /*
      * Table.Rows[e.Row][e.Col]=gridMain.Rows[e.Row].Cells[e.Col].Text;
      * Point cellSelected=new Point(gridMain.SelectedCell.X,gridMain.SelectedCell.Y);
      * FillGrid();//gridMain.SelectedCell gets cleared.
      * gridMain.SetSelected(cellSelected);*/
 }
Ejemplo n.º 15
0
        private void gridRules_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormTimeCardRuleEdit FormT = new FormTimeCardRuleEdit((TimeCardRule)gridRules.ListGridRows[e.Row].Tag);

            FormT.ShowDialog();
            FillRules();
            changed = true;
        }
Ejemplo n.º 16
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            Reseller         reseller = Resellers.GetOne(PIn.Long(TableResellers.Rows[e.Row]["ResellerNum"].ToString()));
            FormResellerEdit FormRE   = new FormResellerEdit(reseller);

            FormRE.ShowDialog();
            FillGrid();            //Could have deleted the reseller.
        }
Ejemplo n.º 17
0
        private void gridRequirements_CellClick(object sender, ODGridClickEventArgs e)
        {
            if (e.Button == MouseButtons.Right)
            {
                return;
            }
            //Do not check ReadOnly here.
            List <JobRequirement> listRequirements = GetListJobRequirements();
            JobRequirement        jobRequirement   = listRequirements[e.Row];

            switch (e.Col)
            {
            case 1:                    //Expert
                jobRequirement.HasExpert = !jobRequirement.HasExpert;
                listRequirements[e.Row]  = jobRequirement;
                SetListJobRequirements(listRequirements);
                OnTextEdited();
                break;

            case 2:                    //Engineer
                jobRequirement.HasEngineer = !jobRequirement.HasEngineer;
                listRequirements[e.Row]    = jobRequirement;
                SetListJobRequirements(listRequirements);
                OnTextEdited();
                break;

            case 3:                    //Reviewer
                jobRequirement.HasReviewer = !jobRequirement.HasReviewer;
                listRequirements[e.Row]    = jobRequirement;
                SetListJobRequirements(listRequirements);
                OnTextEdited();
                break;

            case 4:                    //Up
                if (e.Row == 0)
                {
                    return;
                }
                listRequirements.Reverse(e.Row - 1, 2);
                SetListJobRequirements(listRequirements);
                OnTextEdited();
                break;

            case 5:                    //Down
                if (e.Row == gridRequirements.ListGridRows.Count - 1)
                {
                    return;
                }
                listRequirements.Reverse(e.Row, 2);
                SetListJobRequirements(listRequirements);
                OnTextEdited();
                break;

            default:
                //Do Nothing
                break;
            }
        }
Ejemplo n.º 18
0
 private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
 {
     if (IsSelectionMode)
     {
         SelectedCvx  = (Cvx)gridMain.ListGridRows[e.Row].Tag;
         DialogResult = DialogResult.OK;
         return;
     }
 }
Ejemplo n.º 19
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            //Allowing modification of pay periods here will cause insertions/updates.  It would require changing in FormPayPeriodEdit to not insert/update.
            FormPayPeriodEdit FormP = new FormPayPeriodEdit(_listPayPeriods[e.Row]);

            FormP.IsSaveToDb = false;
            FormP.ShowDialog();
            FillGrid();
        }
Ejemplo n.º 20
0
        private void gridCustom_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormAlertCategoryEdit formACE = new FormAlertCategoryEdit(_listCustomAlertCategory[e.Row]);

            if (formACE.ShowDialog() == DialogResult.OK)
            {
                FillGrids();
            }
        }
Ejemplo n.º 21
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormRequestEdit FormR = new FormRequestEdit();

            FormR.RequestId   = PIn.Long(table.Rows[e.Row]["RequestId"]);
            FormR.IsAdminMode = isAdminMode;
            FormR.ShowDialog();
            FillGrid();
        }
Ejemplo n.º 22
0
 private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
 {
     if (_isLoading)
     {
         return;
     }
     BugCur       = (Bug)gridMain.ListGridRows[e.Row].Tag;
     DialogResult = DialogResult.OK;
 }
Ejemplo n.º 23
0
        private void grid2_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormHL7DefEdit FormS = new FormHL7DefEdit();

            FormS.HL7DefCur = ListCustom[e.Row];
            FormS.ShowDialog();
            FillGrid1();
            FillGrid2();
        }
Ejemplo n.º 24
0
 private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
 {
     if (gridMain.GetSelectedIndex() == -1)
     {
         return;
     }
     SelectedImageName = Path.GetFileName(ImageNamesList[gridMain.GetSelectedIndex()]);
     DialogResult      = DialogResult.OK;
 }
Ejemplo n.º 25
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            Patient    patCur = Patients.GetLim(listRx[e.Row].PatNum);
            FormRxEdit FormRE = new FormRxEdit(patCur, listRx[e.Row]);

            FormRE.HideSendBut = true;
            FormRE.ShowDialog();
            FillGrid();
        }
Ejemplo n.º 26
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            long              sheetNum = (long)gridMain.Rows[e.Row].Tag;
            Sheet             sheet    = Sheets.GetSheet(sheetNum);
            FormSheetFillEdit FormSF   = new FormSheetFillEdit(sheet);

            FormSF.ShowDialog();
            //FillGrid();//We must refresh the grid because the web form clicked might have been deleted by the user.
        }
Ejemplo n.º 27
0
 private void gridMain_CellClick(object sender, ODGridClickEventArgs e)
 {
     splitTot = 0;
     for (int i = 0; i < gridMain.SelectedIndices.Length; i++)
     {
         splitTot += (decimal)splits[gridMain.SelectedIndices[i]].InsPayAmt;
     }
     textAmount.Text = splitTot.ToString("F");
 }
Ejemplo n.º 28
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormHL7DefSegmentEdit FormS = new FormHL7DefSegmentEdit();

            FormS.HL7DefSegCur     = HL7DefMesCur.hl7DefSegments[e.Row];
            FormS.IsHL7DefInternal = IsHL7DefInternal;
            FormS.ShowDialog();
            FillGrid();
        }
 private void gridUsers_CellDoubleClick(object sender, ODGridClickEventArgs e)
 {
     if (_isFillingList)
     {
         return;
     }
     //Call an event that bubbles back up to the calling Form.
     EditUserClick?.Invoke(this, new SecurityEventArgs(SelectedUser));
 }
 private void gridUsers_CellClick(object sender, ODGridClickEventArgs e)
 {
     if (_isFillingList)
     {
         return;
     }
     //Refresh the selected groups and the security tree
     RefreshUserTabGroups();
 }