I wonder if it is possible to call the function void OneFunction()
inside the buttoncontrol.
namespace Test1
{
public ref class Form1 : public System::Windows::Forms::Form
{
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
// Is it possible to Execute/Call OneFunction() here ?
}
};
}
void OneFunction()
{
//Do some stuff
}