Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
123 Points
125 Posts
May 03, 2012 11:10 AM|LINK
HI I have a class that inherits from another one but i get this confusing error :
Error 1 'WindowDecorator.Decorator' does not contain a constructor that takes 0 arguments
Error occurs in the constructor.
public class ScrollDecorator:Decorator { protected Decorator decorator; protected float ScrollPosition; protected ScrollDecorator(Decorator _decorator) { this.decorator = _decorator; } public void ScrollTo() {
} public override void Draw() { } }
Anele
Member
123 Points
125 Posts
object does not contain a constructor that takes 0 arguments
May 03, 2012 11:10 AM|LINK
HI I have a class that inherits from another one but i get this confusing error :
Error 1 'WindowDecorator.Decorator' does not contain a constructor that takes 0 arguments
Error occurs in the constructor.
<div style="display: block;" id="premain1" class="pre-action-link" width="100%"> </div>} public override void Draw() { } }<div class="qa-info clearfix"> <div class="small-text float-right"></div> </div>