public SetView ( ViewBase view ) : void | ||
view | ViewBase | View element reference. |
return | void |
public virtual void SetView(ViewBase view)
{
_buttonSpecView = view;
}
/// <summary> /// Destruct the previously created views. /// </summary> public void Destruct() { // Unhook from events _buttonSpec.ButtonSpecPropertyChanged -= new PropertyChangedEventHandler(OnPropertyChanged); // Remove buttonspec/view association _buttonSpec.SetView(null); // Remove all view element resources _viewCenter.Dispose(); }