This commit is contained in:
Kathy Ruffing 2012-04-09 13:34:32 +00:00
parent 204db5b92c
commit dc1af0b0f3

View File

@ -701,6 +701,7 @@ namespace VEPROMS
private void btnRoDbProperties_Click(object sender, EventArgs e) private void btnRoDbProperties_Click(object sender, EventArgs e)
{ {
frmRODbProperties dlgROProperties = new frmRODbProperties(_DocVersionConfig.MyDocVersion, SelectedROFst == null ? null : SelectedROFst.MyRODb); frmRODbProperties dlgROProperties = new frmRODbProperties(_DocVersionConfig.MyDocVersion, SelectedROFst == null ? null : SelectedROFst.MyRODb);
dlgROProperties.ParentLocation = Location;
if (dlgROProperties.ShowDialog() == DialogResult.OK) if (dlgROProperties.ShowDialog() == DialogResult.OK)
{ {
tbRoDb.Text = string.Format("{0} ({1})", SelectedROFst.MyRODb.ROName, SelectedROFst.MyRODb.FolderPath); tbRoDb.Text = string.Format("{0} ({1})", SelectedROFst.MyRODb.ROName, SelectedROFst.MyRODb.FolderPath);
@ -822,6 +823,7 @@ namespace VEPROMS
private void ppBtnRoDbBrowse_Click(object sender, EventArgs e) private void ppBtnRoDbBrowse_Click(object sender, EventArgs e)
{ {
frmRODbProperties dlgROProperties = new frmRODbProperties(_DocVersionConfig.MyDocVersion, SelectedROFst == null ? null : SelectedROFst.MyRODb); frmRODbProperties dlgROProperties = new frmRODbProperties(_DocVersionConfig.MyDocVersion, SelectedROFst == null ? null : SelectedROFst.MyRODb);
dlgROProperties.ParentLocation = Location;
// if a user has entered a valid rodb, then this docversion will be conntected to it - change // if a user has entered a valid rodb, then this docversion will be conntected to it - change
// to a non-editable text box and the button becomes a properties button rather than browse. // to a non-editable text box and the button becomes a properties button rather than browse.
if (dlgROProperties.ShowDialog() == DialogResult.OK) if (dlgROProperties.ShowDialog() == DialogResult.OK)