Here is part of my code. What I want to do is to update and close the QuestionEn
ID: 3907755 • Letter: H
Question
Here is part of my code.
What I want to do is to update and close the QuestionEntry form and update to main application form which make it possible for user to click the question to show updated information. when I make changes in this form and click update and close button, all of the update funcation should work. How can I realize this function? I got many errors when I am doing it.
Explanation / Answer
As a C# developer I can say that inside the Question Entry class you will be having the Updateclose method in that you have to call the main form again after closing the current question entry form.
This is possible by using
or
Form1 f1=new Form1();
f1.showDialog();
Give your form name inside the parameter, that will automatically moves your control to the main form, where you can work on the main form.
You can realize that function while programming in VS while in designing the button you can just click the button it automatically generates its respective method then it will call easily durin the execution.
If the above solution is helpful to you in any way please rate it Or if you have any concerns please comment it, I will help you through
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.