public override void OnItemsAndBlocksRegistry(RegistryEventArgs args) { MyBlock = new SumBlock(); args.Register(MyBlock); }