//MyProject_Datas.h public ref class MyUsefulDatas { blah...blah...blah... public: static System::Void Item_Name( System::Object^ Sender, System::Windows::Forms::KeyEventArgs^ e) { blah...blah...blah... } public: static System::Void Party_Name( System::Object^ Sender, System::Windows::Forms::KeyEventArgs^ e) { blah...blah...blah... } };
textBox2->KeyDown += gcnew KeyEventHandler(MyUsefulDatas, &MyUsefulDatas::Party_Name); ????????
textBox2->KeyDown += delegate { .....???????? }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)