Example #1
0
 private void OnModelPropertyChanged()
 {
     if (_model != null)
     {
         _model.DetachView(this);
     }
     _model = Model;
     if (_model != null)
     {
         _model.AttachView(this);
     }
     NotifyRefresh();
 }
Example #2
0
 public SelectionQuickCommand(IFastGridModel model, string text)
 {
     Text  = text;
     Model = model;
 }