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

Minor update

Sign in to follow this  

372 views

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  


2 Comments


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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!