예제 #1
0
 protected virtual void SetColumn(DAE.Client.Controls.GridColumn value)
 {
     if (_column != null)
     {
         _column.Dispose();
         _column = null;
     }
     _column = value;
 }
예제 #2
0
 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);
     }
 }
예제 #3
0
 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);
     }
 }