Merge remote-tracking branch 'origin/Development' into C2025-027-AnnotationsTypeSelect
This commit is contained in:
@@ -69,6 +69,7 @@ namespace Volian.Controls.Library
|
||||
_AnnotationDetails = annotationDetails;
|
||||
cbAnnoType.DisplayMember = "Name";
|
||||
cbAnnoType.DataSource = AnnotationTypeInfoList.Get();
|
||||
lbResults.MouseMove -= new MouseEventHandler(lbResults_MouseMove);
|
||||
lbResults.MouseMove += new MouseEventHandler(lbResults_MouseMove);
|
||||
_TabControl = tc;
|
||||
}
|
||||
|
@@ -354,7 +354,10 @@ namespace Volian.Controls.Library
|
||||
private void WireCheckboxes()
|
||||
{
|
||||
foreach (CheckBox cb in MyCheckBoxes.Values)
|
||||
{
|
||||
cb.CheckedChanged -= new EventHandler(cb_CheckedChanged);
|
||||
cb.CheckedChanged += new EventHandler(cb_CheckedChanged);
|
||||
}
|
||||
}
|
||||
private void UnwireCheckboxes(bool reset)
|
||||
{
|
||||
|
@@ -211,7 +211,9 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
_myRTB = value;
|
||||
|
||||
MyRTB.LinkChanged -= new StepRTBLinkEvent(MyRTB_LinkChanged);
|
||||
MyRTB.LinkChanged += new StepRTBLinkEvent(MyRTB_LinkChanged);
|
||||
MyRTB.SelectionChanged -= new EventHandler(MyRTB_SelectionChanged);
|
||||
MyRTB.SelectionChanged += new EventHandler(MyRTB_SelectionChanged);
|
||||
|
||||
if (string.IsNullOrEmpty(MyRTB.MyLinkText))
|
||||
|
@@ -161,8 +161,11 @@ namespace Volian.Controls.Library
|
||||
|
||||
if (_MyROFSTLookup == null) return;
|
||||
|
||||
advTreeRO.BeforeExpand -= new AdvTreeNodeCancelEventHandler(advTreeRO_BeforeExpand);
|
||||
advTreeRO.BeforeExpand += new AdvTreeNodeCancelEventHandler(advTreeRO_BeforeExpand);
|
||||
advTreeRO.AfterExpand -= new AdvTreeNodeEventHandler(advTreeRO_AfterExpandorCollapse);
|
||||
advTreeRO.AfterExpand += new AdvTreeNodeEventHandler(advTreeRO_AfterExpandorCollapse);
|
||||
advTreeRO.AfterCollapse -= new AdvTreeNodeEventHandler(advTreeRO_AfterExpandorCollapse);
|
||||
advTreeRO.AfterCollapse += new AdvTreeNodeEventHandler(advTreeRO_AfterExpandorCollapse);
|
||||
|
||||
topnode = new DevComponents.AdvTree.Node();
|
||||
@@ -250,6 +253,7 @@ namespace Volian.Controls.Library
|
||||
topnode.Tag = fi;
|
||||
}
|
||||
|
||||
advTreeProcSets.BeforeExpand -= new DevComponents.AdvTree.AdvTreeNodeCancelEventHandler(advTreeProcSets_BeforeExpand);
|
||||
advTreeProcSets.BeforeExpand += new DevComponents.AdvTree.AdvTreeNodeCancelEventHandler(advTreeProcSets_BeforeExpand);
|
||||
|
||||
// position to the procedure set in the tree if we have a procedure open
|
||||
|
@@ -468,7 +468,9 @@ namespace Volian.Controls.Library
|
||||
lastLastFormatID = fv.FormatID;
|
||||
}
|
||||
}
|
||||
cbxTranVersion.SelectedIndexChanged -= new EventHandler(cbxTranVersion_SelectedIndexChanged);
|
||||
cbxTranVersion.SelectedIndexChanged += new EventHandler(cbxTranVersion_SelectedIndexChanged);
|
||||
cbxTranFormat.SelectedIndexChanged -= new EventHandler(cbxTranFormat_SelectedIndexChanged);
|
||||
cbxTranFormat.SelectedIndexChanged += new EventHandler(cbxTranFormat_SelectedIndexChanged);
|
||||
}
|
||||
this.Cursor = Cursors.Default;
|
||||
@@ -892,6 +894,7 @@ namespace Volian.Controls.Library
|
||||
topnode.DataKey = fi.FolderID;
|
||||
}
|
||||
|
||||
advTreeProcSets.BeforeExpand -= new DevComponents.AdvTree.AdvTreeNodeCancelEventHandler(advTreeProcSets_BeforeExpand);
|
||||
advTreeProcSets.BeforeExpand += new DevComponents.AdvTree.AdvTreeNodeCancelEventHandler(advTreeProcSets_BeforeExpand);
|
||||
|
||||
// position to the procedure set in the tree if we have a procedure open
|
||||
@@ -986,6 +989,7 @@ namespace Volian.Controls.Library
|
||||
annoTypes.Add(new AnnotationTypeSearch(ati.Name, ati.TypeID.ToString()));
|
||||
cbxAnnoTypes.DisplayMember = "Name";
|
||||
cbxAnnoTypes.DataSource = annoTypes;
|
||||
lbSrchResults.MouseMove -= new MouseEventHandler(lbSrchResults_MouseMove);
|
||||
lbSrchResults.MouseMove += new MouseEventHandler(lbSrchResults_MouseMove);
|
||||
_TabControl = tc;
|
||||
}
|
||||
|
@@ -378,7 +378,10 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
_MyStepRTB = _MyEditItem.MyStepRTB;
|
||||
if (_MyStepRTB != null)
|
||||
{
|
||||
_MyStepRTB.Disposed -= new EventHandler(_MyStepRTB_Disposed);
|
||||
_MyStepRTB.Disposed += new EventHandler(_MyStepRTB_Disposed);
|
||||
}
|
||||
}
|
||||
else
|
||||
_MyStepRTB = null;
|
||||
@@ -469,6 +472,7 @@ namespace Volian.Controls.Library
|
||||
myBar.DockTabControl.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right;
|
||||
myBar.DockTabControl.Width = ClientRectangle.Width;
|
||||
}
|
||||
myBar.DockTabClosing -= new DockTabClosingEventHandler(myBar_DockTabClosing);
|
||||
myBar.DockTabClosing += new DockTabClosingEventHandler(myBar_DockTabClosing);
|
||||
if (!myBar.Visible)
|
||||
myBar.Visible = true;
|
||||
|
@@ -566,6 +566,7 @@ namespace Volian.Controls.Library
|
||||
startitm = startitm.GetNext();
|
||||
}
|
||||
if (!setsel2) tvTran.SelectedNode = tvTran.Nodes[0];
|
||||
tvTran.BeforeExpand -= new TreeViewCancelEventHandler(tvTran_BeforeExpand);
|
||||
tvTran.BeforeExpand += new TreeViewCancelEventHandler(tvTran_BeforeExpand);
|
||||
// bug fix. TreeView needs the next two lines to properly display the bottom node. jsj 01/08/2010
|
||||
tvTran.ItemHeight++;
|
||||
@@ -599,6 +600,7 @@ namespace Volian.Controls.Library
|
||||
startitm = startitm.GetNext();
|
||||
}
|
||||
if (!setsel) tvTran.SelectedNode = tvTran.Nodes[0];
|
||||
tvTran.BeforeExpand -= new TreeViewCancelEventHandler(tvTran_BeforeExpand);
|
||||
tvTran.BeforeExpand += new TreeViewCancelEventHandler(tvTran_BeforeExpand);
|
||||
// bug fix. TreeView needs the next two lines to properly display the bottom node. jsj 01/08/2010
|
||||
tvTran.ItemHeight++;
|
||||
|
@@ -214,10 +214,14 @@ namespace Volian.Controls.Library
|
||||
UserCheckOffChar = (char)co.UIMark;
|
||||
}
|
||||
// Deal with changes in content data
|
||||
value.MyContent.Changed -= new ContentInfoEvent(MyContent_Changed);
|
||||
value.MyContent.Changed += new ContentInfoEvent(MyContent_Changed);
|
||||
value.MyProcedure.MyContent.Changed -= new ContentInfoEvent(MyContent_Changed);
|
||||
value.MyProcedure.MyContent.Changed += new ContentInfoEvent(MyContent_Changed);
|
||||
// Deal with change in item data
|
||||
value.Changed -= new ItemInfoEvent(value_Changed);
|
||||
value.Changed += new ItemInfoEvent(value_Changed);
|
||||
value.OrdinalChanged -= new ItemInfoEvent(value_OrdinalChanged);
|
||||
value.OrdinalChanged += new ItemInfoEvent(value_OrdinalChanged);
|
||||
// do something like this to draw circle around step numbers - note got NULL reference error on NSP data
|
||||
//if (value.FormatStepData != null && value.FormatStepData.TabData.IdentPrint.Contains("C0")) Circle = true;
|
||||
@@ -3997,9 +4001,13 @@ namespace Volian.Controls.Library
|
||||
if (!itemInfo.IsStep) // C2025-036 reduce un-needed processing - this will prevent duplicat calls that generate step tabs when loading a procedure
|
||||
SetupHeader(itemInfo);
|
||||
SetupAlarmTableView(itemInfo); // C2021-018 display alarm point table information in the step editor (if the format flag is set)
|
||||
this.Paint -= new PaintEventHandler(EditItem_Paint);
|
||||
this.Paint += new PaintEventHandler(EditItem_Paint);
|
||||
this.BackColorChanged -= new EventHandler(EditItem_BackColorChanged);
|
||||
this.BackColorChanged += new EventHandler(EditItem_BackColorChanged);
|
||||
this.Move -= new EventHandler(EditItem_Move);
|
||||
this.Move += new EventHandler(EditItem_Move);
|
||||
this.Resize -= new EventHandler(EditItem_Resize);
|
||||
this.Resize += new EventHandler(EditItem_Resize);
|
||||
if (itemInfo != null)
|
||||
{
|
||||
@@ -4050,6 +4058,7 @@ namespace Volian.Controls.Library
|
||||
SeqLevel = myParentEditItem.SeqLevel + ((myChildRelation == ChildRelation.After || myChildRelation == ChildRelation.Before) && itemInfo.IsSequential ? 1 : 0);
|
||||
//// TIMING: DisplayItem.TimeIt("CSLARTB seqLevel");
|
||||
MyItemInfo = itemInfo;
|
||||
MyItemInfo.MyConfig.PropertyChanged -= new PropertyChangedEventHandler(MyConfig_PropertyChanged);
|
||||
MyItemInfo.MyConfig.PropertyChanged += new PropertyChangedEventHandler(MyConfig_PropertyChanged);
|
||||
}
|
||||
//// TIMING: DisplayItem.TimeIt("CSLARTB MyItem");
|
||||
|
Reference in New Issue
Block a user