J
jonathan
Hi All !
I am Making MDI Application.
when I clicked MenuItem,New ChildForm Shows and StatusBar add panel
panel's Text Property has ChildForm.Text
Following Snippets
Dim panel As New StatusBarPanel
panel.AutoSize = StatusBarPanelAutoSize.Contents
' Set the text alignment within each panel.
panel.Alignment = HorizontalAlignment.Left
' Display the first panel without a border and the second
' with a raised border.
panel.BorderStyle = StatusBarPanelBorderStyle.Raised
'lbpgName has FormName
panel.Text = lbpgName.Text
' Display panels in statusBar1 and add them to the
' status bar's StatusBarPanelCollection.
stMain.ShowPanels = True
stMain.Panels.Add(panel)
when I Closed ChildForm1,I remove Panel of ChildForm1 in StatusBar
How Can Remove panel in StatusBar?
P.S
I'am sorry for my Poor English..
I am Making MDI Application.
when I clicked MenuItem,New ChildForm Shows and StatusBar add panel
panel's Text Property has ChildForm.Text
Following Snippets
Dim panel As New StatusBarPanel
panel.AutoSize = StatusBarPanelAutoSize.Contents
' Set the text alignment within each panel.
panel.Alignment = HorizontalAlignment.Left
' Display the first panel without a border and the second
' with a raised border.
panel.BorderStyle = StatusBarPanelBorderStyle.Raised
'lbpgName has FormName
panel.Text = lbpgName.Text
' Display panels in statusBar1 and add them to the
' status bar's StatusBarPanelCollection.
stMain.ShowPanels = True
stMain.Panels.Add(panel)
when I Closed ChildForm1,I remove Panel of ChildForm1 in StatusBar
How Can Remove panel in StatusBar?
P.S
I'am sorry for my Poor English..