コード例 #1
0
        private void OnWorkspaceOpening(object sender, PythonWorkspaceContextEventArgs e)
        {
            var workspace = e.Workspace;

            _untrustedWorkspaceInfoBar  = new UntrustedWorkspaceInfoBar(_serviceProvider, workspace);
            workspace.IsTrustedQueried += TriggerUntrustedWorkspaceInfoBar;
        }
コード例 #2
0
 private void ResetSuppressDialog(object sender, EventArgs e)
 {
     PyService.SuppressDialogOptions.Reset();
     PyService.SuppressDialogOptions.Save();
     UntrustedWorkspaceInfoBar.ClearTrustedWorkspaces(PyService);
 }