Some Chnage Manager changes
Change Manager
This commit is contained in:
45
PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
generated
45
PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
generated
@@ -108,13 +108,17 @@ namespace VEPROMS
|
||||
this.tabItemLibDocs = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.expandableSplitter4 = new DevComponents.DotNetBar.ExpandableSplitter();
|
||||
this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.infotabHistory = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.itemAnnotationsBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.tc = new Volian.Controls.Library.DisplayTabControl();
|
||||
this.displayHistory = new Volian.Controls.Library.DisplayHistory();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bottomBar)).BeginInit();
|
||||
this.bottomBar.SuspendLayout();
|
||||
this.epAnnotations.SuspendLayout();
|
||||
this.epProcedures.SuspendLayout();
|
||||
this.infoPanel.SuspendLayout();
|
||||
this.tabControlPanel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.infoTabs)).BeginInit();
|
||||
this.infoTabs.SuspendLayout();
|
||||
this.infotabControlPanelTags.SuspendLayout();
|
||||
@@ -691,6 +695,7 @@ namespace VEPROMS
|
||||
//
|
||||
this.infoTabs.BackColor = System.Drawing.Color.Transparent;
|
||||
this.infoTabs.CanReorderTabs = true;
|
||||
this.infoTabs.Controls.Add(this.tabControlPanel1);
|
||||
this.infoTabs.Controls.Add(this.infotabControlPanelTags);
|
||||
this.infoTabs.Controls.Add(this.infotabControlPanelTransitions);
|
||||
this.infoTabs.Controls.Add(this.infotabControlPanelRO);
|
||||
@@ -706,6 +711,7 @@ namespace VEPROMS
|
||||
this.infoTabs.Tabs.Add(this.infotabTags);
|
||||
this.infoTabs.Tabs.Add(this.infotabRO);
|
||||
this.infoTabs.Tabs.Add(this.infotabTransition);
|
||||
this.infoTabs.Tabs.Add(this.infotabHistory);
|
||||
this.infoTabs.Text = "tabControl1";
|
||||
this.infoTabs.ThemeAware = true;
|
||||
this.infoTabs.Visible = false;
|
||||
@@ -1199,6 +1205,29 @@ namespace VEPROMS
|
||||
this.buttonItem1.Text = "buttonItem19";
|
||||
this.buttonItem1.Tooltip = "Degree";
|
||||
//
|
||||
// infotabHistory
|
||||
//
|
||||
this.infotabHistory.AttachedControl = this.tabControlPanel1;
|
||||
this.infotabHistory.Name = "infotabHistory";
|
||||
this.infotabHistory.Text = "History";
|
||||
//
|
||||
// tabControlPanel1
|
||||
//
|
||||
this.tabControlPanel1.Controls.Add(this.displayHistory);
|
||||
this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabControlPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tabControlPanel1.Name = "tabControlPanel1";
|
||||
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
|
||||
this.tabControlPanel1.Size = new System.Drawing.Size(203, 515);
|
||||
this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.SystemColors.Control;
|
||||
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tabControlPanel1.Style.GradientAngle = 180;
|
||||
this.tabControlPanel1.TabIndex = 6;
|
||||
this.tabControlPanel1.TabItem = this.infotabHistory;
|
||||
this.tabControlPanel1.ThemeAware = true;
|
||||
//
|
||||
// itemAnnotationsBindingSource
|
||||
//
|
||||
this.itemAnnotationsBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.ItemAnnotation);
|
||||
@@ -1223,6 +1252,18 @@ namespace VEPROMS
|
||||
this.tc.WordSectionDeleted += new Volian.Controls.Library.StepPanelWordSectionDeletedEvent(this.tc_WordSectionDeleted);
|
||||
this.tc.LinkModifyRO += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyRO);
|
||||
//
|
||||
// displayHistory
|
||||
//
|
||||
//this.displayHistory.AnnotationOnly = false;
|
||||
this.displayHistory.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.displayHistory.Location = new System.Drawing.Point(1, 1);
|
||||
this.displayHistory.MyItemInfo = null;
|
||||
this.displayHistory.MyProcedureInfo = null;
|
||||
this.displayHistory.Name = "displayHistory";
|
||||
//this.displayHistory.Results = ((System.Collections.Generic.ICollection<VEPROMS.CSLA.Library.ItemInfo>)(resources.GetObject("displayHistory.Results")));
|
||||
this.displayHistory.Size = new System.Drawing.Size(201, 513);
|
||||
this.displayHistory.TabIndex = 0;
|
||||
//
|
||||
// frmVEPROMS
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
@@ -1266,6 +1307,7 @@ namespace VEPROMS
|
||||
this.tabControlPanel2.ResumeLayout(false);
|
||||
this.panelEx3.ResumeLayout(false);
|
||||
this.tabControlPanelLD.ResumeLayout(false);
|
||||
this.tabControlPanel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.itemAnnotationsBindingSource)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
@@ -1378,6 +1420,9 @@ namespace VEPROMS
|
||||
private System.Windows.Forms.ComboBox cmbFont;
|
||||
private DevComponents.DotNetBar.LabelItem lblResolution;
|
||||
private DevComponents.DotNetBar.ButtonItem btnEditItem;
|
||||
private DevComponents.DotNetBar.TabControlPanel tabControlPanel1;
|
||||
private DevComponents.DotNetBar.TabItem infotabHistory;
|
||||
private Volian.Controls.Library.DisplayHistory displayHistory;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -122,7 +122,7 @@ namespace VEPROMS
|
||||
// - except for the volian laptop and Rich's Demo version where we need to use local data
|
||||
if (Environment.MachineName == "RMARK-PC")
|
||||
VEPROMS.CSLA.Library.Database.ConnectionName = "VEPROMS_RMARK_DEMO";
|
||||
else if (Environment.UserName == "BODINE")
|
||||
else if (Environment.UserName.ToUpper() == "BODINE")
|
||||
VEPROMS.CSLA.Library.Database.ConnectionName = "VEPROMS_BODINE_DEMO";
|
||||
else
|
||||
VEPROMS.CSLA.Library.Database.ConnectionName = "VEPROMS_LOCAL";
|
||||
@@ -160,6 +160,10 @@ namespace VEPROMS
|
||||
cmbFont.DataSource = FontFamily.Families;
|
||||
cmbFont.DisplayMember = "Name";
|
||||
cmbFont.SelectedIndex = -1;
|
||||
if (!FormatInfo.HasLatestChanges())
|
||||
throw new Exception("Inconsistent Formats");
|
||||
if (!ItemAuditInfo.IsChangeManagerVersion())
|
||||
throw new Exception("Inconsistent Data");
|
||||
VETreeNode tn = VETreeNode.GetFolder(1);
|
||||
tv.Nodes.Add(tn);
|
||||
tv.NodePSI += new vlnTreeViewPSIEvent(tv_NodePSI);
|
||||
@@ -172,6 +176,7 @@ namespace VEPROMS
|
||||
tv.NodeInsert += new vlnTreeViewEvent(tv_NodeInsert);
|
||||
tv.PasteItemInfo += new vlnTreeViewItemInfoPasteEvent(tv_PasteItemInfo);
|
||||
tc.ItemPaste += new StepPanelItemPastedEvent(tc_ItemPasted);
|
||||
displayHistory.HistorySelectionChanged += new DisplayHistoryEvent(displayHistory_HistorySelectionChanged);
|
||||
_CommentTitleBckColor = epAnnotations.TitleStyle.BackColor1.Color;
|
||||
if (!btnAnnoDetailsPushPin.Checked)
|
||||
epAnnotations.Expanded = false;
|
||||
@@ -182,11 +187,33 @@ namespace VEPROMS
|
||||
dlgFindReplace = new FindReplace();
|
||||
SpellChecker = new VlnSpellCheck();
|
||||
displaySearch1.PrintRequest += new DisplaySearchEvent(displaySearch1_PrintRequest);
|
||||
displayHistory.ChronologyPrintRequest += new DisplayHistoryReportEvent(displayHistory_ChronologyPrintRequest);
|
||||
displayHistory.SummaryPrintRequest += new DisplayHistoryReportEvent(displayHistory_SummaryPrintRequest);
|
||||
this.Activated += new EventHandler(frmVEPROMS_Activated);
|
||||
VlnSettings.StepTypeToolType = Settings.Default.StepTypeToolTip;
|
||||
displayLibDocs.PrintRequest += new DisplayLibDocEvent(displayLibDocs_PrintRequest);
|
||||
ContentInfo.InfoChanged += new ContentInfoEvent(RefreshDisplayHistory);
|
||||
ItemInfo.InfoRestored += new ItemInfoEvent(RefreshDisplayHistory);
|
||||
ItemInfo.ItemDeleted += new ItemInfoEvent(RefreshDisplayHistory);
|
||||
}
|
||||
void RefreshDisplayHistory(object sender)
|
||||
{
|
||||
displayHistory.RefreshList();
|
||||
}
|
||||
void displayHistory_HistorySelectionChanged(object sender, DisplayHistoryEventArgs args)
|
||||
{
|
||||
tc.OpenItem(ItemInfo.Get(args.ItemID));
|
||||
}
|
||||
void displayHistory_SummaryPrintRequest(object sender, DisplayHistoryReportEventArgs args)
|
||||
{
|
||||
Volian.Print.Library.PDFChronologyReport myChronoRpt = new Volian.Print.Library.PDFChronologyReport(args.ReportTitle, args.ProcedureInfo, args.AuditList, args.AnnotationList);
|
||||
myChronoRpt.BuildSummary();
|
||||
}
|
||||
void displayHistory_ChronologyPrintRequest(object sender, DisplayHistoryReportEventArgs args)
|
||||
{
|
||||
Volian.Print.Library.PDFChronologyReport myChronoRpt = new Volian.Print.Library.PDFChronologyReport(args.ReportTitle, args.ProcedureInfo, args.AuditList, args.AnnotationList);
|
||||
myChronoRpt.BuildChronology();
|
||||
}
|
||||
|
||||
DialogResult tv_NodePSI(object sender, vlnTreeEventArgs args)
|
||||
{
|
||||
VETreeNode vNode = (VETreeNode)args.Node;
|
||||
@@ -1101,6 +1128,7 @@ namespace VEPROMS
|
||||
displayRO.MyRTB = args.MyEditItem.MyStepRTB;
|
||||
displayTags.MyEditItem = args.MyEditItem;
|
||||
displayBookMarks.MyEditItem = args.MyEditItem;
|
||||
displayHistory.MyEditItem = args.MyEditItem;
|
||||
|
||||
displayRO.ProgressBar = bottomProgBar;
|
||||
|
||||
|
Reference in New Issue
Block a user