I
iDesmet
Hallo,
First of all, I'm new at this group and I'm currently learning VB.NET
by my own (later I want to learn C#, but that's another story). In
other words, I'm a Newbie.
Anyway, I was wondering if someone is so kind to tell me how to enable
or disable some buttons when a MdiChild Window is opened.
For example, I have the Main Mdi Window opened, then I click in a
button (let's call it "btn01") and a Mdi Child window shows ("frm1"),
I can disable the button just calling "btn01.Enabled = False". But if
I open another Mdi Child window ("frm2") clicking in another button
("btn02"), I want that one button created in the frm2 ("btn01frm2")
gets disabled if the frm1 is opened, and disabled if is closed.
I had searched in this group, in the VS Documentation and in the
Internet but didn't find the answer I was looking for, maybe I made
the wrong question...
Well, I hope somebody can explain me how to achieve this.
Thanks in advance.
PS My apologies for my bad english.
Best Regards,
David Desmet
First of all, I'm new at this group and I'm currently learning VB.NET
by my own (later I want to learn C#, but that's another story). In
other words, I'm a Newbie.
Anyway, I was wondering if someone is so kind to tell me how to enable
or disable some buttons when a MdiChild Window is opened.
For example, I have the Main Mdi Window opened, then I click in a
button (let's call it "btn01") and a Mdi Child window shows ("frm1"),
I can disable the button just calling "btn01.Enabled = False". But if
I open another Mdi Child window ("frm2") clicking in another button
("btn02"), I want that one button created in the frm2 ("btn01frm2")
gets disabled if the frm1 is opened, and disabled if is closed.
I had searched in this group, in the VS Documentation and in the
Internet but didn't find the answer I was looking for, maybe I made
the wrong question...
Well, I hope somebody can explain me how to achieve this.
Thanks in advance.
PS My apologies for my bad english.
Best Regards,
David Desmet