Have a quick question:
I have some Properites.Settings set up. One setting is passwordhint.
On one form I have a textbox (textbox1) and a label (label3)
The user will enter the password hint in the textbox1 and the label3 will show the Properties.Settings.pass
I do know in VB.NET it is
However, I am very new to C# and this is kinda confusing.......Code:If Textbox1.Text = My.Settings.passhin Then Label3.Text = My.Settings.passhin End If
I have right now:
but it wont work....... Can someone help me with the syntax needed??Code:{ If(textBox1.Text = Properties.Settings.Default.passhin); { label3.Text = Properties.Settings.Default.passhin; }
Thanks in advanced.
daveofgv




Reply With Quote