コード例 #1
0
        private void OnWorkspaceFileInfoChanged(object host, string propertyName, object fileInfo)
        {
            BeamToolWindowsFormsHost theHost      = host as BeamToolWindowsFormsHost;
            BeamToolView             beamToolView = theHost.Child as BeamToolView;

            if (beamToolView != null)
            {
                beamToolView.WorkspaceOpen((FileInfo)fileInfo);
            }
        }
コード例 #2
0
        private void OnShowToolBarChanged(object host, string propertyName, object value)
        {
            BeamToolWindowsFormsHost theHost      = host as BeamToolWindowsFormsHost;
            BeamToolView             beamToolView = theHost.Child as BeamToolView;

            if (beamToolView != null)
            {
                beamToolView.ShowToolbar = theHost.ShowToolBar;
            }
        }