├── OneNoteAPIDiagnostics
├── Images
│ ├── wait.gif
│ └── onenote.ico
├── DLL
│ ├── Microsoft.SharePoint.Client.dll
│ └── Microsoft.SharePoint.Client.Runtime.dll
├── bin
│ ├── Debug
│ │ ├── Microsoft.SharePoint.Client.dll
│ │ ├── Microsoft.SharePoint.Client.Runtime.dll
│ │ ├── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe
│ │ ├── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.pdb
│ │ ├── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe
│ │ ├── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe.config
│ │ ├── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe.config
│ │ ├── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe.manifest
│ │ └── Logs
│ │ │ └── log.txt
│ └── Release
│ │ ├── Microsoft.SharePoint.Client.dll
│ │ ├── Microsoft.SharePoint.Client.Runtime.dll
│ │ ├── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe
│ │ ├── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.pdb
│ │ ├── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe
│ │ ├── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe.config
│ │ ├── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe.config
│ │ └── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe.manifest
├── App.config
├── OneNoteAPIDiagnostics.csproj.user
├── Properties
│ ├── Settings.settings
│ ├── Settings.Designer.cs
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── Extensions.cs
├── Program.cs
├── Menu.cs
├── Menu.Designer.cs
├── PersonalSiteForm.cs
├── SiteCollectionForm.cs
├── OneNoteAPIDiagnostics.csproj
├── Menu.resx
├── Utilities.cs
├── PersonalSiteForm.resx
├── SiteCollectionForm.resx
├── PersonalSiteForm.Designer.cs
└── SiteCollectionForm.Designer.cs
├── Tool
├── Microsoft.SharePoint.Client.dll
├── Microsoft.SharePoint.Client.Runtime.dll
└── Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe
└── OneNoteAPIDiagnostics.sln
/OneNoteAPIDiagnostics/Images/wait.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/Images/wait.gif
--------------------------------------------------------------------------------
/Tool/Microsoft.SharePoint.Client.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/Tool/Microsoft.SharePoint.Client.dll
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/Images/onenote.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/Images/onenote.ico
--------------------------------------------------------------------------------
/Tool/Microsoft.SharePoint.Client.Runtime.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/Tool/Microsoft.SharePoint.Client.Runtime.dll
--------------------------------------------------------------------------------
/Tool/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/Tool/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/DLL/Microsoft.SharePoint.Client.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/DLL/Microsoft.SharePoint.Client.dll
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/DLL/Microsoft.SharePoint.Client.Runtime.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/DLL/Microsoft.SharePoint.Client.Runtime.dll
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Debug/Microsoft.SharePoint.Client.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/bin/Debug/Microsoft.SharePoint.Client.dll
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Release/Microsoft.SharePoint.Client.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/bin/Release/Microsoft.SharePoint.Client.dll
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Debug/Microsoft.SharePoint.Client.Runtime.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/bin/Debug/Microsoft.SharePoint.Client.Runtime.dll
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Release/Microsoft.SharePoint.Client.Runtime.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/bin/Release/Microsoft.SharePoint.Client.Runtime.dll
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Debug/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/bin/Debug/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Debug/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/bin/Debug/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.pdb
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Release/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/bin/Release/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Release/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/bin/Release/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.pdb
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Debug/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/bin/Debug/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Release/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OneNoteDev/OneNoteAPIDiagnosticsSrc/master/OneNoteAPIDiagnostics/bin/Release/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Debug/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Release/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/OneNoteAPIDiagnostics.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ShowAllFiles
5 |
6 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Debug/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Release/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/Extensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | namespace Microsoft.Office.OneNote.OneNoteAPIDiagnostics
4 | {
5 | public static class Extensions
6 | {
7 | public static void ForEach(this IEnumerable collection, Action action)
8 | {
9 | foreach (T item in collection)
10 | action(item);
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Forms;
3 |
4 | namespace Microsoft.Office.OneNote.OneNoteAPIDiagnostics
5 | {
6 | static class Program
7 | {
8 | ///
9 | /// The main entry point for the application.
10 | ///
11 | [STAThread]
12 | static void Main()
13 | {
14 | Application.EnableVisualStyles();
15 | Application.SetCompatibleTextRenderingDefault(false);
16 | Application.Run(new SiteCollectionForm());
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Debug/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Release/Microsoft.Office.OneNote.OneNoteAPIDiagnostics.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/Menu.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace Microsoft.Office.OneNote.OneNoteAPIDiagnostics
12 | {
13 | public partial class Menu : UserControl
14 | {
15 | public Menu()
16 | {
17 | InitializeComponent();
18 | }
19 |
20 | private void personalSiteMenu_Click(object sender, EventArgs e)
21 | {
22 | PersonalSiteForm form = new PersonalSiteForm();
23 | form.Show();
24 | this.Parent.Hide();
25 | }
26 |
27 | private void siteCollectionMenu_Click(object sender, EventArgs e)
28 | {
29 | SiteCollectionForm form = new SiteCollectionForm();
30 | form.Show();
31 | this.Parent.Hide();
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/bin/Debug/Logs/log.txt:
--------------------------------------------------------------------------------
1 | List: Documents
2 | Items Count: 7609
3 | Notebooks Count:16
4 | Folders Count:4038
5 | Sections Count:906
6 | File Type:True
7 | HTML File Type:True
8 | ------------------------------------
9 | List: EduOneNoteAppDocuments
10 | Items Count: 1
11 | Notebooks Count:0
12 | Folders Count:1
13 | Sections Count:0
14 | File Type:True
15 | HTML File Type:True
16 | ------------------------------------
17 | List: Form Templates
18 | Items Count: 0
19 | Notebooks Count:0
20 | Folders Count:0
21 | Sections Count:0
22 | File Type:True
23 | HTML File Type:True
24 | ------------------------------------
25 | List: Site Assets
26 | Items Count: 22
27 | Notebooks Count:1
28 | Folders Count:4
29 | Sections Count:15
30 | File Type:True
31 | HTML File Type:True
32 | ------------------------------------
33 | List: Style Library
34 | Items Count: 0
35 | Notebooks Count:0
36 | Folders Count:0
37 | Sections Count:0
38 | File Type:False
39 | HTML File Type:False
40 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.23107.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OneNoteAPIDiagnostics", "OneNoteAPIDiagnostics\OneNoteAPIDiagnostics.csproj", "{912E7197-CB4E-4E34-96CF-3ACA54E89F42}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {912E7197-CB4E-4E34-96CF-3ACA54E89F42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {912E7197-CB4E-4E34-96CF-3ACA54E89F42}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {912E7197-CB4E-4E34-96CF-3ACA54E89F42}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {912E7197-CB4E-4E34-96CF-3ACA54E89F42}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Microsoft.Office.OneNote.OneNoteAPIDiagnostics.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("OneNoteOffice365Throttling")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("OneNoteOffice365Throttling")]
13 | [assembly: AssemblyCopyright("Copyright © 2016")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("912e7197-cb4e-4e34-96cf-3aca54e89f42")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Microsoft.Office.OneNote.OneNoteAPIDiagnostics.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Returns the cached ResourceManager instance used by this class.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Office.OneNote.OneNoteAPIDiagnostics.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/Menu.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Microsoft.Office.OneNote.OneNoteAPIDiagnostics
2 | {
3 | partial class Menu
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Component Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | this.menuStrip1 = new System.Windows.Forms.MenuStrip();
33 | this.personalSiteMenu = new System.Windows.Forms.ToolStripMenuItem();
34 | this.siteCollectionMenu = new System.Windows.Forms.ToolStripMenuItem();
35 | this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
36 | this.menuStrip1.SuspendLayout();
37 | this.SuspendLayout();
38 | //
39 | // menuStrip1
40 | //
41 | this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
42 | this.personalSiteMenu,
43 | this.siteCollectionMenu});
44 | this.menuStrip1.Location = new System.Drawing.Point(0, 0);
45 | this.menuStrip1.Name = "menuStrip1";
46 | this.menuStrip1.Size = new System.Drawing.Size(926, 24);
47 | this.menuStrip1.TabIndex = 0;
48 | this.menuStrip1.Text = "menuStrip1";
49 | //
50 | // personalSiteMenu
51 | //
52 | this.personalSiteMenu.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
53 | this.personalSiteMenu.Name = "personalSiteMenu";
54 | this.personalSiteMenu.Size = new System.Drawing.Size(91, 20);
55 | this.personalSiteMenu.Text = "Personal Site";
56 | this.personalSiteMenu.Click += new System.EventHandler(this.personalSiteMenu_Click);
57 | //
58 | // siteCollectionMenu
59 | //
60 | this.siteCollectionMenu.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
61 | this.siteCollectionMenu.Name = "siteCollectionMenu";
62 | this.siteCollectionMenu.Size = new System.Drawing.Size(99, 20);
63 | this.siteCollectionMenu.Text = "Site Collection";
64 | this.siteCollectionMenu.Click += new System.EventHandler(this.siteCollectionMenu_Click);
65 | //
66 | // contextMenuStrip1
67 | //
68 | this.contextMenuStrip1.Name = "contextMenuStrip1";
69 | this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
70 | //
71 | // Menu
72 | //
73 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
74 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
75 | this.Controls.Add(this.menuStrip1);
76 | this.Name = "Menu";
77 | this.Size = new System.Drawing.Size(926, 28);
78 | this.menuStrip1.ResumeLayout(false);
79 | this.menuStrip1.PerformLayout();
80 | this.ResumeLayout(false);
81 | this.PerformLayout();
82 |
83 | }
84 |
85 | #endregion
86 |
87 | private System.Windows.Forms.MenuStrip menuStrip1;
88 | private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
89 | private System.Windows.Forms.ToolStripMenuItem personalSiteMenu;
90 | private System.Windows.Forms.ToolStripMenuItem siteCollectionMenu;
91 | }
92 | }
93 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/PersonalSiteForm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Generic = System.Collections.Generic;
3 | using System.Security;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows.Forms;
7 | using Form = System.Windows.Forms.Form;
8 | using System.Linq;
9 | using Microsoft.SharePoint.Client;
10 |
11 | namespace Microsoft.Office.OneNote.OneNoteAPIDiagnostics
12 | {
13 | public partial class PersonalSiteForm : Form
14 | {
15 | public PersonalSiteForm()
16 | {
17 | InitializeComponent();
18 | }
19 |
20 | ///
21 | /// Retrieving log info for OneNote items
22 | ///
23 | /// Sender object
24 | /// Event argument
25 | private async void button1_Click(object sender, EventArgs e)
26 | {
27 | if (!ValidateParameters())
28 | {
29 | return;
30 | }
31 | try
32 | {
33 | DisabledControls();
34 | using (Utilities utilities = new Utilities(UrlText.Text, UserText.Text, PasswordText.Text))
35 | {
36 | var list = await utilities.GetDocumentLibrary();
37 | Generic.List lists = new Generic.List() { list };
38 | await utilities.AddListsInfo(lists);
39 | StringBuilder sb = new StringBuilder();
40 | utilities.Logs.ForEach(result => sb.Append(result + "\r\n"));
41 | ResultText.Text = sb.ToString();
42 | utilities.AddToLogFile(ResultText.Text);
43 | }
44 | }
45 | catch (Exception ex)
46 | {
47 | ResultText.Text = ex.ToString();
48 | }
49 | finally
50 | {
51 | EnabledControls();
52 | }
53 | }
54 |
55 | ///
56 | /// Building index on "File Type" and "HTML File Type" fields for document library
57 | ///
58 | /// sender object
59 | /// event argument
60 | private async void BuildIndexButton_Click(object sender, EventArgs e)
61 | {
62 | if (!ValidateParameters())
63 | {
64 | return;
65 | }
66 |
67 | try
68 | {
69 | DisabledControls();
70 | using (Utilities utilities = new Utilities(UrlText.Text, UserText.Text, PasswordText.Text))
71 | {
72 | var docLib = await utilities.GetDocumentLibrary();
73 | await utilities.AddIndexOnListFields(docLib);
74 | docLib = await utilities.GetDocumentLibrary();
75 | Generic.List lists = new Generic.List() { docLib };
76 | await utilities.AddListsInfo(lists);
77 | StringBuilder sb = new StringBuilder();
78 | utilities.Logs.ForEach(result => sb.Append(result + "\r\n"));
79 | ResultText.Text = sb.ToString();
80 | utilities.AddToLogFile(ResultText.Text);
81 | }
82 | }
83 | catch (Exception ex)
84 | {
85 | ResultText.Text = ex.ToString();
86 | }
87 | finally
88 | {
89 | EnabledControls();
90 | }
91 | }
92 |
93 | private void DisabledControls()
94 | {
95 | ResultText.Text = string.Empty;
96 | UrlText.Enabled = false;
97 | UserText.Enabled = false;
98 | PasswordText.Enabled = false;
99 | GetInfoButton.Enabled = false;
100 | BuildIndexButton.Enabled = false;
101 |
102 | }
103 |
104 | private void EnabledControls()
105 | {
106 | UrlText.Enabled = true;
107 | UserText.Enabled = true;
108 | PasswordText.Enabled = true;
109 | GetInfoButton.Enabled = true;
110 | BuildIndexButton.Enabled = true;
111 | }
112 |
113 | ///
114 | /// Validating user inputs
115 | ///
116 | private bool ValidateParameters()
117 | {
118 | if (string.IsNullOrWhiteSpace(UrlText.Text))
119 | {
120 | MessageBox.Show("Please enter SharePoint Url value.");
121 | UrlText.Focus();
122 | return false;
123 | }
124 |
125 | if (string.IsNullOrWhiteSpace(UserText.Text))
126 | {
127 | MessageBox.Show("Please enter User value.");
128 | UserText.Focus();
129 | return false;
130 | }
131 |
132 | if (string.IsNullOrWhiteSpace(PasswordText.Text))
133 | {
134 | MessageBox.Show("Please enter Password.");
135 | PasswordText.Focus();
136 | return false;
137 | }
138 |
139 | return true;
140 | }
141 |
142 | }
143 | }
144 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/SiteCollectionForm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Generic = System.Collections.Generic;
3 | using System.Text;
4 | using System.Windows.Forms;
5 | using Microsoft.SharePoint.Client;
6 | namespace Microsoft.Office.OneNote.OneNoteAPIDiagnostics
7 | {
8 | public partial class SiteCollectionForm : System.Windows.Forms.Form
9 | {
10 | public SiteCollectionForm()
11 | {
12 | InitializeComponent();
13 | }
14 |
15 | private async void GetInfoButton_Click(object sender, EventArgs e)
16 | {
17 | if (!ValidateParameters())
18 | {
19 | return;
20 | }
21 |
22 | try
23 | {
24 | DisabledControls();
25 | using (Utilities utilities = new Utilities(UrlText.Text, UserText.Text, PasswordText.Text))
26 | {
27 | Generic.List lists = null;
28 | if (rdoAllList.Checked)
29 | {
30 | lists = await utilities.GetLists();
31 | listBox.Enabled = true;
32 | listBox.Items.Clear();
33 | listBox.Enabled = false;
34 | }
35 | else
36 | {
37 | var list = await utilities.GetDocumentLibrary();
38 | lists = new Generic.List() { list };
39 | }
40 |
41 |
42 | lists.ForEach(l => listBox.Items.Add(l.Title));
43 |
44 | await utilities.AddListsInfo(lists);
45 | StringBuilder sb = new StringBuilder();
46 | utilities.Logs.ForEach(result => sb.Append(result + "\r\n"));
47 | ResultText.Text = sb.ToString();
48 | utilities.AddToLogFile(ResultText.Text);
49 | }
50 | }
51 | catch (Exception ex)
52 | {
53 | ResultText.Text = ex.ToString();
54 | }
55 | finally
56 | {
57 | EnabledControls();
58 | }
59 | }
60 |
61 | private async void BuildIndexButton_Click(object sender, EventArgs e)
62 | {
63 | if (!ValidateParameters())
64 | {
65 | return;
66 | }
67 |
68 | if (listBox.SelectedItem == null)
69 | {
70 | MessageBox.Show("Select List");
71 | listBox.Focus();
72 | return;
73 | }
74 | try
75 | {
76 | DisabledControls();
77 | using (Utilities utilities = new Utilities(UrlText.Text, UserText.Text, PasswordText.Text))
78 | {
79 | var lib = await utilities.GetListByTitle(listBox.SelectedItem.ToString());
80 | await utilities.AddIndexOnListFields(lib);
81 | lib = await utilities.GetListByTitle(listBox.SelectedItem.ToString());
82 | Generic.List lists = new Generic.List() { lib };
83 | await utilities.AddListsInfo(lists);
84 | StringBuilder sb = new StringBuilder();
85 | utilities.Logs.ForEach(result => sb.Append(result + "\r\n"));
86 | ResultText.Text = sb.ToString();
87 | utilities.AddToLogFile(ResultText.Text);
88 | }
89 | }
90 | catch (Exception ex)
91 | {
92 | ResultText.Text = ex.ToString();
93 | }
94 | finally
95 | {
96 | EnabledControls();
97 | }
98 | }
99 |
100 | private void DisabledControls()
101 | {
102 | ResultText.Text = string.Empty;
103 | UrlText.Enabled = false;
104 | UserText.Enabled = false;
105 | PasswordText.Enabled = false;
106 | GetInfoButton.Enabled = false;
107 | BuildIndexButton.Enabled = false;
108 | listBox.Enabled = false;
109 |
110 | }
111 |
112 | private void EnabledControls()
113 | {
114 | UrlText.Enabled = true;
115 | UserText.Enabled = true;
116 | PasswordText.Enabled = true;
117 | GetInfoButton.Enabled = true;
118 | BuildIndexButton.Enabled = true;
119 | listBox.Enabled = true;
120 | }
121 |
122 | ///
123 | /// Validating user inputs
124 | ///
125 | private bool ValidateParameters()
126 | {
127 | if (string.IsNullOrWhiteSpace(UrlText.Text))
128 | {
129 | MessageBox.Show("Please enter SharePoint Url value.");
130 | UrlText.Focus();
131 | return false;
132 | }
133 |
134 | if (string.IsNullOrWhiteSpace(UserText.Text))
135 | {
136 | MessageBox.Show("Please enter User value.");
137 | UserText.Focus();
138 | return false;
139 | }
140 |
141 | if (string.IsNullOrWhiteSpace(PasswordText.Text))
142 | {
143 | MessageBox.Show("Please enter Password.");
144 | PasswordText.Focus();
145 | return false;
146 | }
147 |
148 | return true;
149 | }
150 |
151 | private void PasswordText_TextChanged(object sender, EventArgs e)
152 | {
153 |
154 | }
155 | }
156 | }
157 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/OneNoteAPIDiagnostics.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {912E7197-CB4E-4E34-96CF-3ACA54E89F42}
8 | WinExe
9 | Properties
10 | Microsoft.Office.OneNote.OneNoteAPIDiagnostics
11 | Microsoft.Office.OneNote.OneNoteAPIDiagnostics
12 | v4.5.2
13 | 512
14 | true
15 |
16 |
17 | AnyCPU
18 | true
19 | full
20 | false
21 | bin\Debug\
22 | DEBUG;TRACE
23 | prompt
24 | 4
25 |
26 |
27 | AnyCPU
28 | pdbonly
29 | true
30 | bin\Release\
31 | TRACE
32 | prompt
33 | 4
34 |
35 |
36 |
37 | DLL\Microsoft.SharePoint.Client.dll
38 |
39 |
40 | DLL\Microsoft.SharePoint.Client.Runtime.dll
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 | UserControl
58 |
59 |
60 | Menu.cs
61 |
62 |
63 | Form
64 |
65 |
66 | PersonalSiteForm.cs
67 |
68 |
69 |
70 |
71 | Form
72 |
73 |
74 | SiteCollectionForm.cs
75 |
76 |
77 |
78 | Menu.cs
79 |
80 |
81 | PersonalSiteForm.cs
82 |
83 |
84 | ResXFileCodeGenerator
85 | Resources.Designer.cs
86 | Designer
87 |
88 |
89 | True
90 | Resources.resx
91 | True
92 |
93 |
94 | SiteCollectionForm.cs
95 |
96 |
97 | SettingsSingleFileGenerator
98 | Settings.Designer.cs
99 |
100 |
101 | True
102 | Settings.settings
103 | True
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
124 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/Menu.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | 17, 17
122 |
123 |
124 | 132, 17
125 |
126 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/Utilities.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Generic = System.Collections.Generic;
3 | using System.Security;
4 | using System.Threading.Tasks;
5 | using System.Linq;
6 | using Microsoft.SharePoint.Client;
7 |
8 | namespace Microsoft.Office.OneNote.OneNoteAPIDiagnostics
9 | {
10 | public class Utilities : IDisposable
11 | {
12 | private const string Query = "4999";
13 | private ClientContext context;
14 |
15 | public Generic.IList Logs
16 | {
17 | get;
18 | private set;
19 | }
20 |
21 | public Utilities(string url, string userName, string password)
22 | {
23 | context = new ClientContext(url);
24 | SecureString securePassword = new SecureString();
25 | Array.ForEach(password.ToArray(), securePassword.AppendChar);
26 | context.Credentials = new SharePointOnlineCredentials(userName, securePassword);
27 | Logs = new Generic.List();
28 | }
29 |
30 | ///
31 | /// Processing SharePoint list to add Logs to collection
32 | ///
33 | /// SharePoint list collection
34 | /// task object
35 | public async Task AddListsInfo(Generic.List lists)
36 | {
37 | bool skipListSeparationLine = true;
38 | bool addListTitle = lists.Count > 1;
39 | foreach (var list in lists)
40 | {
41 | if (list.Fields.Any(field => field.Title == "File Type") &&
42 | list.Fields.Any(field => field.Title == "HTML File Type"))
43 | {
44 | if (!skipListSeparationLine)
45 | {
46 | Logs.Add("------------------------------------");
47 | }
48 |
49 | if (addListTitle)
50 | {
51 | Logs.Add("List: " + list.Title);
52 | }
53 |
54 | Logs.Add("Items Count: " + list.ItemCount);
55 | await AddOneNoteItemsInfo(list);
56 | AddIndexingInfo(list);
57 | skipListSeparationLine = false;
58 | }
59 | }
60 | }
61 |
62 | ///
63 | /// Retrieving SharePoint list collection
64 | ///
65 | /// SharePoint list collection
66 | public async Task> GetLists()
67 | {
68 | Generic.List resultLists = new Generic.List();
69 | IQueryable listsWithIncludedProperty = ClientObjectQueryableExtension.Include(context.Web.Lists,
70 | list => list.Id,
71 | list => list.Title,
72 | list => list.ItemCount,
73 | list => list.Fields.Include(f => f.Title, f => f.Indexed, f => f.InternalName));
74 |
75 | IQueryable listCollection =
76 | listsWithIncludedProperty.Where(list => list.BaseType == BaseType.DocumentLibrary &&
77 | (list.BaseTemplate == (int)ListTemplateType.DocumentLibrary ||
78 | list.BaseTemplate == (int)ListTemplateType.MySiteDocumentLibrary) &&
79 | list.Hidden == false);
80 |
81 | Generic.IEnumerable lists = context.LoadQuery(listCollection);
82 | await ExecuteQuery();
83 |
84 | lists.ForEach(list => resultLists.Add(list));
85 | return resultLists;
86 | }
87 |
88 | ///
89 | /// Retrieving SharePoint document library
90 | ///
91 | /// SharePoint document library
92 | public async Task GetDocumentLibrary()
93 | {
94 | return await GetListByTitle("documents");
95 | }
96 |
97 | ///
98 | /// Retrieving SharePoint list by title
99 | ///
100 | /// SharePoint list title
101 | /// SharePoint document library
102 | public async Task GetListByTitle(string title)
103 | {
104 | var docLib = context.Web.Lists.GetByTitle(title);
105 | context.Load(docLib, l => l.Title, l => l.ItemCount, l => l.Fields.Include(f => f.Title, f => f.Indexed, f => f.InternalName));
106 | await ExecuteQuery();
107 | return docLib;
108 | }
109 |
110 | public async Task AddIndexOnListFields(List list)
111 | {
112 | foreach (Field field in list.Fields)
113 | {
114 | if (field.Title.Contains("File Type") || field.Title.Contains("HTML File Type"))
115 | {
116 | if (!field.Indexed)
117 | {
118 | field.Indexed = true;
119 | field.Update();
120 | }
121 | }
122 | }
123 |
124 | await ExecuteQuery();
125 | }
126 | ///
127 | /// Adding Logs to file system. It suppresses the exception
128 | ///
129 | /// Log info text
130 | public void AddToLogFile(string logInfo)
131 | {
132 | try
133 | {
134 | var path = System.Environment.CurrentDirectory + "\\Logs";
135 | if (!System.IO.Directory.Exists(path))
136 | {
137 | System.IO.Directory.CreateDirectory(path);
138 | }
139 |
140 | using (var stream = System.IO.File.CreateText(path + "\\log.txt"))
141 | {
142 | stream.Write(logInfo);
143 | }
144 | }
145 | catch
146 | {
147 | // Supressing I/O exceptions
148 | }
149 | }
150 |
151 | ///
152 | /// Adding OneNote items (Notebooks, SectionGroups and Sections) Logs to the collection
153 | ///
154 | /// SharePoint list object
155 | /// task object
156 | private async Task AddOneNoteItemsInfo(List list)
157 | {
158 | ListItemCollectionPosition pagePosition = null;
159 | int notebooksCount = 0;
160 | int foldersCount = 0;
161 | int sectionsCount = 0;
162 |
163 | do
164 | {
165 | CamlQuery camlQuery = new CamlQuery();
166 | camlQuery.ListItemCollectionPosition = pagePosition;
167 | camlQuery.ViewXml = Query;
168 | ListItemCollection items = list.GetItems(camlQuery);
169 | context.Load(items);
170 | await ExecuteQuery();
171 | pagePosition = items.ListItemCollectionPosition;
172 | foreach (var item in items)
173 | {
174 | object returnValue;
175 | if (item.FieldValues.TryGetValue("File_x0020_Type", out returnValue) && returnValue != null && returnValue.ToString().Equals("one", StringComparison.OrdinalIgnoreCase))
176 | {
177 | sectionsCount++;
178 | }
179 |
180 | if (item.FieldValues.TryGetValue("ContentTypeId", out returnValue) && returnValue != null && returnValue.ToString().StartsWith("0x0120", StringComparison.OrdinalIgnoreCase))
181 | {
182 | foldersCount++;
183 | }
184 |
185 | if (item.FieldValues.TryGetValue("HTML_x0020_File_x0020_Type", out returnValue) && returnValue != null && returnValue.ToString().Equals("OneNote.Notebook", StringComparison.OrdinalIgnoreCase))
186 | {
187 | notebooksCount++;
188 | }
189 | }
190 |
191 | } while (pagePosition != null);
192 |
193 | Logs.Add("Notebooks Count:" + notebooksCount);
194 | Logs.Add("Folders Count:" + foldersCount);
195 | Logs.Add("Sections Count:" + sectionsCount);
196 | }
197 |
198 | ///
199 | /// Adding index details Logs to the collection
200 | ///
201 | /// SharePoint list object
202 | private void AddIndexingInfo(List list)
203 | {
204 | foreach (Field f in list.Fields)
205 | {
206 | if (!string.IsNullOrWhiteSpace(f.Title) && (f.Title.Contains("File Type") || f.Title.Contains("HTML File Type")))
207 | {
208 | Logs.Add(f.Title + ":" + f.Indexed);
209 | }
210 | }
211 | }
212 |
213 | ///
214 | /// Executing CSOM request asynchronously
215 | ///
216 | /// task object
217 | private async Task ExecuteQuery()
218 | {
219 | await Task.Run(() => { context.ExecuteQuery(); });
220 | }
221 |
222 | #region IDisposable Support
223 | private bool disposedValue = false; // To detect redundant calls
224 |
225 | protected virtual void Dispose(bool disposing)
226 | {
227 | if (!disposedValue)
228 | {
229 | if (disposing)
230 | {
231 | context.Dispose();
232 | }
233 |
234 | disposedValue = true;
235 | }
236 | }
237 |
238 | // This code added to correctly implement the disposable pattern.
239 | public void Dispose()
240 | {
241 | Dispose(true);
242 | }
243 | #endregion
244 | }
245 | }
246 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/PersonalSiteForm.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | AAABAAEAEBAAAAAAAABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA
124 | AAAAAAAAAAAAAHE4jQl/OIQ2fTmCZno5f5Z5OH3DeDh98Hc3fP91Nnr/AAAAAAAAAAAAAAAAAAAAAAAA
125 | AAAAAAAAfzyFroE8hNt/O4T/fjqD/306gv97OYD/eTh+/3g4ff93N3z/dTZ6/3s5gP97OYD/eTmA+Xo4
126 | f5AAAAAAAAAAAIE8hv+BPIb/fzuE/346g/99OoL/ezmA/3k4fv94OH3/dzd8/3U2ev////////////z6
127 | /P97OYD/eTeA83s5f4qBPIb/gTyG/387hP9+OoP/fTqC/3s5gP95OH7/eDh9/3c3fP91Nnr/////////
128 | ////////ezmA//n2+f95N4DzgTyG/4E8hv/Wwdj/nGig/306gv99O4H/6d7q//////93N3z/dTZ6/3s5
129 | gP97OYD//////3s5gP//////ezmA/4E8hv+BPIb//////6R0p/99OoL/sYu0////////////dzd8/3U2
130 | ev////////////////97OYD/+fb5/3k3gPOBPIb/gTyG//////+kdKf/hkiL//bx9v/07/T//////3c3
131 | fP91Nnr/ezmA/3s5gP//////ezmA/3s5f/Z5OYCNgTyG/4E8hv//////pHSn/8KixP/x6vL/xqvI////
132 | //93N3z/dTZ6/////////////////3s5gP/6+Pv/ezl/9oE8hv+BPIb//////7aQuf/8+vz/sIiz/8Ch
133 | wv//////dzd8/3U2ev97OYD/ezmA//////97OYD/+vj7/3s5f/aBPIb/gTyG///////z7PP/59rn/307
134 | gf/AocL//////3c3fP91Nnr/////////////////ezmA/3s5gP97OIDLgTyG/4E8hv///////////5xo
135 | n/97OYD/wKHC//////93N3z/dTZ6/3s5gP97OYD////////////59vn/eTeA84E8hv+BPIb/0rrU/8ep
136 | yf99OoL/ezmA/8Chwv//////dzd8/3U2ev///////////////////////////3s5gP+BPIb/gTyG/387
137 | hP9+OoP/fTqC/3s5gP95OH7/eDh9/3c3fP91Nnr/ezmA/3s5gP////////////n2+f95N4DzgTyG/4E8
138 | hv9/O4T/fjqD/306gv97OYD/eTh+/3g4ff93N3z/dTZ6/////////////Pr8/3s5gP95N4Dzezl/in88
139 | ha6BPITbfzuE/346g/99OoL/ezmA/3k4fv94OH3/dzd8/3U2ev97OYD/ezmA/3k5gPl6OH+QAAAAAAAA
140 | AAAAAAAAAAAAAHE4jQl9PIIzfTmCZns5gJN3Nn7AeDZ77Xc3fP91Nnr/AAAAAAAAAAAAAAAAAAAAAAAA
141 | AAAAAAAA+D8AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
142 | AAAAAwAA+D8AAA==
143 |
144 |
145 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/SiteCollectionForm.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | AAABAAEAEBAAAAAAAABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA
124 | AAAAAAAAAAAAAHE4jQl/OIQ2fTmCZno5f5Z5OH3DeDh98Hc3fP91Nnr/AAAAAAAAAAAAAAAAAAAAAAAA
125 | AAAAAAAAfzyFroE8hNt/O4T/fjqD/306gv97OYD/eTh+/3g4ff93N3z/dTZ6/3s5gP97OYD/eTmA+Xo4
126 | f5AAAAAAAAAAAIE8hv+BPIb/fzuE/346g/99OoL/ezmA/3k4fv94OH3/dzd8/3U2ev////////////z6
127 | /P97OYD/eTeA83s5f4qBPIb/gTyG/387hP9+OoP/fTqC/3s5gP95OH7/eDh9/3c3fP91Nnr/////////
128 | ////////ezmA//n2+f95N4DzgTyG/4E8hv/Wwdj/nGig/306gv99O4H/6d7q//////93N3z/dTZ6/3s5
129 | gP97OYD//////3s5gP//////ezmA/4E8hv+BPIb//////6R0p/99OoL/sYu0////////////dzd8/3U2
130 | ev////////////////97OYD/+fb5/3k3gPOBPIb/gTyG//////+kdKf/hkiL//bx9v/07/T//////3c3
131 | fP91Nnr/ezmA/3s5gP//////ezmA/3s5f/Z5OYCNgTyG/4E8hv//////pHSn/8KixP/x6vL/xqvI////
132 | //93N3z/dTZ6/////////////////3s5gP/6+Pv/ezl/9oE8hv+BPIb//////7aQuf/8+vz/sIiz/8Ch
133 | wv//////dzd8/3U2ev97OYD/ezmA//////97OYD/+vj7/3s5f/aBPIb/gTyG///////z7PP/59rn/307
134 | gf/AocL//////3c3fP91Nnr/////////////////ezmA/3s5gP97OIDLgTyG/4E8hv///////////5xo
135 | n/97OYD/wKHC//////93N3z/dTZ6/3s5gP97OYD////////////59vn/eTeA84E8hv+BPIb/0rrU/8ep
136 | yf99OoL/ezmA/8Chwv//////dzd8/3U2ev///////////////////////////3s5gP+BPIb/gTyG/387
137 | hP9+OoP/fTqC/3s5gP95OH7/eDh9/3c3fP91Nnr/ezmA/3s5gP////////////n2+f95N4DzgTyG/4E8
138 | hv9/O4T/fjqD/306gv97OYD/eTh+/3g4ff93N3z/dTZ6/////////////Pr8/3s5gP95N4Dzezl/in88
139 | ha6BPITbfzuE/346g/99OoL/ezmA/3k4fv94OH3/dzd8/3U2ev97OYD/ezmA/3k5gPl6OH+QAAAAAAAA
140 | AAAAAAAAAAAAAHE4jQl9PIIzfTmCZns5gJN3Nn7AeDZ77Xc3fP91Nnr/AAAAAAAAAAAAAAAAAAAAAAAA
141 | AAAAAAAA+D8AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
142 | AAAAAwAA+D8AAA==
143 |
144 |
145 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/PersonalSiteForm.Designer.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Office.OneNote;
2 | namespace Microsoft.Office.OneNote.OneNoteAPIDiagnostics
3 | {
4 | partial class PersonalSiteForm
5 | {
6 | ///
7 | /// Required designer variable.
8 | ///
9 | private System.ComponentModel.IContainer components = null;
10 |
11 | ///
12 | /// Clean up any resources being used.
13 | ///
14 | /// true if managed resources should be disposed; otherwise, false.
15 | protected override void Dispose(bool disposing)
16 | {
17 | if (disposing && (components != null))
18 | {
19 | components.Dispose();
20 | }
21 | base.Dispose(disposing);
22 | }
23 |
24 | #region Windows Form Designer generated code
25 |
26 | ///
27 | /// Required method for Designer support - do not modify
28 | /// the contents of this method with the code editor.
29 | ///
30 | private void InitializeComponent()
31 | {
32 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PersonalSiteForm));
33 | this.UrlText = new System.Windows.Forms.TextBox();
34 | this.UserText = new System.Windows.Forms.TextBox();
35 | this.PasswordText = new System.Windows.Forms.TextBox();
36 | this.label1 = new System.Windows.Forms.Label();
37 | this.label2 = new System.Windows.Forms.Label();
38 | this.label3 = new System.Windows.Forms.Label();
39 | this.GetInfoButton = new System.Windows.Forms.Button();
40 | this.BuildIndexButton = new System.Windows.Forms.Button();
41 | this.ResultText = new System.Windows.Forms.TextBox();
42 | this.label4 = new System.Windows.Forms.Label();
43 | this.label5 = new System.Windows.Forms.Label();
44 | this.label6 = new System.Windows.Forms.Label();
45 | this.menu1 = new Microsoft.Office.OneNote.OneNoteAPIDiagnostics.Menu();
46 | this.SuspendLayout();
47 | //
48 | // UrlText
49 | //
50 | this.UrlText.Location = new System.Drawing.Point(133, 35);
51 | this.UrlText.Name = "UrlText";
52 | this.UrlText.Size = new System.Drawing.Size(336, 20);
53 | this.UrlText.TabIndex = 0;
54 | //
55 | // UserText
56 | //
57 | this.UserText.Location = new System.Drawing.Point(133, 67);
58 | this.UserText.Name = "UserText";
59 | this.UserText.Size = new System.Drawing.Size(255, 20);
60 | this.UserText.TabIndex = 1;
61 | //
62 | // PasswordText
63 | //
64 | this.PasswordText.Location = new System.Drawing.Point(133, 102);
65 | this.PasswordText.Name = "PasswordText";
66 | this.PasswordText.PasswordChar = '*';
67 | this.PasswordText.Size = new System.Drawing.Size(255, 20);
68 | this.PasswordText.TabIndex = 2;
69 | //
70 | // label1
71 | //
72 | this.label1.AutoSize = true;
73 | this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
74 | this.label1.Location = new System.Drawing.Point(41, 39);
75 | this.label1.Name = "label1";
76 | this.label1.Size = new System.Drawing.Size(89, 13);
77 | this.label1.TabIndex = 3;
78 | this.label1.Text = "SharePoint Url";
79 | //
80 | // label2
81 | //
82 | this.label2.AutoSize = true;
83 | this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
84 | this.label2.Location = new System.Drawing.Point(45, 71);
85 | this.label2.Name = "label2";
86 | this.label2.Size = new System.Drawing.Size(33, 13);
87 | this.label2.TabIndex = 4;
88 | this.label2.Text = "User";
89 | //
90 | // label3
91 | //
92 | this.label3.AutoSize = true;
93 | this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
94 | this.label3.Location = new System.Drawing.Point(45, 107);
95 | this.label3.Name = "label3";
96 | this.label3.Size = new System.Drawing.Size(61, 13);
97 | this.label3.TabIndex = 5;
98 | this.label3.Text = "Password";
99 | //
100 | // GetInfoButton
101 | //
102 | this.GetInfoButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
103 | this.GetInfoButton.Location = new System.Drawing.Point(133, 137);
104 | this.GetInfoButton.Name = "GetInfoButton";
105 | this.GetInfoButton.Size = new System.Drawing.Size(75, 23);
106 | this.GetInfoButton.TabIndex = 6;
107 | this.GetInfoButton.Text = "Get Info";
108 | this.GetInfoButton.UseVisualStyleBackColor = true;
109 | this.GetInfoButton.Click += new System.EventHandler(this.button1_Click);
110 | //
111 | // BuildIndexButton
112 | //
113 | this.BuildIndexButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
114 | this.BuildIndexButton.Location = new System.Drawing.Point(172, 375);
115 | this.BuildIndexButton.Name = "BuildIndexButton";
116 | this.BuildIndexButton.Size = new System.Drawing.Size(159, 23);
117 | this.BuildIndexButton.TabIndex = 7;
118 | this.BuildIndexButton.Text = "Build Index";
119 | this.BuildIndexButton.UseVisualStyleBackColor = true;
120 | this.BuildIndexButton.Click += new System.EventHandler(this.BuildIndexButton_Click);
121 | //
122 | // ResultText
123 | //
124 | this.ResultText.Location = new System.Drawing.Point(48, 186);
125 | this.ResultText.Multiline = true;
126 | this.ResultText.Name = "ResultText";
127 | this.ResultText.Size = new System.Drawing.Size(421, 168);
128 | this.ResultText.TabIndex = 8;
129 | //
130 | // label4
131 | //
132 | this.label4.AutoSize = true;
133 | this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
134 | this.label4.Location = new System.Drawing.Point(45, 164);
135 | this.label4.Name = "label4";
136 | this.label4.Size = new System.Drawing.Size(43, 13);
137 | this.label4.TabIndex = 9;
138 | this.label4.Text = "Result";
139 | //
140 | // label5
141 | //
142 | this.label5.AutoSize = true;
143 | this.label5.Location = new System.Drawing.Point(407, 71);
144 | this.label5.Name = "label5";
145 | this.label5.Size = new System.Drawing.Size(91, 13);
146 | this.label5.TabIndex = 10;
147 | this.label5.Text = "user@tenant.com";
148 | //
149 | // label6
150 | //
151 | this.label6.AutoSize = true;
152 | this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
153 | this.label6.Location = new System.Drawing.Point(50, 379);
154 | this.label6.Name = "label6";
155 | this.label6.Size = new System.Drawing.Size(106, 13);
156 | this.label6.TabIndex = 15;
157 | this.label6.Text = "Document Library";
158 | //
159 | // menu1
160 | //
161 | this.menu1.Location = new System.Drawing.Point(0, 0);
162 | this.menu1.Name = "menu1";
163 | this.menu1.Size = new System.Drawing.Size(539, 26);
164 | this.menu1.TabIndex = 14;
165 | //
166 | // PersonalSiteForm
167 | //
168 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
169 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
170 | this.ClientSize = new System.Drawing.Size(534, 441);
171 | this.Controls.Add(this.label6);
172 | this.Controls.Add(this.menu1);
173 | this.Controls.Add(this.label5);
174 | this.Controls.Add(this.label4);
175 | this.Controls.Add(this.ResultText);
176 | this.Controls.Add(this.BuildIndexButton);
177 | this.Controls.Add(this.GetInfoButton);
178 | this.Controls.Add(this.label3);
179 | this.Controls.Add(this.label2);
180 | this.Controls.Add(this.label1);
181 | this.Controls.Add(this.PasswordText);
182 | this.Controls.Add(this.UserText);
183 | this.Controls.Add(this.UrlText);
184 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
185 | this.Name = "PersonalSiteForm";
186 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
187 | this.Text = "OneNote API Diagnostics";
188 | this.ResumeLayout(false);
189 | this.PerformLayout();
190 |
191 | }
192 |
193 | #endregion
194 |
195 | private System.Windows.Forms.TextBox UrlText;
196 | private System.Windows.Forms.TextBox UserText;
197 | private System.Windows.Forms.TextBox PasswordText;
198 | private System.Windows.Forms.Label label1;
199 | private System.Windows.Forms.Label label2;
200 | private System.Windows.Forms.Label label3;
201 | private System.Windows.Forms.Button GetInfoButton;
202 | private System.Windows.Forms.Button BuildIndexButton;
203 | private System.Windows.Forms.TextBox ResultText;
204 | private System.Windows.Forms.Label label4;
205 | private System.Windows.Forms.Label label5;
206 | private Menu menu1;
207 | private System.Windows.Forms.Label label6;
208 | }
209 | }
210 |
211 |
--------------------------------------------------------------------------------
/OneNoteAPIDiagnostics/SiteCollectionForm.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Microsoft.Office.OneNote.OneNoteAPIDiagnostics
2 | {
3 | partial class SiteCollectionForm
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SiteCollectionForm));
32 | this.label5 = new System.Windows.Forms.Label();
33 | this.label4 = new System.Windows.Forms.Label();
34 | this.ResultText = new System.Windows.Forms.TextBox();
35 | this.BuildIndexButton = new System.Windows.Forms.Button();
36 | this.GetInfoButton = new System.Windows.Forms.Button();
37 | this.label3 = new System.Windows.Forms.Label();
38 | this.label2 = new System.Windows.Forms.Label();
39 | this.label1 = new System.Windows.Forms.Label();
40 | this.PasswordText = new System.Windows.Forms.TextBox();
41 | this.UserText = new System.Windows.Forms.TextBox();
42 | this.UrlText = new System.Windows.Forms.TextBox();
43 | this.label7 = new System.Windows.Forms.Label();
44 | this.listBox = new System.Windows.Forms.ComboBox();
45 | this.rdoAllList = new System.Windows.Forms.RadioButton();
46 | this.radioButton2 = new System.Windows.Forms.RadioButton();
47 | this.menu1 = new Microsoft.Office.OneNote.OneNoteAPIDiagnostics.Menu();
48 | this.SuspendLayout();
49 | //
50 | // label5
51 | //
52 | this.label5.AutoSize = true;
53 | this.label5.Location = new System.Drawing.Point(403, 70);
54 | this.label5.Name = "label5";
55 | this.label5.Size = new System.Drawing.Size(91, 13);
56 | this.label5.TabIndex = 25;
57 | this.label5.Text = "user@tenant.com";
58 | //
59 | // label4
60 | //
61 | this.label4.AutoSize = true;
62 | this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
63 | this.label4.Location = new System.Drawing.Point(42, 193);
64 | this.label4.Name = "label4";
65 | this.label4.Size = new System.Drawing.Size(43, 13);
66 | this.label4.TabIndex = 24;
67 | this.label4.Text = "Result";
68 | //
69 | // ResultText
70 | //
71 | this.ResultText.Location = new System.Drawing.Point(44, 215);
72 | this.ResultText.Multiline = true;
73 | this.ResultText.Name = "ResultText";
74 | this.ResultText.Size = new System.Drawing.Size(421, 180);
75 | this.ResultText.TabIndex = 23;
76 | //
77 | // BuildIndexButton
78 | //
79 | this.BuildIndexButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
80 | this.BuildIndexButton.Location = new System.Drawing.Point(347, 406);
81 | this.BuildIndexButton.Name = "BuildIndexButton";
82 | this.BuildIndexButton.Size = new System.Drawing.Size(118, 23);
83 | this.BuildIndexButton.TabIndex = 22;
84 | this.BuildIndexButton.Text = "Build Index";
85 | this.BuildIndexButton.UseVisualStyleBackColor = true;
86 | this.BuildIndexButton.Click += new System.EventHandler(this.BuildIndexButton_Click);
87 | //
88 | // GetInfoButton
89 | //
90 | this.GetInfoButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
91 | this.GetInfoButton.Location = new System.Drawing.Point(129, 168);
92 | this.GetInfoButton.Name = "GetInfoButton";
93 | this.GetInfoButton.Size = new System.Drawing.Size(75, 23);
94 | this.GetInfoButton.TabIndex = 21;
95 | this.GetInfoButton.Text = "Get Info";
96 | this.GetInfoButton.UseVisualStyleBackColor = true;
97 | this.GetInfoButton.Click += new System.EventHandler(this.GetInfoButton_Click);
98 | //
99 | // label3
100 | //
101 | this.label3.AutoSize = true;
102 | this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
103 | this.label3.Location = new System.Drawing.Point(41, 106);
104 | this.label3.Name = "label3";
105 | this.label3.Size = new System.Drawing.Size(61, 13);
106 | this.label3.TabIndex = 20;
107 | this.label3.Text = "Password";
108 | //
109 | // label2
110 | //
111 | this.label2.AutoSize = true;
112 | this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
113 | this.label2.Location = new System.Drawing.Point(41, 70);
114 | this.label2.Name = "label2";
115 | this.label2.Size = new System.Drawing.Size(33, 13);
116 | this.label2.TabIndex = 19;
117 | this.label2.Text = "User";
118 | //
119 | // label1
120 | //
121 | this.label1.AutoSize = true;
122 | this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
123 | this.label1.Location = new System.Drawing.Point(37, 38);
124 | this.label1.Name = "label1";
125 | this.label1.Size = new System.Drawing.Size(89, 13);
126 | this.label1.TabIndex = 18;
127 | this.label1.Text = "SharePoint Url";
128 | //
129 | // PasswordText
130 | //
131 | this.PasswordText.Location = new System.Drawing.Point(129, 101);
132 | this.PasswordText.Name = "PasswordText";
133 | this.PasswordText.PasswordChar = '*';
134 | this.PasswordText.Size = new System.Drawing.Size(255, 20);
135 | this.PasswordText.TabIndex = 17;
136 | this.PasswordText.TextChanged += new System.EventHandler(this.PasswordText_TextChanged);
137 | //
138 | // UserText
139 | //
140 | this.UserText.Location = new System.Drawing.Point(129, 66);
141 | this.UserText.Name = "UserText";
142 | this.UserText.Size = new System.Drawing.Size(255, 20);
143 | this.UserText.TabIndex = 16;
144 | //
145 | // UrlText
146 | //
147 | this.UrlText.Location = new System.Drawing.Point(129, 34);
148 | this.UrlText.Name = "UrlText";
149 | this.UrlText.Size = new System.Drawing.Size(336, 20);
150 | this.UrlText.TabIndex = 15;
151 | //
152 | // label7
153 | //
154 | this.label7.AutoSize = true;
155 | this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
156 | this.label7.Location = new System.Drawing.Point(41, 410);
157 | this.label7.Name = "label7";
158 | this.label7.Size = new System.Drawing.Size(67, 13);
159 | this.label7.TabIndex = 30;
160 | this.label7.Text = "Select List";
161 | //
162 | // listBox
163 | //
164 | this.listBox.AutoCompleteCustomSource.AddRange(new string[] {
165 | "Select List"});
166 | this.listBox.FormattingEnabled = true;
167 | this.listBox.Location = new System.Drawing.Point(111, 407);
168 | this.listBox.Name = "listBox";
169 | this.listBox.Size = new System.Drawing.Size(227, 21);
170 | this.listBox.TabIndex = 32;
171 | //
172 | // rdoAllList
173 | //
174 | this.rdoAllList.AutoSize = true;
175 | this.rdoAllList.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
176 | this.rdoAllList.Location = new System.Drawing.Point(128, 139);
177 | this.rdoAllList.Name = "rdoAllList";
178 | this.rdoAllList.Size = new System.Drawing.Size(63, 17);
179 | this.rdoAllList.TabIndex = 33;
180 | this.rdoAllList.Text = "All List";
181 | this.rdoAllList.UseVisualStyleBackColor = true;
182 | //
183 | // radioButton2
184 | //
185 | this.radioButton2.AutoSize = true;
186 | this.radioButton2.Checked = true;
187 | this.radioButton2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
188 | this.radioButton2.Location = new System.Drawing.Point(202, 139);
189 | this.radioButton2.Name = "radioButton2";
190 | this.radioButton2.Size = new System.Drawing.Size(124, 17);
191 | this.radioButton2.TabIndex = 34;
192 | this.radioButton2.TabStop = true;
193 | this.radioButton2.Text = "Document Library";
194 | this.radioButton2.UseVisualStyleBackColor = true;
195 | //
196 | // menu1
197 | //
198 | this.menu1.Location = new System.Drawing.Point(0, 0);
199 | this.menu1.Name = "menu1";
200 | this.menu1.Size = new System.Drawing.Size(539, 26);
201 | this.menu1.TabIndex = 29;
202 | this.menu1.Visible = false;
203 | //
204 | // SiteCollectionForm
205 | //
206 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
207 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
208 | this.ClientSize = new System.Drawing.Size(534, 441);
209 | this.Controls.Add(this.radioButton2);
210 | this.Controls.Add(this.rdoAllList);
211 | this.Controls.Add(this.listBox);
212 | this.Controls.Add(this.label7);
213 | this.Controls.Add(this.menu1);
214 | this.Controls.Add(this.label5);
215 | this.Controls.Add(this.label4);
216 | this.Controls.Add(this.ResultText);
217 | this.Controls.Add(this.BuildIndexButton);
218 | this.Controls.Add(this.GetInfoButton);
219 | this.Controls.Add(this.label3);
220 | this.Controls.Add(this.label2);
221 | this.Controls.Add(this.label1);
222 | this.Controls.Add(this.PasswordText);
223 | this.Controls.Add(this.UserText);
224 | this.Controls.Add(this.UrlText);
225 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
226 | this.Name = "SiteCollectionForm";
227 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
228 | this.Text = "API Diagnostics";
229 | this.ResumeLayout(false);
230 | this.PerformLayout();
231 |
232 | }
233 |
234 | #endregion
235 |
236 | private Menu menu1;
237 | private System.Windows.Forms.Label label5;
238 | private System.Windows.Forms.Label label4;
239 | private System.Windows.Forms.TextBox ResultText;
240 | private System.Windows.Forms.Button BuildIndexButton;
241 | private System.Windows.Forms.Button GetInfoButton;
242 | private System.Windows.Forms.Label label3;
243 | private System.Windows.Forms.Label label2;
244 | private System.Windows.Forms.Label label1;
245 | private System.Windows.Forms.TextBox PasswordText;
246 | private System.Windows.Forms.TextBox UserText;
247 | private System.Windows.Forms.TextBox UrlText;
248 | private System.Windows.Forms.Label label7;
249 | private System.Windows.Forms.ComboBox listBox;
250 | private System.Windows.Forms.RadioButton rdoAllList;
251 | private System.Windows.Forms.RadioButton radioButton2;
252 | }
253 | }
--------------------------------------------------------------------------------