Added logic to support reading a 64 bit registry from 32 bit code.
Fixed logic to check to see if MSWord 2007 has the addin installed for PDF Export Added Unit RO support for MSWord Sections for U-Name, U-ID, U-Other Text, U-Other Number, U-Other Name, and U-OtherID Fixed code to handle Library Documents being remove from a list. Removed Debug Output
This commit is contained in:
@@ -268,26 +268,27 @@ namespace Volian.Controls.Library
|
||||
Application.DoEvents();
|
||||
}
|
||||
}
|
||||
private bool _ProcessingSelectedValueChanged = false;
|
||||
private void listBoxUsages_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_InitializingLibDocList)
|
||||
{
|
||||
if (_ProcessingSelectedValueChanged) return;
|
||||
_ProcessingSelectedValueChanged = true;
|
||||
if (listBoxUsages.SelectedIndex == -1) return;
|
||||
DocumentInfo di = LibDocList[listBoxLibDocs.SelectedIndex];
|
||||
// see if the library document actually has data - data migration may have created a 'null' content within the
|
||||
// record for missing library documents.
|
||||
if (di.DocContent == null)
|
||||
{
|
||||
MessageBox.Show("No Content in this document");
|
||||
return;
|
||||
}
|
||||
_DisplayTabControl.OpenItem(di.LibraryDocumentUsageList[listBoxUsages.SelectedIndex]);
|
||||
_ProcessingSelectedValueChanged = false;
|
||||
}
|
||||
}
|
||||
private bool _ProcessingSelectedValueChanged = false;
|
||||
private void listBoxUsages_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_InitializingLibDocList)
|
||||
{
|
||||
if (_ProcessingSelectedValueChanged) return;
|
||||
_ProcessingSelectedValueChanged = true;
|
||||
if (listBoxUsages.SelectedIndex == -1) return;
|
||||
DocumentInfo di = LibDocList[listBoxLibDocs.SelectedIndex];
|
||||
// see if the library document actually has data - data migration may have created a 'null' content within the
|
||||
// record for missing library documents.
|
||||
if (di.DocContent == null)
|
||||
{
|
||||
MessageBox.Show("No Content in this document");
|
||||
return;
|
||||
}
|
||||
if (listBoxUsages.SelectedIndex < di.LibraryDocumentUsageList.Count && listBoxUsages.SelectedIndex >= 0)
|
||||
_DisplayTabControl.OpenItem(di.LibraryDocumentUsageList[listBoxUsages.SelectedIndex]);
|
||||
_ProcessingSelectedValueChanged = false;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void btnPrint_Click(object sender, EventArgs e)
|
||||
|
Reference in New Issue
Block a user