Jump to content

I am currently switching over from VB to C# and I am having troubles with something I am trying to do. 

 

What I want is when the form loads, I want it to check if one of my settings (String) equals the word "True" or something like that. I tried this, but it didn't work.

 

if (properties.Settings.Default.Setup = "SetupIncomplete") // <------- This is what is wrong.
    this.hide()
    Setup1 s1 = new Setup1();
    s1.ShowDialog();

Any Help?

 

Thanks

Tech enthusiast and CS Student

 

 

 

 

 

Link to comment
https://linustechtips.com/topic/867901-c-struggles/
Share on other sites

Link to post
Share on other sites

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

×