This commit is contained in:
@@ -134,7 +134,7 @@ namespace Volian.Controls.Library
|
||||
#endregion
|
||||
#region Event Handlers
|
||||
/// <summary>
|
||||
/// Updates SelectedStepItem when the user selects a DisplayTabItem
|
||||
/// Updates SelectedRTBItem when the user selects a DisplayTabItem
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
@@ -145,8 +145,8 @@ namespace Volian.Controls.Library
|
||||
if(myTabItem == null)return;
|
||||
StepTabPanel myTabPanel = myTabItem.MyStepTabPanel as StepTabPanel;
|
||||
if(myTabPanel == null) return;
|
||||
if (MyStepTabPanel.SelectedStepItem == null) return;
|
||||
_MyDisplayTabControl.OnItemSelectedChanged(this,new ItemSelectedChangedEventArgs(MyStepTabPanel.SelectedStepItem));
|
||||
if (MyStepTabPanel.SelectedRTBItem == null) return;
|
||||
_MyDisplayTabControl.OnItemSelectedChanged(this,new ItemSelectedChangedEventArgs(MyStepTabPanel.SelectedRTBItem));
|
||||
}
|
||||
#endregion
|
||||
#region private Methods
|
||||
@@ -177,7 +177,7 @@ namespace Volian.Controls.Library
|
||||
_MyStepTabPanel.MyDisplayTabItem = this;
|
||||
((System.ComponentModel.ISupportInitialize)(_MyDisplayTabControl.MyBar)).EndInit();
|
||||
_MyDisplayTabControl.MyBar.ResumeLayout(false);
|
||||
DocVersionInfo dvi = _MyItemInfo.MyProcedure.ActiveParent as DocVersionInfo; //MyStepItem.MyItemInfo.MyProcedure.ActiveParent as DocVersionInfo;
|
||||
DocVersionInfo dvi = _MyItemInfo.MyProcedure.ActiveParent as DocVersionInfo; //MyRTBItem.MyItemInfo.MyProcedure.ActiveParent as DocVersionInfo;
|
||||
if (dvi == null) return;
|
||||
if (dvi.VersionType > 127)
|
||||
MyStepTabPanel.MyStepPanel.PanelViewEditMode = E_ViewMode.View;
|
||||
|
Reference in New Issue
Block a user