diff --git a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/06 FormRegions.csproj b/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/06 FormRegions.csproj
deleted file mode 100644
index 3c168885aa..0000000000
--- a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/06 FormRegions.csproj
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {14E4E752-777A-4A98-900B-0FC88CE02CB7}
- Library
- Properties
- Outlook06AddinCS4
- Outlook06AddinCS4
- v4.0
- 512
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- true
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- false
-
-
-
-
-
-
-
- ..\..\..\..\..\Assemblies\Any CPU\MSFormsApi.dll
- False
-
-
- ..\..\..\..\..\Assemblies\Any CPU\NetOffice.dll
- False
-
-
- ..\..\..\..\..\Assemblies\Any CPU\OfficeApi.dll
- False
-
-
- ..\..\..\..\..\Assemblies\Any CPU\OutlookApi.dll
- False
-
-
-
-
-
-
-
-
-
- ..\..\..\..\..\Assemblies\Any CPU\VBIDEApi.dll
- False
-
-
-
-
-
-
-
- True
- True
- Resources.resx
-
-
-
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Addin.cs b/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Addin.cs
deleted file mode 100644
index 9575fa08dd..0000000000
--- a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Addin.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using System;
-using System.Runtime.InteropServices;
-using NetOffice;
-using NetOffice.Tools;
-using Office = NetOffice.OfficeApi;
-using Outlook = NetOffice.OutlookApi;
-using NetOffice.OutlookApi.Enums;
-using NetOffice.OutlookApi.Tools;
-/*
- FormRegions Example
-*/
-namespace Outlook06AddinCS4
-{
- [COMAddin("Outlook06 Sample Addin CS4", "FormRegions Example", LoadBehavior.LoadAtStartup)]
- [FormRegion("CustomFormRegion_1_CS4", "IPM.Note", "CustomFormRegion1.xml", "CustomFormRegion1.ofs", "Icon1.ico")]
- [ProgId("Outlook06AddinCS4.Connect"), Guid("ABDD3141-9E5C-4306-96B4-B705F94C1C55"), Codebase, Timestamp]
- public class Addin : COMAddin
- {
- protected override OpenFormRegion OnCreateOpenFormRegion(Outlook.FormRegion form)
- {
- return new CustomFormRegion1(form);
- }
- }
-}
\ No newline at end of file
diff --git a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.cs b/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.cs
deleted file mode 100644
index ce53645b04..0000000000
--- a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using NetOffice;
-using Outlook = NetOffice.OutlookApi;
-using NetOffice.OutlookApi.Tools;
-using MSForms = NetOffice.MSFormsApi;
-using NetOffice.OutlookApi.Tools.Contribution;
-using NetOffice.Extensions.Conversion;
-
-namespace Outlook06AddinCS4
-{
- public class CustomFormRegion1 : OpenFormRegion
- {
- private Outlook.OlkTextBox _textBox1;
- private Outlook.OlkCommandButton _commandButton1;
-
- public CustomFormRegion1(Outlook.FormRegion formRegion) : base(formRegion)
- {
- MSForms.UserForm form = formRegion.Form as MSForms.UserForm;
- _textBox1 = form.Controls["TextBox1"].To();
- _commandButton1 = form.Controls["CommandButton1"].To();
-
- if(null != _commandButton1)
- _commandButton1.ClickEvent += CommandButton1_ClickEvent;
- }
-
- private void CommandButton1_ClickEvent()
- {
- if(null != _textBox1)
- OutlookDialogUtils.ShowMessageBox(_textBox1.Text, "Outlook06AddinCS4");
- }
- }
-}
diff --git a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.ofs b/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.ofs
deleted file mode 100644
index ec64bcf5b7..0000000000
Binary files a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.ofs and /dev/null differ
diff --git a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.xml b/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.xml
deleted file mode 100644
index de0340be1a..0000000000
--- a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- separate
- CustomFormRegion1
- true
- true
- false
-
- addin
-
-
\ No newline at end of file
diff --git a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Icon1.ico b/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Icon1.ico
deleted file mode 100644
index 5d06b9f285..0000000000
Binary files a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Icon1.ico and /dev/null differ
diff --git a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Properties/AssemblyInfo.cs b/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Properties/AssemblyInfo.cs
deleted file mode 100644
index 306d6750ab..0000000000
--- a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Outlook06AddinCS4")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("https://github.com/NetOfficeFw")]
-[assembly: AssemblyCopyright("Copyright © 2013 Sebastian Lange")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(true)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("14e4e752-777a-4a98-900b-0fc88ce02cb7")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Properties/Resources.Designer.cs b/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Properties/Resources.Designer.cs
deleted file mode 100644
index 5d0cbbc143..0000000000
--- a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace Outlook06AddinCS4.Properties {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Outlook06AddinCS4.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Properties/Resources.resx b/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Properties/Resources.resx
deleted file mode 100644
index 4fdb1b6aff..0000000000
--- a/Examples/Outlook/C#/NetOffice COMAddin Examples/06 FormRegions/Properties/Resources.resx
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 1.3
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/Examples/Outlook/C#/NetOffice COMAddin Examples/NetOffice Outlook Addin Examples.sln b/Examples/Outlook/C#/NetOffice COMAddin Examples/NetOffice Outlook Addin Examples.sln
index 4e24997f79..b4c83ec4c5 100644
--- a/Examples/Outlook/C#/NetOffice COMAddin Examples/NetOffice Outlook Addin Examples.sln
+++ b/Examples/Outlook/C#/NetOffice COMAddin Examples/NetOffice Outlook Addin Examples.sln
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 14
-VisualStudioVersion = 14.0.25420.1
+# Visual Studio Version 17
+VisualStudioVersion = 17.3.32804.467
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02 Ribbons and Panes", "02 Ribbons And Panes\02 Ribbons and Panes.csproj", "{372327EE-02AD-435D-AB29-5699137F41E6}"
EndProject
@@ -13,8 +13,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "04 Register and Unregister"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "05 Custom Property Page", "05 Custom Property Page\05 Custom Property Page.csproj", "{8EBE9076-3429-4A80-8B35-14B3CA5565DF}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "06 FormRegions", "06 FormRegions\06 FormRegions.csproj", "{14E4E752-777A-4A98-900B-0FC88CE02CB7}"
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -41,12 +39,11 @@ Global
{8EBE9076-3429-4A80-8B35-14B3CA5565DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8EBE9076-3429-4A80-8B35-14B3CA5565DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8EBE9076-3429-4A80-8B35-14B3CA5565DF}.Release|Any CPU.Build.0 = Release|Any CPU
- {14E4E752-777A-4A98-900B-0FC88CE02CB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {14E4E752-777A-4A98-900B-0FC88CE02CB7}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {14E4E752-777A-4A98-900B-0FC88CE02CB7}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {14E4E752-777A-4A98-900B-0FC88CE02CB7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {2EC7A968-7DCC-4C56-A34D-7D9C3CA458E0}
+ EndGlobalSection
EndGlobal
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/06 FormRegions.vbproj b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/06 FormRegions.vbproj
deleted file mode 100644
index ba13afaeee..0000000000
--- a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/06 FormRegions.vbproj
+++ /dev/null
@@ -1,138 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {990C94CC-AECC-4A99-852E-50A998B5677A}
- Library
- Outlook06AddinVB4
- Outlook06AddinVB4
- 512
- Windows
- v4.0
-
-
- true
- full
- true
- true
- bin\Debug\
-
-
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
- true
-
-
- pdbonly
- false
- true
- true
- bin\Release\
-
-
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
- true
-
-
- On
-
-
- Binary
-
-
- Off
-
-
- On
-
-
-
- ..\..\..\..\..\Assemblies\Any CPU\MSFormsApi.dll
- False
-
-
- ..\..\..\..\..\Assemblies\Any CPU\NetOffice.dll
- False
-
-
- ..\..\..\..\..\Assemblies\Any CPU\OfficeApi.dll
- False
-
-
- ..\..\..\..\..\Assemblies\Any CPU\OutlookApi.dll
- False
-
-
-
-
-
-
-
-
- ..\..\..\..\..\Assemblies\Any CPU\VBIDEApi.dll
- False
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
- Application.myapp
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
-
-
- VbMyResourcesResXFileCodeGenerator
- Resources.Designer.vb
- My.Resources
- Designer
-
-
-
-
-
- MyApplicationCodeGenerator
- Application.Designer.vb
-
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/Addin.vb b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/Addin.vb
deleted file mode 100644
index fbe4c1231c..0000000000
--- a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/Addin.vb
+++ /dev/null
@@ -1,18 +0,0 @@
-Imports System.Runtime.InteropServices
-Imports NetOffice.Tools
-Imports NetOffice.OutlookApi.Tools
-Imports NetOffice.OutlookApi
-'
-'FormRegions Example
-'
-
-
-
-Public Class Addin
- Inherits COMAddin
-
- Protected Overrides Function OnCreateOpenFormRegion(form As FormRegion) As OpenFormRegion
- Return New CustomFormRegion1(form)
- End Function
-
-End Class
\ No newline at end of file
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.ofs b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.ofs
deleted file mode 100644
index ec64bcf5b7..0000000000
Binary files a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.ofs and /dev/null differ
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.vb b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.vb
deleted file mode 100644
index 2de811578e..0000000000
--- a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.vb
+++ /dev/null
@@ -1,36 +0,0 @@
-Imports NetOffice
-Imports Outlook = NetOffice.OutlookApi
-Imports NetOffice.OutlookApi.Tools
-Imports MSForms = NetOffice.MSFormsApi
-Imports NetOffice.OutlookApi.Tools.Contribution
-
-Public Class CustomFormRegion1
- Inherits OpenFormRegion
-
- Private textBox1 As Outlook.OlkTextBox
- Private commandButton1 As Outlook.OlkCommandButton
-
- Public Sub New(formRegion As Outlook.FormRegion)
-
- MyBase.New(formRegion)
-
- Dim form As MSForms.UserForm = formRegion.Form
- textBox1 = form.Controls("TextBox1").To(Of Outlook.OlkTextBox)()
- commandButton1 = form.Controls("CommandButton1").To(Of Outlook.OlkCommandButton)()
-
- If Not IsNothing(commandButton1) Then
- Dim handler As Outlook.OlkCommandButton_ClickEventHandler = AddressOf Me.CommandButton1_ClickEvent
- AddHandler commandButton1.ClickEvent, handler
- End If
-
- End Sub
-
- Private Sub CommandButton1_ClickEvent()
-
- If Not IsNothing(textBox1) Then
- OutlookDialogUtils.ShowMessageBox(textBox1.Text, "Outlook06AddinVB4")
- End If
-
- End Sub
-
-End Class
\ No newline at end of file
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.xml b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.xml
deleted file mode 100644
index de0340be1a..0000000000
--- a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/CustomFormRegion1.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- separate
- CustomFormRegion1
- true
- true
- false
-
- addin
-
-
\ No newline at end of file
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/Icon1.ico b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/Icon1.ico
deleted file mode 100644
index 5d06b9f285..0000000000
Binary files a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/Icon1.ico and /dev/null differ
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Application.Designer.vb b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Application.Designer.vb
deleted file mode 100644
index 88dd01c78a..0000000000
--- a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Application.Designer.vb
+++ /dev/null
@@ -1,13 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Application.myapp b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Application.myapp
deleted file mode 100644
index 758895def2..0000000000
--- a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Application.myapp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- false
- false
- 0
- true
- 0
- 1
- true
-
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/AssemblyInfo.vb b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/AssemblyInfo.vb
deleted file mode 100644
index 6efba682fb..0000000000
--- a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/AssemblyInfo.vb
+++ /dev/null
@@ -1,35 +0,0 @@
-Imports System
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-' General Information about an assembly is controlled through the following
-' set of attributes. Change these attribute values to modify the information
-' associated with an assembly.
-
-' Review the values of the assembly attributes
-
-
-
-
-
-
-
-
-
-
-'The following GUID is for the ID of the typelib if this project is exposed to COM
-
-
-' Version information for an assembly consists of the following four values:
-'
-' Major Version
-' Minor Version
-' Build Number
-' Revision
-'
-' You can specify all the values or you can default the Build and Revision Numbers
-' by using the '*' as shown below:
-'
-
-
-
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Resources.Designer.vb b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Resources.Designer.vb
deleted file mode 100644
index b9b457b389..0000000000
--- a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Resources.Designer.vb
+++ /dev/null
@@ -1,62 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My.Resources
-
- 'This class was auto-generated by the StronglyTypedResourceBuilder
- 'class via a tool like ResGen or Visual Studio.
- 'To add or remove a member, edit your .ResX file then rerun ResGen
- 'with the /str option, or rebuild your VS project.
- '''
- ''' A strongly-typed resource class, for looking up localized strings, etc.
- '''
- _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''
- ''' Returns the cached ResourceManager instance used by this class.
- '''
- _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Outlook06AddinVB4.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''
- ''' Overrides the current thread's CurrentUICulture property for all
- ''' resource lookups using this strongly typed resource class.
- '''
- _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set(ByVal value As Global.System.Globalization.CultureInfo)
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Resources.resx b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Resources.resx
deleted file mode 100644
index af7dbebbac..0000000000
--- a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Settings.Designer.vb b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Settings.Designer.vb
deleted file mode 100644
index 7ba231054e..0000000000
--- a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
-
-#Region "My.Settings Auto-Save Functionality"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.Outlook06AddinVB4.My.MySettings
- Get
- Return Global.Outlook06AddinVB4.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Settings.settings b/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Settings.settings
deleted file mode 100644
index 85b890b3c6..0000000000
--- a/Examples/Outlook/VB/NetOffice COMAddin Examples/06 FormRegions/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Examples/Outlook/VB/NetOffice COMAddin Examples/NetOffice Outlook Addin Examples.sln b/Examples/Outlook/VB/NetOffice COMAddin Examples/NetOffice Outlook Addin Examples.sln
index 1aad2e248e..871004ad48 100644
--- a/Examples/Outlook/VB/NetOffice COMAddin Examples/NetOffice Outlook Addin Examples.sln
+++ b/Examples/Outlook/VB/NetOffice COMAddin Examples/NetOffice Outlook Addin Examples.sln
@@ -13,8 +13,6 @@ Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "04 Register and Unregister"
EndProject
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "05 Custom Property Page", "05 Custom Property Page\05 Custom Property Page.vbproj", "{39FE7D65-86CE-4482-932E-F228631994B2}"
EndProject
-Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "06 FormRegions", "06 FormRegions\06 FormRegions.vbproj", "{990C94CC-AECC-4A99-852E-50A998B5677A}"
-EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -41,10 +39,6 @@ Global
{39FE7D65-86CE-4482-932E-F228631994B2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{39FE7D65-86CE-4482-932E-F228631994B2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{39FE7D65-86CE-4482-932E-F228631994B2}.Release|Any CPU.Build.0 = Release|Any CPU
- {990C94CC-AECC-4A99-852E-50A998B5677A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {990C94CC-AECC-4A99-852E-50A998B5677A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {990C94CC-AECC-4A99-852E-50A998B5677A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {990C94CC-AECC-4A99-852E-50A998B5677A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/Source/ClientApplication/ClientApplication.csproj b/Source/ClientApplication/ClientApplication.csproj
index 1bcf61e290..1e96b4271a 100644
--- a/Source/ClientApplication/ClientApplication.csproj
+++ b/Source/ClientApplication/ClientApplication.csproj
@@ -23,7 +23,6 @@
-
diff --git a/Source/MSForms/AssemblyInfo.cs b/Source/MSForms/AssemblyInfo.cs
deleted file mode 100644
index b7dff348f4..0000000000
--- a/Source/MSForms/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using NetOffice;
-using NetOffice.Attributes;
-
-/*
- Contains the following Type Libraries:
- Name - Description - SupportByVersion
- MSForms - Microsoft Forms 2.0 Object Library - 2
-
-*/
-
-[assembly: PrimaryInteropAssembly(1, 0)]
-[assembly: ImportedFromTypeLib("MSForms")]
-[assembly: Guid("0D452EE1-E08F-101A-852E-02608C4D0BB4")]
-[assembly: NetOfficeAssemblyAttribute("1.8.1.0")]
-[assembly: Dependency("NetOffice.dll", LoadHint.Default)]
-
-
-/*
-Alias Table
-
-[SupportByVersion("MSForms", 2)]
-OLE_COLOR as Int32
-
-[SupportByVersion("MSForms", 2)]
-OLE_HANDLE as Int32
-
-[SupportByVersion("MSForms", 2)]
-OLE_OPTEXCLUSIVE as bool
-
-[SupportByVersion("MSForms", 2)]
-PIROWSET as object
-
-*/
\ No newline at end of file
diff --git a/Source/MSForms/Classes/CheckBox.cs b/Source/MSForms/Classes/CheckBox.cs
deleted file mode 100644
index 6959666375..0000000000
--- a/Source/MSForms/Classes/CheckBox.cs
+++ /dev/null
@@ -1,517 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void CheckBox_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState dragState, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void CheckBox_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void CheckBox_ChangeEventHandler();
- public delegate void CheckBox_ClickEventHandler();
- public delegate void CheckBox_DblClickEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void CheckBox_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void CheckBox_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void CheckBox_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyAscii);
- public delegate void CheckBox_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger kyCode, Int16 shift);
- public delegate void CheckBox_MouseDownEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void CheckBox_MouseMoveEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void CheckBox_MouseUpEventHandler(Int16 button, Int16 shift, Single x, Single y);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass CheckBox
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.MdcCheckBoxEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.MdcCheckBoxEvents))]
- public class CheckBox : IMdcCheckBox, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.MdcCheckBoxEvents_SinkHelper _mdcCheckBoxEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(CheckBox);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public CheckBox(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public CheckBox(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public CheckBox(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public CheckBox(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public CheckBox(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of CheckBox
- ///
- public CheckBox():base("MSForms.CheckBox")
- {
-
- }
-
- ///
- /// Creates a new instance of CheckBox
- ///
- ///registered ProgID
- public CheckBox(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CheckBox_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CheckBox_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CheckBox_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CheckBox_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CheckBox_ChangeEventHandler _ChangeEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CheckBox_ChangeEventHandler ChangeEvent
- {
- add
- {
- CreateEventBridge();
- _ChangeEvent += value;
- }
- remove
- {
- _ChangeEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CheckBox_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CheckBox_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CheckBox_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CheckBox_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CheckBox_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CheckBox_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CheckBox_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CheckBox_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CheckBox_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CheckBox_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CheckBox_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CheckBox_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CheckBox_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CheckBox_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CheckBox_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CheckBox_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CheckBox_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CheckBox_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.MdcCheckBoxEvents_SinkHelper.Id);
-
-
- if(Events.MdcCheckBoxEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _mdcCheckBoxEvents_SinkHelper = new Events.MdcCheckBoxEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _mdcCheckBoxEvents_SinkHelper)
- {
- _mdcCheckBoxEvents_SinkHelper.Dispose();
- _mdcCheckBoxEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/ComboBox.cs b/Source/MSForms/Classes/ComboBox.cs
deleted file mode 100644
index 7c3d44c59a..0000000000
--- a/Source/MSForms/Classes/ComboBox.cs
+++ /dev/null
@@ -1,540 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void ComboBox_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState dragState, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void ComboBox_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void ComboBox_ChangeEventHandler();
- public delegate void ComboBox_ClickEventHandler();
- public delegate void ComboBox_DblClickEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void ComboBox_DropButtonClickEventHandler();
- public delegate void ComboBox_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void ComboBox_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void ComboBox_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyAscii);
- public delegate void ComboBox_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void ComboBox_MouseDownEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void ComboBox_MouseMoveEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void ComboBox_MouseUpEventHandler(Int16 button, Int16 shift, Single x, Single y);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass ComboBox
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.MdcComboEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.MdcComboEvents))]
- public class ComboBox : IMdcCombo, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.MdcComboEvents_SinkHelper _mdcComboEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(ComboBox);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ComboBox(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ComboBox(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ComboBox(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ComboBox(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ComboBox(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of ComboBox
- ///
- public ComboBox():base("MSForms.ComboBox")
- {
-
- }
-
- ///
- /// Creates a new instance of ComboBox
- ///
- ///registered ProgID
- public ComboBox(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_ChangeEventHandler _ChangeEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_ChangeEventHandler ChangeEvent
- {
- add
- {
- CreateEventBridge();
- _ChangeEvent += value;
- }
- remove
- {
- _ChangeEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_DropButtonClickEventHandler _DropButtonClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_DropButtonClickEventHandler DropButtonClickEvent
- {
- add
- {
- CreateEventBridge();
- _DropButtonClickEvent += value;
- }
- remove
- {
- _DropButtonClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ComboBox_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ComboBox_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.MdcComboEvents_SinkHelper.Id);
-
-
- if(Events.MdcComboEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _mdcComboEvents_SinkHelper = new Events.MdcComboEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _mdcComboEvents_SinkHelper)
- {
- _mdcComboEvents_SinkHelper.Dispose();
- _mdcComboEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/CommandButton.cs b/Source/MSForms/Classes/CommandButton.cs
deleted file mode 100644
index 59b3a9d8c6..0000000000
--- a/Source/MSForms/Classes/CommandButton.cs
+++ /dev/null
@@ -1,494 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void CommandButton_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState dragState, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void CommandButton_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void CommandButton_ClickEventHandler();
- public delegate void CommandButton_DblClickEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void CommandButton_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void CommandButton_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void CommandButton_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyAscii);
- public delegate void CommandButton_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void CommandButton_MouseDownEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void CommandButton_MouseMoveEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void CommandButton_MouseUpEventHandler(Int16 button, Int16 shift, Single x, Single y);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass CommandButton
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.CommandButtonEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.CommandButtonEvents))]
- public class CommandButton : ICommandButton, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.CommandButtonEvents_SinkHelper _commandButtonEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(CommandButton);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public CommandButton(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public CommandButton(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public CommandButton(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public CommandButton(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public CommandButton(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of CommandButton
- ///
- public CommandButton():base("MSForms.CommandButton")
- {
-
- }
-
- ///
- /// Creates a new instance of CommandButton
- ///
- ///registered ProgID
- public CommandButton(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CommandButton_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CommandButton_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CommandButton_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CommandButton_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CommandButton_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CommandButton_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CommandButton_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CommandButton_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CommandButton_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CommandButton_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CommandButton_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CommandButton_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CommandButton_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CommandButton_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CommandButton_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CommandButton_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CommandButton_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CommandButton_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CommandButton_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CommandButton_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event CommandButton_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event CommandButton_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.CommandButtonEvents_SinkHelper.Id);
-
-
- if(Events.CommandButtonEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _commandButtonEvents_SinkHelper = new Events.CommandButtonEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _commandButtonEvents_SinkHelper)
- {
- _commandButtonEvents_SinkHelper.Dispose();
- _commandButtonEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/Control.cs b/Source/MSForms/Classes/Control.cs
deleted file mode 100644
index 4b77acd091..0000000000
--- a/Source/MSForms/Classes/Control.cs
+++ /dev/null
@@ -1,333 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void Control_EnterEventHandler();
- public delegate void Control_ExitEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void Control_BeforeUpdateEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void Control_AfterUpdateEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass Control
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.ControlEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.ControlEvents))]
- public class Control : IControl, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.ControlEvents_SinkHelper _controlEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(Control);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public Control(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public Control(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Control(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Control(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Control(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of Control
- ///
- public Control():base("MSForms.Control")
- {
-
- }
-
- ///
- /// Creates a new instance of Control
- ///
- ///registered ProgID
- public Control(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Control_EnterEventHandler _EnterEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Control_EnterEventHandler EnterEvent
- {
- add
- {
- CreateEventBridge();
- _EnterEvent += value;
- }
- remove
- {
- _EnterEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Control_ExitEventHandler _ExitEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Control_ExitEventHandler ExitEvent
- {
- add
- {
- CreateEventBridge();
- _ExitEvent += value;
- }
- remove
- {
- _ExitEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Control_BeforeUpdateEventHandler _BeforeUpdateEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Control_BeforeUpdateEventHandler BeforeUpdateEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeUpdateEvent += value;
- }
- remove
- {
- _BeforeUpdateEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Control_AfterUpdateEventHandler _AfterUpdateEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Control_AfterUpdateEventHandler AfterUpdateEvent
- {
- add
- {
- CreateEventBridge();
- _AfterUpdateEvent += value;
- }
- remove
- {
- _AfterUpdateEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.ControlEvents_SinkHelper.Id);
-
-
- if(Events.ControlEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _controlEvents_SinkHelper = new Events.ControlEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _controlEvents_SinkHelper)
- {
- _controlEvents_SinkHelper.Dispose();
- _controlEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/DataObject.cs b/Source/MSForms/Classes/DataObject.cs
deleted file mode 100644
index 23ad7767c4..0000000000
--- a/Source/MSForms/Classes/DataObject.cs
+++ /dev/null
@@ -1,136 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass DataObject
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- public class DataObject : IDataAutoWrapper
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(DataObject);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public DataObject(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public DataObject(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public DataObject(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public DataObject(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public DataObject(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of DataObject
- ///
- public DataObject():base("MSForms.DataObject")
- {
-
- }
-
- ///
- /// Creates a new instance of DataObject
- ///
- ///registered ProgID
- public DataObject(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- #endregion
-
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/Frame.cs b/Source/MSForms/Classes/Frame.cs
deleted file mode 100644
index 203d108e20..0000000000
--- a/Source/MSForms/Classes/Frame.cs
+++ /dev/null
@@ -1,609 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void Frame_AddControlEventHandler(NetOffice.MSFormsApi.Control control);
- public delegate void Frame_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Control control, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState state, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void Frame_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Control control, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void Frame_ClickEventHandler();
- public delegate void Frame_DblClickEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void Frame_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void Frame_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void Frame_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyAscii);
- public delegate void Frame_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void Frame_LayoutEventHandler();
- public delegate void Frame_MouseDownEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void Frame_MouseMoveEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void Frame_MouseUpEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void Frame_RemoveControlEventHandler(NetOffice.MSFormsApi.Control control);
- public delegate void Frame_ScrollEventHandler(NetOffice.MSFormsApi.Enums.fmScrollAction actionX, NetOffice.MSFormsApi.Enums.fmScrollAction actionY, Single requestDx, Single requestDy, NetOffice.MSFormsApi.ReturnSingle actualDx, NetOffice.MSFormsApi.ReturnSingle actualDy);
- public delegate void Frame_ZoomEventHandler(ref Int16 percent);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass Frame
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.OptionFrameEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.OptionFrameEvents))]
- public class Frame : IOptionFrame, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.OptionFrameEvents_SinkHelper _optionFrameEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(Frame);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public Frame(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public Frame(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Frame(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Frame(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Frame(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of Frame
- ///
- public Frame():base("MSForms.Frame")
- {
-
- }
-
- ///
- /// Creates a new instance of Frame
- ///
- ///registered ProgID
- public Frame(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_AddControlEventHandler _AddControlEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_AddControlEventHandler AddControlEvent
- {
- add
- {
- CreateEventBridge();
- _AddControlEvent += value;
- }
- remove
- {
- _AddControlEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_LayoutEventHandler _LayoutEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_LayoutEventHandler LayoutEvent
- {
- add
- {
- CreateEventBridge();
- _LayoutEvent += value;
- }
- remove
- {
- _LayoutEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_RemoveControlEventHandler _RemoveControlEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_RemoveControlEventHandler RemoveControlEvent
- {
- add
- {
- CreateEventBridge();
- _RemoveControlEvent += value;
- }
- remove
- {
- _RemoveControlEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_ScrollEventHandler _ScrollEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_ScrollEventHandler ScrollEvent
- {
- add
- {
- CreateEventBridge();
- _ScrollEvent += value;
- }
- remove
- {
- _ScrollEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Frame_ZoomEventHandler _ZoomEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Frame_ZoomEventHandler ZoomEvent
- {
- add
- {
- CreateEventBridge();
- _ZoomEvent += value;
- }
- remove
- {
- _ZoomEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.OptionFrameEvents_SinkHelper.Id);
-
-
- if(Events.OptionFrameEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _optionFrameEvents_SinkHelper = new Events.OptionFrameEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _optionFrameEvents_SinkHelper)
- {
- _optionFrameEvents_SinkHelper.Dispose();
- _optionFrameEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/HTMLCheckbox.cs b/Source/MSForms/Classes/HTMLCheckbox.cs
deleted file mode 100644
index 55313201c8..0000000000
--- a/Source/MSForms/Classes/HTMLCheckbox.cs
+++ /dev/null
@@ -1,264 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void HTMLCheckbox_ClickEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass HTMLCheckbox
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.WHTMLControlEvents3_SinkHelper))]
- [ComEventInterface(typeof(Events.WHTMLControlEvents3))]
- public class HTMLCheckbox : IWHTMLCheckbox, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.WHTMLControlEvents3_SinkHelper _wHTMLControlEvents3_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(HTMLCheckbox);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLCheckbox(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLCheckbox(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLCheckbox(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLCheckbox(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLCheckbox(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLCheckbox
- ///
- public HTMLCheckbox():base("MSForms.HTMLCheckbox")
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLCheckbox
- ///
- ///registered ProgID
- public HTMLCheckbox(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event HTMLCheckbox_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event HTMLCheckbox_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.WHTMLControlEvents3_SinkHelper.Id);
-
-
- if(Events.WHTMLControlEvents3_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _wHTMLControlEvents3_SinkHelper = new Events.WHTMLControlEvents3_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _wHTMLControlEvents3_SinkHelper)
- {
- _wHTMLControlEvents3_SinkHelper.Dispose();
- _wHTMLControlEvents3_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/HTMLHidden.cs b/Source/MSForms/Classes/HTMLHidden.cs
deleted file mode 100644
index eafc45f565..0000000000
--- a/Source/MSForms/Classes/HTMLHidden.cs
+++ /dev/null
@@ -1,264 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void HTMLHidden_ClickEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass HTMLHidden
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.WHTMLControlEvents6_SinkHelper))]
- [ComEventInterface(typeof(Events.WHTMLControlEvents6))]
- public class HTMLHidden : IWHTMLHidden, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.WHTMLControlEvents6_SinkHelper _wHTMLControlEvents6_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(HTMLHidden);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLHidden(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLHidden(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLHidden(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLHidden(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLHidden(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLHidden
- ///
- public HTMLHidden():base("MSForms.HTMLHidden")
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLHidden
- ///
- ///registered ProgID
- public HTMLHidden(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event HTMLHidden_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event HTMLHidden_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.WHTMLControlEvents6_SinkHelper.Id);
-
-
- if(Events.WHTMLControlEvents6_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _wHTMLControlEvents6_SinkHelper = new Events.WHTMLControlEvents6_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _wHTMLControlEvents6_SinkHelper)
- {
- _wHTMLControlEvents6_SinkHelper.Dispose();
- _wHTMLControlEvents6_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/HTMLImage.cs b/Source/MSForms/Classes/HTMLImage.cs
deleted file mode 100644
index 791489ce46..0000000000
--- a/Source/MSForms/Classes/HTMLImage.cs
+++ /dev/null
@@ -1,264 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void HTMLImage_ClickEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass HTMLImage
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.WHTMLControlEvents1_SinkHelper))]
- [ComEventInterface(typeof(Events.WHTMLControlEvents1))]
- public class HTMLImage : IWHTMLImage, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.WHTMLControlEvents1_SinkHelper _wHTMLControlEvents1_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(HTMLImage);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLImage(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLImage(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLImage(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLImage(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLImage(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLImage
- ///
- public HTMLImage():base("MSForms.HTMLImage")
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLImage
- ///
- ///registered ProgID
- public HTMLImage(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event HTMLImage_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event HTMLImage_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.WHTMLControlEvents1_SinkHelper.Id);
-
-
- if(Events.WHTMLControlEvents1_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _wHTMLControlEvents1_SinkHelper = new Events.WHTMLControlEvents1_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _wHTMLControlEvents1_SinkHelper)
- {
- _wHTMLControlEvents1_SinkHelper.Dispose();
- _wHTMLControlEvents1_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/HTMLOption.cs b/Source/MSForms/Classes/HTMLOption.cs
deleted file mode 100644
index 2b9da49b2e..0000000000
--- a/Source/MSForms/Classes/HTMLOption.cs
+++ /dev/null
@@ -1,264 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void HTMLOption_ClickEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass HTMLOption
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.WHTMLControlEvents4_SinkHelper))]
- [ComEventInterface(typeof(Events.WHTMLControlEvents4))]
- public class HTMLOption : IWHTMLOption, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.WHTMLControlEvents4_SinkHelper _wHTMLControlEvents4_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(HTMLOption);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLOption(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLOption(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLOption(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLOption(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLOption(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLOption
- ///
- public HTMLOption():base("MSForms.HTMLOption")
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLOption
- ///
- ///registered ProgID
- public HTMLOption(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event HTMLOption_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event HTMLOption_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.WHTMLControlEvents4_SinkHelper.Id);
-
-
- if(Events.WHTMLControlEvents4_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _wHTMLControlEvents4_SinkHelper = new Events.WHTMLControlEvents4_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _wHTMLControlEvents4_SinkHelper)
- {
- _wHTMLControlEvents4_SinkHelper.Dispose();
- _wHTMLControlEvents4_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/HTMLPassword.cs b/Source/MSForms/Classes/HTMLPassword.cs
deleted file mode 100644
index 3ce52e83e4..0000000000
--- a/Source/MSForms/Classes/HTMLPassword.cs
+++ /dev/null
@@ -1,264 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void HTMLPassword_ClickEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass HTMLPassword
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.WHTMLControlEvents7_SinkHelper))]
- [ComEventInterface(typeof(Events.WHTMLControlEvents7))]
- public class HTMLPassword : IWHTMLPassword, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.WHTMLControlEvents7_SinkHelper _wHTMLControlEvents7_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(HTMLPassword);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLPassword(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLPassword(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLPassword(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLPassword(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLPassword(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLPassword
- ///
- public HTMLPassword():base("MSForms.HTMLPassword")
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLPassword
- ///
- ///registered ProgID
- public HTMLPassword(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event HTMLPassword_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event HTMLPassword_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.WHTMLControlEvents7_SinkHelper.Id);
-
-
- if(Events.WHTMLControlEvents7_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _wHTMLControlEvents7_SinkHelper = new Events.WHTMLControlEvents7_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _wHTMLControlEvents7_SinkHelper)
- {
- _wHTMLControlEvents7_SinkHelper.Dispose();
- _wHTMLControlEvents7_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/HTMLReset.cs b/Source/MSForms/Classes/HTMLReset.cs
deleted file mode 100644
index c85032175c..0000000000
--- a/Source/MSForms/Classes/HTMLReset.cs
+++ /dev/null
@@ -1,264 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void HTMLReset_ClickEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass HTMLReset
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.WHTMLControlEvents2_SinkHelper))]
- [ComEventInterface(typeof(Events.WHTMLControlEvents2))]
- public class HTMLReset : IWHTMLReset, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.WHTMLControlEvents2_SinkHelper _wHTMLControlEvents2_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(HTMLReset);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLReset(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLReset(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLReset(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLReset(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLReset(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLReset
- ///
- public HTMLReset():base("MSForms.HTMLReset")
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLReset
- ///
- ///registered ProgID
- public HTMLReset(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event HTMLReset_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event HTMLReset_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.WHTMLControlEvents2_SinkHelper.Id);
-
-
- if(Events.WHTMLControlEvents2_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _wHTMLControlEvents2_SinkHelper = new Events.WHTMLControlEvents2_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _wHTMLControlEvents2_SinkHelper)
- {
- _wHTMLControlEvents2_SinkHelper.Dispose();
- _wHTMLControlEvents2_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/HTMLSelect.cs b/Source/MSForms/Classes/HTMLSelect.cs
deleted file mode 100644
index 80489fde7a..0000000000
--- a/Source/MSForms/Classes/HTMLSelect.cs
+++ /dev/null
@@ -1,264 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void HTMLSelect_ClickEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass HTMLSelect
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.WHTMLControlEvents9_SinkHelper))]
- [ComEventInterface(typeof(Events.WHTMLControlEvents9))]
- public class HTMLSelect : IWHTMLSelect, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.WHTMLControlEvents9_SinkHelper _wHTMLControlEvents9_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(HTMLSelect);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLSelect(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLSelect(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLSelect(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLSelect(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLSelect(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLSelect
- ///
- public HTMLSelect():base("MSForms.HTMLSelect")
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLSelect
- ///
- ///registered ProgID
- public HTMLSelect(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event HTMLSelect_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event HTMLSelect_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.WHTMLControlEvents9_SinkHelper.Id);
-
-
- if(Events.WHTMLControlEvents9_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _wHTMLControlEvents9_SinkHelper = new Events.WHTMLControlEvents9_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _wHTMLControlEvents9_SinkHelper)
- {
- _wHTMLControlEvents9_SinkHelper.Dispose();
- _wHTMLControlEvents9_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/HTMLSubmit.cs b/Source/MSForms/Classes/HTMLSubmit.cs
deleted file mode 100644
index 3c6ecaeb62..0000000000
--- a/Source/MSForms/Classes/HTMLSubmit.cs
+++ /dev/null
@@ -1,264 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void HTMLSubmit_ClickEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass HTMLSubmit
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.WHTMLControlEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.WHTMLControlEvents))]
- public class HTMLSubmit : IWHTMLSubmitButton, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.WHTMLControlEvents_SinkHelper _wHTMLControlEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(HTMLSubmit);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLSubmit(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLSubmit(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLSubmit(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLSubmit(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLSubmit(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLSubmit
- ///
- public HTMLSubmit():base("MSForms.HTMLSubmit")
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLSubmit
- ///
- ///registered ProgID
- public HTMLSubmit(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event HTMLSubmit_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event HTMLSubmit_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.WHTMLControlEvents_SinkHelper.Id);
-
-
- if(Events.WHTMLControlEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _wHTMLControlEvents_SinkHelper = new Events.WHTMLControlEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _wHTMLControlEvents_SinkHelper)
- {
- _wHTMLControlEvents_SinkHelper.Dispose();
- _wHTMLControlEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/HTMLText.cs b/Source/MSForms/Classes/HTMLText.cs
deleted file mode 100644
index bc9920c37e..0000000000
--- a/Source/MSForms/Classes/HTMLText.cs
+++ /dev/null
@@ -1,264 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void HTMLText_ClickEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass HTMLText
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.WHTMLControlEvents5_SinkHelper))]
- [ComEventInterface(typeof(Events.WHTMLControlEvents5))]
- public class HTMLText : IWHTMLText, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.WHTMLControlEvents5_SinkHelper _wHTMLControlEvents5_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(HTMLText);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLText(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLText(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLText(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLText(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLText(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLText
- ///
- public HTMLText():base("MSForms.HTMLText")
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLText
- ///
- ///registered ProgID
- public HTMLText(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event HTMLText_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event HTMLText_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.WHTMLControlEvents5_SinkHelper.Id);
-
-
- if(Events.WHTMLControlEvents5_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _wHTMLControlEvents5_SinkHelper = new Events.WHTMLControlEvents5_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _wHTMLControlEvents5_SinkHelper)
- {
- _wHTMLControlEvents5_SinkHelper.Dispose();
- _wHTMLControlEvents5_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/HTMLTextArea.cs b/Source/MSForms/Classes/HTMLTextArea.cs
deleted file mode 100644
index ed0086695d..0000000000
--- a/Source/MSForms/Classes/HTMLTextArea.cs
+++ /dev/null
@@ -1,264 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void HTMLTextArea_ClickEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass HTMLTextArea
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.WHTMLControlEvents10_SinkHelper))]
- [ComEventInterface(typeof(Events.WHTMLControlEvents10))]
- public class HTMLTextArea : IWHTMLTextArea, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.WHTMLControlEvents10_SinkHelper _wHTMLControlEvents10_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(HTMLTextArea);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLTextArea(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public HTMLTextArea(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLTextArea(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLTextArea(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public HTMLTextArea(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLTextArea
- ///
- public HTMLTextArea():base("MSForms.HTMLTextArea")
- {
-
- }
-
- ///
- /// Creates a new instance of HTMLTextArea
- ///
- ///registered ProgID
- public HTMLTextArea(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event HTMLTextArea_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event HTMLTextArea_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.WHTMLControlEvents10_SinkHelper.Id);
-
-
- if(Events.WHTMLControlEvents10_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _wHTMLControlEvents10_SinkHelper = new Events.WHTMLControlEvents10_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _wHTMLControlEvents10_SinkHelper)
- {
- _wHTMLControlEvents10_SinkHelper.Dispose();
- _wHTMLControlEvents10_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/Image.cs b/Source/MSForms/Classes/Image.cs
deleted file mode 100644
index 6ac467c164..0000000000
--- a/Source/MSForms/Classes/Image.cs
+++ /dev/null
@@ -1,425 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void Image_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState dragState, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void Image_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void Image_ClickEventHandler();
- public delegate void Image_DblClickEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void Image_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void Image_MouseDownEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void Image_MouseMoveEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void Image_MouseUpEventHandler(Int16 button, Int16 shift, Single x, Single y);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass Image
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.ImageEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.ImageEvents))]
- public class Image : IImage, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.ImageEvents_SinkHelper _imageEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(Image);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public Image(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public Image(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Image(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Image(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Image(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of Image
- ///
- public Image():base("MSForms.Image")
- {
-
- }
-
- ///
- /// Creates a new instance of Image
- ///
- ///registered ProgID
- public Image(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Image_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Image_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Image_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Image_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Image_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Image_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Image_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Image_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Image_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Image_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Image_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Image_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Image_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Image_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Image_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Image_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.ImageEvents_SinkHelper.Id);
-
-
- if(Events.ImageEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _imageEvents_SinkHelper = new Events.ImageEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _imageEvents_SinkHelper)
- {
- _imageEvents_SinkHelper.Dispose();
- _imageEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/Label.cs b/Source/MSForms/Classes/Label.cs
deleted file mode 100644
index 1409f778b8..0000000000
--- a/Source/MSForms/Classes/Label.cs
+++ /dev/null
@@ -1,425 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void Label_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState dragState, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void Label_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void Label_ClickEventHandler();
- public delegate void Label_DblClickEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void Label_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void Label_MouseDownEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void Label_MouseMoveEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void Label_MouseUpEventHandler(Int16 button, Int16 shift, Single x, Single y);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass Label
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.LabelControlEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.LabelControlEvents))]
- public class Label : ILabelControl, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.LabelControlEvents_SinkHelper _labelControlEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(Label);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public Label(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public Label(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Label(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Label(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Label(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of Label
- ///
- public Label():base("MSForms.Label")
- {
-
- }
-
- ///
- /// Creates a new instance of Label
- ///
- ///registered ProgID
- public Label(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Label_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Label_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Label_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Label_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Label_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Label_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Label_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Label_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Label_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Label_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Label_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Label_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Label_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Label_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event Label_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event Label_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding Member
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.LabelControlEvents_SinkHelper.Id);
-
-
- if(Events.LabelControlEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _labelControlEvents_SinkHelper = new Events.LabelControlEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _labelControlEvents_SinkHelper)
- {
- _labelControlEvents_SinkHelper.Dispose();
- _labelControlEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/ListBox.cs b/Source/MSForms/Classes/ListBox.cs
deleted file mode 100644
index 03fe0749d2..0000000000
--- a/Source/MSForms/Classes/ListBox.cs
+++ /dev/null
@@ -1,517 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void ListBox_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState dragState, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void ListBox_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void ListBox_ChangeEventHandler();
- public delegate void ListBox_ClickEventHandler();
- public delegate void ListBox_DblClickEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void ListBox_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void ListBox_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void ListBox_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyAscii);
- public delegate void ListBox_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void ListBox_MouseDownEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void ListBox_MouseMoveEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void ListBox_MouseUpEventHandler(Int16 button, Int16 shift, Single x, Single y);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass ListBox
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.MdcListEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.MdcListEvents))]
- public class ListBox : IMdcList, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.MdcListEvents_SinkHelper _mdcListEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(ListBox);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ListBox(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ListBox(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ListBox(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ListBox(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ListBox(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of ListBox
- ///
- public ListBox():base("MSForms.ListBox")
- {
-
- }
-
- ///
- /// Creates a new instance of ListBox
- ///
- ///registered ProgID
- public ListBox(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ListBox_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ListBox_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ListBox_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ListBox_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ListBox_ChangeEventHandler _ChangeEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ListBox_ChangeEventHandler ChangeEvent
- {
- add
- {
- CreateEventBridge();
- _ChangeEvent += value;
- }
- remove
- {
- _ChangeEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ListBox_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ListBox_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ListBox_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ListBox_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ListBox_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ListBox_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ListBox_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ListBox_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ListBox_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ListBox_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ListBox_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ListBox_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ListBox_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ListBox_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ListBox_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ListBox_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ListBox_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ListBox_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.MdcListEvents_SinkHelper.Id);
-
-
- if(Events.MdcListEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _mdcListEvents_SinkHelper = new Events.MdcListEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _mdcListEvents_SinkHelper)
- {
- _mdcListEvents_SinkHelper.Dispose();
- _mdcListEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/MultiPage.cs b/Source/MSForms/Classes/MultiPage.cs
deleted file mode 100644
index a2ebf49ca1..0000000000
--- a/Source/MSForms/Classes/MultiPage.cs
+++ /dev/null
@@ -1,632 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void MultiPage_AddControlEventHandler(Int32 index, NetOffice.MSFormsApi.Control control);
- public delegate void MultiPage_BeforeDragOverEventHandler(Int32 index, NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Control control, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState state, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void MultiPage_BeforeDropOrPasteEventHandler(Int32 index, NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Control control, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void MultiPage_ChangeEventHandler();
- public delegate void MultiPage_ClickEventHandler(Int32 index);
- public delegate void MultiPage_DblClickEventHandler(Int32 index, NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void MultiPage_ErrorEventHandler(Int32 index, Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void MultiPage_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void MultiPage_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyAscii);
- public delegate void MultiPage_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void MultiPage_LayoutEventHandler(Int32 index);
- public delegate void MultiPage_MouseDownEventHandler(Int32 index, Int16 button, Int16 shift, Single x, Single y);
- public delegate void MultiPage_MouseMoveEventHandler(Int32 Index, Int16 button, Int16 shift, Single x, Single y);
- public delegate void MultiPage_MouseUpEventHandler(Int32 index, Int16 button, Int16 shift, Single x, Single y);
- public delegate void MultiPage_RemoveControlEventHandler(Int32 index, NetOffice.MSFormsApi.Control control);
- public delegate void MultiPage_ScrollEventHandler(Int32 index, NetOffice.MSFormsApi.Enums.fmScrollAction actionX, NetOffice.MSFormsApi.Enums.fmScrollAction actionY, Single requestDx, Single requestDy, NetOffice.MSFormsApi.ReturnSingle actualDx, NetOffice.MSFormsApi.ReturnSingle actualDy);
- public delegate void MultiPage_ZoomEventHandler(Int32 index, ref Int16 percent);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass MultiPage
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.MultiPageEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.MultiPageEvents))]
- public class MultiPage : IMultiPage, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.MultiPageEvents_SinkHelper _multiPageEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(MultiPage);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public MultiPage(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public MultiPage(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public MultiPage(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public MultiPage(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public MultiPage(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of MultiPage
- ///
- public MultiPage():base("MSForms.MultiPage")
- {
-
- }
-
- ///
- /// Creates a new instance of MultiPage
- ///
- ///registered ProgID
- public MultiPage(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_AddControlEventHandler _AddControlEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_AddControlEventHandler AddControlEvent
- {
- add
- {
- CreateEventBridge();
- _AddControlEvent += value;
- }
- remove
- {
- _AddControlEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_ChangeEventHandler _ChangeEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_ChangeEventHandler ChangeEvent
- {
- add
- {
- CreateEventBridge();
- _ChangeEvent += value;
- }
- remove
- {
- _ChangeEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_LayoutEventHandler _LayoutEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_LayoutEventHandler LayoutEvent
- {
- add
- {
- CreateEventBridge();
- _LayoutEvent += value;
- }
- remove
- {
- _LayoutEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_RemoveControlEventHandler _RemoveControlEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_RemoveControlEventHandler RemoveControlEvent
- {
- add
- {
- CreateEventBridge();
- _RemoveControlEvent += value;
- }
- remove
- {
- _RemoveControlEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_ScrollEventHandler _ScrollEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_ScrollEventHandler ScrollEvent
- {
- add
- {
- CreateEventBridge();
- _ScrollEvent += value;
- }
- remove
- {
- _ScrollEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event MultiPage_ZoomEventHandler _ZoomEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event MultiPage_ZoomEventHandler ZoomEvent
- {
- add
- {
- CreateEventBridge();
- _ZoomEvent += value;
- }
- remove
- {
- _ZoomEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.MultiPageEvents_SinkHelper.Id);
-
-
- if(Events.MultiPageEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _multiPageEvents_SinkHelper = new Events.MultiPageEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _multiPageEvents_SinkHelper)
- {
- _multiPageEvents_SinkHelper.Dispose();
- _multiPageEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/NewFont.cs b/Source/MSForms/Classes/NewFont.cs
deleted file mode 100644
index ef44c81090..0000000000
--- a/Source/MSForms/Classes/NewFont.cs
+++ /dev/null
@@ -1,136 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass NewFont
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- public class NewFont : Font
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(NewFont);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public NewFont(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public NewFont(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public NewFont(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public NewFont(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public NewFont(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of NewFont
- ///
- public NewFont():base("MSForms.NewFont")
- {
-
- }
-
- ///
- /// Creates a new instance of NewFont
- ///
- ///registered ProgID
- public NewFont(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- #endregion
-
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/OptionButton.cs b/Source/MSForms/Classes/OptionButton.cs
deleted file mode 100644
index d7b719e874..0000000000
--- a/Source/MSForms/Classes/OptionButton.cs
+++ /dev/null
@@ -1,517 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void OptionButton_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState dragState, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void OptionButton_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void OptionButton_ChangeEventHandler();
- public delegate void OptionButton_ClickEventHandler();
- public delegate void OptionButton_DblClickEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void OptionButton_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void OptionButton_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void OptionButton_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode);
- public delegate void OptionButton_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void OptionButton_MouseDownEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void OptionButton_MouseMoveEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void OptionButton_MouseUpEventHandler(Int16 button, Int16 shift, Single x, Single y);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass OptionButton
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.MdcOptionButtonEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.MdcOptionButtonEvents))]
- public class OptionButton : IMdcOptionButton, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.MdcOptionButtonEvents_SinkHelper _mdcOptionButtonEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(OptionButton);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public OptionButton(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public OptionButton(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public OptionButton(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public OptionButton(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public OptionButton(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of OptionButton
- ///
- public OptionButton():base("MSForms.OptionButton")
- {
-
- }
-
- ///
- /// Creates a new instance of OptionButton
- ///
- ///registered ProgID
- public OptionButton(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event OptionButton_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event OptionButton_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event OptionButton_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event OptionButton_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event OptionButton_ChangeEventHandler _ChangeEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event OptionButton_ChangeEventHandler ChangeEvent
- {
- add
- {
- CreateEventBridge();
- _ChangeEvent += value;
- }
- remove
- {
- _ChangeEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event OptionButton_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event OptionButton_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event OptionButton_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event OptionButton_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event OptionButton_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event OptionButton_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event OptionButton_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event OptionButton_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event OptionButton_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event OptionButton_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event OptionButton_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event OptionButton_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event OptionButton_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event OptionButton_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event OptionButton_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event OptionButton_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event OptionButton_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event OptionButton_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.MdcOptionButtonEvents_SinkHelper.Id);
-
-
- if(Events.MdcOptionButtonEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _mdcOptionButtonEvents_SinkHelper = new Events.MdcOptionButtonEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _mdcOptionButtonEvents_SinkHelper)
- {
- _mdcOptionButtonEvents_SinkHelper.Dispose();
- _mdcOptionButtonEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/Page.cs b/Source/MSForms/Classes/Page.cs
deleted file mode 100644
index 8e1f852109..0000000000
--- a/Source/MSForms/Classes/Page.cs
+++ /dev/null
@@ -1,136 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass Page
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- public class Page : IPage
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(Page);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public Page(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public Page(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Page(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Page(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Page(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of Page
- ///
- public Page():base("MSForms.Page")
- {
-
- }
-
- ///
- /// Creates a new instance of Page
- ///
- ///registered ProgID
- public Page(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- #endregion
-
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/ReturnBoolean.cs b/Source/MSForms/Classes/ReturnBoolean.cs
deleted file mode 100644
index 667aedfa98..0000000000
--- a/Source/MSForms/Classes/ReturnBoolean.cs
+++ /dev/null
@@ -1,136 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass ReturnBoolean
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- public class ReturnBoolean : IReturnBoolean
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(ReturnBoolean);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ReturnBoolean(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ReturnBoolean(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnBoolean(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnBoolean(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnBoolean(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of ReturnBoolean
- ///
- public ReturnBoolean():base("MSForms.ReturnBoolean")
- {
-
- }
-
- ///
- /// Creates a new instance of ReturnBoolean
- ///
- ///registered ProgID
- public ReturnBoolean(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- #endregion
-
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/ReturnEffect.cs b/Source/MSForms/Classes/ReturnEffect.cs
deleted file mode 100644
index 75e0392ec7..0000000000
--- a/Source/MSForms/Classes/ReturnEffect.cs
+++ /dev/null
@@ -1,136 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass ReturnEffect
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- public class ReturnEffect : IReturnEffect
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(ReturnEffect);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ReturnEffect(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ReturnEffect(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnEffect(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnEffect(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnEffect(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of ReturnEffect
- ///
- public ReturnEffect():base("MSForms.ReturnEffect")
- {
-
- }
-
- ///
- /// Creates a new instance of ReturnEffect
- ///
- ///registered ProgID
- public ReturnEffect(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- #endregion
-
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/ReturnInteger.cs b/Source/MSForms/Classes/ReturnInteger.cs
deleted file mode 100644
index 004ef228e3..0000000000
--- a/Source/MSForms/Classes/ReturnInteger.cs
+++ /dev/null
@@ -1,136 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass ReturnInteger
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- public class ReturnInteger : IReturnInteger
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(ReturnInteger);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ReturnInteger(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ReturnInteger(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnInteger(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnInteger(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnInteger(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of ReturnInteger
- ///
- public ReturnInteger():base("MSForms.ReturnInteger")
- {
-
- }
-
- ///
- /// Creates a new instance of ReturnInteger
- ///
- ///registered ProgID
- public ReturnInteger(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- #endregion
-
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/ReturnSingle.cs b/Source/MSForms/Classes/ReturnSingle.cs
deleted file mode 100644
index 61886f4e46..0000000000
--- a/Source/MSForms/Classes/ReturnSingle.cs
+++ /dev/null
@@ -1,136 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass ReturnSingle
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- public class ReturnSingle : IReturnSingle
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(ReturnSingle);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ReturnSingle(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ReturnSingle(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnSingle(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnSingle(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnSingle(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of ReturnSingle
- ///
- public ReturnSingle():base("MSForms.ReturnSingle")
- {
-
- }
-
- ///
- /// Creates a new instance of ReturnSingle
- ///
- ///registered ProgID
- public ReturnSingle(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- #endregion
-
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/ReturnString.cs b/Source/MSForms/Classes/ReturnString.cs
deleted file mode 100644
index 735144b429..0000000000
--- a/Source/MSForms/Classes/ReturnString.cs
+++ /dev/null
@@ -1,136 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass ReturnString
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- public class ReturnString : IReturnString
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(ReturnString);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ReturnString(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ReturnString(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnString(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnString(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ReturnString(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of ReturnString
- ///
- public ReturnString():base("MSForms.ReturnString")
- {
-
- }
-
- ///
- /// Creates a new instance of ReturnString
- ///
- ///registered ProgID
- public ReturnString(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- #endregion
-
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/ScrollBar.cs b/Source/MSForms/Classes/ScrollBar.cs
deleted file mode 100644
index d9a24a1398..0000000000
--- a/Source/MSForms/Classes/ScrollBar.cs
+++ /dev/null
@@ -1,425 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void ScrollBar_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState dragState, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void ScrollBar_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void ScrollBar_ChangeEventHandler();
- public delegate void ScrollBar_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void ScrollBar_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void ScrollBar_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyAscii);
- public delegate void ScrollBar_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void ScrollBar_ScrollEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass ScrollBar
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.ScrollbarEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.ScrollbarEvents))]
- public class ScrollBar : IScrollbar, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.ScrollbarEvents_SinkHelper _scrollbarEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(ScrollBar);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ScrollBar(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ScrollBar(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ScrollBar(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ScrollBar(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ScrollBar(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of ScrollBar
- ///
- public ScrollBar():base("MSForms.ScrollBar")
- {
-
- }
-
- ///
- /// Creates a new instance of ScrollBar
- ///
- ///registered ProgID
- public ScrollBar(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ScrollBar_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ScrollBar_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ScrollBar_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ScrollBar_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ScrollBar_ChangeEventHandler _ChangeEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ScrollBar_ChangeEventHandler ChangeEvent
- {
- add
- {
- CreateEventBridge();
- _ChangeEvent += value;
- }
- remove
- {
- _ChangeEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ScrollBar_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ScrollBar_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ScrollBar_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ScrollBar_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ScrollBar_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ScrollBar_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ScrollBar_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ScrollBar_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ScrollBar_ScrollEventHandler _ScrollEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ScrollBar_ScrollEventHandler ScrollEvent
- {
- add
- {
- CreateEventBridge();
- _ScrollEvent += value;
- }
- remove
- {
- _ScrollEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.ScrollbarEvents_SinkHelper.Id);
-
-
- if(Events.ScrollbarEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _scrollbarEvents_SinkHelper = new Events.ScrollbarEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _scrollbarEvents_SinkHelper)
- {
- _scrollbarEvents_SinkHelper.Dispose();
- _scrollbarEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/SpinButton.cs b/Source/MSForms/Classes/SpinButton.cs
deleted file mode 100644
index b634f8e8b2..0000000000
--- a/Source/MSForms/Classes/SpinButton.cs
+++ /dev/null
@@ -1,448 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void SpinButton_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState dragState, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void SpinButton_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void SpinButton_ChangeEventHandler();
- public delegate void SpinButton_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void SpinButton_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void SpinButton_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyAscii);
- public delegate void SpinButton_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void SpinButton_SpinUpEventHandler();
- public delegate void SpinButton_SpinDownEventHandler();
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass SpinButton
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.SpinbuttonEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.SpinbuttonEvents))]
- public class SpinButton : ISpinbutton, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.SpinbuttonEvents_SinkHelper _spinbuttonEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(SpinButton);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public SpinButton(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public SpinButton(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public SpinButton(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public SpinButton(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public SpinButton(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of SpinButton
- ///
- public SpinButton():base("MSForms.SpinButton")
- {
-
- }
-
- ///
- /// Creates a new instance of SpinButton
- ///
- ///registered ProgID
- public SpinButton(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event SpinButton_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event SpinButton_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event SpinButton_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event SpinButton_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event SpinButton_ChangeEventHandler _ChangeEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event SpinButton_ChangeEventHandler ChangeEvent
- {
- add
- {
- CreateEventBridge();
- _ChangeEvent += value;
- }
- remove
- {
- _ChangeEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event SpinButton_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event SpinButton_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event SpinButton_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event SpinButton_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event SpinButton_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event SpinButton_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event SpinButton_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event SpinButton_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event SpinButton_SpinUpEventHandler _SpinUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event SpinButton_SpinUpEventHandler SpinUpEvent
- {
- add
- {
- CreateEventBridge();
- _SpinUpEvent += value;
- }
- remove
- {
- _SpinUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event SpinButton_SpinDownEventHandler _SpinDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event SpinButton_SpinDownEventHandler SpinDownEvent
- {
- add
- {
- CreateEventBridge();
- _SpinDownEvent += value;
- }
- remove
- {
- _SpinDownEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.SpinbuttonEvents_SinkHelper.Id);
-
-
- if(Events.SpinbuttonEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _spinbuttonEvents_SinkHelper = new Events.SpinbuttonEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _spinbuttonEvents_SinkHelper)
- {
- _spinbuttonEvents_SinkHelper.Dispose();
- _spinbuttonEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/TabStrip.cs b/Source/MSForms/Classes/TabStrip.cs
deleted file mode 100644
index d46f3ec33f..0000000000
--- a/Source/MSForms/Classes/TabStrip.cs
+++ /dev/null
@@ -1,517 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void TabStrip_BeforeDragOverEventHandler(Int32 index, NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState dragState, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void TabStrip_BeforeDropOrPasteEventHandler(Int32 index, NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void TabStrip_ChangeEventHandler();
- public delegate void TabStrip_ClickEventHandler(Int32 index);
- public delegate void TabStrip_DblClickEventHandler(Int32 index, NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void TabStrip_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void TabStrip_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 Shift);
- public delegate void TabStrip_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyAscii);
- public delegate void TabStrip_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void TabStrip_MouseDownEventHandler(Int32 index, Int16 button, Int16 shift, Single x, Single y);
- public delegate void TabStrip_MouseMoveEventHandler(Int32 index, Int16 button, Int16 shift, Single x, Single y);
- public delegate void TabStrip_MouseUpEventHandler(Int32 index, Int16 button, Int16 shift, Single x, Single y);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass TabStrip
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.TabStripEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.TabStripEvents))]
- public class TabStrip : ITabStrip, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.TabStripEvents_SinkHelper _tabStripEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(TabStrip);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public TabStrip(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public TabStrip(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public TabStrip(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public TabStrip(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public TabStrip(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of TabStrip
- ///
- public TabStrip():base("MSForms.TabStrip")
- {
-
- }
-
- ///
- /// Creates a new instance of TabStrip
- ///
- ///registered ProgID
- public TabStrip(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TabStrip_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TabStrip_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TabStrip_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TabStrip_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TabStrip_ChangeEventHandler _ChangeEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TabStrip_ChangeEventHandler ChangeEvent
- {
- add
- {
- CreateEventBridge();
- _ChangeEvent += value;
- }
- remove
- {
- _ChangeEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TabStrip_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TabStrip_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TabStrip_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TabStrip_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TabStrip_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TabStrip_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TabStrip_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TabStrip_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TabStrip_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TabStrip_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TabStrip_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TabStrip_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TabStrip_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TabStrip_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TabStrip_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TabStrip_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TabStrip_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TabStrip_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.TabStripEvents_SinkHelper.Id);
-
-
- if(Events.TabStripEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _tabStripEvents_SinkHelper = new Events.TabStripEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _tabStripEvents_SinkHelper)
- {
- _tabStripEvents_SinkHelper.Dispose();
- _tabStripEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/TextBox.cs b/Source/MSForms/Classes/TextBox.cs
deleted file mode 100644
index 4ebb27228e..0000000000
--- a/Source/MSForms/Classes/TextBox.cs
+++ /dev/null
@@ -1,517 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void TextBox_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState dragState, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void TextBox_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void TextBox_ChangeEventHandler();
- public delegate void TextBox_DblClickEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void TextBox_DropButtonClickEventHandler();
- public delegate void TextBox_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void TextBox_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void TextBox_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyAscii);
- public delegate void TextBox_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void TextBox_MouseDownEventHandler(Int16 button, Int16 Shift, Single x, Single Y);
- public delegate void TextBox_MouseMoveEventHandler(Int16 button, Int16 Shift, Single x, Single Y);
- public delegate void TextBox_MouseUpEventHandler(Int16 button, Int16 Shift, Single x, Single y);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass TextBox
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.MdcTextEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.MdcTextEvents))]
- public class TextBox : IMdcText, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.MdcTextEvents_SinkHelper _mdcTextEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(TextBox);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public TextBox(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public TextBox(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public TextBox(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public TextBox(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public TextBox(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of TextBox
- ///
- public TextBox():base("MSForms.TextBox")
- {
-
- }
-
- ///
- /// Creates a new instance of TextBox
- ///
- ///registered ProgID
- public TextBox(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TextBox_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TextBox_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TextBox_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TextBox_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TextBox_ChangeEventHandler _ChangeEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TextBox_ChangeEventHandler ChangeEvent
- {
- add
- {
- CreateEventBridge();
- _ChangeEvent += value;
- }
- remove
- {
- _ChangeEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TextBox_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TextBox_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TextBox_DropButtonClickEventHandler _DropButtonClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TextBox_DropButtonClickEventHandler DropButtonClickEvent
- {
- add
- {
- CreateEventBridge();
- _DropButtonClickEvent += value;
- }
- remove
- {
- _DropButtonClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TextBox_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TextBox_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TextBox_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TextBox_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TextBox_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TextBox_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TextBox_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TextBox_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TextBox_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TextBox_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TextBox_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TextBox_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event TextBox_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event TextBox_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.MdcTextEvents_SinkHelper.Id);
-
-
- if(Events.MdcTextEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _mdcTextEvents_SinkHelper = new Events.MdcTextEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _mdcTextEvents_SinkHelper)
- {
- _mdcTextEvents_SinkHelper.Dispose();
- _mdcTextEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/ToggleButton.cs b/Source/MSForms/Classes/ToggleButton.cs
deleted file mode 100644
index 91a4fecfe4..0000000000
--- a/Source/MSForms/Classes/ToggleButton.cs
+++ /dev/null
@@ -1,517 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void ToggleButton_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState dragState, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void ToggleButton_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void ToggleButton_ChangeEventHandler();
- public delegate void ToggleButton_ClickEventHandler();
- public delegate void ToggleButton_DblClickEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void ToggleButton_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void ToggleButton_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void ToggleButton_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyAscii);
- public delegate void ToggleButton_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void ToggleButton_MouseDownEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void ToggleButton_MouseMoveEventHandler(Int16 button, Int16 shift, Single x, Single y);
- public delegate void ToggleButton_MouseUpEventHandler(Int16 button, Int16 shift, Single x, Single y);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass ToggleButton
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.MdcToggleButtonEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.MdcToggleButtonEvents))]
- public class ToggleButton : IMdcToggleButton, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.MdcToggleButtonEvents_SinkHelper _mdcToggleButtonEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(ToggleButton);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ToggleButton(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public ToggleButton(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ToggleButton(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ToggleButton(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public ToggleButton(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of ToggleButton
- ///
- public ToggleButton():base("MSForms.ToggleButton")
- {
-
- }
-
- ///
- /// Creates a new instance of ToggleButton
- ///
- ///registered ProgID
- public ToggleButton(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ToggleButton_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ToggleButton_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ToggleButton_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ToggleButton_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ToggleButton_ChangeEventHandler _ChangeEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ToggleButton_ChangeEventHandler ChangeEvent
- {
- add
- {
- CreateEventBridge();
- _ChangeEvent += value;
- }
- remove
- {
- _ChangeEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ToggleButton_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ToggleButton_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ToggleButton_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ToggleButton_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ToggleButton_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ToggleButton_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ToggleButton_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ToggleButton_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ToggleButton_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ToggleButton_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ToggleButton_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ToggleButton_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ToggleButton_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ToggleButton_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ToggleButton_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ToggleButton_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event ToggleButton_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event ToggleButton_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.MdcToggleButtonEvents_SinkHelper.Id);
-
-
- if(Events.MdcToggleButtonEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _mdcToggleButtonEvents_SinkHelper = new Events.MdcToggleButtonEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _mdcToggleButtonEvents_SinkHelper)
- {
- _mdcToggleButtonEvents_SinkHelper.Dispose();
- _mdcToggleButtonEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/Classes/UserForm.cs b/Source/MSForms/Classes/UserForm.cs
deleted file mode 100644
index 792c2d785a..0000000000
--- a/Source/MSForms/Classes/UserForm.cs
+++ /dev/null
@@ -1,609 +0,0 @@
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-
-namespace NetOffice.MSFormsApi
-{
- #region Delegates
-
- #pragma warning disable
- public delegate void UserForm_AddControlEventHandler(NetOffice.MSFormsApi.Control control);
- public delegate void UserForm_BeforeDragOverEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Control control, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.Enums.fmDragState state, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void UserForm_BeforeDropOrPasteEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel, NetOffice.MSFormsApi.Control control, NetOffice.MSFormsApi.Enums.fmAction action, NetOffice.MSFormsApi.DataObject data, Single x, Single y, NetOffice.MSFormsApi.ReturnEffect effect, Int16 shift);
- public delegate void UserForm_ClickEventHandler();
- public delegate void UserForm_DblClickEventHandler(NetOffice.MSFormsApi.ReturnBoolean cancel);
- public delegate void UserForm_ErrorEventHandler(Int16 number, NetOffice.MSFormsApi.ReturnString description, Int32 sCode, string source, string helpFile, Int32 helpContext, NetOffice.MSFormsApi.ReturnBoolean cancelDisplay);
- public delegate void UserForm_KeyDownEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 shift);
- public delegate void UserForm_KeyPressEventHandler(NetOffice.MSFormsApi.ReturnInteger keyAscii);
- public delegate void UserForm_KeyUpEventHandler(NetOffice.MSFormsApi.ReturnInteger keyCode, Int16 Shift);
- public delegate void UserForm_LayoutEventHandler();
- public delegate void UserForm_MouseDownEventHandler(Int16 button, Int16 shift, Single X, Single Y);
- public delegate void UserForm_MouseMoveEventHandler(Int16 button, Int16 shift, Single X, Single Y);
- public delegate void UserForm_MouseUpEventHandler(Int16 button, Int16 shift, Single X, Single Y);
- public delegate void UserForm_RemoveControlEventHandler(NetOffice.MSFormsApi.Control control);
- public delegate void UserForm_ScrollEventHandler(NetOffice.MSFormsApi.Enums.fmScrollAction actionX, NetOffice.MSFormsApi.Enums.fmScrollAction actionY, Single requestDx, Single requestDy, NetOffice.MSFormsApi.ReturnSingle actualDx, NetOffice.MSFormsApi.ReturnSingle actualDy);
- public delegate void UserForm_ZoomEventHandler(ref Int16 percent);
- #pragma warning restore
-
- #endregion
-
- ///
- /// CoClass UserForm
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsCoClass)]
- [EventSink(typeof(Events.FormEvents_SinkHelper))]
- [ComEventInterface(typeof(Events.FormEvents))]
- public class UserForm : _UserForm, IEventBinding
- {
- #pragma warning disable
-
- #region Fields
-
- private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
- private string _activeSinkId;
- private static Type _type;
- private Events.FormEvents_SinkHelper _formEvents_SinkHelper;
-
- #endregion
-
- #region Type Information
-
- ///
- /// Instance Type
- ///
- [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
- public override Type InstanceType
- {
- get
- {
- return LateBindingApiWrapperType;
- }
- }
-
- ///
- /// Type Cache
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public static Type LateBindingApiWrapperType
- {
- get
- {
- if (null == _type)
- _type = typeof(UserForm);
- return _type;
- }
- }
-
- #endregion
-
- #region Construction
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public UserForm(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- public UserForm(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
- {
-
- }
-
- ///current used factory core
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public UserForm(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object there has created the proxy
- ///inner wrapped COM proxy
- ///Type of inner wrapped COM proxy"
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public UserForm(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
- {
-
- }
-
- ///object to replaced. replacedObject are not usable after this action
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public UserForm(ICOMObject replacedObject) : base(replacedObject)
- {
-
- }
-
- ///
- /// Creates a new instance of UserForm
- ///
- public UserForm():base("MSForms.UserForm")
- {
-
- }
-
- ///
- /// Creates a new instance of UserForm
- ///
- ///registered ProgID
- public UserForm(string progId):base(progId)
- {
-
- }
-
- #endregion
-
- #region Static CoClass Methods
- #endregion
-
- #region Events
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_AddControlEventHandler _AddControlEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_AddControlEventHandler AddControlEvent
- {
- add
- {
- CreateEventBridge();
- _AddControlEvent += value;
- }
- remove
- {
- _AddControlEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_BeforeDragOverEventHandler _BeforeDragOverEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_BeforeDragOverEventHandler BeforeDragOverEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDragOverEvent += value;
- }
- remove
- {
- _BeforeDragOverEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_BeforeDropOrPasteEventHandler _BeforeDropOrPasteEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_BeforeDropOrPasteEventHandler BeforeDropOrPasteEvent
- {
- add
- {
- CreateEventBridge();
- _BeforeDropOrPasteEvent += value;
- }
- remove
- {
- _BeforeDropOrPasteEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_ClickEventHandler _ClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_ClickEventHandler ClickEvent
- {
- add
- {
- CreateEventBridge();
- _ClickEvent += value;
- }
- remove
- {
- _ClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_DblClickEventHandler _DblClickEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_DblClickEventHandler DblClickEvent
- {
- add
- {
- CreateEventBridge();
- _DblClickEvent += value;
- }
- remove
- {
- _DblClickEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_ErrorEventHandler _ErrorEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_ErrorEventHandler ErrorEvent
- {
- add
- {
- CreateEventBridge();
- _ErrorEvent += value;
- }
- remove
- {
- _ErrorEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_KeyDownEventHandler _KeyDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_KeyDownEventHandler KeyDownEvent
- {
- add
- {
- CreateEventBridge();
- _KeyDownEvent += value;
- }
- remove
- {
- _KeyDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_KeyPressEventHandler _KeyPressEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_KeyPressEventHandler KeyPressEvent
- {
- add
- {
- CreateEventBridge();
- _KeyPressEvent += value;
- }
- remove
- {
- _KeyPressEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_KeyUpEventHandler _KeyUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_KeyUpEventHandler KeyUpEvent
- {
- add
- {
- CreateEventBridge();
- _KeyUpEvent += value;
- }
- remove
- {
- _KeyUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_LayoutEventHandler _LayoutEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_LayoutEventHandler LayoutEvent
- {
- add
- {
- CreateEventBridge();
- _LayoutEvent += value;
- }
- remove
- {
- _LayoutEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_MouseDownEventHandler _MouseDownEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_MouseDownEventHandler MouseDownEvent
- {
- add
- {
- CreateEventBridge();
- _MouseDownEvent += value;
- }
- remove
- {
- _MouseDownEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_MouseMoveEventHandler _MouseMoveEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_MouseMoveEventHandler MouseMoveEvent
- {
- add
- {
- CreateEventBridge();
- _MouseMoveEvent += value;
- }
- remove
- {
- _MouseMoveEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_MouseUpEventHandler _MouseUpEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_MouseUpEventHandler MouseUpEvent
- {
- add
- {
- CreateEventBridge();
- _MouseUpEvent += value;
- }
- remove
- {
- _MouseUpEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_RemoveControlEventHandler _RemoveControlEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_RemoveControlEventHandler RemoveControlEvent
- {
- add
- {
- CreateEventBridge();
- _RemoveControlEvent += value;
- }
- remove
- {
- _RemoveControlEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_ScrollEventHandler _ScrollEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_ScrollEventHandler ScrollEvent
- {
- add
- {
- CreateEventBridge();
- _ScrollEvent += value;
- }
- remove
- {
- _ScrollEvent -= value;
- }
- }
-
- ///
- /// SupportByVersion MSForms, 2
- ///
- private event UserForm_ZoomEventHandler _ZoomEvent;
-
- ///
- /// SupportByVersion MSForms 2
- ///
- [SupportByVersion("MSForms", 2)]
- public event UserForm_ZoomEventHandler ZoomEvent
- {
- add
- {
- CreateEventBridge();
- _ZoomEvent += value;
- }
- remove
- {
- _ZoomEvent -= value;
- }
- }
-
- #endregion
-
- #region IEventBinding
-
- ///
- /// Creates active sink helper
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void CreateEventBridge()
- {
- if(false == Factory.Settings.EnableEvents)
- return;
-
- if (null != _connectPoint)
- return;
-
- if (null == _activeSinkId)
- _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.FormEvents_SinkHelper.Id);
-
-
- if(Events.FormEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
- {
- _formEvents_SinkHelper = new Events.FormEvents_SinkHelper(this, _connectPoint);
- return;
- }
- }
-
- ///
- /// The instance use currently an event listener
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool EventBridgeInitialized
- {
- get
- {
- return (null != _connectPoint);
- }
- }
- ///
- /// Instance has one or more event recipients
- ///
- /// true if one or more event is active, otherwise false
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients()
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
- }
-
- ///
- /// Instance has one or more event recipients
- ///
- /// name of the event
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public bool HasEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Target methods from its actual event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public Delegate[] GetEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Returns the current count of event recipients
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int GetCountOfEventRecipients(string eventName)
- {
- return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
- }
-
- ///
- /// Raise an instance event
- ///
- /// name of the event without 'Event' at the end
- /// custom arguments for the event
- /// count of called event recipients
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
- {
- return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
- }
- ///
- /// Stop listening events for the instance
- ///
- [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
- public void DisposeEventBridge()
- {
- if( null != _formEvents_SinkHelper)
- {
- _formEvents_SinkHelper.Dispose();
- _formEvents_SinkHelper = null;
- }
-
- _connectPoint = null;
- }
-
- #endregion
-
- #pragma warning restore
- }
-}
-
diff --git a/Source/MSForms/DispatchInterfaces/Controls.cs b/Source/MSForms/DispatchInterfaces/Controls.cs
deleted file mode 100644
index 03e62eb097..0000000000
--- a/Source/MSForms/DispatchInterfaces/Controls.cs
+++ /dev/null
@@ -1,394 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using System;
-using NetRuntimeSystem = System;
-using System.ComponentModel;
-using NetOffice.Attributes;
-using NetOffice.CollectionsGeneric;
-
-namespace NetOffice.MSFormsApi
-{
- ///
- /// DispatchInterface Controls
- /// SupportByVersion MSForms, 2
- ///
- [SupportByVersion("MSForms", 2)]
- [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")]
- public class Controls : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider