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.
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.