Input Panel

R

Rick

I've got a from that needs to be able to hide and show the mainmenu.
I've got an input panel on this form as well. When I remove the
mainmenu, the inputpanel icon is still on the form. How do I
conditionally remove that icon as well? Code below doesn't work:

private void chkShowMenu_CheckStateChanged(object sender, EventArgs
e)
{
if (this.Menu == null)
{
this.Menu = mainMenu1;
this.inputPanel1 = new Microsoft.WindowsCE.Forms.InputPanel();
}

else
{
this.Menu = null;
this.inputPanel1 = null;
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top