private void ViewportFromSoftware(Software software) { comboBoxSoftType.SelectedValue = ViewportHelper.ValueOrDbNull(software.IdSoftType); comboBoxSoftMaker.SelectedValue = ViewportHelper.ValueOrDbNull(software.IdSoftMaker); textBoxSoftwareName.Text = software.SoftwareName; }