RIM.VSNDK_Package.VSNDK_PackagePackage.ShowDebugTokenWindow C# (CSharp) Method

ShowDebugTokenWindow() private method

This function is called when the user clicks the menu item that shows the tool window. See the Initialize method to see how the menu item is associated to this function using the OleMenuCommandService service and the MenuCommand class.
private ShowDebugTokenWindow ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void ShowDebugTokenWindow(object sender, EventArgs e)
        {
            // Create the dialog instance without Help support.
            var DebugTokenDialog = new DebugToken.DebugTokenDialog();
            // Show the dialog.
            if (!DebugTokenDialog.IsClosing)
                DebugTokenDialog.ShowModal();
        }