By default, if we add any control as MDI Child that will be added as ToolStripMenuItem and the text of the Form will be displayed as text of the ToolStripMenuItem. But we can modify the text of ToolStripMenuItem while opening the subitems of ToolStripMenu. The following code example illustrate the same,
DropDownOpening event will be triggered while opening the drop down of ToolStripMenu and we must change text of the tool strip menu item here,
The following screenshot illustrates that the Text of the Form will be displayed as Text of the ToolStripMenuItem,
The below screenshot is the output of this article,
Sample in C#:
This page will automatically be redirected to the sign-in page in 10 seconds.