i making a project using windows application c#, i want to
show user name, password, and one button login. i wanna
make it with sealed class .how its possible . when i
clicked my login button all project should be open. pls
cleare me.
Answer Posted / prateek chaurasia
you have to firstly write in the coding inside the login
button you are taking. the coding is of the form i.e.
if(textBox1.text=="Username"&&textBox2=="Password")
{
Form.ShowDialog();
}
Form is the form which you want to show after the login.
textBoxes will contain the username and the password.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is the difference between ado.net and entity framework?
What are the ado.net components?
Define table relations?
What are the advantage of ado.net?
How does ado.net work?
How can we save all data from dataset?
Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!
Explain the difference between data reader and data adapter?
What is microsoft ado.net?
What is difference between connected and disconnected architecture in ado.net?
Which provider is used to connect ms access, oracle, etc…?
What is the difference between a datareader and a dataset?
What are the advantages and disadvantages of using datalist?
What is data access pattern?
What are the objects of ado.net?