This commit is contained in:
Kathy Ruffing 2011-04-27 11:19:13 +00:00
parent d207a0eefa
commit 385bfc09e0
2 changed files with 6 additions and 2 deletions

View File

@ -733,8 +733,8 @@ namespace Volian.Controls.Library
MessageBox.Show("Too many Word Documents Open. Please close one of the Documents before attempting to open another"); MessageBox.Show("Too many Word Documents Open. Please close one of the Documents before attempting to open another");
return null; return null;
} }
if ((myItemInfo.MyContent.MyEntry.MyDocument.LibTitle ?? "") != "") //if ((myItemInfo.MyContent.MyEntry.MyDocument.LibTitle ?? "") != "")
MessageBox.Show("WARNING: All edits made to this Library Document will be applied to all uses of the Document"); // MessageBox.Show("WARNING: All edits made to this Library Document will be applied to all uses of the Document");
pg = new DisplayTabItem(this.components, this, myItemInfo, key); // Open a new document page pg = new DisplayTabItem(this.components, this, myItemInfo, key); // Open a new document page
_MyDisplayTabItems.Add(key, pg); _MyDisplayTabItems.Add(key, pg);
} }

View File

@ -188,6 +188,10 @@ namespace Volian.Controls.Library
Tooltip = _Tooltip; Tooltip = _Tooltip;
} }
private string _Tooltip; private string _Tooltip;
public void SetPrivateTooltip(string tt)
{
_Tooltip = tt;
}
void DisplayTabItem_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e) void DisplayTabItem_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
{ {
string newTooltip = e.Y > 30 ? null : _Tooltip; string newTooltip = e.Y > 30 ? null : _Tooltip;