protected virtual void SetColumn(DAE.Client.Controls.GridColumn value) { if (_column != null) { _column.Dispose(); _column = null; } _column = value; }
protected override void SetColumn(DAE.Client.Controls.GridColumn value) { if (Column != null) { ((DAE.Client.Controls.SequenceColumn)Column).OnSequenceChange -= new DAE.Client.Controls.SequenceChangeEventHandler(SequenceChange); } base.SetColumn(value); if (Column != null) { ((DAE.Client.Controls.SequenceColumn)value).OnSequenceChange += new DAE.Client.Controls.SequenceChangeEventHandler(SequenceChange); } }
protected override void SetColumn(DAE.Client.Controls.GridColumn value) { if (Column != null) { Column.OnClick -= new EventHandler(ColumnClicked); ((DAE.Client.Controls.ActionColumn)Column).OnExecuteAction -= new EventHandler(ColumnClicked); } base.SetColumn(value); if (value != null) { Column.OnClick += new EventHandler(ColumnClicked); ((DAE.Client.Controls.ActionColumn)value).OnExecuteAction += new EventHandler(ColumnClicked); } }