Added option to Remove Trailing Hard Returns and Manual Page Breaks

Added Server and Database to Window Caption (Title)
This commit is contained in:
Rich
2016-01-20 20:17:16 +00:00
parent 116e10218d
commit 9e170362cc
7 changed files with 55 additions and 10 deletions

View File

@@ -1847,6 +1847,7 @@ namespace VEPROMS
if (mi.EndDate == string.Empty)
{
string txt = string.Format("{0} - {1}", ui.UserID, mi.MyGroup.GroupName);
txt+=" " + VEPROMS.CSLA.Library.Database.VEPROMS_SqlConnection.ConnectionString;
ToolStripItem tsi = cms.Items.Add(txt, null, new EventHandler(User_Click));
tsi.Tag = ui;
break;
@@ -2197,6 +2198,7 @@ namespace VEPROMS
}
tn = (VETreeNode)tn.Parent;
}
caption.Insert(0,VEPROMS.CSLA.Library.Database.DBServer + sep);
this.Text = caption.ToString();
}
void tv_OpenItem(object sender, vlnTreeItemInfoEventArgs args)