Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinDock
PrivateSub ultraDockManager1_AfterPaneButtonClick(ByVal sender AsObject, ByVal e As Infragistics.Win.UltraWinDock.PaneButtonEventArgs) Handles ultraDockManager1.AfterPaneButtonClick
' The AfterPaneButtonClick provides a notification
' after the action associated with clicking a pane caption
' button has been invoked.
'
' Let the user know how to display the window again
' if they close it
'
If (e.Button = PaneButton.Close) Then
MessageBox.Show(Me, _
String.Format("The '{0}' window was closed. To show the window again, select the window from the 'View' menu.", e.Pane.Text), _
Application.ProductName, _
MessageBoxButtons.OK, _
MessageBoxIcon.Information)
EndIfEnd Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinDock;
using System.Diagnostics;
privatevoid ultraDockManager1_AfterPaneButtonClick(object sender, Infragistics.Win.UltraWinDock.PaneButtonEventArgs e)
{
// The AfterPaneButtonClick provides a notification
// after the action associated with clicking a pane caption
// button has been invoked.
//
// Let the user know how to display the window again
// if they close it
//
if (e.Button == PaneButton.Close)
{
MessageBox.Show(this,
string.Format("The '{0}' window was closed. To show the window again, select the window from the 'View' menu.",e.Pane.Text),
Application.ProductName,
MessageBoxButtons.OK,
MessageBoxIcon.Information);
}
}