私は HeaderFile Common_Datas.h を持っています
//Common_Datas.h
public ref class MyDBDatas
{
//blah...blah...blah...
public: static System::Void Material_Name( System::Object^ Sender, System::Windows::Forms::KeyEventArgs^ e) {
//blah...blah...blah...
}
public: static System::Void Supplier_Name( System::Object^ Sender, System::Windows::Forms::KeyEventArgs^ e) {
//blah...blah...blah...
}
};
そして今、私の Form2 - textBox2 から宣言したいと思います
textBox2->KeyDown += gcnew KeyEventHandler(MyDBDatas, &MyDBDatas::Supplier_Name);
- 上記の行が得られません........
また、同じステートメントを学びたいのですが、「デリゲート」ステートメンでの使用方法は?
ありがとう...