Hello I am using VS 2010. C++/CLR Windows Forms Application
How should I do that?
ComboBox^ ActivationFunction = gcnew ComboBox; ActivationFunction->Name="ActivationFunction"+NewLayerAmountValue; ActivationFunction->Size = System::Drawing::Size(80,20); ActivationFunction->Location = System::Drawing::Point(LayerNumber->Location.X + LayerNumber->Size.Width, NeuronsAmount->Location.Y); for each(String^ s in ListActivationFunctions) { ActivationFunction->Items->Add(s); } ActivationFunction->SelectedIndexChanged += gcnew System::EventHandler(ActivationFunctionChanged); this->panel1->Controls->Add(ActivationFunction);I create some Comboxes. Now I want to create a method that will be applied to all dynamic created comboboxes.
How should I do that?