Fixed ItemSelected so that Comment works properly.
Added code back in so that Word displays properly. Allow the same document to be opened after Word hang
This commit is contained in:
1 parent
52a735e08c
commit
3c79833edf
5 files changed
+87
-22
No files matched your search
@@ -30,6 +30,7 @@ namespace Volian.Controls.Library
|
||||
get { return _TabItem; }
|
||||
set { _TabItem = value; }
|
||||
}
|
||||
//private frmPG _frm = null;
|
||||
public DSOTabPanel(DocumentInfo documentInfo, DisplayTabControl myTabControl)
|
||||
{
|
||||
_MyTabControl = myTabControl;
|
||||
@@ -37,6 +38,8 @@ namespace Volian.Controls.Library
|
||||
SetupDSOTabPanel();
|
||||
_MyDocument = documentInfo;
|
||||
SetupDSO();
|
||||
//_frm = new frmPG(_MyDSOFramer);
|
||||
//_frm.Show();
|
||||
}
|
||||
private void SetupDSOTabPanel()
|
||||
{
|
||||
@@ -98,15 +101,15 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
void DSOTabPanel_Enter(object sender, EventArgs e)
|
||||
{
|
||||
//try
|
||||
//{
|
||||
// _MyDSOFramer.EventsEnabled = true;
|
||||
// _MyDSOFramer.FrameHookPolicy = DSOFramer.dsoFrameHookPolicy.dsoResetNow;
|
||||
//}
|
||||
//catch (Exception ex)
|
||||
//{
|
||||
// if (_MyLog.IsErrorEnabled) _MyLog.ErrorFormat("DSOTabPage_Enter", ex);
|
||||
//}
|
||||
try
|
||||
{
|
||||
_MyDSOFramer.EventsEnabled = true;
|
||||
_MyDSOFramer.FrameHookPolicy = DSOFramer.dsoFrameHookPolicy.dsoResetNow;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (_MyLog.IsErrorEnabled) _MyLog.ErrorFormat("DSOTabPage_Enter", ex);
|
||||
}
|
||||
_MyTabControl.OnItemSelectedChanged(this, null);
|
||||
_MyDSOFramer.Focus();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user