Added SessionInfo property to dlgApproveProcedure and ApprovalInfo classes.

Added SessionInfo property to DlgPrintProcedure and added checks to print routines to notify user that another user has procedure checked out with a confirmation to continue printing.
Added code to support multiuser and security including initializing security, creating user if user does not exist in database, checking in and out DocVersions, Procedures and Documents and keeping the database notified that user is still active.
Added label to bottom of PROMS main form to indicate who user is and what security they have on open objects.
This commit is contained in:
Rich
2013-11-20 23:00:28 +00:00
parent 46a70899bd
commit b634967817
4 changed files with 357 additions and 5 deletions

View File

@@ -71,6 +71,7 @@ namespace VEPROMS
this.btnItemInfo = new DevComponents.DotNetBar.ButtonItem();
this.lblItemID = new DevComponents.DotNetBar.LabelItem();
this.lblResolution = new DevComponents.DotNetBar.LabelItem();
this.lblUser = new DevComponents.DotNetBar.LabelItem();
this.btnEditItem = new DevComponents.DotNetBar.ButtonItem();
this.btnFixMSWord = new DevComponents.DotNetBar.ButtonItem();
this.epAnnotations = new DevComponents.DotNetBar.ExpandablePanel();
@@ -494,6 +495,7 @@ namespace VEPROMS
this.lblItemID,
this.lblResolution,
this.btnEditItem,
this.lblUser,
this.btnFixMSWord});
this.bottomBar.Location = new System.Drawing.Point(5, 569);
this.bottomBar.Name = "bottomBar";
@@ -585,6 +587,13 @@ namespace VEPROMS
this.lblResolution.Text = "Edit";
this.lblResolution.Click += new System.EventHandler(this.lblResolution_Click);
//
// lblUser
//
this.lblUser.BackColor = System.Drawing.Color.Transparent;
this.lblUser.ForeColor = System.Drawing.SystemColors.MenuText;
this.lblUser.Name = "lblUser";
this.lblUser.Text = "User";
//
// btnEditItem
//
this.btnEditItem.ForeColor = System.Drawing.Color.Blue;
@@ -1600,6 +1609,7 @@ namespace VEPROMS
private DevComponents.DotNetBar.LabelItem lblItemID;
private System.Windows.Forms.ComboBox cmbFont;
private DevComponents.DotNetBar.LabelItem lblResolution;
private DevComponents.DotNetBar.LabelItem lblUser;
private DevComponents.DotNetBar.ButtonItem btnEditItem;
private DevComponents.DotNetBar.TabControlPanel tabControlPanel1;
private DevComponents.DotNetBar.TabItem infotabHistory;