Ejemplo n.º 1
0
 private void menuItemSetup_Click(object sender, EventArgs e)
 {
     using (FormTrojanCollectSetup FormT = new FormTrojanCollectSetup()) {
         if (FormT.ShowDialog() == DialogResult.Cancel)
         {
             return;
         }
     }
     if (!Programs.IsEnabled(ProgramName.TrojanExpressCollect))
     {
         DialogResult = DialogResult.Cancel;
         return;
     }
 }
Ejemplo n.º 2
0
        private void menuItemSetup_Click(object sender, EventArgs e)
        {
            FormTrojanCollectSetup FormT = new FormTrojanCollectSetup();

            FormT.ShowDialog();
        }
Ejemplo n.º 3
0
		private void menuItemSetup_Click(object sender,EventArgs e) {
			FormTrojanCollectSetup FormT=new FormTrojanCollectSetup();
			FormT.ShowDialog();
		}
Ejemplo n.º 4
0
        private void gridProgram_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            DialogResult dResult = DialogResult.None;
            Program      program = _listPrograms[gridProgram.GetSelectedIndex()].Copy();

            switch (program.ProgName)
            {
            case "UAppoint":
                FormUAppoint FormU = new FormUAppoint();
                FormU.ProgramCur = program;
                dResult          = FormU.ShowDialog();
                break;

            case "eClinicalWorks":
                if (!Security.IsAuthorized(Permissions.SecurityAdmin))
                {
                    break;
                }
                FormEClinicalWorks FormECW = new FormEClinicalWorks();
                FormECW.ProgramCur = program;
                dResult            = FormECW.ShowDialog();
                break;

            case "eRx":
                FormErxSetup FormES = new FormErxSetup();
                dResult = FormES.ShowDialog();
                break;

            case "Mountainside":
                FormMountainside FormM = new FormMountainside();
                FormM.ProgramCur = program;
                dResult          = FormM.ShowDialog();
                break;

            case "PayConnect":
                FormPayConnectSetup fpcs = new FormPayConnectSetup();
                dResult = fpcs.ShowDialog();
                break;

            case "Podium":
                FormPodiumSetup FormPS = new FormPodiumSetup();
                dResult = FormPS.ShowDialog();
                break;

            case "Xcharge":
                FormXchargeSetup fxcs = new FormXchargeSetup();
                dResult = fxcs.ShowDialog();
                break;

            case "FHIR":
                FormFHIRSetup FormFS = new FormFHIRSetup();
                dResult = FormFS.ShowDialog();
                break;

            case "Transworld":
                FormTransworldSetup FormTs = new FormTransworldSetup();
                dResult = FormTs.ShowDialog();
                break;

            case "PaySimple":
                FormPaySimpleSetup formPS = new FormPaySimpleSetup();
                dResult = formPS.ShowDialog();
                break;

            case "AvaTax":
                FormAvaTax formAT = new FormAvaTax();
                formAT.ProgramCur = program;
                dResult           = formAT.ShowDialog();
                break;

            case "XDR":
                FormXDRSetup FormXS = new FormXDRSetup();
                dResult = FormXS.ShowDialog();
                break;

            case "TrojanExpressCollect":
                using (FormTrojanCollectSetup FormTro = new FormTrojanCollectSetup()) {
                    dResult = FormTro.ShowDialog();
                }
                break;

            case "BencoPracticeManagement":
                FormBencoSetup FormBPM = new FormBencoSetup();
                dResult = FormBPM.ShowDialog();
                break;

            default:
                FormProgramLinkEdit FormPE = new FormProgramLinkEdit();
                if (Programs.IsStatic(program))
                {
                    FormPE.AllowToolbarChanges = false;
                }
                FormPE.ProgramCur = program;
                dResult           = FormPE.ShowDialog();
                break;
            }
            if (dResult == DialogResult.OK)
            {
                changed = true;
                FillList();
            }
        }