[iclect-commits] iclect/src/iclect.Forms/Utility MenuItemWithHelp.cs,1.1.1.1,1.2
Status: Beta
Brought to you by:
mhjp
|
From: Michael P. <mh...@us...> - 2003-07-04 23:50:09
|
Update of /cvsroot/iclect/iclect/src/iclect.Forms/Utility
In directory sc8-pr-cvs1:/tmp/cvs-serv29448/src/iclect.Forms/Utility
Modified Files:
MenuItemWithHelp.cs
Log Message:
Enhanced title and status bar.
Index: MenuItemWithHelp.cs
===================================================================
RCS file: /cvsroot/iclect/iclect/src/iclect.Forms/Utility/MenuItemWithHelp.cs,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** MenuItemWithHelp.cs 22 Jun 2003 20:01:31 -0000 1.1.1.1
--- MenuItemWithHelp.cs 4 Jul 2003 23:49:53 -0000 1.2
***************
*** 74,79 ****
protected override void OnSelect(System.EventArgs e)
{
! if ((_statusBar != null) && (_helpText != null))
_statusBar.Text = _helpText;
}
}
--- 74,83 ----
protected override void OnSelect(System.EventArgs e)
{
! if (_statusBar != null)
! {
_statusBar.Text = _helpText;
+ if (_statusBar.Panels[0] != null)
+ _statusBar.Panels[0].Text = _helpText;
+ }
}
}
|