This commit is contained in:
parent
391cbaea39
commit
b84bf35339
@ -63,6 +63,11 @@ namespace Volian.Controls.Library
|
||||
private void listBoxLibDocs_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (listBoxLibDocs.SelectedIndex == _SelectedLibDoc) return;
|
||||
UpdateUsageList();
|
||||
}
|
||||
|
||||
private void UpdateUsageList()
|
||||
{
|
||||
groupPanelLibDocs.Style.BackColor = Color.Orange;
|
||||
_SelectedLibDoc = listBoxLibDocs.SelectedIndex;
|
||||
listBoxUsages.Items.Clear();
|
||||
@ -130,7 +135,10 @@ namespace Volian.Controls.Library
|
||||
if (chg == true)
|
||||
{
|
||||
doc.Save();
|
||||
int cursel = _SelectedLibDoc;
|
||||
LibDocListFillIn(_DisplayTabControl);
|
||||
listBoxLibDocs.SelectedIndex = cursel;
|
||||
UpdateUsageList();
|
||||
}
|
||||
}
|
||||
private void btnCancel_Click(object sender, EventArgs e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user