This commit is contained in:
Kathy Ruffing 2011-02-08 11:26:00 +00:00
parent 3a46cb8580
commit bbe29f2b0a

View File

@ -26,18 +26,30 @@ namespace Volian.Controls.Library
_MyDisplayTabControl = value; _MyDisplayTabControl = value;
} }
} }
private StepRTB _MyRTB; private EditItem _MyEditItem;
public StepRTB MyRTB public EditItem MyEditItem
{ {
get { return _MyRTB; } get { return _MyEditItem; }
set set
{ {
if (value == null) return; if (value == null) return;
if (_CurItemInfo != null && _CurItemInfo.ItemID == value.MyItemInfo.ItemID) return; if (_CurItemInfo != null && _CurItemInfo.ItemID == value.MyItemInfo.ItemID) return;
_MyRTB = value; _MyEditItem = value;
_CurItemInfo = MyRTB.MyItemInfo; _CurItemInfo = MyEditItem.MyItemInfo;
} }
} }
//private StepRTB _MyRTB;
//public StepRTB MyRTB
//{
// get { return _MyRTB; }
// set
// {
// if (value == null) return;
// if (_CurItemInfo != null && _CurItemInfo.ItemID == value.MyItemInfo.ItemID) return;
// _MyRTB = value;
// _CurItemInfo = MyRTB.MyItemInfo;
// }
//}
#endregion #endregion
#region Constructors #region Constructors
public DisplayBookMarks() public DisplayBookMarks()