private void butUnitOfMeasureUCUM_Click(object sender, EventArgs e) { FormUcums FormU = new FormUcums(); FormU.IsSelectionMode = true; FormU.ShowDialog(); if (FormU.DialogResult != DialogResult.OK) { return; } textObsUnitsID.Text = FormU.SelectedUcum.UcumCode; textObsUnitsCodeSystem.Text = "UCUM"; textObsUnitsText.Text = FormU.SelectedUcum.Description; textObsUnitsTextOrig.Text = FormU.SelectedUcum.Description; }
private void butUnitOfMeasureUCUM_Click(object sender,EventArgs e) { FormUcums FormU=new FormUcums(); FormU.IsSelectionMode=true; FormU.ShowDialog(); if(FormU.DialogResult!=DialogResult.OK) { return; } textObsUnitsID.Text=FormU.SelectedUcum.UcumCode; textObsUnitsCodeSystem.Text="UCUM"; textObsUnitsText.Text=FormU.SelectedUcum.Description; textObsUnitsTextOrig.Text=FormU.SelectedUcum.Description; }