Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Minor update

Sign in to follow this  


I forgot to mention something in the last post, I need some help. In the SlidingControl I slide the control back to the originalSize, but I can't set the originalSize, I want to set this to the size the user sets the Width or Height to, but the propertioes Width and Height isn't overload able. Anyone got any suggestions? In c#.
Sign in to follow this  


Recommended Comments

Whilst you might not be able to override methods, you can hide them with the new modifier (so new public int Width { get; set; }).

Share this comment

Link to comment
Oh, thanks Ben, Not really familiar enough with the little quirks of c# yet. I'll try that right away.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!