예제 #1
0
        private Type RaiseGetNodeModelType()
        {
            GetNodeModelTypeEventArgs args = new GetNodeModelTypeEventArgs();

            OnGetNodeModelType(args);
            return(args.ModelType);
        }
예제 #2
0
 protected virtual void OnGetNodeModelType(GetNodeModelTypeEventArgs args)
 {
     if (GetNodeModelType != null)
     {
         GetNodeModelType(this, args);
     }
 }
예제 #3
0
 //---------------------------------------------------------------------------
 private void vtItemsGetNodeModelType(object sender, GetNodeModelTypeEventArgs e)
 {
     e.ModelType = typeof(SItemLink);
 }