M
Matthew Playne
Hi,
I am having a problem communicating between to classes.
I have an MDI application. The parent window contains a
mainMenu and a toolbar and toolbuttons, and the child
form contains a richTextBox.
What I am trying to do is to when a the selected text in
the richTextBox is bullet indented, a menu option on the
parent window is toggled on or off depending on what is
selected in the richTextBox.
The problem I am having is changing the checked property
of the menuItem. when I make the menuItem "public static"
all seems to work except that after running the
application, the menuItem dissapears in Visual C# design
view. Then dissapears when I next run the application.
The code is still there, but the control doesn't appear
on the form. Obviously I am doing something wrong, if
only I could figure out what it is!
I would appreciate any assistance.
I am having a problem communicating between to classes.
I have an MDI application. The parent window contains a
mainMenu and a toolbar and toolbuttons, and the child
form contains a richTextBox.
What I am trying to do is to when a the selected text in
the richTextBox is bullet indented, a menu option on the
parent window is toggled on or off depending on what is
selected in the richTextBox.
The problem I am having is changing the checked property
of the menuItem. when I make the menuItem "public static"
all seems to work except that after running the
application, the menuItem dissapears in Visual C# design
view. Then dissapears when I next run the application.
The code is still there, but the control doesn't appear
on the form. Obviously I am doing something wrong, if
only I could figure out what it is!
I would appreciate any assistance.