private void butCpt_Click(object sender, EventArgs e) { FormCpts formCpts = new FormCpts(); formCpts.IsSelectionMode = true; if (formCpts.ShowDialog() == DialogResult.OK) { _encCur.CodeSystem = "CPT"; _encCur.CodeValue = formCpts.SelectedCpt.CptCode; textCodeSystem.Text = "CPT"; textCodeValue.Text = formCpts.SelectedCpt.CptCode; textCodeDescript.Text = formCpts.SelectedCpt.Description; } }
private void butEncCpt_Click(object sender, EventArgs e) { FormCpts FormC = new FormCpts(); FormC.IsSelectionMode = true; FormC.ShowDialog(); if (FormC.DialogResult == DialogResult.OK) { EncCodeSystem = "CPT"; comboEncCodes.SelectedIndex = -1; textEncCodeValue.Text = FormC.SelectedCpt.CptCode; textEncCodeDescript.Text = FormC.SelectedCpt.Description; labelEncWarning.Visible = true; } }
private void butEncCpt_Click(object sender, EventArgs e) { FormCpts FormC = new FormCpts(); if (!Security.IsAuthorized(Permissions.SecurityAdmin, false)) { FormC.IsSelectionMode = false; } else { FormC.IsSelectionMode = true; } FormC.ShowDialog(); if (FormC.DialogResult == DialogResult.OK) { NewEncCodeSystem = "CPT"; comboEncCodes.SelectedIndex = -1; textEncCodeValue.Text = FormC.SelectedCpt.CptCode; textEncCodeDescript.Text = FormC.SelectedCpt.Description; labelEncWarning.Visible = true; } }
private void butEncCpt_Click(object sender,EventArgs e) { FormCpts FormC=new FormCpts(); if(!Security.IsAuthorized(Permissions.SecurityAdmin,false)) { FormC.IsSelectionMode=false; } else { FormC.IsSelectionMode=true; } FormC.ShowDialog(); if(FormC.DialogResult==DialogResult.OK) { NewEncCodeSystem="CPT"; comboEncCodes.SelectedIndex=-1; textEncCodeValue.Text=FormC.SelectedCpt.CptCode; textEncCodeDescript.Text=FormC.SelectedCpt.Description; labelEncWarning.Visible=true; } }
private void butCpt_Click(object sender,EventArgs e) { FormCpts formCpts=new FormCpts(); formCpts.IsSelectionMode=true; if(formCpts.ShowDialog()==DialogResult.OK) { _encCur.CodeSystem="CPT"; _encCur.CodeValue=formCpts.SelectedCpt.CptCode; textCodeSystem.Text="CPT"; textCodeValue.Text=formCpts.SelectedCpt.CptCode; textCodeDescript.Text=formCpts.SelectedCpt.Description; } }