As previously stated, the% dll of% is only used for internal use, so you should use the other, PriTexBoxF4NET100
.
As for the PriTextBoxF4100
event, it will have to be accessed in a different way (since the control OpenListF4
where this event is triggered is "integrated" in the main control):
private void InicializaControlos()
{
try
{
Control[] controls = txtF4.Controls.Find("_txtF4Net", false);
if (controls[0] is PriTextBoxF4NET100.PriTextBoxF4)
{
var txtPriTextBoxF4 = controls[0] as PriTextBoxF4NET100.PriTextBoxF4;
txtPriTextBoxF4.OpenListF4 += TxtPriTextBoxF4_OpenListF4;
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
private void TxtPriTextBoxF4_OpenListF4()
{
// código específico aqui...
}
The control F4
is the control txtF4
added to PriTextBoxF4100
.