hey you all
i have a main form and there is a button that will open another form as a dialogue, let's call it the AddForm. on the main form i have a DGV and I've written a function to refresh it called DGVreload. it works just fine but i want to call in the AddForm's ExitBtn click event, but i can't since it belongs to the main form and it's not recognized here. can you tell me how to make it known in that form. and i can't make it a static public function.
thanks all
DeathEater 0 Light Poster
Momerath 1,327 Nearly a Senior Poster Featured Poster
DeathEater 0 Light Poster
Momerath 1,327 Nearly a Senior Poster Featured Poster
DeathEater 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.