search logic
This commit is contained in:
@@ -66,7 +66,7 @@ namespace VEPROMS
|
||||
{
|
||||
get
|
||||
{
|
||||
if(_SelectedROFst == null)
|
||||
if(_SelectedROFst == null && SelectedDVI != null)
|
||||
_SelectedROFst = SelectedDVI.DocVersionAssociations[0].MyROFst;
|
||||
return _SelectedROFst;
|
||||
}
|
||||
@@ -99,7 +99,8 @@ namespace VEPROMS
|
||||
_CommentTitleBckColor = epAnnotations.TitleStyle.BackColor1.Color;
|
||||
if (!btnAnnoDetailsPushPin.Checked)
|
||||
epAnnotations.Expanded = false;
|
||||
infoPanel.Expanded = false;
|
||||
infoPanel.Expanded = false;
|
||||
toolsPanel.Expanded = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -125,8 +126,11 @@ namespace VEPROMS
|
||||
_MyBookMarks = MostRecentItemList.GetMRILst((System.Collections.Specialized.StringCollection)(Properties.Settings.Default["BookMarks"]));
|
||||
SetupMRU();
|
||||
SetupBookMarks();
|
||||
CtrlAnnotationSearch.SetupAnnotationSearch(ctrlAnnotationDetails, tc);
|
||||
ctrlAnnotationDetails.SetupAnnotations(CtrlAnnotationSearch);
|
||||
//CtrlAnnotationSearch.SetupAnnotationSearch(ctrlAnnotationDetails, tc);
|
||||
//ctrlAnnotationDetails.SetupAnnotations(CtrlAnnotationSearch);
|
||||
displaySearch1.SetupAnnotationSearch(ctrlAnnotationDetails, tc);
|
||||
ctrlAnnotationDetails.SetupAnnotations(displaySearch1);
|
||||
|
||||
}
|
||||
#region MRU
|
||||
private MostRecentItemList _MyMRIList;
|
||||
@@ -691,9 +695,12 @@ namespace VEPROMS
|
||||
/// <param name="e"></param>
|
||||
private void btnGlbSrch_Click(object sender, EventArgs e)
|
||||
{
|
||||
infoPanel.Expanded = true;
|
||||
infoTabs.SelectedTab = infotabResults;
|
||||
btnSrchRslt.Checked = true;
|
||||
//infoPanel.Expanded = true;
|
||||
//infoTabs.SelectedTab = toolstabResults;
|
||||
//btnSrchRslt.Checked = true;
|
||||
toolsPanel.Expanded = true;
|
||||
toolsTabs.SelectedTab = toolstabResults;
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -707,9 +714,9 @@ namespace VEPROMS
|
||||
/// <param name="e"></param>
|
||||
private void btnSimStps_Click(object sender, EventArgs e)
|
||||
{
|
||||
infoPanel.Expanded = true;
|
||||
infoTabs.SelectedTab = infotabResults;
|
||||
btnSimStpsRslt.Checked = true;
|
||||
//infoPanel.Expanded = true;
|
||||
//infoTabs.SelectedTab = toolstabResults;
|
||||
//btnSimStpsRslt.Checked = true;
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -1167,5 +1174,23 @@ namespace VEPROMS
|
||||
{
|
||||
displayTags.MyRTB = (SelectedStepTabPanel == null) ? null : SelectedStepTabPanel.MyStepPanel.SelectedStepItem.MyStepRTB;
|
||||
}
|
||||
//private void tv_SectionShouldClose(object sender, vlnTreeSectionInfoEventArgs args)
|
||||
//{
|
||||
// if (!args.MySectionInfo.IsStepSection) tc.CloseWordItem(args.MySectionInfo);
|
||||
//}
|
||||
|
||||
private void infotabResults_Click(object sender, EventArgs e)
|
||||
{
|
||||
toolsPanel.Expanded = true;
|
||||
if (SelectedROFst!=null)
|
||||
displaySearch1.MyROFSTLookup = SelectedROFst.ROFSTLookup;
|
||||
if (SelectedDVI != null)
|
||||
{
|
||||
displaySearch1.Mydocversion = SelectedDVI;
|
||||
displaySearch1.advTreeStepTypesFillIn();
|
||||
}
|
||||
displaySearch1.advTreeProcSetsFillIn();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user