Use Timer to close MSWord App about 1 second after it is used.

Check to see if the Bars exist before removing them
Add 1 point to the width of boxed text to get proper Line-Wrapping
This commit is contained in:
Rich
2011-04-27 13:13:09 +00:00
parent 6ae9eb9653
commit 601632f019
3 changed files with 40 additions and 7 deletions

View File

@@ -293,6 +293,7 @@ namespace Volian.Controls.Library
myTabItem.MyDSOTabPanel.CloseDSO();
}
}
if (((Bar)sender).Items == null) return;
if (((Bar)sender).Items.Count == 1)// Remove bar if last item is closed...
{
Bar bar = sender as Bar;