1
1001001001
Hi i have this code but it doesnt seem to work. "SIP found" is never displayed.
//find sip on parent
if(sip == null)
{
MessageBox.Show("looking for sip");
foreach (Object c in this.Parent.Controls) //this = a panel on the parent form
{
if(c is Microsoft.WindowsCE.Forms.InputPanel)
{
MessageBox.Show("SIP Found");
sip = c as InputPanel;
}
}
}
is the sip not contained in the form controls collection? where is it?
//find sip on parent
if(sip == null)
{
MessageBox.Show("looking for sip");
foreach (Object c in this.Parent.Controls) //this = a panel on the parent form
{
if(c is Microsoft.WindowsCE.Forms.InputPanel)
{
MessageBox.Show("SIP Found");
sip = c as InputPanel;
}
}
}
is the sip not contained in the form controls collection? where is it?