Click here to Skip to main content
15,914,419 members

Comments by tyska (Top 10 by date)

tyska 20-Dec-12 8:50am View    
sorry but it tells me that main_Load doesn't exist in the current context.what is it that i'm missing?
i found in a book how to call the opened form: create a method in the main form getMainForm()
{
return this;
}
and then call it in the form u need

Main m = new Main();
m.getMainForm();

but it would just create another new instance of the main form.
how to solve it?
tyska 14-Dec-12 13:25pm View    
I'm not experienced so can you please explain how can i call mainForm? i'm using VS2008.
tyska 14-Dec-12 12:36pm View    
but the bindComboBox() method is in the Main form and the if statement is in another form. I've been trying to call Main form on that other form where insert occurs but with no success :(
tyska 4-Dec-12 10:57am View    
Thank you!!
tyska 4-Dec-12 10:55am View    
well your comment was helpfull, and wiht the accepted solution it all works now! thank you!