Re: A problem in my program by Tim
Tim
Tue Apr 04 21:21:10 CDT 2006
> But, how can I generate the mothod which is used
> by the click event of a button that is concluded in
> the new panel.
You'll need to code the method up front and then dynamically hook/unhook the
Buttons to/from this method.
> On the other hand, is it able to use a panel just like a
> dialog, because i want to enable the user use the panel
> only, when the panel is opened like a "modal dialog"
You can place all the Form content in one Panel and then disable that Panel
when the other "modal" Panel is shown.
--
Tim Wilson
.NET Compact Framework MVP
"liugeng" <liugeng@discussions.microsoft.com> wrote in message
news:23A2747D-3524-4F23-A557-EF1FE89C252F@microsoft.com...
> Using panel, I can create it duing the runtime. I want to reduce the use
of
> memory.
> But, how can I generate the mothod which is used by the click event of a
> button that is concluded in the new panel.
>
> On the other hand, is it able to use a panel just like a dialog, because i
> want to enable the user use the panel only, when the panel is opened like
a
> "modal dialog"
>
>