From 86bbead76b5925a71ed1434836ec51dc71667951 Mon Sep 17 00:00:00 2001 From: Adam Yoblick Date: Fri, 8 Mar 2019 11:57:16 -0600 Subject: [PATCH 01/18] Helix proof of concept for unit tests (#224) * added functests project, added tests to open WinformsControlsTest tabs * sdk magic .tests * change to set environment variable before process start * nit * yeah pair programming! * please work tho * Set yaml debug to true to help troubleshoot * why * shot in the dark but sure * even better, this time with feeling! * docs * changed func test config to debug and add 5 minute timeout to build step for debugging * renaming folder structure to match csproj name * left this change behind * debugging in yaml * testing * print out all env vars for debugging * adding helix steps * readd func tests proj to sln * Comment out func tests that are failing for now * change to agentPool that has agent running in interactive mode to support UI testing * re-enable unit tests on the machine and disable helix for now * initial try of unit tests through helix * specify a dotnet cli version to use on helix machines * specify a dotnet cli version to use on helix machines * Added helix sdk to global.json * move sdk version back because of unrelated breaks * specify the dotnetcli version again * Revving dotnet sdk, fixing build errors * make helix sdk = arcade sdk * saving for real this time * revert sdk code fixes * use new and improved helix template * fixing yaml syntax error * use proper public sdk version * specify xunit target framework to netcoreapp3.0 * fixed typo * manually consume new arcade helix template because the arcade build is currently broken * use win8 helix pools because win10 pools aren't ready for us yet * hopefully a fix for the different build versions * Revert "hopefully a fix for the different build versions" This reverts commit 2f62ee5e1da5c0b0339052fd8256fb058bbdfe66. * really merged from master * fixed arcade sdk version * fix xunit runtime framework version * xunit versions * broke sln * headers required * helix token only for internal * require Creator * remove doubel source, this explains the need for headers earlier, also helixRepo needs to be available earlier * need helixRepo * displayName * parameters * parameterization * back to 10? * try to wildcard all the tests * fix folder structure of System.Windows.Forms.Design to match other binaries * Enable XUnitReporter * let me make sure about this * / * whack not slack * src * try this * include moq and stafact in all of these * SYSTEM_ACCESSTOKEN * make changes to send-to-helix matching arcade#2171 * get rid of func folder dup; add integration tests helix call * remove set of environment variable DOTNET_PATH from TestHelpers * include WinformsControlsTest in project references for IntegrationTests.csproj * try setting xUnitVersion * add XUnitAssertVersion, XUnitRunnerVisualStudioVersion, and make all the same as XUnitVersion * add more xunit depenencies * update tools from Arcade * add back DOTNET_ROOT * rename _HelixAgentPool variable, add WinformsControlsTest to project includes * run integration tests on helix and change slashed for paths * relative path for design was wrong? * do not run integration tests on helix yet * additional yml * fix name errors * rename, add naming * helix type --- eng/Version.Details.xml | 4 ++ eng/Versions.props | 12 ++++- eng/ci-helix-test.yml | 30 +++++++++++ eng/ci.yml | 53 +++++++++++-------- eng/common/templates/steps/send-to-helix.yml | 53 ++++++++++--------- global.json | 3 +- .../InternalUtilitiesForTests.csproj | 2 +- ....Windows.Forms.Design.Editors.Tests.csproj | 4 +- .../System.Windows.Forms.Design.Tests.csproj | 5 ++ ...stem.Windows.Forms.IntegrationTests.csproj | 1 + .../TestHelpers.cs | 10 ++-- 11 files changed, 118 insertions(+), 59 deletions(-) create mode 100644 eng/ci-helix-test.yml diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 8576e5163c9..442be192bad 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -57,5 +57,9 @@ Note: if the Uri is a new place, you will need to add a subscription from that p https://github.com/dotnet/arcade 1d2edb248bc2dc37fa0669053b0c88f3bffffb26 + + https://github.com/dotnet/arcade + b94a591377451bda3ac80e597d7faff03a06c29e + diff --git a/eng/Versions.props b/eng/Versions.props index 25b6901f121..f52256927f2 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -24,10 +24,18 @@ 1.0.0-beta.19156.20 2.4.0-beta.19156.20 - + - 4.6.0-alpha-27122-5 + 2.4.1-pre.build.4059 + $(XUnitVersion) + $(XUnitVersion) + $(XUnitVersion) + $(XUnitVersion) 0.3.5 + + + + 4.6.0-alpha-27122-5 4.10.0 1.0.0 diff --git a/eng/ci-helix-test.yml b/eng/ci-helix-test.yml new file mode 100644 index 00000000000..301d83cdaab --- /dev/null +++ b/eng/ci-helix-test.yml @@ -0,0 +1,30 @@ +parameters: + # All parameters are required for our purposes (except HelixType); see send-to-helix.yml for details + RepoName: '' + HelixType: 'tests/default' + HelixTargetQueues: '' + HelixAccessToken: '' + XUnitProjects: '' + DisplayNamePrefix: '' + +steps: +- template: /eng/common/templates/steps/send-to-helix.yml + parameters: + HelixSource: ${{ parameters.RepoName }} + HelixType: ${{ parameters.HelixType }} + HelixBuild: $(Build.BuildNumber) + HelixTargetQueues: ${{ parameters.HelixTargetQueues }} + HelixAccessToken: ${{ parameters.HelixAccessToken }} # only defined for internal CI + Creator: ${{ parameters.RepoName }} # required for public / external (when there is no access token) + XUnitProjects: ${{ parameters.XUnitProjects }} + XUnitPublishTargetFramework: netcoreapp3.0 # Whatever tfm will work for our test projects for `dotnet publish` + XUnitRuntimeTargetFramework: netcoreapp2.0 # Whatever tfm to pick from the xunit package, it must exist in that package or the helix job will fail + XUnitRunnerVersion: '2.4.1' # Should match XUnitRunnerConsoleVersion in eng/Versions.props + IncludeDotNetCli: true + DotNetCliPackageType: 'sdk' + DotNetCliVersion: '3.0.100-preview-010184' # MUST be official release: https://dotnet.microsoft.com/download/dotnet-core/3.0 ; does not need to match sdk we build against + EnableXUnitReporter: true + WaitForWorkItemCompletion: true + DisplayNamePrefix: ${{ parameters.DisplayNamePrefix }} + condition: succeeded() + continueOnError: false \ No newline at end of file diff --git a/eng/ci.yml b/eng/ci.yml index f6516209841..5d9a4eb6736 100644 --- a/eng/ci.yml +++ b/eng/ci.yml @@ -1,10 +1,8 @@ parameters: - - # Needed because agent pool can't be read from a user-defined variable (Azure DevOps limitation) - agentPool: dotnet-external-temp-vs2019 - - # Needed because runAsPublic is used in template expressions, which can't read from user-defined variables - runAsPublic: true + # This section is required because agent pool can't be read from a user-defined variable (Azure DevOps limitation) + agentPool: dotnet-external-temp-vs2019 + runAsPublic: true + repoName: dotnet/winforms jobs: - template: /eng/common/templates/jobs/jobs.yml @@ -15,7 +13,7 @@ jobs: enablePublishTestResults: true enablePublishBuildAssets: true enableTelemetry: true - helixRepo: dotnet/winforms + helixRepo: $(repoName) jobs: - job: Windows_NT @@ -44,7 +42,7 @@ jobs: value: '' # needed for helix jobs - - name: _HelixAgentPool + - name: _UnitTestHelixAgentPool value: 'Windows.10.Amd64.Open' - name: _WinformsControlsTestBinDir value: $(BUILD.SOURCESDIRECTORY)\artifacts\bin\WinformsControlsTest\$(_BuildConfig)\netcoreapp3.0 @@ -52,8 +50,11 @@ jobs: value: $(BUILD.SOURCESDIRECTORY)\artifacts\bin\System.Windows.Forms.Func.Tests\$(_BuildConfig)\netcoreapp3.0 - name: _HelixStagingDir value: $(BUILD.STAGINGDIRECTORY)\helix\functests + - name: _HelixToken + value: '' - # Override some values if we're building internally + + # Override some values if we're building internally (not public) - ${{ if eq(parameters.runAsPublic, 'false') }}: # note: You have to use list syntax here (-name: value) or you will get errors about declaring the same variable multiple times @@ -68,9 +69,8 @@ jobs: - name: _PublishBlobFeedUrl value: https://dotnetfeed.blob.core.windows.net/dotnet-windowsdesktop/index.json - # note: Even though they are referenced here, user defined variables (like $(_SignType)) are not resolved - # until the agent is running on the machine. They can be overridden any time before they are resolved, - # like in the job matrix below (see Build_Debug) + # note: Even though they are referenced here, user defined variables (like $(_SignType)) are not resolved until the agent + # is running on the machine. They can be overridden any time before they are resolved, like in the job matrix below (see Build_Debug) - name: _SignArgs value: /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName) /p:Sign=$(_Sign) - name: _PublishArgs @@ -82,8 +82,11 @@ jobs: - name: _OfficialBuildIdArgs value: /p:OfficialBuildId=$(BUILD.BUILDNUMBER) - - name: _HelixAgentPool + # Windows.81.Amd64 will fail on Debug.Assert in TryGetSystemMetricsForDpi in UnsafeNativeMethods + - name: _UnitTestHelixAgentPool value: 'Windows.10.Amd64' + - name: _HelixToken + value: '$(helix-token)' strategy: matrix: @@ -109,15 +112,21 @@ jobs: /bl:$(BUILD.SOURCESDIRECTORY)\artifacts\log\$(_BuildConfig)\Build.binlog displayName: Build - # Run unit tests and rename binlog - - script: eng\cibuild.cmd - -configuration $(_BuildConfig) - $(_OfficialBuildIdArgs) - -test - /bl:$(BUILD.SOURCESDIRECTORY)\artifacts\log\$(_BuildConfig)\Test.binlog - displayName: Run Unit Tests - + # Run unit tests on Helix + - template: /eng/ci-helix-test.yml + parameters: + RepoName: ${{ parameters.repoName }} + HelixType: 'tests/unit' + HelixTargetQueues: $(_UnitTestHelixAgentPool) + HelixAccessToken: $(_HelixToken) # only defined for internal CI + # Should be $(BUILD.SOURCESDIRECTOR)System.Windows.Forms/src/**/*.Tests.csproj, but cannot until https://github.com/dotnet/arcade/issues/2156 is fixed + XUnitProjects: '$(BUILD.SOURCESDIRECTORY)\src\System.Windows.Forms\tests\UnitTests\System.Windows.Forms.Tests.csproj;$(BUILD.SOURCESDIRECTORY)\src\System.Windows.Forms.Design\tests\UnitTests\System.Windows.Forms.Design.Tests.csproj;$(BUILD.SOURCESDIRECTORY)\src\System.Windows.Forms.Design.Editors\tests\UnitTests\System.Windows.Forms.Design.Editors.Tests.csproj' + DisplayNamePrefix: 'Send Unit Tests (Windows.10) to Helix' + # Run integration tests and rename binlog + # These are not ready to run on Helix because: + # 1. Helix doesn't build projects (it only uses publish); we need .dotnet and also bin from build + # 2. we need an interactive pool for SendKeys to work - script: eng\cibuild.cmd -configuration $(_BuildConfig) $(_OfficialBuildIdArgs) @@ -150,4 +159,4 @@ jobs: # Run component governance detection (only for release; only for internal) - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 displayName: Component Governance Detection - condition: and(succeeded(), eq(variables['_BuildConfig'], 'Release')) \ No newline at end of file + condition: and(succeeded(), eq(variables['_BuildConfig'], 'Release')) diff --git a/eng/common/templates/steps/send-to-helix.yml b/eng/common/templates/steps/send-to-helix.yml index 3a449210f5b..992c2106632 100644 --- a/eng/common/templates/steps/send-to-helix.yml +++ b/eng/common/templates/steps/send-to-helix.yml @@ -1,32 +1,33 @@ parameters: - HelixSource: 'pr/default' # required -- sources must start with pr/, official/, prodcon/, or agent/ - HelixType: 'tests/default/' # required -- Helix telemetry which identifies what type of data this is; should include "test" for clarity and must end in '/' - HelixBuild: $(Build.BuildNumber) # required -- the build number Helix will use to identify this -- automatically set to the AzDO build number - HelixTargetQueues: '' # required -- semicolon delimited list of Helix queues to test on; see https://helix.dot.net/api/2018-03-14/info/queues for a list of queues - HelixAccessToken: '' # required -- access token to make Helix API requests; should be provided by the appropriate variable group - HelixPreCommands: '' # optional -- commands to run before Helix work item execution - HelixPostCommands: '' # optional -- commands to run after Helix work item execution - WorkItemDirectory: '' # optional -- a payload directory to zip up and send to Helix; requires WorkItemCommand; incompatible with XUnitProjects - WorkItemCommand: '' # optional -- a command to execute on the payload; requires WorkItemDirectory; incompatible with XUnitProjects - WorkItemTimeout: '' # optional -- a timeout in seconds for the work item command; requires WorkItemDirectory; incompatible with XUnitProjects - CorrelationPayloadDirectory: '' # optional -- a directory to zip up and send to Helix as a correlation payload - XUnitProjects: '' # optional -- semicolon delimited list of XUnitProjects to parse and send to Helix; requires XUnitRuntimeTargetFramework, XUnitPublishTargetFramework, XUnitRunnerVersion, and IncludeDotNetCli=true - XUnitPublishTargetFramework: '' # optional -- framework to use to publish your xUnit projects - XUnitRuntimeTargetFramework: '' # optional -- framework to use for the xUnit console runner - XUnitRunnerVersion: '' # optional -- version of the xUnit nuget package you wish to use on Helix; required for XUnitProjects - IncludeDotNetCli: false # optional -- true will download a version of the .NET CLI onto the Helix machine as a correlation payload; requires DotNetCliPackageType and DotNetCliVersion - DotNetCliPackageType: '' # optional -- either 'sdk' or 'runtime'; determines whether the sdk or runtime will be sent to Helix; see https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json - DotNetCliVersion: '' # optional -- version of the CLI to send to Helix; based on this: https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json - EnableXUnitReporter: false # optional -- true enables XUnit result reporting to Mission Control - WaitForWorkItemCompletion: true # optional -- true will make the task wait until work items have been completed and fail the build if work items fail. False is "fire and forget." - IsExternal: false # [DEPRECATED] -- doesn't do anything, jobs are external if HelixAccessToken is empty and Creator is set - Creator: '' # optional -- if the build is external, use this to specify who is sending the job - condition: succeeded() # optional -- condition for step to execute; defaults to succeeded() - continueOnError: false # optional -- determines whether to continue the build if the step errors; defaults to false + HelixSource: 'pr/default' # required -- sources must start with pr/, official/, prodcon/, or agent/ + HelixType: 'tests/default/' # required -- Helix telemetry which identifies what type of data this is; should include "test" for clarity and must end in '/' + HelixBuild: $(Build.BuildNumber) # required -- the build number Helix will use to identify this -- automatically set to the AzDO build number + HelixTargetQueues: '' # required -- semicolon delimited list of Helix queues to test on; see https://helix.dot.net/api/2018-03-14/info/queues for a list of queues + HelixAccessToken: '' # required -- access token to make Helix API requests; should be provided by the appropriate variable group + HelixPreCommands: '' # optional -- commands to run before Helix work item execution + HelixPostCommands: '' # optional -- commands to run after Helix work item execution + WorkItemDirectory: '' # optional -- a payload directory to zip up and send to Helix; requires WorkItemCommand; incompatible with XUnitProjects + WorkItemCommand: '' # optional -- a command to execute on the payload; requires WorkItemDirectory; incompatible with XUnitProjects + WorkItemTimeout: '' # optional -- a timeout in seconds for the work item command; requires WorkItemDirectory; incompatible with XUnitProjects + CorrelationPayloadDirectory: '' # optional -- a directory to zip up and send to Helix as a correlation payload + XUnitProjects: '' # optional -- semicolon delimited list of XUnitProjects to parse and send to Helix; requires XUnitRuntimeTargetFramework, XUnitPublishTargetFramework, XUnitRunnerVersion, and IncludeDotNetCli=true + XUnitPublishTargetFramework: '' # optional -- framework to use to publish your xUnit projects + XUnitRuntimeTargetFramework: '' # optional -- framework to use for the xUnit console runner + XUnitRunnerVersion: '' # optional -- version of the xUnit nuget package you wish to use on Helix; required for XUnitProjects + IncludeDotNetCli: false # optional -- true will download a version of the .NET CLI onto the Helix machine as a correlation payload; requires DotNetCliPackageType and DotNetCliVersion + DotNetCliPackageType: '' # optional -- either 'sdk' or 'runtime'; determines whether the sdk or runtime will be sent to Helix; see https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json + DotNetCliVersion: '' # optional -- version of the CLI to send to Helix; based on this: https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json + EnableXUnitReporter: false # optional -- true enables XUnit result reporting to Mission Control + WaitForWorkItemCompletion: true # optional -- true will make the task wait until work items have been completed and fail the build if work items fail. False is "fire and forget." + IsExternal: false # [DEPRECATED] -- doesn't do anything, jobs are external if HelixAccessToken is empty and Creator is set + Creator: '' # optional -- if the build is external, use this to specify who is sending the job + DisplayNamePrefix: 'Send job to Helix' # optional -- rename the beginning of the displayName of the steps in AzDO + condition: succeeded() # optional -- condition for step to execute; defaults to succeeded() + continueOnError: false # optional -- determines whether to continue the build if the step errors; defaults to false steps: - powershell: 'powershell "$env:BUILD_SOURCESDIRECTORY\eng\common\msbuild.ps1 $env:BUILD_SOURCESDIRECTORY\eng\common\helixpublish.proj /restore /t:Test /bl:$env:BUILD_SOURCESDIRECTORY\artifacts\log\$env:BuildConfig\SendToHelix.binlog"' - displayName: Send job to Helix (Windows) + displayName: ${{ parameters.DisplayNamePrefix }} (Windows) env: BuildConfig: $(_BuildConfig) HelixSource: ${{ parameters.HelixSource }} @@ -54,7 +55,7 @@ steps: condition: and(${{ parameters.condition }}, eq(variables['Agent.Os'], 'Windows_NT')) continueOnError: ${{ parameters.continueOnError }} - script: $BUILD_SOURCESDIRECTORY/eng/common/msbuild.sh $BUILD_SOURCESDIRECTORY/eng/common/helixpublish.proj /restore /t:Test /bl:$BUILD_SOURCESDIRECTORY/artifacts/log/$BuildConfig/SendToHelix.binlog - displayName: Send job to Helix (Unix) + displayName: ${{ parameters.DisplayNamePrefix }} (Unix) env: BuildConfig: $(_BuildConfig) HelixSource: ${{ parameters.HelixSource }} diff --git a/global.json b/global.json index 4222df4c5d6..215e023215b 100644 --- a/global.json +++ b/global.json @@ -9,6 +9,7 @@ "version": "3.0.100-preview-010024" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19156.20" + "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19156.20", + "Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19156.20" } } diff --git a/src/Common/tests/InternalUtilitiesForTests/InternalUtilitiesForTests.csproj b/src/Common/tests/InternalUtilitiesForTests/InternalUtilitiesForTests.csproj index 8bfcd13b8bf..f9ca6024255 100644 --- a/src/Common/tests/InternalUtilitiesForTests/InternalUtilitiesForTests.csproj +++ b/src/Common/tests/InternalUtilitiesForTests/InternalUtilitiesForTests.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj b/src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj index 0a3cde733cc..cfc914f9f80 100644 --- a/src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj +++ b/src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj @@ -5,8 +5,8 @@ System.Windows.Forms.Design.Editors.Tests - - + + diff --git a/src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj b/src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj index c7a9241902a..72fa43c115d 100644 --- a/src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj +++ b/src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj @@ -6,6 +6,11 @@ 7.3 + + + + + diff --git a/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/System.Windows.Forms.IntegrationTests.csproj b/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/System.Windows.Forms.IntegrationTests.csproj index 66a0132e833..0a96110b08c 100644 --- a/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/System.Windows.Forms.IntegrationTests.csproj +++ b/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/System.Windows.Forms.IntegrationTests.csproj @@ -13,6 +13,7 @@ + diff --git a/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/TestHelpers.cs b/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/TestHelpers.cs index efa922880ae..d60f58dc7f7 100644 --- a/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/TestHelpers.cs +++ b/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/TestHelpers.cs @@ -34,15 +34,15 @@ public static Process StartProcess(string byPathFromBinToExe) throw new ArgumentException(nameof(byPathFromBinToExe) + " must end in a .exe"); } - var dotnetPath = DotNetPath(); - if (!Directory.Exists(dotnetPath)) - { - throw new DirectoryNotFoundException(dotnetPath + " directory cannot be found."); + var dotnetPath = DotNetPath(); + if (!Directory.Exists(dotnetPath)) + { + throw new DirectoryNotFoundException(dotnetPath + " directory cannot be found."); } ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = Path.Combine(BinPath(), byPathFromBinToExe.Trim('\\')); - startInfo.EnvironmentVariables["DOTNET_ROOT"] = dotnetPath; + startInfo.EnvironmentVariables["DOTNET_ROOT"] = dotnetPath; // required // ... return StartProcess(startInfo); From 4d46ff46f518ac934483c1aa086a1a4bc68714aa Mon Sep 17 00:00:00 2001 From: Zachary Danz Date: Fri, 8 Mar 2019 10:05:30 -0800 Subject: [PATCH 02/18] Revert "Helix proof of concept for unit tests (#224)" (#545) This reverts commit 86bbead76b5925a71ed1434836ec51dc71667951. --- eng/Version.Details.xml | 4 -- eng/Versions.props | 12 +---- eng/ci-helix-test.yml | 30 ----------- eng/ci.yml | 53 ++++++++----------- eng/common/templates/steps/send-to-helix.yml | 53 +++++++++---------- global.json | 3 +- .../InternalUtilitiesForTests.csproj | 2 +- ....Windows.Forms.Design.Editors.Tests.csproj | 4 +- .../System.Windows.Forms.Design.Tests.csproj | 5 -- ...stem.Windows.Forms.IntegrationTests.csproj | 1 - .../TestHelpers.cs | 10 ++-- 11 files changed, 59 insertions(+), 118 deletions(-) delete mode 100644 eng/ci-helix-test.yml diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 442be192bad..8576e5163c9 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -57,9 +57,5 @@ Note: if the Uri is a new place, you will need to add a subscription from that p https://github.com/dotnet/arcade 1d2edb248bc2dc37fa0669053b0c88f3bffffb26 - - https://github.com/dotnet/arcade - b94a591377451bda3ac80e597d7faff03a06c29e - diff --git a/eng/Versions.props b/eng/Versions.props index f52256927f2..25b6901f121 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -24,18 +24,10 @@ 1.0.0-beta.19156.20 2.4.0-beta.19156.20 - - - 2.4.1-pre.build.4059 - $(XUnitVersion) - $(XUnitVersion) - $(XUnitVersion) - $(XUnitVersion) - 0.3.5 - - + 4.6.0-alpha-27122-5 + 0.3.5 4.10.0 1.0.0 diff --git a/eng/ci-helix-test.yml b/eng/ci-helix-test.yml deleted file mode 100644 index 301d83cdaab..00000000000 --- a/eng/ci-helix-test.yml +++ /dev/null @@ -1,30 +0,0 @@ -parameters: - # All parameters are required for our purposes (except HelixType); see send-to-helix.yml for details - RepoName: '' - HelixType: 'tests/default' - HelixTargetQueues: '' - HelixAccessToken: '' - XUnitProjects: '' - DisplayNamePrefix: '' - -steps: -- template: /eng/common/templates/steps/send-to-helix.yml - parameters: - HelixSource: ${{ parameters.RepoName }} - HelixType: ${{ parameters.HelixType }} - HelixBuild: $(Build.BuildNumber) - HelixTargetQueues: ${{ parameters.HelixTargetQueues }} - HelixAccessToken: ${{ parameters.HelixAccessToken }} # only defined for internal CI - Creator: ${{ parameters.RepoName }} # required for public / external (when there is no access token) - XUnitProjects: ${{ parameters.XUnitProjects }} - XUnitPublishTargetFramework: netcoreapp3.0 # Whatever tfm will work for our test projects for `dotnet publish` - XUnitRuntimeTargetFramework: netcoreapp2.0 # Whatever tfm to pick from the xunit package, it must exist in that package or the helix job will fail - XUnitRunnerVersion: '2.4.1' # Should match XUnitRunnerConsoleVersion in eng/Versions.props - IncludeDotNetCli: true - DotNetCliPackageType: 'sdk' - DotNetCliVersion: '3.0.100-preview-010184' # MUST be official release: https://dotnet.microsoft.com/download/dotnet-core/3.0 ; does not need to match sdk we build against - EnableXUnitReporter: true - WaitForWorkItemCompletion: true - DisplayNamePrefix: ${{ parameters.DisplayNamePrefix }} - condition: succeeded() - continueOnError: false \ No newline at end of file diff --git a/eng/ci.yml b/eng/ci.yml index 5d9a4eb6736..f6516209841 100644 --- a/eng/ci.yml +++ b/eng/ci.yml @@ -1,8 +1,10 @@ parameters: - # This section is required because agent pool can't be read from a user-defined variable (Azure DevOps limitation) - agentPool: dotnet-external-temp-vs2019 - runAsPublic: true - repoName: dotnet/winforms + + # Needed because agent pool can't be read from a user-defined variable (Azure DevOps limitation) + agentPool: dotnet-external-temp-vs2019 + + # Needed because runAsPublic is used in template expressions, which can't read from user-defined variables + runAsPublic: true jobs: - template: /eng/common/templates/jobs/jobs.yml @@ -13,7 +15,7 @@ jobs: enablePublishTestResults: true enablePublishBuildAssets: true enableTelemetry: true - helixRepo: $(repoName) + helixRepo: dotnet/winforms jobs: - job: Windows_NT @@ -42,7 +44,7 @@ jobs: value: '' # needed for helix jobs - - name: _UnitTestHelixAgentPool + - name: _HelixAgentPool value: 'Windows.10.Amd64.Open' - name: _WinformsControlsTestBinDir value: $(BUILD.SOURCESDIRECTORY)\artifacts\bin\WinformsControlsTest\$(_BuildConfig)\netcoreapp3.0 @@ -50,11 +52,8 @@ jobs: value: $(BUILD.SOURCESDIRECTORY)\artifacts\bin\System.Windows.Forms.Func.Tests\$(_BuildConfig)\netcoreapp3.0 - name: _HelixStagingDir value: $(BUILD.STAGINGDIRECTORY)\helix\functests - - name: _HelixToken - value: '' - - # Override some values if we're building internally (not public) + # Override some values if we're building internally - ${{ if eq(parameters.runAsPublic, 'false') }}: # note: You have to use list syntax here (-name: value) or you will get errors about declaring the same variable multiple times @@ -69,8 +68,9 @@ jobs: - name: _PublishBlobFeedUrl value: https://dotnetfeed.blob.core.windows.net/dotnet-windowsdesktop/index.json - # note: Even though they are referenced here, user defined variables (like $(_SignType)) are not resolved until the agent - # is running on the machine. They can be overridden any time before they are resolved, like in the job matrix below (see Build_Debug) + # note: Even though they are referenced here, user defined variables (like $(_SignType)) are not resolved + # until the agent is running on the machine. They can be overridden any time before they are resolved, + # like in the job matrix below (see Build_Debug) - name: _SignArgs value: /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName) /p:Sign=$(_Sign) - name: _PublishArgs @@ -82,11 +82,8 @@ jobs: - name: _OfficialBuildIdArgs value: /p:OfficialBuildId=$(BUILD.BUILDNUMBER) - # Windows.81.Amd64 will fail on Debug.Assert in TryGetSystemMetricsForDpi in UnsafeNativeMethods - - name: _UnitTestHelixAgentPool + - name: _HelixAgentPool value: 'Windows.10.Amd64' - - name: _HelixToken - value: '$(helix-token)' strategy: matrix: @@ -112,21 +109,15 @@ jobs: /bl:$(BUILD.SOURCESDIRECTORY)\artifacts\log\$(_BuildConfig)\Build.binlog displayName: Build - # Run unit tests on Helix - - template: /eng/ci-helix-test.yml - parameters: - RepoName: ${{ parameters.repoName }} - HelixType: 'tests/unit' - HelixTargetQueues: $(_UnitTestHelixAgentPool) - HelixAccessToken: $(_HelixToken) # only defined for internal CI - # Should be $(BUILD.SOURCESDIRECTOR)System.Windows.Forms/src/**/*.Tests.csproj, but cannot until https://github.com/dotnet/arcade/issues/2156 is fixed - XUnitProjects: '$(BUILD.SOURCESDIRECTORY)\src\System.Windows.Forms\tests\UnitTests\System.Windows.Forms.Tests.csproj;$(BUILD.SOURCESDIRECTORY)\src\System.Windows.Forms.Design\tests\UnitTests\System.Windows.Forms.Design.Tests.csproj;$(BUILD.SOURCESDIRECTORY)\src\System.Windows.Forms.Design.Editors\tests\UnitTests\System.Windows.Forms.Design.Editors.Tests.csproj' - DisplayNamePrefix: 'Send Unit Tests (Windows.10) to Helix' - + # Run unit tests and rename binlog + - script: eng\cibuild.cmd + -configuration $(_BuildConfig) + $(_OfficialBuildIdArgs) + -test + /bl:$(BUILD.SOURCESDIRECTORY)\artifacts\log\$(_BuildConfig)\Test.binlog + displayName: Run Unit Tests + # Run integration tests and rename binlog - # These are not ready to run on Helix because: - # 1. Helix doesn't build projects (it only uses publish); we need .dotnet and also bin from build - # 2. we need an interactive pool for SendKeys to work - script: eng\cibuild.cmd -configuration $(_BuildConfig) $(_OfficialBuildIdArgs) @@ -159,4 +150,4 @@ jobs: # Run component governance detection (only for release; only for internal) - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 displayName: Component Governance Detection - condition: and(succeeded(), eq(variables['_BuildConfig'], 'Release')) + condition: and(succeeded(), eq(variables['_BuildConfig'], 'Release')) \ No newline at end of file diff --git a/eng/common/templates/steps/send-to-helix.yml b/eng/common/templates/steps/send-to-helix.yml index 992c2106632..3a449210f5b 100644 --- a/eng/common/templates/steps/send-to-helix.yml +++ b/eng/common/templates/steps/send-to-helix.yml @@ -1,33 +1,32 @@ parameters: - HelixSource: 'pr/default' # required -- sources must start with pr/, official/, prodcon/, or agent/ - HelixType: 'tests/default/' # required -- Helix telemetry which identifies what type of data this is; should include "test" for clarity and must end in '/' - HelixBuild: $(Build.BuildNumber) # required -- the build number Helix will use to identify this -- automatically set to the AzDO build number - HelixTargetQueues: '' # required -- semicolon delimited list of Helix queues to test on; see https://helix.dot.net/api/2018-03-14/info/queues for a list of queues - HelixAccessToken: '' # required -- access token to make Helix API requests; should be provided by the appropriate variable group - HelixPreCommands: '' # optional -- commands to run before Helix work item execution - HelixPostCommands: '' # optional -- commands to run after Helix work item execution - WorkItemDirectory: '' # optional -- a payload directory to zip up and send to Helix; requires WorkItemCommand; incompatible with XUnitProjects - WorkItemCommand: '' # optional -- a command to execute on the payload; requires WorkItemDirectory; incompatible with XUnitProjects - WorkItemTimeout: '' # optional -- a timeout in seconds for the work item command; requires WorkItemDirectory; incompatible with XUnitProjects - CorrelationPayloadDirectory: '' # optional -- a directory to zip up and send to Helix as a correlation payload - XUnitProjects: '' # optional -- semicolon delimited list of XUnitProjects to parse and send to Helix; requires XUnitRuntimeTargetFramework, XUnitPublishTargetFramework, XUnitRunnerVersion, and IncludeDotNetCli=true - XUnitPublishTargetFramework: '' # optional -- framework to use to publish your xUnit projects - XUnitRuntimeTargetFramework: '' # optional -- framework to use for the xUnit console runner - XUnitRunnerVersion: '' # optional -- version of the xUnit nuget package you wish to use on Helix; required for XUnitProjects - IncludeDotNetCli: false # optional -- true will download a version of the .NET CLI onto the Helix machine as a correlation payload; requires DotNetCliPackageType and DotNetCliVersion - DotNetCliPackageType: '' # optional -- either 'sdk' or 'runtime'; determines whether the sdk or runtime will be sent to Helix; see https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json - DotNetCliVersion: '' # optional -- version of the CLI to send to Helix; based on this: https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json - EnableXUnitReporter: false # optional -- true enables XUnit result reporting to Mission Control - WaitForWorkItemCompletion: true # optional -- true will make the task wait until work items have been completed and fail the build if work items fail. False is "fire and forget." - IsExternal: false # [DEPRECATED] -- doesn't do anything, jobs are external if HelixAccessToken is empty and Creator is set - Creator: '' # optional -- if the build is external, use this to specify who is sending the job - DisplayNamePrefix: 'Send job to Helix' # optional -- rename the beginning of the displayName of the steps in AzDO - condition: succeeded() # optional -- condition for step to execute; defaults to succeeded() - continueOnError: false # optional -- determines whether to continue the build if the step errors; defaults to false + HelixSource: 'pr/default' # required -- sources must start with pr/, official/, prodcon/, or agent/ + HelixType: 'tests/default/' # required -- Helix telemetry which identifies what type of data this is; should include "test" for clarity and must end in '/' + HelixBuild: $(Build.BuildNumber) # required -- the build number Helix will use to identify this -- automatically set to the AzDO build number + HelixTargetQueues: '' # required -- semicolon delimited list of Helix queues to test on; see https://helix.dot.net/api/2018-03-14/info/queues for a list of queues + HelixAccessToken: '' # required -- access token to make Helix API requests; should be provided by the appropriate variable group + HelixPreCommands: '' # optional -- commands to run before Helix work item execution + HelixPostCommands: '' # optional -- commands to run after Helix work item execution + WorkItemDirectory: '' # optional -- a payload directory to zip up and send to Helix; requires WorkItemCommand; incompatible with XUnitProjects + WorkItemCommand: '' # optional -- a command to execute on the payload; requires WorkItemDirectory; incompatible with XUnitProjects + WorkItemTimeout: '' # optional -- a timeout in seconds for the work item command; requires WorkItemDirectory; incompatible with XUnitProjects + CorrelationPayloadDirectory: '' # optional -- a directory to zip up and send to Helix as a correlation payload + XUnitProjects: '' # optional -- semicolon delimited list of XUnitProjects to parse and send to Helix; requires XUnitRuntimeTargetFramework, XUnitPublishTargetFramework, XUnitRunnerVersion, and IncludeDotNetCli=true + XUnitPublishTargetFramework: '' # optional -- framework to use to publish your xUnit projects + XUnitRuntimeTargetFramework: '' # optional -- framework to use for the xUnit console runner + XUnitRunnerVersion: '' # optional -- version of the xUnit nuget package you wish to use on Helix; required for XUnitProjects + IncludeDotNetCli: false # optional -- true will download a version of the .NET CLI onto the Helix machine as a correlation payload; requires DotNetCliPackageType and DotNetCliVersion + DotNetCliPackageType: '' # optional -- either 'sdk' or 'runtime'; determines whether the sdk or runtime will be sent to Helix; see https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json + DotNetCliVersion: '' # optional -- version of the CLI to send to Helix; based on this: https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json + EnableXUnitReporter: false # optional -- true enables XUnit result reporting to Mission Control + WaitForWorkItemCompletion: true # optional -- true will make the task wait until work items have been completed and fail the build if work items fail. False is "fire and forget." + IsExternal: false # [DEPRECATED] -- doesn't do anything, jobs are external if HelixAccessToken is empty and Creator is set + Creator: '' # optional -- if the build is external, use this to specify who is sending the job + condition: succeeded() # optional -- condition for step to execute; defaults to succeeded() + continueOnError: false # optional -- determines whether to continue the build if the step errors; defaults to false steps: - powershell: 'powershell "$env:BUILD_SOURCESDIRECTORY\eng\common\msbuild.ps1 $env:BUILD_SOURCESDIRECTORY\eng\common\helixpublish.proj /restore /t:Test /bl:$env:BUILD_SOURCESDIRECTORY\artifacts\log\$env:BuildConfig\SendToHelix.binlog"' - displayName: ${{ parameters.DisplayNamePrefix }} (Windows) + displayName: Send job to Helix (Windows) env: BuildConfig: $(_BuildConfig) HelixSource: ${{ parameters.HelixSource }} @@ -55,7 +54,7 @@ steps: condition: and(${{ parameters.condition }}, eq(variables['Agent.Os'], 'Windows_NT')) continueOnError: ${{ parameters.continueOnError }} - script: $BUILD_SOURCESDIRECTORY/eng/common/msbuild.sh $BUILD_SOURCESDIRECTORY/eng/common/helixpublish.proj /restore /t:Test /bl:$BUILD_SOURCESDIRECTORY/artifacts/log/$BuildConfig/SendToHelix.binlog - displayName: ${{ parameters.DisplayNamePrefix }} (Unix) + displayName: Send job to Helix (Unix) env: BuildConfig: $(_BuildConfig) HelixSource: ${{ parameters.HelixSource }} diff --git a/global.json b/global.json index 215e023215b..4222df4c5d6 100644 --- a/global.json +++ b/global.json @@ -9,7 +9,6 @@ "version": "3.0.100-preview-010024" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19156.20", - "Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19156.20" + "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19156.20" } } diff --git a/src/Common/tests/InternalUtilitiesForTests/InternalUtilitiesForTests.csproj b/src/Common/tests/InternalUtilitiesForTests/InternalUtilitiesForTests.csproj index f9ca6024255..8bfcd13b8bf 100644 --- a/src/Common/tests/InternalUtilitiesForTests/InternalUtilitiesForTests.csproj +++ b/src/Common/tests/InternalUtilitiesForTests/InternalUtilitiesForTests.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj b/src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj index cfc914f9f80..0a3cde733cc 100644 --- a/src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj +++ b/src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj @@ -5,8 +5,8 @@ System.Windows.Forms.Design.Editors.Tests - - + + diff --git a/src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj b/src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj index 72fa43c115d..c7a9241902a 100644 --- a/src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj +++ b/src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj @@ -6,11 +6,6 @@ 7.3 - - - - - diff --git a/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/System.Windows.Forms.IntegrationTests.csproj b/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/System.Windows.Forms.IntegrationTests.csproj index 0a96110b08c..66a0132e833 100644 --- a/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/System.Windows.Forms.IntegrationTests.csproj +++ b/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/System.Windows.Forms.IntegrationTests.csproj @@ -13,7 +13,6 @@ - diff --git a/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/TestHelpers.cs b/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/TestHelpers.cs index d60f58dc7f7..efa922880ae 100644 --- a/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/TestHelpers.cs +++ b/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/TestHelpers.cs @@ -34,15 +34,15 @@ public static Process StartProcess(string byPathFromBinToExe) throw new ArgumentException(nameof(byPathFromBinToExe) + " must end in a .exe"); } - var dotnetPath = DotNetPath(); - if (!Directory.Exists(dotnetPath)) - { - throw new DirectoryNotFoundException(dotnetPath + " directory cannot be found."); + var dotnetPath = DotNetPath(); + if (!Directory.Exists(dotnetPath)) + { + throw new DirectoryNotFoundException(dotnetPath + " directory cannot be found."); } ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = Path.Combine(BinPath(), byPathFromBinToExe.Trim('\\')); - startInfo.EnvironmentVariables["DOTNET_ROOT"] = dotnetPath; // required + startInfo.EnvironmentVariables["DOTNET_ROOT"] = dotnetPath; // ... return StartProcess(startInfo); From 5f065a719fc1b6c00f7b269d60f82fba1f709119 Mon Sep 17 00:00:00 2001 From: Hugh Bellamy Date: Fri, 8 Mar 2019 21:29:09 +0000 Subject: [PATCH 03/18] Cleanup Accessible* code (#515) --- .../System/Windows/Forms/AccessibleEvents.cs | 377 +- .../Windows/Forms/AccessibleNavigation.cs | 87 +- .../System/Windows/Forms/AccessibleObject.cs | 3347 ++++++++--------- .../System/Windows/Forms/AccessibleRoles.cs | 1073 ++---- .../Windows/Forms/AccessibleSelection.cs | 57 +- .../System/Windows/Forms/AccessibleStates.cs | 459 +-- 6 files changed, 2245 insertions(+), 3155 deletions(-) diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleEvents.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleEvents.cs index 2e69efbdd98..2a0e12022d3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleEvents.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleEvents.cs @@ -2,268 +2,213 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; - /// +namespace System.Windows.Forms +{ /// - /// Specifies - /// events that are reported by accessible applications. + /// Specifies events that are reported by accessible applications. /// - + [SuppressMessage("Microsoft.Design", "CA1027:MarkEnumsWithFlags")] - public enum AccessibleEvents { - - // - // EVENT_SYSTEM_SOUND - // Sent when a sound is played. Currently nothing is generating this, we - // are going to be cleaning up the SOUNDSENTRY feature in the control panel - // and will use this at that time. Applications implementing WinEvents - // are perfectly welcome to use it. Clients of IAccessible* will simply - // turn around and get back a non-visual object that describes the sound. - // - /// + public enum AccessibleEvents + { + /// > + /// EVENT_SYSTEM_SOUND + /// Sent when a sound is played. Currently nothing is generating this, we + /// are going to be cleaning up the SOUNDSENTRY feature in the control panel + /// and will use this at that time. Applications implementing WinEvents + /// are perfectly welcome to use it. Clients of IAccessible* will simply + /// turn around and get back a non-visual object that describes the sound. + /// > SystemSound = 0x0001, - // - // EVENT_SYSTEM_ALERT - // Sent when an alert needs to be given to the user. MessageBoxes generate - // alerts for example. - // - /// + /// > + /// EVENT_SYSTEM_ALERT + /// Sent when an alert needs to be given to the user. MessageBoxes generate + /// alerts for example. + /// > SystemAlert = 0x0002, - // - // EVENT_SYSTEM_FOREGROUND - // Sent when the foreground (active) window changes, even if it is changing - // to another window in the same thread as the previous one. - // - /// + /// > + /// EVENT_SYSTEM_FOREGROUND + /// Sent when the foreground (active) window changes, even if it is changing + /// to another window in the same thread as the previous one. + /// > SystemForeground = 0x0003, - // - // EVENT_SYSTEM_MENUSTART - // EVENT_SYSTEM_MENUEND - // Sent when entering into and leaving from menu mode (system, app bar, and - // track popups). - // - /// + /// > + /// EVENT_SYSTEM_MENUSTART + /// EVENT_SYSTEM_MENUEND + /// Sent when entering into and leaving from menu mode (system, app bar, and + /// track popups). + /// > SystemMenuStart = 0x0004, - /// SystemMenuEnd = 0x0005, - // - // EVENT_SYSTEM_MENUPOPUPSTART - // EVENT_SYSTEM_MENUPOPUPEND - // Sent when a menu popup comes up and just before it is taken down. Note - // that for a call to TrackPopupMenu(), a client will see EVENT_SYSTEM_MENUSTART - // followed almost immediately by EVENT_SYSTEM_MENUPOPUPSTART for the popup - // being shown. - // - /// + /// > + /// EVENT_SYSTEM_MENUPOPUPSTART + /// EVENT_SYSTEM_MENUPOPUPEND + /// Sent when a menu popup comes up and just before it is taken down. Note + /// that for a call to TrackPopupMenu(), a client will see EVENT_SYSTEM_MENUSTART + /// followed almost immediately by EVENT_SYSTEM_MENUPOPUPSTART for the popup + /// being shown. + /// > SystemMenuPopupStart = 0x0006, - /// SystemMenuPopupEnd = 0x0007, - - // - // EVENT_SYSTEM_CAPTURESTART - // EVENT_SYSTEM_CAPTUREEND - // Sent when a window takes the capture and releases the capture. - // - /// + + /// > + /// EVENT_SYSTEM_CAPTURESTART + /// EVENT_SYSTEM_CAPTUREEND + /// Sent when a window takes the capture and releases the capture. + /// > SystemCaptureStart = 0x0008, - /// SystemCaptureEnd = 0x0009, - - // - // EVENT_SYSTEM_MOVESIZESTART - // EVENT_SYSTEM_MOVESIZEEND - // Sent when a window enters and leaves move-size dragging mode. - // - /// + + /// > + /// EVENT_SYSTEM_MOVESIZESTART + /// EVENT_SYSTEM_MOVESIZEEND + /// Sent when a window enters and leaves move-size dragging mode. + /// SystemMoveSizeStart = 0x000A, - /// SystemMoveSizeEnd = 0x000B, - - // - // EVENT_SYSTEM_CONTEXTHELPSTART - // EVENT_SYSTEM_CONTEXTHELPEND - // Sent when a window enters and leaves context sensitive help mode. - // - /// + + /// > + /// EVENT_SYSTEM_CONTEXTHELPSTART + /// EVENT_SYSTEM_CONTEXTHELPEND + /// Sent when a window enters and leaves context sensitive help mode. + /// > SystemContextHelpStart = 0x000C, - /// SystemContextHelpEnd = 0x000D, - - // - // EVENT_SYSTEM_DRAGDROPSTART - // EVENT_SYSTEM_DRAGDROPEND - // Sent when a window enters and leaves drag drop mode. Note that it is up - // to apps and OLE to generate this, since the system doesn't know. Like - // EVENT_SYSTEM_SOUND, it will be a while before this is prevalent. - // - /// + + /// > + /// EVENT_SYSTEM_DRAGDROPSTART + /// EVENT_SYSTEM_DRAGDROPEND + /// Sent when a window enters and leaves drag drop mode. Note that it is up + /// to apps and OLE to generate this, since the system doesn't know. Like + /// EVENT_SYSTEM_SOUND, it will be a while before this is prevalent. + /// > SystemDragDropStart = 0x000E, - /// SystemDragDropEnd = 0x000F, - - // - // EVENT_SYSTEM_DIALOGSTART - // EVENT_SYSTEM_DIALOGEND - // Sent when a dialog comes up and just before it goes away. - // - /// + + /// > + /// EVENT_SYSTEM_DIALOGSTART + /// EVENT_SYSTEM_DIALOGEND + /// Sent when a dialog comes up and just before it goes away. + /// > SystemDialogStart = 0x0010, - /// SystemDialogEnd = 0x0011, - - // - // EVENT_SYSTEM_SCROLLINGSTART - // EVENT_SYSTEM_SCROLLINGEND - // Sent when beginning and ending the tracking of a scrollbar in a window, - // and also for scrollbar controls. - // - /// + + /// > + /// EVENT_SYSTEM_SCROLLINGSTART + /// EVENT_SYSTEM_SCROLLINGEND + /// Sent when beginning and ending the tracking of a scrollbar in a window, + /// and also for scrollbar controls. + /// > SystemScrollingStart = 0x0012, - /// SystemScrollingEnd = 0x0013, - - // - // EVENT_SYSTEM_SWITCHSTART - // EVENT_SYSTEM_SWITCHEND - // Sent when beginning and ending alt-tab mode with the switch window. - // - /// + + /// > + /// EVENT_SYSTEM_SWITCHSTART + /// EVENT_SYSTEM_SWITCHEND + /// Sent when beginning and ending alt-tab mode with the switch window. + /// > SystemSwitchStart = 0x0014, - /// SystemSwitchEnd = 0x0015, - - // - // EVENT_SYSTEM_MINIMIZESTART - // EVENT_SYSTEM_MINIMIZEEND - // Sent when a window minimizes and just before it restores. - // - /// + + /// > + /// EVENT_SYSTEM_MINIMIZESTART + /// EVENT_SYSTEM_MINIMIZEEND + /// Sent when a window minimizes and just before it restores. + /// > SystemMinimizeStart = 0x0016, - /// SystemMinimizeEnd = 0x0017, - - - - // + // Object events // - // The system AND apps generate these. The system generates these for - // real windows. Apps generate these for objects within their window which + // The system AND apps generate these. The system generates these for + // real windows. Apps generate these for objects within their window which // act like a separate control, e.g. an item in a list view. // // For all events, if you want detailed accessibility information, callers // should // * Call AccessibleObjectFromWindow() with the hwnd, idObject parameters - // of the event, and IID_IAccessible as the REFIID, to get back an + // of the event, and IID_IAccessible as the REFIID, to get back an // IAccessible* to talk to // * Initialize and fill in a VARIANT as VT_I4 with lVal the idChild // parameter of the event. // * If idChild isn't zero, call get_accChild() in the container to see - // if the child is an object in its own right. If so, you will get - // back an IDispatch* object for the child. You should release the + // if the child is an object in its own right. If so, you will get + // back an IDispatch* object for the child. You should release the // parent, and call QueryInterface() on the child object to get its - // IAccessible*. Then you talk directly to the child. Otherwise, + // IAccessible*. Then you talk directly to the child. Otherwise, // if get_accChild() returns you nothing, you should continue to - // use the child VARIANT. You will ask the container for the properties - // of the child identified by the VARIANT. In other words, the + // use the child VARIANT. You will ask the container for the properties + // of the child identified by the VARIANT. In other words, the // child in this case is accessible but not a full object. // Like a button on a titlebar which is 'small' and has no children. - // - - // - /// - Create = 0x8000, // hwnd + ID + idChild is created item - /// - Destroy = 0x8001, // hwnd + ID + idChild is destroyed item - /// - Show = 0x8002, // hwnd + ID + idChild is shown item - /// - Hide = 0x8003, // hwnd + ID + idChild is hidden item - /// - Reorder = 0x8004, // hwnd + ID + idChild is parent of zordering children - // - // NOTE: - // Minimize the number of notifications! - // - // When you are hiding a parent object, obviously all child objects are no - // longer visible on screen. They still have the same "visible" status, - // but are not truly visible. Hence do not send HIDE notifications for the - // children also. One implies all. The same goes for SHOW. - // - - - /// - Focus = 0x8005, // hwnd + ID + idChild is focused item - /// - Selection = 0x8006, // hwnd + ID + idChild is selected item (if only one), or idChild is OBJID_WINDOW if complex - /// - SelectionAdd = 0x8007, // hwnd + ID + idChild is item added - /// - SelectionRemove = 0x8008, // hwnd + ID + idChild is item removed - /// - SelectionWithin = 0x8009, // hwnd + ID + idChild is parent of changed selected items - - // - // NOTES: - // There is only one "focused" child item in a parent. This is the place - // keystrokes are going at a given moment. Hence only send a notification - // about where the NEW focus is going. A NEW item getting the focus already - // implies that the OLD item is losing it. - // - // SELECTION however can be multiple. Hence the different SELECTION - // notifications. Here's when to use each: - // - // (1) Send a SELECTION notification in the simple single selection - // case (like the focus) when the item with the selection is - // merely moving to a different item within a container. hwnd + ID - // is the container control, idChildItem is the new child with the - // selection. - // - // (2) Send a SELECTIONADD notification when a new item has simply been added - // to the selection within a container. This is appropriate when the - // number of newly selected items is very small. hwnd + ID is the - // container control, idChildItem is the new child added to the selection. - // - // (3) Send a SELECTIONREMOVE notification when a new item has simply been - // removed from the selection within a container. This is appropriate - // when the number of newly selected items is very small, just like - // SELECTIONADD. hwnd + ID is the container control, idChildItem is the - // new child removed from the selection. - // - // (4) Send a SELECTIONWITHIN notification when the selected items within a - // control have changed substantially. Rather than propagate a large - // number of changes to reflect removal for some items, addition of - // others, just tell somebody who cares that a lot happened. It will - // be faster an easier for somebody watching to just turn around and - // query the container control what the new bunch of selected items - // are. - // - - /// - StateChange = 0x800A, // hwnd + ID + idChild is item w/ state change - /// - LocationChange = 0x800B, // hwnd + ID + idChild is moved/sized item - - /// - NameChange = 0x800C, // hwnd + ID + idChild is item w/ name change - /// - DescriptionChange = 0x800D, // hwnd + ID + idChild is item w/ desc change - /// - ValueChange = 0x800E, // hwnd + ID + idChild is item w/ value change - /// - ParentChange = 0x800F, // hwnd + ID + idChild is item w/ new parent - /// - HelpChange = 0x8010, // hwnd + ID + idChild is item w/ help change - /// - DefaultActionChange = 0x8011, // hwnd + ID + idChild is item w/ def action change - /// - AcceleratorChange = 0x8012, // hwnd + ID + idChild is item w/ keybd accel change + Create = 0x8000, // hwnd + ID + idChild is created item + Destroy = 0x8001, // hwnd + ID + idChild is destroyed item + Show = 0x8002, // hwnd + ID + idChild is shown item + Hide = 0x8003, // hwnd + ID + idChild is hidden item + Reorder = 0x8004, // hwnd + ID + idChild is parent of zordering children + + /// + /// Minimize the number of notifications! + /// When you are hiding a parent object, obviously all child objects are no + /// longer visible on screen. They still have the same "visible" status, + /// but are not truly visible. Hence do not send HIDE notifications for the + /// children also. One implies all. The same goes for SHOW. + /// + Focus = 0x8005, // hwnd + ID + idChild is focused item + Selection = 0x8006, // hwnd + ID + idChild is selected item (if only one), or idChild is OBJID_WINDOW if complex + SelectionAdd = 0x8007, // hwnd + ID + idChild is item added + SelectionRemove = 0x8008, // hwnd + ID + idChild is item removed + SelectionWithin = 0x8009, // hwnd + ID + idChild is parent of changed selected items + + /// + /// There is only one "focused" child item in a parent. This is the place + /// keystrokes are going at a given moment. Hence only send a notification + /// about where the NEW focus is going. A NEW item getting the focus already + /// implies that the OLD item is losing it. + /// + /// SELECTION however can be multiple. Hence the different SELECTION + /// notifications. Here's when to use each: + /// + /// (1) Send a SELECTION notification in the simple single selection + /// case (like the focus) when the item with the selection is + /// merely moving to a different item within a container. hwnd + ID + /// is the container control, idChildItem is the new child with the + /// selection. + /// + /// (2) Send a SELECTIONADD notification when a new item has simply been added + /// to the selection within a container. This is appropriate when the + /// number of newly selected items is very small. hwnd + ID is the + /// container control, idChildItem is the new child added to the selection. + /// + /// (3) Send a SELECTIONREMOVE notification when a new item has simply been + /// removed from the selection within a container. This is appropriate + /// when the number of newly selected items is very small, just like + /// SELECTIONADD. hwnd + ID is the container control, idChildItem is the + /// new child removed from the selection. + /// + /// (4) Send a SELECTIONWITHIN notification when the selected items within a + /// control have changed substantially. Rather than propagate a large + /// number of changes to reflect removal for some items, addition of + /// others, just tell somebody who cares that a lot happened. It will + /// be faster an easier for somebody watching to just turn around and + /// query the container control what the new bunch of selected items + /// are. + /// + StateChange = 0x800A, // hwnd + ID + idChild is item w/ state change + LocationChange = 0x800B, // hwnd + ID + idChild is moved/sized item + NameChange = 0x800C, // hwnd + ID + idChild is item w/ name change + DescriptionChange = 0x800D, // hwnd + ID + idChild is item w/ desc change + ValueChange = 0x800E, // hwnd + ID + idChild is item w/ value change + ParentChange = 0x800F, // hwnd + ID + idChild is item w/ new parent + HelpChange = 0x8010, // hwnd + ID + idChild is item w/ help change + DefaultActionChange = 0x8011, // hwnd + ID + idChild is item w/ def action change + AcceleratorChange = 0x8012, // hwnd + ID + idChild is item w/ keybd accel change } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleNavigation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleNavigation.cs index abaa8de8d68..3fed61c2eed 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleNavigation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleNavigation.cs @@ -2,107 +2,54 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - - using System.Diagnostics; - - using System; - using System.ComponentModel; - using Microsoft.Win32; - - - /// +namespace System.Windows.Forms +{ /// - /// - /// Specifies values for navigating between accessible objects. - /// + /// Specifies values for navigating between accessible objects. /// - public enum AccessibleNavigation { - - /// + public enum AccessibleNavigation + { /// - /// - /// Navigation - /// to a sibling object located - /// below the - /// starting object. - /// + /// Navigation to a sibling object located below the starting object. /// Down = 0x2, - /// /// - /// - /// Navigation to - /// the - /// first child of the object. - /// + /// Navigation to the first child of the object. /// FirstChild = 0x7, - /// /// - /// - /// Navigation to - /// the - /// last child of the object - /// + /// Navigation to the last child of the object /// LastChild = 0x8, - /// /// - /// - /// Navigation - /// to the sibling object located - /// to the left - /// of the - /// starting object. - /// + /// Navigation to the sibling object located to the left of the + /// starting object. /// Left = 0x3, - /// /// - /// - /// Navigation - /// to the next logical object, generally from a - /// sibling - /// object to the - /// starting object. - /// + /// Navigation to the next logical object, generally from the starting + /// object to a sibling object. /// Next = 0x5, - /// /// - /// - /// Navigation to the previous logical object, generally - /// from - /// a sibling - /// object to the - /// starting object. - /// + /// Navigation to the previous logical object, generally from a sibling + /// object to the starting object. /// Previous = 0x6, - /// /// - /// - /// Navigation to the sibling object - /// located to the right of the - /// starting object. - /// + /// Navigation to the sibling object located to the right of the + /// starting object. /// Right = 0x4, - /// /// - /// - /// Navigation to a sibling object - /// located above the - /// starting object. - /// + /// Navigation to a sibling object located above the starting object. /// Up = 0x1, } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleObject.cs index 2d246917abc..9b7e51dae89 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleObject.cs @@ -2,22 +2,20 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using System.ComponentModel; +using System.Diagnostics; +using System.Drawing; +using System.Globalization; +using System.Reflection; +using System.Runtime.InteropServices; +using System.Windows.Forms.Automation; +using Accessibility; + namespace System.Windows.Forms { - using Accessibility; - using Automation; - using System; - using System.ComponentModel; - using System.Diagnostics; - using System.Drawing; - using System.Globalization; - using System.Reflection; - using System.Runtime.InteropServices; - - /// /// - /// Provides an implementation for an object that can be inspected by an - /// accessibility application. + /// Provides an implementation for an object that can be inspected by an + /// accessibility application. /// [ComVisible(true)] public class AccessibleObject : StandardOleMarshalObject, @@ -43,20 +41,17 @@ public class AccessibleObject : StandardOleMarshalObject, UnsafeNativeMethods.ISelectionProvider, UnsafeNativeMethods.ISelectionItemProvider, UnsafeNativeMethods.IRawElementProviderHwndOverride, - UnsafeNativeMethods.IScrollItemProvider { - - // Member variables - - /// + UnsafeNativeMethods.IScrollItemProvider + { /// - /// Specifies the interface used by this . + /// Specifies the interface used by this + /// . /// private IAccessible systemIAccessible = null; - /// /// - /// Specifies the - /// used by this . + /// Specifies the used by this + /// . /// private UnsafeNativeMethods.IEnumVariant systemIEnumVariant = null; private UnsafeNativeMethods.IEnumVariant enumVariant = null; @@ -70,498 +65,508 @@ public class AccessibleObject : StandardOleMarshalObject, // The support for the UIA Notification event begins in RS3. // Assume the UIA Notification event is available until we learn otherwise. - // If we learn that the UIA Notification event is not available, + // If we learn that the UIA Notification event is not available, // controls should not attempt to raise it. private static bool notificationEventAvailable = true; protected const int RuntimeIDFirstItem = 0x2a; - /// - public AccessibleObject() { + public AccessibleObject() + { } - + // This constructor is used ONLY for wrapping system IAccessible objects - // - private AccessibleObject(IAccessible iAcc) { - this.systemIAccessible = iAcc; - this.systemWrapper = true; + private AccessibleObject(IAccessible iAcc) + { + systemIAccessible = iAcc; + systemWrapper = true; } - - // Properties - /// /// - /// Gets the bounds of the accessible object, in screen coordinates. + /// Gets the bounds of the accessible object, in screen coordinates. /// - public virtual Rectangle Bounds { - get { + public virtual Rectangle Bounds + { + get + { // Use the system provided bounds - if (systemIAccessible != null) { - int left = 0; - int top = 0; - int width = 0; - int height = 0; - try { - systemIAccessible.accLocation(out left, out top, out width, out height, NativeMethods.CHILDID_SELF); + if (systemIAccessible != null) + { + try + { + systemIAccessible.accLocation(out int left, out int top, out int width, out int height, NativeMethods.CHILDID_SELF); return new Rectangle(left, top, width, height); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { + } } + return Rectangle.Empty; } } - - /// + /// - /// Gets a description of the default action for an object. + /// Gets a description of the default action for an object. /// - public virtual string DefaultAction { - get { - if (systemIAccessible != null) { - try { + public virtual string DefaultAction + { + get + { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accDefaultAction(NativeMethods.CHILDID_SELF); } - catch (COMException e) { - // Not all objects provide a default action - // - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { + // Not all objects provide a default action. } } + return null; } } - - /// + /// - /// Gets a description - /// of the object's visual appearance to the user. + /// Gets a description of the object's visual appearance to the user. /// - public virtual string Description { - get { - if (systemIAccessible != null) { - try { + public virtual string Description + { + get + { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accDescription(NativeMethods.CHILDID_SELF); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } + return null; } } - - private UnsafeNativeMethods.IEnumVariant EnumVariant { - get { - if (enumVariant == null) { - enumVariant = new EnumVariantObject(this); - } - return enumVariant; - } + + private UnsafeNativeMethods.IEnumVariant EnumVariant + { + get => enumVariant ?? (enumVariant = new EnumVariantObject(this)); } - /// /// - /// Gets a description of what the object does or how the object is used. + /// Gets a description of what the object does or how the object is used. /// - public virtual string Help { - get { - if (systemIAccessible != null) { - try { + public virtual string Help + { + get + { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accHelp(NativeMethods.CHILDID_SELF); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } + return null; } - } - - /// + } + /// - /// Gets the object shortcut key or access key - /// for an accessible object. + /// Gets the object shortcut key or access key for an accessible object. /// - public virtual string KeyboardShortcut { - get { - if (systemIAccessible != null) { - try { + public virtual string KeyboardShortcut + { + get + { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accKeyboardShortcut(NativeMethods.CHILDID_SELF); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } + return null; } - } - - /// + } + /// - /// Gets - /// or sets the object name. + /// Gets or sets the object name. /// - public virtual string Name { + public virtual string Name + { // Does nothing by default get { - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accName(NativeMethods.CHILDID_SELF); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } + return null; } - - set { - if (systemIAccessible != null) { - try { - systemIAccessible.set_accName(NativeMethods.CHILDID_SELF, value); - } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } - } + set + { + if (systemIAccessible == null) + { + return; + } + + try + { + systemIAccessible.set_accName(NativeMethods.CHILDID_SELF, value); + } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } - } } - /// /// - /// When overridden in a derived class, gets or sets the parent of an accessible object. + /// When overridden in a derived class, gets or sets the parent of an + /// accessible object. /// - public virtual AccessibleObject Parent { - get { - if (systemIAccessible != null) { + public virtual AccessibleObject Parent + { + get + { + if (systemIAccessible != null) + { return WrapIAccessible(systemIAccessible.accParent); } - else { + else + { return null; } } } - /// /// - /// Gets the role of this accessible object. + /// Gets the role of this accessible object. /// - public virtual AccessibleRole Role { - get { - if (systemIAccessible != null) { - return (AccessibleRole) systemIAccessible.get_accRole(NativeMethods.CHILDID_SELF); - } - else { + public virtual AccessibleRole Role + { + get + { + if (systemIAccessible != null) + { + return (AccessibleRole)systemIAccessible.get_accRole(NativeMethods.CHILDID_SELF); + } + else + { return AccessibleRole.None; - } + } } } - - /// + /// - /// Gets - /// the state of this accessible object. + /// Gets the state of this accessible object. /// - public virtual AccessibleStates State { - get { - if (systemIAccessible != null) { - return (AccessibleStates) systemIAccessible.get_accState(NativeMethods.CHILDID_SELF); - } - else { + public virtual AccessibleStates State + { + get + { + if (systemIAccessible != null) + { + return (AccessibleStates)systemIAccessible.get_accState(NativeMethods.CHILDID_SELF); + } + else + { return AccessibleStates.None; } } } - /// /// - /// Gets or sets the value of an accessible object. + /// Gets or sets the value of an accessible object. /// - public virtual string Value { + public virtual string Value + { // Does nothing by default - get { - if (systemIAccessible != null) { - try { + get + { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accValue(NativeMethods.CHILDID_SELF); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } - return ""; + + return string.Empty; } + set + { + if (systemIAccessible == null) + { + return; + } - set { - if (systemIAccessible != null) { - try { - systemIAccessible.set_accValue(NativeMethods.CHILDID_SELF, value); - } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } - } - } + try + { + systemIAccessible.set_accValue(NativeMethods.CHILDID_SELF, value); + } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { + } } } - // Methods - - /// /// - /// When overridden in a derived class, gets the accessible child corresponding to the specified - /// index. + /// When overridden in a derived class, gets the accessible child + /// corresponding to the specified index. /// - public virtual AccessibleObject GetChild(int index) { - return null; - } - - /// + public virtual AccessibleObject GetChild(int index) => null; + /// - /// When overridden in a derived class, gets the number of children - /// belonging to an accessible object. + /// When overridden in a derived class, gets the number of children + /// belonging to an accessible object. /// - public virtual int GetChildCount() { - return -1; - } + public virtual int GetChildCount() => -1; - /// /// - /// Mechanism for overriding default IEnumVariant behavior of the 'inner' system accessible object - /// (IEnumVariant is how a system accessible object exposes its ordered list of child objects). + /// Mechanism for overriding default IEnumVariant behavior of the 'inner' + /// system accessible object (IEnumVariant is how a system accessible + /// object exposes its ordered list of child objects). /// - /// USAGE: Overridden method in derived class should return array of integers representing new order - /// to be imposed on the child accessible object collection returned by the system (which - /// we assume will be a set of accessible objects that represent the child windows, in - /// z-order). Each array element contains the original z-order based rank of the child window - /// that is to appear at that position in the new ordering. Note: This array could also be - /// used to filter out unwanted child windows too, if necessary (not recommended). - /// - internal virtual int[] GetSysChildOrder() { - return null; - } + /// USAGE: Overridden method in derived class should return array of + /// integers representing new order to be imposed on the child accessible + /// object collection returned by the system (which we assume will be a + /// set of accessible objects that represent the child windows, in z-order). + /// Each array element contains the original z-order based rank of the + /// child window that is to appear at that position in the new ordering. + /// Note: This array could also be used to filter out unwanted child + /// windows too, if necessary (not recommended). + /// + internal virtual int[] GetSysChildOrder() => null; - /// /// - /// Mechanism for overriding default IAccessible.accNavigate behavior of the 'inner' system accessible - /// object (accNavigate is how you move between parent, child and sibling accessible objects). + /// Mechanism for overriding default IAccessible.accNavigate behavior of + /// the 'inner' system accessible object (accNavigate is how you move + /// between parent, child and sibling accessible objects). /// - /// USAGE: 'navdir' indicates navigation operation to perform, relative to this accessible object. - /// If operation is unsupported, return false to allow fall-back to default system behavior. Otherwise - /// return destination object in the out parameter, or null to indicate 'off end of list'. + /// USAGE: 'navdir' indicates navigation operation to perform, relative to + /// this accessible object. + /// If operation is unsupported, return false to allow fall-back to default + /// system behavior. Otherwise return destination object in the out + /// parameter, or null to indicate 'off end of list'. /// - internal virtual bool GetSysChild(AccessibleNavigation navdir, out AccessibleObject accessibleObject) { + internal virtual bool GetSysChild(AccessibleNavigation navdir, out AccessibleObject accessibleObject) + { accessibleObject = null; return false; } - /// /// - /// When overridden in a derived class, - /// gets the object that has the keyboard focus. + /// When overridden in a derived class, gets the object that has the + /// keyboard focus. /// - public virtual AccessibleObject GetFocused() { - + public virtual AccessibleObject GetFocused() + { // Default behavior for objects with AccessibleObject children - // - if (GetChildCount() >= 0) { + if (GetChildCount() >= 0) + { int count = GetChildCount(); - for(int index=0; index < count; ++index) { + for(int index=0; index < count; ++index) + { AccessibleObject child = GetChild(index); Debug.Assert(child != null, "GetChild(" + index.ToString(CultureInfo.InvariantCulture) + ") returned null!"); - if (child != null && ((child.State & AccessibleStates.Focused) != 0)) { + if (child != null && ((child.State & AccessibleStates.Focused) != 0)) + { return child; } } - if ((this.State & AccessibleStates.Focused) != 0) { + + if ((State & AccessibleStates.Focused) != 0) + { return this; } return null; } - - if (systemIAccessible != null) { - try { + + if (systemIAccessible != null) + { + try + { return WrapIAccessible(systemIAccessible.accFocus); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } return null; } - - /// + /// - /// - /// Gets an identifier for a Help topic and the path to the Help file associated - /// with this accessible object. + /// Gets an identifier for a Help topic and the path to the Help file + /// associated with this accessible object. /// - public virtual int GetHelpTopic(out string fileName) { - if (systemIAccessible != null) { - try { + public virtual int GetHelpTopic(out string fileName) + { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accHelpTopic(out fileName, NativeMethods.CHILDID_SELF); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } - } - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { + } + } + fileName = null; return -1; } - - /// + /// - /// When overridden in - /// a derived class, gets the currently selected child. + /// When overridden in a derived class, gets the currently selected child. /// - public virtual AccessibleObject GetSelected() { + public virtual AccessibleObject GetSelected() + { // Default behavior for objects with AccessibleObject children - // - if (GetChildCount() >= 0) { + if (GetChildCount() >= 0) + { int count = GetChildCount(); - for(int index=0; index < count; ++index) { + for(int index=0; index < count; ++index) + { AccessibleObject child = GetChild(index); Debug.Assert(child != null, "GetChild(" + index.ToString(CultureInfo.InvariantCulture) + ") returned null!"); - if (child != null && ((child.State & AccessibleStates.Selected) != 0)) { + if (child != null && ((child.State & AccessibleStates.Selected) != 0)) + { return child; } } - if ((this.State & AccessibleStates.Selected) != 0) { + + if ((State & AccessibleStates.Selected) != 0) + { return this; } + return null; } - - if (systemIAccessible != null) { - try { + + if (systemIAccessible != null) + { + try + { return WrapIAccessible(systemIAccessible.accSelection); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } return null; } - - /// + /// - /// Return the child object at the given screen coordinates. + /// Return the child object at the given screen coordinates. /// - public virtual AccessibleObject HitTest(int x, int y) { - + public virtual AccessibleObject HitTest(int x, int y) + { // Default behavior for objects with AccessibleObject children - // - if (GetChildCount() >= 0) { + if (GetChildCount() >= 0) + { int count = GetChildCount(); - for(int index=0; index < count; ++index) { + for(int index=0; index < count; ++index) + { AccessibleObject child = GetChild(index); Debug.Assert(child != null, "GetChild(" + index.ToString(CultureInfo.InvariantCulture) + ") returned null!"); - if (child != null && child.Bounds.Contains(x, y)) { + if (child != null && child.Bounds.Contains(x, y)) + { return child; } } + return this; } - - if (systemIAccessible != null) { - try { + + if (systemIAccessible != null) + { + try + { return WrapIAccessible(systemIAccessible.accHitTest(x, y)); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } - - if (this.Bounds.Contains(x, y)) { + + if (Bounds.Contains(x, y)) + { return this; } - + return null; } - // - // UIAutomation support helpers - // - - internal virtual bool IsIAccessibleExSupported() { + internal virtual bool IsIAccessibleExSupported() + { // Override this, in your derived class, to enable IAccessibleEx support return false; } - internal virtual bool IsPatternSupported(int patternId) { - // Override this, in your derived class, if you implement UIAutomation patterns - - if (AccessibilityImprovements.Level3 && patternId == NativeMethods.UIA_InvokePatternId) { + internal virtual bool IsPatternSupported(int patternId) + { + // Override this, in your derived class, if you implement UIAutomation patterns + if (AccessibilityImprovements.Level3 && patternId == NativeMethods.UIA_InvokePatternId) + { return IsInvokePatternAvailable; } return false; } - // - // Overridable methods for IRawElementProviderSimple interface - // - - internal virtual int[] RuntimeId { - get { - return null; - } - } + internal virtual int[] RuntimeId => null; - internal virtual int ProviderOptions { - get { - return (int)(UnsafeNativeMethods.ProviderOptions.ServerSideProvider | UnsafeNativeMethods.ProviderOptions.UseComThreading); - } + internal virtual int ProviderOptions + { + get => (int)(UnsafeNativeMethods.ProviderOptions.ServerSideProvider | UnsafeNativeMethods.ProviderOptions.UseComThreading); } - internal virtual UnsafeNativeMethods.IRawElementProviderSimple HostRawElementProvider { - get { - return null; - } + internal virtual UnsafeNativeMethods.IRawElementProviderSimple HostRawElementProvider + { + get => null; } - internal virtual object GetPropertyValue(int propertyID) { - if (AccessibilityImprovements.Level3 && propertyID == NativeMethods.UIA_IsInvokePatternAvailablePropertyId) { + internal virtual object GetPropertyValue(int propertyID) + { + if (AccessibilityImprovements.Level3 && propertyID == NativeMethods.UIA_IsInvokePatternAvailablePropertyId) + { return IsInvokePatternAvailable; } return null; } - private bool IsInvokePatternAvailable { - get { - // MSAA Proxy determines the availability of invoke pattern based on Role/DefaultAction properties. + private bool IsInvokePatternAvailable + { + get + { + // MSAA Proxy determines the availability of invoke pattern based + // on Role/DefaultAction properties. // Below code emulates the same rules. - switch (Role) { + switch (Role) + { case AccessibleRole.MenuItem: case AccessibleRole.Link: case AccessibleRole.PushButton: @@ -605,275 +610,167 @@ private bool IsInvokePatternAvailable { } } - // - // Overridable methods for ILegacyAccessible interface - // - - internal virtual int GetChildId() { - return NativeMethods.CHILDID_SELF; - } + internal virtual int GetChildId() => NativeMethods.CHILDID_SELF; - // - // Overridable methods for IRawElementProviderFragment interface - // - - internal virtual UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) { + internal virtual UnsafeNativeMethods.IRawElementProviderFragment FragmentNavigate(UnsafeNativeMethods.NavigateDirection direction) + { return null; } - internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetEmbeddedFragmentRoots() { + internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetEmbeddedFragmentRoots() + { return null; } - internal virtual void SetFocus() { + internal virtual void SetFocus() + { } - internal virtual Rectangle BoundingRectangle { - get { - return this.Bounds; - } - } + internal virtual Rectangle BoundingRectangle => Bounds; - internal virtual UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot { - get { - return null; - } + internal virtual UnsafeNativeMethods.IRawElementProviderFragmentRoot FragmentRoot + { + get => null; } - // - // Overridable methods for IRawElementProviderFragmentRoot interface - // - - internal virtual UnsafeNativeMethods.IRawElementProviderFragment ElementProviderFromPoint(double x, double y) { + internal virtual UnsafeNativeMethods.IRawElementProviderFragment ElementProviderFromPoint(double x, double y) + { return this; } - internal virtual UnsafeNativeMethods.IRawElementProviderFragment GetFocus() { + internal virtual UnsafeNativeMethods.IRawElementProviderFragment GetFocus() + { return null; } - // - // Overridable methods for IExpandCollapseProvider pattern interface - // - - internal virtual void Expand() { + internal virtual void Expand() + { } - internal virtual void Collapse() { + internal virtual void Collapse() + { } - internal virtual UnsafeNativeMethods.ExpandCollapseState ExpandCollapseState { - get { - return UnsafeNativeMethods.ExpandCollapseState.Collapsed; - } + internal virtual UnsafeNativeMethods.ExpandCollapseState ExpandCollapseState + { + get => UnsafeNativeMethods.ExpandCollapseState.Collapsed; } - // - // Overridable methods for IToggleProvider pattern interface - // - - internal virtual void Toggle() { + internal virtual void Toggle() + { } - internal virtual UnsafeNativeMethods.ToggleState ToggleState { - get { - return UnsafeNativeMethods.ToggleState.ToggleState_Indeterminate; - } + internal virtual UnsafeNativeMethods.ToggleState ToggleState + { + get => UnsafeNativeMethods.ToggleState.ToggleState_Indeterminate; } - // - // Overridable methods for ITableProvider pattern interface - // - - internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetRowHeaders() { + internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetRowHeaders() + { return null; } - internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetColumnHeaders() { + internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetColumnHeaders() + { return null; } - internal virtual UnsafeNativeMethods.RowOrColumnMajor RowOrColumnMajor { - get { - return UnsafeNativeMethods.RowOrColumnMajor.RowOrColumnMajor_RowMajor; - } + internal virtual UnsafeNativeMethods.RowOrColumnMajor RowOrColumnMajor + { + get => UnsafeNativeMethods.RowOrColumnMajor.RowOrColumnMajor_RowMajor; } - // - // Overridable methods for ITableItemProvider pattern interface - // - - internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetRowHeaderItems() { + internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetRowHeaderItems() + { return null; } - internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetColumnHeaderItems() { + internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetColumnHeaderItems() + { return null; } - // - // Overridable methods for IGridProvider pattern interface - // - - internal virtual UnsafeNativeMethods.IRawElementProviderSimple GetItem(int row, int column) { + internal virtual UnsafeNativeMethods.IRawElementProviderSimple GetItem(int row, int column) + { return null; } - internal virtual int RowCount { - get { - return -1; - } - } + internal virtual int RowCount => -1; - internal virtual int ColumnCount { - get { - return -1; - } - } + internal virtual int ColumnCount => -1; - // - // Overridable methods for IGridItemProvider pattern interface - // - - internal virtual int Row { - get { - return -1; - } - } + internal virtual int Row => -1; - internal virtual int Column { - get { - return -1; - } - } + internal virtual int Column => -1; - internal virtual int RowSpan { - get { - return 1; - } - } + internal virtual int RowSpan => 1; - internal virtual int ColumnSpan { - get { - return 1; - } - } + internal virtual int ColumnSpan => 1; - internal virtual UnsafeNativeMethods.IRawElementProviderSimple ContainingGrid { - get { - return null; - } + internal virtual UnsafeNativeMethods.IRawElementProviderSimple ContainingGrid + { + get => null; } - // - // Overridable methods for IInvokeProvider pattern interface - // - - internal virtual void Invoke() { + internal virtual void Invoke() + { // Calling DoDefaultAction here is consistent with MSAA Proxy implementation. DoDefaultAction(); } - // Overridable methods for IValueProvider pattern interface - internal virtual bool IsReadOnly { - get { - return false; - } - } + internal virtual bool IsReadOnly => false; - internal virtual void SetValue(string newValue) { - this.Value = newValue; + internal virtual void SetValue(string newValue) + { + Value = newValue; } - // - // Overridable methods for IRawElementProviderHwndOverride interface - // - - internal virtual UnsafeNativeMethods.IRawElementProviderSimple GetOverrideProviderForHwnd(IntPtr hwnd) { + internal virtual UnsafeNativeMethods.IRawElementProviderSimple GetOverrideProviderForHwnd(IntPtr hwnd) + { return null; } - // - // Overridable methods for IRangeValueProvider pattern interface - // - - internal virtual void SetValue(double newValue) { - } - - internal virtual double LargeChange { - get { - return double.NaN; - } + internal virtual void SetValue(double newValue) + { } - internal virtual double Maximum { - get { - return double.NaN; - } - } + internal virtual double LargeChange => double.NaN; - internal virtual double Minimum { - get { - return double.NaN; - } - } + internal virtual double Maximum => double.NaN; - internal virtual double SmallChange { - get { - return double.NaN; - } - } + internal virtual double Minimum => double.NaN; - internal virtual double RangeValue { - get { - return double.NaN; - } - } + internal virtual double SmallChange => double.NaN; - // - // Overridable methods for ISelectionProvider interface - // + internal virtual double RangeValue => double.NaN; - internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetSelection() { + internal virtual UnsafeNativeMethods.IRawElementProviderSimple[] GetSelection() + { return null; } - internal virtual bool CanSelectMultiple { - get { - return false; - } - } + internal virtual bool CanSelectMultiple => false; - internal virtual bool IsSelectionRequired { - get { - return false; - } - } + internal virtual bool IsSelectionRequired => false; - // - // Overridable methods for ISelectionItemProvider interface - // - - internal virtual void SelectItem() { + internal virtual void SelectItem() + { } - internal virtual void AddToSelection() { + internal virtual void AddToSelection() + { } - internal virtual void RemoveFromSelection() { + internal virtual void RemoveFromSelection() + { } - internal virtual bool IsItemSelected { - get { - return false; - } - } + internal virtual bool IsItemSelected => false; - internal virtual UnsafeNativeMethods.IRawElementProviderSimple ItemSelectionContainer { - get { - return null; - } + internal virtual UnsafeNativeMethods.IRawElementProviderSimple ItemSelectionContainer + { + get => null; } /// @@ -892,17 +789,18 @@ internal virtual void SetDetachableChild(AccessibleObject child) { } - int UnsafeNativeMethods.IServiceProvider.QueryService(ref Guid service, ref Guid riid, out IntPtr ppvObject) { - + int UnsafeNativeMethods.IServiceProvider.QueryService(ref Guid service, ref Guid riid, out IntPtr ppvObject) + { int hr = NativeMethods.E_NOINTERFACE; ppvObject = IntPtr.Zero; - if (IsIAccessibleExSupported()) { + if (IsIAccessibleExSupported()) + { if (service.Equals(UnsafeNativeMethods.guid_IAccessibleEx) && - riid.Equals(UnsafeNativeMethods.guid_IAccessibleEx)) { + riid.Equals(UnsafeNativeMethods.guid_IAccessibleEx)) + { // We want to return the internal, secure, object, which we don't have access here // Return non-null, which will be interpreted in internal method, to mean returning casted object to IAccessibleEx - ppvObject = Marshal.GetComInterfaceForObject(this, typeof(UnsafeNativeMethods.IAccessibleEx)); hr = NativeMethods.S_OK; } @@ -911,947 +809,831 @@ int UnsafeNativeMethods.IServiceProvider.QueryService(ref Guid service, ref Guid return hr; } - object UnsafeNativeMethods.IAccessibleEx.GetObjectForChild(int idChild) { + object UnsafeNativeMethods.IAccessibleEx.GetObjectForChild(int idChild) + { // No need to implement this for patterns and properties return null; } // This method is never called - int UnsafeNativeMethods.IAccessibleEx.GetIAccessiblePair(out object ppAcc, out int pidChild) { - + int UnsafeNativeMethods.IAccessibleEx.GetIAccessiblePair(out object ppAcc, out int pidChild) + { // No need to implement this for patterns and properties ppAcc = null; pidChild = 0; return NativeMethods.E_POINTER; } - int[] UnsafeNativeMethods.IAccessibleEx.GetRuntimeId() { - return RuntimeId; - } - - int UnsafeNativeMethods.IAccessibleEx.ConvertReturnedElement(object pIn, out object ppRetValOut) { + int[] UnsafeNativeMethods.IAccessibleEx.GetRuntimeId() => RuntimeId; + int UnsafeNativeMethods.IAccessibleEx.ConvertReturnedElement(object pIn, out object ppRetValOut) + { // No need to implement this for patterns and properties ppRetValOut = null; return NativeMethods.E_NOTIMPL; } - // - // IRawElementProviderSimple interface - // - - UnsafeNativeMethods.ProviderOptions UnsafeNativeMethods.IRawElementProviderSimple.ProviderOptions { - get { - return (UnsafeNativeMethods.ProviderOptions) ProviderOptions; - } + UnsafeNativeMethods.ProviderOptions UnsafeNativeMethods.IRawElementProviderSimple.ProviderOptions + { + get => (UnsafeNativeMethods.ProviderOptions) ProviderOptions; } - UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IRawElementProviderSimple.HostRawElementProvider { - get { - return HostRawElementProvider; - } + UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IRawElementProviderSimple.HostRawElementProvider + { + get => HostRawElementProvider; } - object UnsafeNativeMethods.IRawElementProviderSimple.GetPatternProvider(int patternId) { - if (IsPatternSupported(patternId)) { + object UnsafeNativeMethods.IRawElementProviderSimple.GetPatternProvider(int patternId) + { + if (IsPatternSupported(patternId)) + { return this; } - else { + else + { return null; } } - object UnsafeNativeMethods.IRawElementProviderSimple.GetPropertyValue(int propertyID) { + object UnsafeNativeMethods.IRawElementProviderSimple.GetPropertyValue(int propertyID) + { return GetPropertyValue(propertyID); } - // - // IRawElementProviderFragment interface - // - - object UnsafeNativeMethods.IRawElementProviderFragment.Navigate(UnsafeNativeMethods.NavigateDirection direction) { + object UnsafeNativeMethods.IRawElementProviderFragment.Navigate(UnsafeNativeMethods.NavigateDirection direction) + { return FragmentNavigate(direction); } - int[] UnsafeNativeMethods.IRawElementProviderFragment.GetRuntimeId() { + int[] UnsafeNativeMethods.IRawElementProviderFragment.GetRuntimeId() + { return RuntimeId; } - object[] UnsafeNativeMethods.IRawElementProviderFragment.GetEmbeddedFragmentRoots() { + object[] UnsafeNativeMethods.IRawElementProviderFragment.GetEmbeddedFragmentRoots() + { return GetEmbeddedFragmentRoots(); } - void UnsafeNativeMethods.IRawElementProviderFragment.SetFocus() { + void UnsafeNativeMethods.IRawElementProviderFragment.SetFocus() + { SetFocus(); } - NativeMethods.UiaRect UnsafeNativeMethods.IRawElementProviderFragment.BoundingRectangle { - get { - return new NativeMethods.UiaRect(BoundingRectangle); - } + NativeMethods.UiaRect UnsafeNativeMethods.IRawElementProviderFragment.BoundingRectangle + { + get => new NativeMethods.UiaRect(BoundingRectangle); } - UnsafeNativeMethods.IRawElementProviderFragmentRoot UnsafeNativeMethods.IRawElementProviderFragment.FragmentRoot { - get { - return FragmentRoot; - } + UnsafeNativeMethods.IRawElementProviderFragmentRoot UnsafeNativeMethods.IRawElementProviderFragment.FragmentRoot + { + get => FragmentRoot; } - // - // IRawElementProviderFragmentRoot interface - // - - object UnsafeNativeMethods.IRawElementProviderFragmentRoot.ElementProviderFromPoint(double x, double y) { + object UnsafeNativeMethods.IRawElementProviderFragmentRoot.ElementProviderFromPoint(double x, double y) + { return ElementProviderFromPoint(x, y); } - object UnsafeNativeMethods.IRawElementProviderFragmentRoot.GetFocus() { + object UnsafeNativeMethods.IRawElementProviderFragmentRoot.GetFocus() + { return GetFocus(); } - // - // ILegacyIAccessibleProvider interface - // + string UnsafeNativeMethods.ILegacyIAccessibleProvider.DefaultAction => DefaultAction; - string UnsafeNativeMethods.ILegacyIAccessibleProvider.DefaultAction { - get { - return this.DefaultAction; - } - } + string UnsafeNativeMethods.ILegacyIAccessibleProvider.Description => Description; - string UnsafeNativeMethods.ILegacyIAccessibleProvider.Description { - get { - return this.Description; - } - } + string UnsafeNativeMethods.ILegacyIAccessibleProvider.Help => Help; - string UnsafeNativeMethods.ILegacyIAccessibleProvider.Help { - get { - return this.Help; - } - } + string UnsafeNativeMethods.ILegacyIAccessibleProvider.KeyboardShortcut => KeyboardShortcut; - string UnsafeNativeMethods.ILegacyIAccessibleProvider.KeyboardShortcut { - get { - return this.KeyboardShortcut; - } - } + string UnsafeNativeMethods.ILegacyIAccessibleProvider.Name => Name; - string UnsafeNativeMethods.ILegacyIAccessibleProvider.Name { - get { - return this.Name; - } - } + uint UnsafeNativeMethods.ILegacyIAccessibleProvider.Role => (uint)Role; - uint UnsafeNativeMethods.ILegacyIAccessibleProvider.Role { - get { - return (uint)this.Role; - } - } - - uint UnsafeNativeMethods.ILegacyIAccessibleProvider.State { - get { - return (uint)this.State; - } - } - - string UnsafeNativeMethods.ILegacyIAccessibleProvider.Value { - get { - return this.Value; - } - } + uint UnsafeNativeMethods.ILegacyIAccessibleProvider.State => (uint)State; - int UnsafeNativeMethods.ILegacyIAccessibleProvider.ChildId { - get { - return GetChildId(); - } - } + string UnsafeNativeMethods.ILegacyIAccessibleProvider.Value => Value; + + int UnsafeNativeMethods.ILegacyIAccessibleProvider.ChildId => GetChildId(); - void UnsafeNativeMethods.ILegacyIAccessibleProvider.DoDefaultAction() { - this.DoDefaultAction(); + void UnsafeNativeMethods.ILegacyIAccessibleProvider.DoDefaultAction() + { + DoDefaultAction(); } - IAccessible UnsafeNativeMethods.ILegacyIAccessibleProvider.GetIAccessible() { - return this.AsIAccessible(this); + IAccessible UnsafeNativeMethods.ILegacyIAccessibleProvider.GetIAccessible() + { + return AsIAccessible(this); } - object[] UnsafeNativeMethods.ILegacyIAccessibleProvider.GetSelection() { - return new UnsafeNativeMethods.IRawElementProviderSimple[] { - this.GetSelected() as UnsafeNativeMethods.IRawElementProviderSimple + object[] UnsafeNativeMethods.ILegacyIAccessibleProvider.GetSelection() + { + return new UnsafeNativeMethods.IRawElementProviderSimple[] + { + GetSelected() as UnsafeNativeMethods.IRawElementProviderSimple }; } - void UnsafeNativeMethods.ILegacyIAccessibleProvider.Select(int flagsSelect) { - this.Select((AccessibleSelection)flagsSelect); + void UnsafeNativeMethods.ILegacyIAccessibleProvider.Select(int flagsSelect) + { + Select((AccessibleSelection)flagsSelect); } - void UnsafeNativeMethods.ILegacyIAccessibleProvider.SetValue(string szValue) { - this.SetValue(szValue); + void UnsafeNativeMethods.ILegacyIAccessibleProvider.SetValue(string szValue) + { + SetValue(szValue); } - // - // IExpandCollapseProvider interface - // - - void UnsafeNativeMethods.IExpandCollapseProvider.Expand() { + void UnsafeNativeMethods.IExpandCollapseProvider.Expand() + { Expand(); } - void UnsafeNativeMethods.IExpandCollapseProvider.Collapse() { - Collapse(); - } - UnsafeNativeMethods.ExpandCollapseState UnsafeNativeMethods.IExpandCollapseProvider.ExpandCollapseState { - get { - return ExpandCollapseState; - } + void UnsafeNativeMethods.IExpandCollapseProvider.Collapse() + { + Collapse(); } - // - // IInvokeProvider interface - // - - void UnsafeNativeMethods.IInvokeProvider.Invoke() { - Invoke(); + UnsafeNativeMethods.ExpandCollapseState UnsafeNativeMethods.IExpandCollapseProvider.ExpandCollapseState + { + get => ExpandCollapseState; } - // - // IValueProvider interface - // + void UnsafeNativeMethods.IInvokeProvider.Invoke() => Invoke(); - bool UnsafeNativeMethods.IValueProvider.IsReadOnly { - get { - return IsReadOnly; - } - } + bool UnsafeNativeMethods.IValueProvider.IsReadOnly => IsReadOnly; - string UnsafeNativeMethods.IValueProvider.Value { - get { - return Value; - } - } + string UnsafeNativeMethods.IValueProvider.Value => Value; - void UnsafeNativeMethods.IValueProvider.SetValue(string newValue) { + void UnsafeNativeMethods.IValueProvider.SetValue(string newValue) + { SetValue(newValue); } - // - // IToggleProvider implementation - // - - void UnsafeNativeMethods.IToggleProvider.Toggle() { - Toggle(); - } + void UnsafeNativeMethods.IToggleProvider.Toggle() => Toggle(); - UnsafeNativeMethods.ToggleState UnsafeNativeMethods.IToggleProvider.ToggleState { - get { - return ToggleState; - } + UnsafeNativeMethods.ToggleState UnsafeNativeMethods.IToggleProvider.ToggleState + { + get => ToggleState; } - // - // ITableProvider implementation - // - - object[] UnsafeNativeMethods.ITableProvider.GetRowHeaders() { + object[] UnsafeNativeMethods.ITableProvider.GetRowHeaders() + { return GetRowHeaders(); } - object[] UnsafeNativeMethods.ITableProvider.GetColumnHeaders() { + object[] UnsafeNativeMethods.ITableProvider.GetColumnHeaders() + { return GetColumnHeaders(); } - UnsafeNativeMethods.RowOrColumnMajor UnsafeNativeMethods.ITableProvider.RowOrColumnMajor { - get { - return RowOrColumnMajor; - } + UnsafeNativeMethods.RowOrColumnMajor UnsafeNativeMethods.ITableProvider.RowOrColumnMajor + { + get => RowOrColumnMajor; } - // - // ITableItemProvider implementation - // - - object[] UnsafeNativeMethods.ITableItemProvider.GetRowHeaderItems() { + object[] UnsafeNativeMethods.ITableItemProvider.GetRowHeaderItems() + { return GetRowHeaderItems(); } - object[] UnsafeNativeMethods.ITableItemProvider.GetColumnHeaderItems() { + object[] UnsafeNativeMethods.ITableItemProvider.GetColumnHeaderItems() + { return GetColumnHeaderItems(); } - // - // IGridProvider implementation - // - - object UnsafeNativeMethods.IGridProvider.GetItem(int row, int column) { + object UnsafeNativeMethods.IGridProvider.GetItem(int row, int column) + { return GetItem(row, column); } - int UnsafeNativeMethods.IGridProvider.RowCount { - get { - return RowCount; - } - } + int UnsafeNativeMethods.IGridProvider.RowCount => RowCount; - int UnsafeNativeMethods.IGridProvider.ColumnCount { - get { - return ColumnCount; - } - } + int UnsafeNativeMethods.IGridProvider.ColumnCount => ColumnCount; - // - // IGridItemProvider implementation - // - - int UnsafeNativeMethods.IGridItemProvider.Row { - get { - return Row; - } - } + int UnsafeNativeMethods.IGridItemProvider.Row => Row; - int UnsafeNativeMethods.IGridItemProvider.Column { - get { - return Column; - } - } + int UnsafeNativeMethods.IGridItemProvider.Column => Column; - int UnsafeNativeMethods.IGridItemProvider.RowSpan { - get { - return RowSpan; - } - } + int UnsafeNativeMethods.IGridItemProvider.RowSpan => RowSpan; - int UnsafeNativeMethods.IGridItemProvider.ColumnSpan { - get { - return ColumnSpan; - } - } + int UnsafeNativeMethods.IGridItemProvider.ColumnSpan => ColumnSpan; - UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IGridItemProvider.ContainingGrid { - get { - return ContainingGrid; - } + UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IGridItemProvider.ContainingGrid + { + get => ContainingGrid; } - /// - /// /// - /// /// Perform the default action - /// /// - void IAccessible.accDoDefaultAction(object childID) { - - if (IsClientObject) { + void IAccessible.accDoDefaultAction(object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); - - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccDoDefaultAction: this = " + - this.ToString() + ", childID = " + childID.ToString()); + + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccDoDefaultAction: this = " + + ToString() + ", childID = " + childID.ToString()); // If the default action is to be performed on self, do it. - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { DoDefaultAction(); return; } - + // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { child.DoDefaultAction(); return; - } + } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { systemIAccessible.accDoDefaultAction(childID); } - catch (COMException e) { - // Not all objects provide a default action - // - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { + // Not all objects provide a default action. } } } - /// - /// /// - /// /// Perform a hit test - /// /// - object IAccessible.accHitTest( - int xLeft, - int yTop) { + object IAccessible.accHitTest(int xLeft, int yTop) + { + if (IsClientObject) + { + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccHitTest: this = " + + ToString()); - if (IsClientObject) { - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccHitTest: this = " + - this.ToString()); - AccessibleObject obj = HitTest(xLeft, yTop); - if (obj != null) { + if (obj != null) + { return AsVariant(obj); } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { return systemIAccessible.accHitTest(xLeft, yTop); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } - + return null; } - /// - /// /// - /// /// The location of the Accessible object - /// /// void IAccessible.accLocation( out int pxLeft, out int pyTop, out int pcxWidth, out int pcyHeight, - object childID) { - + object childID) + { pxLeft = 0; pyTop = 0; pcxWidth = 0; pcyHeight = 0; - if (IsClientObject) { + if (IsClientObject) + { ValidateChildID(ref childID); - - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccLocation: this = " + - this.ToString() + ", childID = " + childID.ToString()); - - // Use the Location function's return value if available - // - if (childID.Equals(NativeMethods.CHILDID_SELF)) { - Rectangle bounds = this.Bounds; + + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccLocation: this = " + + ToString() + ", childID = " + childID.ToString()); + + // Use the Location function's return value if available + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { + Rectangle bounds = Bounds; pxLeft = bounds.X; pyTop = bounds.Y; pcxWidth = bounds.Width; pcyHeight = bounds.Height; - - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccLocation: Returning " + + + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccLocation: Returning " + bounds.ToString()); - + return; } - + // If we have an accessible object collection, get the appropriate child - // AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { Rectangle bounds = child.Bounds; pxLeft = bounds.X; pyTop = bounds.Y; pcxWidth = bounds.Width; pcyHeight = bounds.Height; - - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccLocation: Returning " + + + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccLocation: Returning " + bounds.ToString()); - + return; } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { systemIAccessible.accLocation(out pxLeft, out pyTop, out pcxWidth, out pcyHeight, childID); - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccLocation: Setting " + + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccLocation: Setting " + pxLeft.ToString(CultureInfo.InvariantCulture) + ", " + pyTop.ToString(CultureInfo.InvariantCulture) + ", " + pcxWidth.ToString(CultureInfo.InvariantCulture) + ", " + pcyHeight.ToString(CultureInfo.InvariantCulture)); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } - + return; } } - /// - /// /// - /// /// Navigate to another accessible object. - /// /// - object IAccessible.accNavigate( - int navDir, - object childID) { - - if (IsClientObject) { + object IAccessible.accNavigate(int navDir, object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccNavigate: this = " + - this.ToString() + ", navdir = " + navDir.ToString(CultureInfo.InvariantCulture) + ", childID = " + childID.ToString()); - - // Use the Navigate function's return value if available - // - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + ToString() + ", navdir = " + navDir.ToString(CultureInfo.InvariantCulture) + ", childID = " + childID.ToString()); + + // Use the Navigate function's return value if available + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { AccessibleObject newObject = Navigate((AccessibleNavigation)navDir); - if (newObject != null) { + if (newObject != null) + { return AsVariant(newObject); } } - + // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { return AsVariant(child.Navigate((AccessibleNavigation)navDir)); } } - if (systemIAccessible != null) { - try { - object retObject; - if (!SysNavigate(navDir, childID, out retObject)) - retObject = systemIAccessible.accNavigate(navDir, childID); + if (systemIAccessible != null) + { + try + { + if (!SysNavigate(navDir, childID, out object retObject)) + { + return systemIAccessible.accNavigate(navDir, childID); + } + return retObject; } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } return null; } - /// - /// /// - /// /// Select an accessible object. - /// /// - void IAccessible.accSelect(int flagsSelect, object childID) { - - if (IsClientObject) { + void IAccessible.accSelect(int flagsSelect, object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.AccSelect: this = " + - this.ToString() + ", flagsSelect = " + flagsSelect.ToString(CultureInfo.InvariantCulture) + ", childID = " + childID.ToString()); - + ToString() + ", flagsSelect = " + flagsSelect.ToString(CultureInfo.InvariantCulture) + ", childID = " + childID.ToString()); + // If the selection is self, do it. - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { Select((AccessibleSelection)flagsSelect); // Uses an Enum which matches SELFLAG return; } - + // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { child.Select((AccessibleSelection)flagsSelect); return; } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { systemIAccessible.accSelect(flagsSelect, childID); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } return; } } - /// /// - /// Performs the default action associated with this accessible object. + /// Performs the default action associated with this accessible object. /// - public virtual void DoDefaultAction() { + public virtual void DoDefaultAction() + { // By default, just does the system default action if available - // - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { systemIAccessible.accDoDefaultAction(0); } - catch (COMException e) { - // Not all objects provide a default action - // - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { + // Not all objects provide a default action. } return; } } - /// - /// /// - /// /// Returns a child Accessible object - /// /// - object IAccessible.get_accChild(object childID) { - - if (IsClientObject) { + object IAccessible.get_accChild(object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.GetAccChild: this = " + - this.ToString() + ", childID = " + childID.ToString()); + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.GetAccChild: this = " + + ToString() + ", childID = " + childID.ToString()); // Return self for CHILDID_SELF - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { return AsIAccessible(this); } // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { // Make sure we're not returning ourselves as our own child - // Debug.Assert(child != this, "An accessible object is returning itself as its own child. This can cause Accessibility client applications to stop responding."); - if (child == this) { + if (child == this) + { return null; } - + return AsIAccessible(child); } } // Otherwise, return the default system child for this control (if any) - if (systemIAccessible != null) { - return systemIAccessible.get_accChild(childID); - } - - return null; + return systemIAccessible?.get_accChild(childID); } - /// - /// /// /// Return the number of children /// - int IAccessible.accChildCount { - get { + int IAccessible.accChildCount + { + get + { int childCount = -1; - if (IsClientObject) { + if (IsClientObject) + { childCount = GetChildCount(); } - if (childCount == -1) { - if (systemIAccessible != null) { + if (childCount == -1) + { + if (systemIAccessible != null) + { childCount = systemIAccessible.accChildCount; } - else { + else + { childCount = 0; } } - - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.accHildCount: this = " + this.ToString() + ", returning " + childCount.ToString(CultureInfo.InvariantCulture)); - - return childCount; + + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.accHildCount: this = " + ToString() + ", returning " + childCount.ToString(CultureInfo.InvariantCulture)); + + return childCount; } } - /// - /// /// - /// /// Return the default action - /// /// - string IAccessible.get_accDefaultAction(object childID) { - - if (IsClientObject) { + string IAccessible.get_accDefaultAction(object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); // Return the default action property if available - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { return DefaultAction; } - + // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { return child.DefaultAction; } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accDefaultAction(childID); } - catch (COMException e) { - // Not all objects provide a default action - // - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { + // Not all objects provide a default action. } } return null; } - /// - /// /// - /// /// Return the object or child description - /// /// - string IAccessible.get_accDescription(object childID) { - - if (IsClientObject) { + string IAccessible.get_accDescription(object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); // Return the description property if available - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { return Description; } // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { return child.Description; } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accDescription(childID); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } return null; } - /// /// - /// Returns the appropriate child from the Accessible Child Collection, if available + /// Returns the appropriate child from the Accessible Child Collection, if available /// - private AccessibleObject GetAccessibleChild(object childID) { - if (!childID.Equals(NativeMethods.CHILDID_SELF)) { - int index = (int)childID - 1; // The first child is childID == 1 (index == 0) - if (index >= 0 && index < GetChildCount()) { + private AccessibleObject GetAccessibleChild(object childID) + { + if (!childID.Equals(NativeMethods.CHILDID_SELF)) + { + // The first child is childID == 1 (index == 0) + int index = (int)childID - 1; + if (index >= 0 && index < GetChildCount()) + { return GetChild(index); } } return null; } - /// - /// /// /// Return the object or child focus /// - object IAccessible.accFocus { - get { - - if (IsClientObject) { - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.GetAccFocus: this = " + - this.ToString()); - - AccessibleObject obj = GetFocused(); - if (obj != null) { + object IAccessible.accFocus + { + get + { + if (IsClientObject) + { + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.GetAccFocus: this = " + + ToString()); + + AccessibleObject obj = GetFocused(); + if (obj != null) + { return AsVariant(obj); } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { return systemIAccessible.accFocus; } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } - + return null; } } - /// - /// /// - /// /// Return help for this accessible object. - /// /// - string IAccessible.get_accHelp(object childID) { - - if (IsClientObject) { + string IAccessible.get_accHelp(object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { return Help; } // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { return child.Help; } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accHelp(childID); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } return null; } - /// - /// /// - /// /// Return the object or child help topic - /// /// - int IAccessible.get_accHelpTopic(out string pszHelpFile, object childID) { - - if (IsClientObject) { + int IAccessible.get_accHelpTopic(out string pszHelpFile, object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { return GetHelpTopic(out pszHelpFile); } - + // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { return child.GetHelpTopic(out pszHelpFile); } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accHelpTopic(out pszHelpFile, childID); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } - + pszHelpFile = null; return -1; } - /// - /// /// - /// /// Return the object or child keyboard shortcut - /// /// - string IAccessible.get_accKeyboardShortcut(object childID) { + string IAccessible.get_accKeyboardShortcut(object childID) + { return get_accKeyboardShortcutInternal(childID); } - internal virtual string get_accKeyboardShortcutInternal(object childID) { - - if (IsClientObject) { + internal virtual string get_accKeyboardShortcutInternal(object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { return KeyboardShortcut; - } - + } + // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { return child.KeyboardShortcut; } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accKeyboardShortcut(childID); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } return null; } - /// - /// /// - /// /// Return the object or child name - /// /// - string IAccessible.get_accName(object childID) { + string IAccessible.get_accName(object childID) + { return get_accNameInternal(childID); } - /// - /// - internal virtual string get_accNameInternal(object childID) { - if (IsClientObject) { + internal virtual string get_accNameInternal(object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.get_accName: this = " + this.ToString() + - ", childID = " + childID.ToString()); + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.get_accName: this = " + ToString() + + ", childID = " + childID.ToString()); // Return the name property if available - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { return Name; } // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { return child.Name; } } // Otherwise, use the system provided name - if (systemIAccessible != null) { + if (systemIAccessible != null) + { string retval = systemIAccessible.get_accName(childID); - if (IsClientObject) { - if (retval == null || retval.Length == 0) { - retval = Name; // Name the child after its parent + if (IsClientObject) + { + if (string.IsNullOrEmpty(retval)) + { + // Name the child after its parent + retval = Name; } } @@ -1861,181 +1643,169 @@ internal virtual string get_accNameInternal(object childID) { return null; } - /// - /// /// /// Return the parent object /// - object IAccessible.accParent { - get { - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.accParent: this = " + this.ToString()); + object IAccessible.accParent + { + get + { + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.accParent: this = " + ToString()); AccessibleObject parent = Parent; - if (parent != null) { + if (parent != null) + { // Some debugging related tests - // Debug.Assert(parent != this, "An accessible object is returning itself as its own parent. This can cause accessibility clients to stop responding."); - if (parent == this) { - parent = null; // This should prevent accessibility clients from stop responding - } + if (parent == this) + { + // This should prevent accessibility clients from stop responding + parent = null; + } } - + return AsIAccessible(parent); } } - /// - /// /// - /// /// The role property describes an object's purpose in terms of its /// relationship with sibling or child objects. - /// /// - object IAccessible.get_accRole(object childID) { - - if (IsClientObject) { + object IAccessible.get_accRole(object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); // Return the role property if available - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { return (int)Role; } // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { return (int)child.Role; } } - if (systemIAccessible != null) { - return systemIAccessible.get_accRole(childID); - } - - return null; + return systemIAccessible?.get_accRole(childID); } - /// - /// /// /// Return the object or child selection /// - object IAccessible.accSelection { - get { - - if (IsClientObject) { - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.GetAccSelection: this = " + - this.ToString()); - - AccessibleObject obj = GetSelected(); - if (obj != null) { + object IAccessible.accSelection + { + get + { + if (IsClientObject) + { + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.GetAccSelection: this = " + + ToString()); + + AccessibleObject obj = GetSelected(); + if (obj != null) + { return AsVariant(obj); } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { return systemIAccessible.accSelection; } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } - + return null; } } - /// - /// /// - /// /// Return the object or child state - /// /// - object IAccessible.get_accState(object childID) { - - if (IsClientObject) { + object IAccessible.get_accState(object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); - Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.GetAccState: this = " + - this.ToString() + ", childID = " + childID.ToString()); + Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.GetAccState: this = " + + ToString() + ", childID = " + childID.ToString()); // Return the state property if available - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { return (int)State; } // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { return (int)child.State; } } - if (systemIAccessible != null) { - return systemIAccessible.get_accState(childID); - } - - return null; + return systemIAccessible?.get_accState(childID); } - /// - /// /// - /// /// Return the object or child value - /// /// - string IAccessible.get_accValue(object childID) { - - if (IsClientObject) { + string IAccessible.get_accValue(object childID) + { + if (IsClientObject) + { ValidateChildID(ref childID); // Return the value property if available - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { return Value; } // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { return child.Value; } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { return systemIAccessible.get_accValue(childID); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } return null; } - - /// - /// + /// - /// /// Set the object or child name - /// /// - void IAccessible.set_accName( - object childID, - string newName) { - - if (IsClientObject) { + void IAccessible.set_accName(object childID, string newName) + { + if (IsClientObject) + { ValidateChildID(ref childID); // Set the name property if available - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { // Attempt to set the name property Name = newName; return; @@ -2043,34 +1813,28 @@ void IAccessible.set_accName( // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { child.Name = newName; return; } } - if (systemIAccessible != null) { - systemIAccessible.set_accName(childID, newName); - return; - } + systemIAccessible?.set_accName(childID, newName); } - /// - /// /// - /// /// Set the object or child value - /// /// - void IAccessible.set_accValue( - object childID, - string newValue) { - - if (IsClientObject) { + void IAccessible.set_accValue(object childID, string newValue) + { + if (IsClientObject) + { ValidateChildID(ref childID); // Set the value property if available - if (childID.Equals(NativeMethods.CHILDID_SELF)) { + if (childID.Equals(NativeMethods.CHILDID_SELF)) + { // Attempt to set the value property Value = newValue; return; @@ -2078,52 +1842,53 @@ void IAccessible.set_accValue( // If we have an accessible object collection, get the appropriate child AccessibleObject child = GetAccessibleChild(childID); - if (child != null) { + if (child != null) + { child.Value = newValue; return; } } - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { systemIAccessible.set_accValue(childID, newValue); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } - return; } } - - /// + /// - /// Now that AccessibleObject is used to wrap all system-provided (OLEACC.DLL) accessible - /// objects, it needs to implement IOleWindow and pass this down to the inner object. This is - /// necessary because the OS function WindowFromAccessibleObject() walks up the parent chain - /// looking for the first object that implements IOleWindow, and uses that to get the hwnd. + /// Now that AccessibleObject is used to wrap all system-provided (OLEACC.DLL) accessible + /// objects, it needs to implement IOleWindow and pass this down to the inner object. This is + /// necessary because the OS function WindowFromAccessibleObject() walks up the parent chain + /// looking for the first object that implements IOleWindow, and uses that to get the hwnd. /// - /// But this creates a new problem for AccessibleObjects that do NOT have windows, ie. which - /// represent simple elements. To the OS, these simple elements will now appear to implement - /// IOleWindow, so it will try to get hwnds from them - which they simply cannot provide. + /// But this creates a new problem for AccessibleObjects that do NOT have windows, ie. which + /// represent simple elements. To the OS, these simple elements will now appear to implement + /// IOleWindow, so it will try to get hwnds from them - which they simply cannot provide. /// - /// To work around this problem, the AccessibleObject for a simple element will delegate all - /// IOleWindow calls up the parent chain itself. This will stop at the first window-based - /// accessible object, which will be able to return an hwnd back to the OS. So we are - /// effectively 'preempting' what WindowFromAccessibleObject() would do. + /// To work around this problem, the AccessibleObject for a simple element will delegate all + /// IOleWindow calls up the parent chain itself. This will stop at the first window-based + /// accessible object, which will be able to return an hwnd back to the OS. So we are + /// effectively 'preempting' what WindowFromAccessibleObject() would do. /// - /// - int UnsafeNativeMethods.IOleWindow.GetWindow(out IntPtr hwnd) { + int UnsafeNativeMethods.IOleWindow.GetWindow(out IntPtr hwnd) + { // See if we have an inner object that can provide the window handle - if (systemIOleWindow != null) { + if (systemIOleWindow != null) + { return systemIOleWindow.GetWindow(out hwnd); } // Otherwise delegate to the parent object - AccessibleObject parent = this.Parent; - if (parent is UnsafeNativeMethods.IOleWindow) { - return (parent as UnsafeNativeMethods.IOleWindow).GetWindow(out hwnd); + AccessibleObject parent = Parent; + if (parent is UnsafeNativeMethods.IOleWindow parentWindow) + { + return parentWindow.GetWindow(out hwnd); } // Or fail if there is no parent @@ -2131,77 +1896,65 @@ int UnsafeNativeMethods.IOleWindow.GetWindow(out IntPtr hwnd) { return NativeMethods.E_FAIL; } - /// /// - /// See GetWindow() above for details. + /// See GetWindow() above for details. /// - /// - void UnsafeNativeMethods.IOleWindow.ContextSensitiveHelp(int fEnterMode) { + void UnsafeNativeMethods.IOleWindow.ContextSensitiveHelp(int fEnterMode) + { // See if we have an inner object that can provide help - if (systemIOleWindow != null) { + if (systemIOleWindow != null) + { systemIOleWindow.ContextSensitiveHelp(fEnterMode); return; } // Otherwise delegate to the parent object - AccessibleObject parent = this.Parent; - if (parent is UnsafeNativeMethods.IOleWindow) { - (parent as UnsafeNativeMethods.IOleWindow).ContextSensitiveHelp(fEnterMode); + AccessibleObject parent = Parent; + if (parent is UnsafeNativeMethods.IOleWindow parentWindow) + { + parentWindow.ContextSensitiveHelp(fEnterMode); return; } // Or do nothing if there is no parent } - /// /// - /// - /// Clone this accessible object. - /// + /// Clone this accessible object. /// - void UnsafeNativeMethods.IEnumVariant.Clone(UnsafeNativeMethods.IEnumVariant[] v) { + void UnsafeNativeMethods.IEnumVariant.Clone(UnsafeNativeMethods.IEnumVariant[] v) + { EnumVariant.Clone(v); } - - /// + /// - /// - /// Obtain the next n children of this accessible object. - /// + /// Obtain the next n children of this accessible object. /// - int UnsafeNativeMethods.IEnumVariant.Next(int n, IntPtr rgvar, int[] ns) { + int UnsafeNativeMethods.IEnumVariant.Next(int n, IntPtr rgvar, int[] ns) + { return EnumVariant.Next(n, rgvar, ns); } - - /// + /// - /// Resets the child accessible object enumerator. + /// Resets the child accessible object enumerator. /// - void UnsafeNativeMethods.IEnumVariant.Reset() { - EnumVariant.Reset(); - } - - /// + void UnsafeNativeMethods.IEnumVariant.Reset() => EnumVariant.Reset(); + /// - /// - /// Skip the next n child accessible objects - /// + /// Skip the next n child accessible objects /// - void UnsafeNativeMethods.IEnumVariant.Skip(int n) { - EnumVariant.Skip(n); - } - - /// + void UnsafeNativeMethods.IEnumVariant.Skip(int n) => EnumVariant.Skip(n); + /// - /// When overridden in a derived class, - /// navigates to another object. + /// When overridden in a derived class, navigates to another object. /// - public virtual AccessibleObject Navigate(AccessibleNavigation navdir) { - + public virtual AccessibleObject Navigate(AccessibleNavigation navdir) + { // Some default behavior for objects with AccessibleObject children - // - if (GetChildCount() >= 0) { - switch(navdir) { + if (GetChildCount() >= 0) + { + switch(navdir) + { case AccessibleNavigation.FirstChild: return GetChild(0); case AccessibleNavigation.LastChild: @@ -2209,161 +1962,143 @@ public virtual AccessibleObject Navigate(AccessibleNavigation navdir) { case AccessibleNavigation.Previous: case AccessibleNavigation.Up: case AccessibleNavigation.Left: - if (Parent.GetChildCount() > 0) { + if (Parent.GetChildCount() > 0) + { return null; } break; case AccessibleNavigation.Next: case AccessibleNavigation.Down: case AccessibleNavigation.Right: - if (Parent.GetChildCount() > 0) { + if (Parent.GetChildCount() > 0) + { return null; } break; } } - - if (systemIAccessible != null) { - try { + + if (systemIAccessible != null) + { + try + { object retObject = null; if (!SysNavigate((int)navdir, NativeMethods.CHILDID_SELF, out retObject)) retObject = systemIAccessible.accNavigate((int)navdir, NativeMethods.CHILDID_SELF); return WrapIAccessible(retObject); } - catch (COMException e) { - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { } } + return null; } - - /// + /// - /// - /// Selects this accessible object. - /// + /// Selects this accessible object. /// - public virtual void Select(AccessibleSelection flags) { - + public virtual void Select(AccessibleSelection flags) + { // By default, do the system behavior - // - if (systemIAccessible != null) { - try { + if (systemIAccessible != null) + { + try + { systemIAccessible.accSelect((int)flags, 0); } - catch (COMException e) { - // Not all objects provide the select function - // - if (e.ErrorCode != NativeMethods.DISP_E_MEMBERNOTFOUND) { - throw e; - } + catch (COMException e) when (e.ErrorCode == NativeMethods.DISP_E_MEMBERNOTFOUND) + { + // Not all objects provide the select function. } - return; } } - - private object AsVariant(AccessibleObject obj) { - if (obj == this) { + + private object AsVariant(AccessibleObject obj) + { + if (obj == this) + { return NativeMethods.CHILDID_SELF; } + return AsIAccessible(obj); } - - private IAccessible AsIAccessible(AccessibleObject obj) { - if (obj != null && obj.systemWrapper) { + + private IAccessible AsIAccessible(AccessibleObject obj) + { + if (obj != null && obj.systemWrapper) + { return obj.systemIAccessible; } + return obj; } - /// /// - /// Indicates what kind of 'inner' system accessible object we are using as our fall-back - /// implementation of IAccessible (when the systemIAccessible member is not null). The inner - /// object is provided by OLEACC.DLL. Note that although the term 'id' is used, this value - /// really represents a category or type of accessible object. Ids are only unique among - /// accessible objects associated with the same window handle. Currently supported ids are... + /// Indicates what kind of 'inner' system accessible object we are using as our fall-back + /// implementation of IAccessible (when the systemIAccessible member is not null). The inner + /// object is provided by OLEACC.DLL. Note that although the term 'id' is used, this value + /// really represents a category or type of accessible object. Ids are only unique among + /// accessible objects associated with the same window handle. Currently supported ids are... /// - /// OBJID_CLIENT - represents the window's client area (including any child windows) - /// OBJID_WINDOW - represents the window's non-client area (including caption, frame controls and scrollbars) + /// OBJID_CLIENT - represents the window's client area (including any child windows) + /// OBJID_WINDOW - represents the window's non-client area (including caption, frame controls and scrollbars) /// - /// NOTE: When the id is OBJID_WINDOW, we short-circuit most of the virtual override behavior of - /// AccessibleObject, and turn the object into a simple wrapper around the inner system object. So - /// for a *user-defined* accessible object, that has NO inner object, its important that the id is - /// left as OBJID_CLIENT, otherwise the object will be short-circuited into a total NOP! - /// - /// - internal int AccessibleObjectId { - get { - return accObjId; - } - set { - accObjId = value; - } - } - - /// - /// - /// Indicates whether this accessible object represents the client area of the window. + /// NOTE: When the id is OBJID_WINDOW, we short-circuit most of the virtual override behavior of + /// AccessibleObject, and turn the object into a simple wrapper around the inner system object. So + /// for a *user-defined* accessible object, that has NO inner object, its important that the id is + /// left as OBJID_CLIENT, otherwise the object will be short-circuited into a total NOP! /// - /// - internal bool IsClientObject { - get { - return AccessibleObjectId == NativeMethods.OBJID_CLIENT; - } + internal int AccessibleObjectId + { + get => accObjId; + set => accObjId = value; } - - /// + /// - /// Indicates whether this accessible object represents the non-client area of the window. + /// Indicates whether this accessible object represents the client area of + /// the window. /// - /// - internal bool IsNonClientObject { - get { - return AccessibleObjectId == NativeMethods.OBJID_WINDOW; - } - } + internal bool IsClientObject => AccessibleObjectId == NativeMethods.OBJID_CLIENT; /// + /// Indicates whether this accessible object represents the non-client + /// area of the window. /// - /// - internal IAccessible GetSystemIAccessibleInternal() { - return this.systemIAccessible; - } + internal bool IsNonClientObject => AccessibleObjectId == NativeMethods.OBJID_WINDOW; + + internal IAccessible GetSystemIAccessibleInternal() => systemIAccessible; - /// - /// - protected void UseStdAccessibleObjects(IntPtr handle) { + protected void UseStdAccessibleObjects(IntPtr handle) + { UseStdAccessibleObjects(handle, AccessibleObjectId); } - - /// - /// - protected void UseStdAccessibleObjects(IntPtr handle, int objid) { + + protected void UseStdAccessibleObjects(IntPtr handle, int objid) + { // Get a standard accessible Object Guid IID_IAccessible = new Guid(NativeMethods.uuid_IAccessible); object acc = null; int result = UnsafeNativeMethods.CreateStdAccessibleObject( - new HandleRef(this, handle), - objid, - ref IID_IAccessible, - ref acc); + new HandleRef(this, handle), + objid, + ref IID_IAccessible, + ref acc); // Get the IEnumVariant interface Guid IID_IEnumVariant = new Guid(NativeMethods.uuid_IEnumVariant); object en = null; result = UnsafeNativeMethods.CreateStdAccessibleObject( - new HandleRef(this, handle), - objid, - ref IID_IEnumVariant, - ref en); + new HandleRef(this, handle), + objid, + ref IID_IEnumVariant, + ref en); Debug.Assert(acc != null, "SystemIAccessible is null"); Debug.Assert(en != null, "SystemIEnumVariant is null"); - if (acc != null || en != null) { + if (acc != null || en != null) + { systemIAccessible = (IAccessible)acc; systemIEnumVariant = (UnsafeNativeMethods.IEnumVariant)en; systemIOleWindow = acc as UnsafeNativeMethods.IOleWindow; @@ -2371,23 +2106,29 @@ protected void UseStdAccessibleObjects(IntPtr handle, int objid) { } /// - /// Performs custom navigation between parent/child/sibling accessible objects. This is basically - /// just a wrapper for GetSysChild(), that does some of the dirty work, such as wrapping the - /// returned object in a VARIANT. Usage is similar to GetSysChild(). Called prior to calling - /// IAccessible.accNavigate on the 'inner' system accessible object. + /// Performs custom navigation between parent/child/sibling accessible + /// objects. This is basically just a wrapper for GetSysChild(), that + /// does some of the dirty work, such as wrapping the returned object + /// in a VARIANT. Usage is similar to GetSysChild(). Called prior to + /// calling IAccessible.accNavigate on the 'inner' system accessible + /// object. /// - /// - private bool SysNavigate(int navDir, object childID, out object retObject) { + private bool SysNavigate(int navDir, object childID, out object retObject) + { retObject = null; // Only override system navigation relative to ourselves (since we can't interpret OLEACC child ids) if (!childID.Equals(NativeMethods.CHILDID_SELF)) + { return false; + } // Perform any supported navigation operation (fall back on system for unsupported navigation ops) AccessibleObject newObject; if (!GetSysChild((AccessibleNavigation) navDir, out newObject)) + { return false; + } // If object found, wrap in a VARIANT. Otherwise return null for 'end of list' (OLEACC expects this) retObject = (newObject == null) ? null : AsVariant(newObject); @@ -2396,154 +2137,145 @@ private bool SysNavigate(int navDir, object childID, out object retObject) { return true; } - /// /// - /// Make sure that the childID is valid. + /// Make sure that the childID is valid. /// - internal void ValidateChildID(ref object childID) { + internal void ValidateChildID(ref object childID) + { // An empty childID is considered to be the same as CHILDID_SELF. // Some accessibility programs pass null into our functions, so we // need to convert them here. - if (childID == null) { + if (childID == null) + { childID = NativeMethods.CHILDID_SELF; } - else if (childID.Equals(NativeMethods.DISP_E_PARAMNOTFOUND)) { + else if (childID.Equals(NativeMethods.DISP_E_PARAMNOTFOUND)) + { childID = 0; } - else if (!(childID is int)) { + else if (!(childID is int)) + { // AccExplorer seems to occasionally pass in objects instead of an int ChildID. - // childID = 0; } } - private AccessibleObject WrapIAccessible(object iacc) { - IAccessible accessible = iacc as IAccessible; - if (accessible == null) { + private AccessibleObject WrapIAccessible(object iacc) + { + if (!(iacc is IAccessible accessible)) + { return null; } - + // Check to see if this object already wraps iacc - // - if (this.systemIAccessible == iacc) { + if (systemIAccessible == iacc) + { return this; } - + return new AccessibleObject(accessible); - } + } - /// - /// /// - /// Return the requested method if it is implemented by the Reflection object. The + /// Return the requested method if it is implemented by the Reflection object. The /// match is based upon the name and DescriptorInfo which describes the signature - /// of the method. + /// of the method. /// - MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) { + MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) + { return typeof(IAccessible).GetMethod(name, bindingAttr, binder, types, modifiers); } - - /// - /// + /// - /// Return the requested method if it is implemented by the Reflection object. The - /// match is based upon the name of the method. If the object implementes multiple methods + /// Return the requested method if it is implemented by the Reflection object. The + /// match is based upon the name of the method. If the object implementes multiple methods /// with the same name an AmbiguousMatchException is thrown. /// - MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr) { + MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr) + { return typeof(IAccessible).GetMethod(name, bindingAttr); } - - /// - /// - MethodInfo[] IReflect.GetMethods(BindingFlags bindingAttr) { + + MethodInfo[] IReflect.GetMethods(BindingFlags bindingAttr) + { return typeof(IAccessible).GetMethods(bindingAttr); } - - /// - /// + /// - /// Return the requestion field if it is implemented by the Reflection object. The - /// match is based upon a name. There cannot be more than a single field with - /// a name. + /// Return the requestion field if it is implemented by the Reflection + /// object. The match is based upon a name. There cannot be more than + /// a single field with a name. /// - FieldInfo IReflect.GetField(string name, BindingFlags bindingAttr) { + FieldInfo IReflect.GetField(string name, BindingFlags bindingAttr) + { return typeof(IAccessible).GetField(name, bindingAttr); } - - /// - /// - FieldInfo[] IReflect.GetFields(BindingFlags bindingAttr) { + + FieldInfo[] IReflect.GetFields(BindingFlags bindingAttr) + { return typeof(IAccessible).GetFields(bindingAttr); } - - /// - /// + /// - /// Return the property based upon name. If more than one property has the given - /// name an AmbiguousMatchException will be thrown. Returns null if no property - /// is found. + /// Return the property based upon name. If more than one property has + /// the given name an AmbiguousMatchException will be thrown. Returns + /// null if no property is found. /// - PropertyInfo IReflect.GetProperty(string name, BindingFlags bindingAttr) { + PropertyInfo IReflect.GetProperty(string name, BindingFlags bindingAttr) + { return typeof(IAccessible).GetProperty(name, bindingAttr); } - - /// - /// + /// - /// Return the property based upon the name and Descriptor info describing the property - /// indexing. Return null if no property is found. + /// Return the property based upon the name and Descriptor info describing + /// the property indexing. Return null if no property is found. /// - PropertyInfo IReflect.GetProperty(string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) { + PropertyInfo IReflect.GetProperty(string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) + { return typeof(IAccessible).GetProperty(name, bindingAttr, binder, returnType, types, modifiers); } - - /// - /// + /// - /// Returns an array of PropertyInfos for all the properties defined on + /// Returns an array of PropertyInfos for all the properties defined on /// the Reflection object. /// - PropertyInfo[] IReflect.GetProperties(BindingFlags bindingAttr) { + PropertyInfo[] IReflect.GetProperties(BindingFlags bindingAttr) + { return typeof(IAccessible).GetProperties(bindingAttr); } - - /// - /// + /// /// Return an array of members which match the passed in name. /// - MemberInfo[] IReflect.GetMember(string name, BindingFlags bindingAttr) { + MemberInfo[] IReflect.GetMember(string name, BindingFlags bindingAttr) + { return typeof(IAccessible).GetMember(name, bindingAttr); } - - /// - /// + /// /// Return an array of all of the members defined for this object. /// - MemberInfo[] IReflect.GetMembers(BindingFlags bindingAttr) { + MemberInfo[] IReflect.GetMembers(BindingFlags bindingAttr) + { return typeof(IAccessible).GetMembers(bindingAttr); } - - /// - /// + /// /// Description of the Binding Process. /// We must invoke a method that is accessable and for which the provided - /// parameters have the most specific match. A method may be called if - /// 1. The number of parameters in the method declaration equals the number of + /// parameters have the most specific match. A method may be called if + /// 1. The number of parameters in the method declaration equals the number of /// arguments provided to the invocation /// 2. The type of each argument can be converted by the binder to the /// type of the type of the parameter. /// - /// The binder will find all of the matching methods. These method are found based - /// upon the type of binding requested (MethodInvoke, Get/Set Properties). The set + /// The binder will find all of the matching methods. These method are found based + /// upon the type of binding requested (MethodInvoke, Get/Set Properties). The set /// of methods is filtered by the name, number of arguments and a set of search modifiers /// defined in the Binder. /// - /// After the method is selected, it will be invoked. Accessability is checked - /// at that point. The search may be control which set of methods are searched based + /// After the method is selected, it will be invoked. Accessability is checked + /// at that point. The search may be control which set of methods are searched based /// upon the accessibility attribute associated with the method. /// /// The BindToMethod method is responsible for selecting the method to be invoked. @@ -2551,7 +2283,7 @@ MemberInfo[] IReflect.GetMembers(BindingFlags bindingAttr) { /// /// This will invoke a specific member... /// @exception If invokeAttr is CreateInstance then all other - /// Access types must be undefined. If not we throw an ArgumentException. + /// Access types must be undefined. If not we throw an ArgumentException. /// @exception If the invokeAttr is not CreateInstance then an /// ArgumentException when name is null. /// @exception ArgumentException when invokeAttr does not specify the type @@ -2560,117 +2292,82 @@ MemberInfo[] IReflect.GetMembers(BindingFlags bindingAttr) { /// @exception ArgumentException when invokeAttr specifies property set and /// invoke method. /// - object IReflect.InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParameters) { - - if (args.Length == 0) { + object IReflect.InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParameters) + { + if (args.Length == 0) + { MemberInfo[] member = typeof(IAccessible).GetMember(name); - if (member != null && member.Length > 0 && member[0] is PropertyInfo) { + if (member != null && member.Length > 0 && member[0] is PropertyInfo) + { MethodInfo getMethod = ((PropertyInfo)member[0]).GetGetMethod(); - if (getMethod != null && getMethod.GetParameters().Length > 0) { + if (getMethod != null && getMethod.GetParameters().Length > 0) + { args = new object[getMethod.GetParameters().Length]; - for (int i = 0; i < args.Length; i++) { - args[i] = NativeMethods.CHILDID_SELF; + for (int i = 0; i < args.Length; i++) + { + args[i] = NativeMethods.CHILDID_SELF; } } } } return typeof(IAccessible).InvokeMember(name, invokeAttr, binder, target, args, modifiers, culture, namedParameters); } - - /// - /// + /// - /// Return the underlying Type that represents the IReflect Object. For expando object, - /// this is the (Object) IReflectInstance.GetType(). For Type object it is this. + /// Return the underlying Type that represents the IReflect Object. For + /// expando object, this is the (Object) IReflectInstance.GetType(). + /// For Type object it is this. /// - Type IReflect.UnderlyingSystemType { - get { - return typeof(IAccessible); - } - } + Type IReflect.UnderlyingSystemType => typeof(IAccessible); - UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IRawElementProviderHwndOverride.GetOverrideProviderForHwnd(IntPtr hwnd) { + UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IRawElementProviderHwndOverride.GetOverrideProviderForHwnd(IntPtr hwnd) + { return GetOverrideProviderForHwnd(hwnd); } - bool UnsafeNativeMethods.IRangeValueProvider.IsReadOnly { - get { - return IsReadOnly; - } - } + bool UnsafeNativeMethods.IRangeValueProvider.IsReadOnly => IsReadOnly; - double UnsafeNativeMethods.IRangeValueProvider.LargeChange { - get { - return LargeChange; - } - } + double UnsafeNativeMethods.IRangeValueProvider.LargeChange => LargeChange; - double UnsafeNativeMethods.IRangeValueProvider.Maximum { - get { - return Maximum; - } - } + double UnsafeNativeMethods.IRangeValueProvider.Maximum => Maximum; - double UnsafeNativeMethods.IRangeValueProvider.Minimum { - get { - return Minimum; - } - } + double UnsafeNativeMethods.IRangeValueProvider.Minimum => Minimum; - double UnsafeNativeMethods.IRangeValueProvider.SmallChange { - get { - return SmallChange; - } - } + double UnsafeNativeMethods.IRangeValueProvider.SmallChange => SmallChange; - double UnsafeNativeMethods.IRangeValueProvider.Value { - get { - return RangeValue; - } - } + double UnsafeNativeMethods.IRangeValueProvider.Value => RangeValue; - void UnsafeNativeMethods.IRangeValueProvider.SetValue(double value) { + void UnsafeNativeMethods.IRangeValueProvider.SetValue(double value) + { SetValue(value); } - object[] UnsafeNativeMethods.ISelectionProvider.GetSelection() { + object[] UnsafeNativeMethods.ISelectionProvider.GetSelection() + { return GetSelection(); } - bool UnsafeNativeMethods.ISelectionProvider.CanSelectMultiple { - get { - return CanSelectMultiple; - } - } + bool UnsafeNativeMethods.ISelectionProvider.CanSelectMultiple => CanSelectMultiple; - bool UnsafeNativeMethods.ISelectionProvider.IsSelectionRequired { - get { - return IsSelectionRequired; - } - } + bool UnsafeNativeMethods.ISelectionProvider.IsSelectionRequired => IsSelectionRequired; - void UnsafeNativeMethods.ISelectionItemProvider.Select() { - SelectItem(); - } + void UnsafeNativeMethods.ISelectionItemProvider.Select() => SelectItem(); - void UnsafeNativeMethods.ISelectionItemProvider.AddToSelection() { + void UnsafeNativeMethods.ISelectionItemProvider.AddToSelection() + { AddToSelection(); } - void UnsafeNativeMethods.ISelectionItemProvider.RemoveFromSelection() { + void UnsafeNativeMethods.ISelectionItemProvider.RemoveFromSelection() + { RemoveFromSelection(); } - bool UnsafeNativeMethods.ISelectionItemProvider.IsSelected { - get { - return IsItemSelected; - } - } + bool UnsafeNativeMethods.ISelectionItemProvider.IsSelected => IsItemSelected; - UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.ISelectionItemProvider.SelectionContainer { - get { - return ItemSelectionContainer; - } + UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.ISelectionItemProvider.SelectionContainer + { + get => ItemSelectionContainer; } /// @@ -2685,17 +2382,17 @@ UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.ISelectionItem /// False if the underlying windows infrastructure is not available or the operation had failed. /// Use Marshal.GetLastWin32Error for details. /// - public bool RaiseAutomationNotification( - AutomationNotificationKind notificationKind, - AutomationNotificationProcessing notificationProcessing, - string notificationText) { + public bool RaiseAutomationNotification(AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, string notificationText) + { - if (!AccessibilityImprovements.Level3 || !notificationEventAvailable) { + if (!AccessibilityImprovements.Level3 || !notificationEventAvailable) + { return false; } int result = NativeMethods.S_FALSE; - try { + try + { // The activityId can be any string. It cannot be null. It is not used currently. result = UnsafeNativeMethods.UiaRaiseNotificationEvent( this, @@ -2704,7 +2401,8 @@ public bool RaiseAutomationNotification( notificationText, string.Empty); } - catch (EntryPointNotFoundException) { + catch (EntryPointNotFoundException) + { // The UIA Notification event is not available, so don't attempt to raise it again. notificationEventAvailable = false; } @@ -2717,12 +2415,15 @@ public bool RaiseAutomationNotification( /// This method must be overridden in derived classes that support the UIA live region feature. /// /// True if operation succeeds, False otherwise. - public virtual bool RaiseLiveRegionChanged() { + public virtual bool RaiseLiveRegionChanged() + { throw new NotSupportedException(SR.AccessibleObjectLiveRegionNotSupported); } - internal bool RaiseAutomationEvent(int eventId) { - if (UnsafeNativeMethods.UiaClientsAreListening()) { + internal bool RaiseAutomationEvent(int eventId) + { + if (UnsafeNativeMethods.UiaClientsAreListening()) + { int result = UnsafeNativeMethods.UiaRaiseAutomationEvent(this, eventId); return result == NativeMethods.S_OK; } @@ -2730,8 +2431,10 @@ internal bool RaiseAutomationEvent(int eventId) { return false; } - internal bool RaiseAutomationPropertyChangedEvent(int propertyId, object oldValue, object newValue) { - if (UnsafeNativeMethods.UiaClientsAreListening()) { + internal bool RaiseAutomationPropertyChangedEvent(int propertyId, object oldValue, object newValue) + { + if (UnsafeNativeMethods.UiaClientsAreListening()) + { int result = UnsafeNativeMethods.UiaRaiseAutomationPropertyChangedEvent(this, propertyId, oldValue, newValue); return result == NativeMethods.S_OK; } @@ -2739,8 +2442,10 @@ internal bool RaiseAutomationPropertyChangedEvent(int propertyId, object oldValu return false; } - internal bool RaiseStructureChangedEvent(UnsafeNativeMethods.StructureChangeType structureChangeType, int[] runtimeId) { - if (UnsafeNativeMethods.UiaClientsAreListening()) { + internal bool RaiseStructureChangedEvent(UnsafeNativeMethods.StructureChangeType structureChangeType, int[] runtimeId) + { + if (UnsafeNativeMethods.UiaClientsAreListening()) + { int result = UnsafeNativeMethods.UiaRaiseStructureChangedEvent(this, structureChangeType, runtimeId, runtimeId == null ? 0 : runtimeId.Length); return result == NativeMethods.S_OK; } @@ -2748,87 +2453,93 @@ internal bool RaiseStructureChangedEvent(UnsafeNativeMethods.StructureChangeType return false; } - #region IScrollItemProvider implementation - - void UnsafeNativeMethods.IScrollItemProvider.ScrollIntoView() { + void UnsafeNativeMethods.IScrollItemProvider.ScrollIntoView() + { ScrollIntoView(); } - internal virtual void ScrollIntoView() { - Debug.Fail($"{nameof(this.ScrollIntoView)}() is not overriden"); + internal virtual void ScrollIntoView() + { + Debug.Fail($"{nameof(ScrollIntoView)}() is not overriden"); } - #endregion - - private class EnumVariantObject : UnsafeNativeMethods.IEnumVariant { - + private class EnumVariantObject : UnsafeNativeMethods.IEnumVariant + { private int currentChild = 0; private AccessibleObject owner; - - public EnumVariantObject(AccessibleObject owner) { + + public EnumVariantObject(AccessibleObject owner) + { Debug.Assert(owner != null, "Cannot create EnumVariantObject with a null owner"); this.owner = owner; } - - public EnumVariantObject(AccessibleObject owner, int currentChild) { + + public EnumVariantObject(AccessibleObject owner, int currentChild) + { Debug.Assert(owner != null, "Cannot create EnumVariantObject with a null owner"); this.owner = owner; this.currentChild = currentChild; } - void UnsafeNativeMethods.IEnumVariant.Clone(UnsafeNativeMethods.IEnumVariant[] v) { + void UnsafeNativeMethods.IEnumVariant.Clone(UnsafeNativeMethods.IEnumVariant[] v) + { v[0] = new EnumVariantObject(owner, currentChild); } - /// /// - /// Resets the child accessible object enumerator. + /// Resets the child accessible object enumerator. /// - void UnsafeNativeMethods.IEnumVariant.Reset() { + void UnsafeNativeMethods.IEnumVariant.Reset() + { currentChild = 0; - - if (owner.systemIEnumVariant != null) - owner.systemIEnumVariant.Reset(); + owner.systemIEnumVariant?.Reset(); } - - /// + /// - /// Skips the next n child accessible objects. + /// Skips the next n child accessible objects. /// - void UnsafeNativeMethods.IEnumVariant.Skip(int n) { + void UnsafeNativeMethods.IEnumVariant.Skip(int n) + { currentChild += n; + owner.systemIEnumVariant?.Skip(n); + } - if (owner.systemIEnumVariant != null) - owner.systemIEnumVariant.Skip(n); - } - - /// /// - /// Gets the next n child accessible objects. + /// Gets the next n child accessible objects. /// - int UnsafeNativeMethods.IEnumVariant.Next(int n, IntPtr rgvar, int[] ns) { + int UnsafeNativeMethods.IEnumVariant.Next(int n, IntPtr rgvar, int[] ns) + { // NOTE: rgvar is a pointer to an array of variants - - if (owner.IsClientObject) { + if (owner.IsClientObject) + { Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "EnumVariantObject: owner = " + owner.ToString() + ", n = " + n); Debug.Indent(); - + int childCount; int[] newOrder; - + if ((childCount = owner.GetChildCount()) >= 0) + { NextFromChildCollection(n, rgvar, ns, childCount); + } else if (owner.systemIEnumVariant == null) + { NextEmpty(n, rgvar, ns); + } else if ((newOrder = owner.GetSysChildOrder()) != null) + { NextFromSystemReordered(n, rgvar, ns, newOrder); + } else + { NextFromSystem(n, rgvar, ns); + } Debug.Unindent(); } - else { + else + { NextFromSystem(n, rgvar, ns); } @@ -2838,13 +2549,13 @@ int UnsafeNativeMethods.IEnumVariant.Next(int n, IntPtr rgvar, int[] ns) { } /// - /// When we have the IEnumVariant of an accessible proxy provided by the system (ie. - /// OLEACC.DLL), we can fall back on that to return the children. Generally, the system - /// proxy will enumerate the child windows, create a suitable kind of child accessible - /// proxy for each one, and return a set of IDispatch interfaces to these proxy objects. + /// When we have the IEnumVariant of an accessible proxy provided by the system (ie. + /// OLEACC.DLL), we can fall back on that to return the children. Generally, the system + /// proxy will enumerate the child windows, create a suitable kind of child accessible + /// proxy for each one, and return a set of IDispatch interfaces to these proxy objects. /// - private void NextFromSystem(int n, IntPtr rgvar, int[] ns) { - + private void NextFromSystem(int n, IntPtr rgvar, int[] ns) + { owner.systemIEnumVariant.Next(n, rgvar, ns); currentChild += ns[0]; @@ -2852,23 +2563,28 @@ private void NextFromSystem(int n, IntPtr rgvar, int[] ns) { } /// - /// Sometimes we want to rely on the system-provided behavior to create and return child - /// accessible objects, but we want to impose a new order on those objects (or even filter - /// some objects out). + /// Sometimes we want to rely on the system-provided behavior to create + /// and return child accessible objects, but we want to impose a new + /// order on those objects (or even filter some objects out). /// - /// This method takes an array of ints that dictates the new order. It queries the system - /// for each child individually, and inserts the result into the correct *new* position. + /// This method takes an array of ints that dictates the new order. + /// It queries the system for each child individually, and inserts the + /// result into the correct *new* position. /// - /// Note: This code has to make certain *assumptions* about OLEACC.DLL proxy object behavior. - /// However, this behavior is well documented. We *assume* the proxy will return a set of - /// child accessible objects that correspond 1:1 with the owning control's child windows, - /// and that the default order it returns these objects in is z-order (which also happens - /// to be the order that children appear in the Control.Controls[] collection). + /// Note: This code has to make certain *assumptions* about OLEACC.DLL + /// proxy object behavior. However, this behavior is well documented. + /// We *assume* the proxy will return a set of child accessible objects + /// that correspond 1:1 with the owning control's child windows, and + /// that the default order it returns these objects in is z-order + /// (which also happens to be the order that children appear in the + /// Control.Controls[] collection). /// - private void NextFromSystemReordered(int n, IntPtr rgvar, int[] ns, int[] newOrder) { + private void NextFromSystemReordered(int n, IntPtr rgvar, int[] ns, int[] newOrder) + { int i; - for (i = 0; i < n && currentChild < newOrder.Length; ++i) { + for (i = 0; i < n && currentChild < newOrder.Length; ++i) + { if (!GotoItem(owner.systemIEnumVariant, newOrder[currentChild], GetAddressOfVariantAtIndex(rgvar, i))) break; ++currentChild; @@ -2879,13 +2595,16 @@ private void NextFromSystemReordered(int n, IntPtr rgvar, int[] ns, int[] newOrd } /// - /// If we have our own custom accessible child collection, return a set of 1-based integer - /// child ids, that the caller will eventually pass back to us via IAccessible.get_accChild(). + /// If we have our own custom accessible child collection, return a set + /// of 1-based integer child ids, that the caller will eventually pass + /// back to us via IAccessible.get_accChild(). /// - private void NextFromChildCollection(int n, IntPtr rgvar, int[] ns, int childCount) { + private void NextFromChildCollection(int n, IntPtr rgvar, int[] ns, int childCount) + { int i; - for (i = 0; i < n && currentChild < childCount; ++i) { + for (i = 0; i < n && currentChild < childCount; ++i) + { ++currentChild; Marshal.GetNativeVariantForObject(((object) currentChild), GetAddressOfVariantAtIndex(rgvar, i)); Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.IEV.Next: adding own child " + currentChild + " of " + childCount); @@ -2895,44 +2614,48 @@ private void NextFromChildCollection(int n, IntPtr rgvar, int[] ns, int childCou } /// - /// Default behavior if there is no custom child collection or system-provided - /// proxy to fall back on. In this case, we return an empty child collection. + /// Default behavior if there is no custom child collection or + /// system-provided proxy to fall back on. In this case, we return + /// an empty child collection. /// - private void NextEmpty(int n, IntPtr rgvar, int[] ns) { + private void NextEmpty(int n, IntPtr rgvar, int[] ns) + { ns[0] = 0; Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.IEV.Next: no children to add"); } /// - /// Given an IEnumVariant interface, this method jumps to a specific - /// item in the collection and extracts the result for that one item. + /// Given an IEnumVariant interface, this method jumps to a specific + /// item in the collection and extracts the result for that one item. /// - private static bool GotoItem(UnsafeNativeMethods.IEnumVariant iev, int index, IntPtr variantPtr) { + private static bool GotoItem(UnsafeNativeMethods.IEnumVariant iev, int index, IntPtr variantPtr) + { int[] ns = new int[1]; iev.Reset(); iev.Skip(index); iev.Next(1, variantPtr, ns); - return (ns[0] == 1); + return ns[0] == 1; } /// - /// Given an array of pointers to variants, calculate address of a given array element. + /// Given an array of pointers to variants, calculate address of a given array element. /// - private static IntPtr GetAddressOfVariantAtIndex(IntPtr variantArrayPtr, int index) { + private static IntPtr GetAddressOfVariantAtIndex(IntPtr variantArrayPtr, int index) + { int variantSize = 8 + (IntPtr.Size * 2); return (IntPtr) ((ulong) variantArrayPtr + ((ulong) index) * ((ulong) variantSize)); } - + } - } // end class AccessibleObject + } /// - /// Internal object passed out to OLEACC clients via WM_GETOBJECT. + /// Internal object passed out to OLEACC clients via WM_GETOBJECT. /// - internal sealed class InternalAccessibleObject : StandardOleMarshalObject, + internal sealed class InternalAccessibleObject : StandardOleMarshalObject, UnsafeNativeMethods.IAccessibleInternal, System.Reflection.IReflect, UnsafeNativeMethods.IServiceProvider, @@ -2983,10 +2706,11 @@ internal sealed class InternalAccessibleObject : StandardOleMarshalObject, private UnsafeNativeMethods.IRawElementProviderHwndOverride publicIRawElementProviderHwndOverride; // AccessibleObject as IRawElementProviderHwndOverride /// - /// Create a new wrapper. Protect this with UnmanagedCode Permission + /// Create a new wrapper. Protect this with UnmanagedCode Permission /// - internal InternalAccessibleObject(AccessibleObject accessibleImplemention) { - // Get all the casts done here to catch any issues early + internal InternalAccessibleObject(AccessibleObject accessibleImplemention) + { + // Get all the casts done here to catch any issues early publicIAccessible = (IAccessible) accessibleImplemention; publicIEnumVariant = (UnsafeNativeMethods.IEnumVariant) accessibleImplemention; publicIOleWindow = (UnsafeNativeMethods.IOleWindow) accessibleImplemention; @@ -3013,213 +2737,234 @@ internal InternalAccessibleObject(AccessibleObject accessibleImplemention) { } /// - /// If the given object is an AccessibleObject return it as a InternalAccessibleObject - /// This ensures we wrap all AccessibleObjects before handing them out to OLEACC + /// If the given object is an AccessibleObject return it as a InternalAccessibleObject + /// This ensures we wrap all AccessibleObjects before handing them out to OLEACC /// - private object AsNativeAccessible(object accObject) { - if (accObject is AccessibleObject) { + private object AsNativeAccessible(object accObject) + { + if (accObject is AccessibleObject) + { return new InternalAccessibleObject(accObject as AccessibleObject); } - else { + else + { return accObject; } } /// - /// Wraps AccessibleObject elements of a given array into InternalAccessibleObjects + /// Wraps AccessibleObject elements of a given array into InternalAccessibleObjects /// - private object[] AsArrayOfNativeAccessibles(object[] accObjectArray) { - if (accObjectArray != null && accObjectArray.Length > 0) { - for (int i = 0; i < accObjectArray.Length; i++) { + private object[] AsArrayOfNativeAccessibles(object[] accObjectArray) + { + if (accObjectArray != null && accObjectArray.Length > 0) + { + for (int i = 0; i < accObjectArray.Length; i++) + { accObjectArray[i] = AsNativeAccessible(accObjectArray[i]); } } return accObjectArray; } - // - // IAccessibleInternal implementation... - // - - void UnsafeNativeMethods.IAccessibleInternal.accDoDefaultAction(object childID) { + void UnsafeNativeMethods.IAccessibleInternal.accDoDefaultAction(object childID) + { publicIAccessible.accDoDefaultAction(childID); } - - object UnsafeNativeMethods.IAccessibleInternal.accHitTest(int xLeft, int yTop) { + + object UnsafeNativeMethods.IAccessibleInternal.accHitTest(int xLeft, int yTop) + { return AsNativeAccessible(publicIAccessible.accHitTest(xLeft, yTop)); } - void UnsafeNativeMethods.IAccessibleInternal.accLocation(out int l, out int t, out int w, out int h, object childID) { + void UnsafeNativeMethods.IAccessibleInternal.accLocation(out int l, out int t, out int w, out int h, object childID) + { publicIAccessible.accLocation(out l, out t, out w, out h, childID); } - object UnsafeNativeMethods.IAccessibleInternal.accNavigate(int navDir, object childID) { + object UnsafeNativeMethods.IAccessibleInternal.accNavigate(int navDir, object childID) + { return AsNativeAccessible(publicIAccessible.accNavigate(navDir, childID)); } - void UnsafeNativeMethods.IAccessibleInternal.accSelect(int flagsSelect, object childID) { + void UnsafeNativeMethods.IAccessibleInternal.accSelect(int flagsSelect, object childID) + { publicIAccessible.accSelect(flagsSelect, childID); } - object UnsafeNativeMethods.IAccessibleInternal.get_accChild(object childID) { + object UnsafeNativeMethods.IAccessibleInternal.get_accChild(object childID) + { return AsNativeAccessible(publicIAccessible.get_accChild(childID)); } - int UnsafeNativeMethods.IAccessibleInternal.get_accChildCount() { + int UnsafeNativeMethods.IAccessibleInternal.get_accChildCount() + { return publicIAccessible.accChildCount; } - string UnsafeNativeMethods.IAccessibleInternal.get_accDefaultAction(object childID) { + string UnsafeNativeMethods.IAccessibleInternal.get_accDefaultAction(object childID) + { return publicIAccessible.get_accDefaultAction(childID); } - string UnsafeNativeMethods.IAccessibleInternal.get_accDescription(object childID) { + string UnsafeNativeMethods.IAccessibleInternal.get_accDescription(object childID) + { return publicIAccessible.get_accDescription(childID); } - object UnsafeNativeMethods.IAccessibleInternal.get_accFocus() { + object UnsafeNativeMethods.IAccessibleInternal.get_accFocus() + { return AsNativeAccessible(publicIAccessible.accFocus); } - string UnsafeNativeMethods.IAccessibleInternal.get_accHelp(object childID) { + string UnsafeNativeMethods.IAccessibleInternal.get_accHelp(object childID) + { return publicIAccessible.get_accHelp(childID); } - int UnsafeNativeMethods.IAccessibleInternal.get_accHelpTopic(out string pszHelpFile, object childID) { + int UnsafeNativeMethods.IAccessibleInternal.get_accHelpTopic(out string pszHelpFile, object childID) + { return publicIAccessible.get_accHelpTopic(out pszHelpFile, childID); } - string UnsafeNativeMethods.IAccessibleInternal.get_accKeyboardShortcut(object childID) { + string UnsafeNativeMethods.IAccessibleInternal.get_accKeyboardShortcut(object childID) + { return publicIAccessible.get_accKeyboardShortcut(childID); } - string UnsafeNativeMethods.IAccessibleInternal.get_accName(object childID) { + string UnsafeNativeMethods.IAccessibleInternal.get_accName(object childID) + { return publicIAccessible.get_accName(childID); } - object UnsafeNativeMethods.IAccessibleInternal.get_accParent() { + object UnsafeNativeMethods.IAccessibleInternal.get_accParent() + { return AsNativeAccessible(publicIAccessible.accParent); } - object UnsafeNativeMethods.IAccessibleInternal.get_accRole(object childID) { + object UnsafeNativeMethods.IAccessibleInternal.get_accRole(object childID) + { return publicIAccessible.get_accRole(childID); } - object UnsafeNativeMethods.IAccessibleInternal.get_accSelection() { + object UnsafeNativeMethods.IAccessibleInternal.get_accSelection() + { return AsNativeAccessible(publicIAccessible.accSelection); } - object UnsafeNativeMethods.IAccessibleInternal.get_accState(object childID) { + object UnsafeNativeMethods.IAccessibleInternal.get_accState(object childID) + { return publicIAccessible.get_accState(childID); } - string UnsafeNativeMethods.IAccessibleInternal.get_accValue(object childID) { + string UnsafeNativeMethods.IAccessibleInternal.get_accValue(object childID) + { return publicIAccessible.get_accValue(childID); } - void UnsafeNativeMethods.IAccessibleInternal.set_accName(object childID, string newName) { + void UnsafeNativeMethods.IAccessibleInternal.set_accName(object childID, string newName) + { publicIAccessible.set_accName(childID, newName); } - void UnsafeNativeMethods.IAccessibleInternal.set_accValue(object childID, string newValue) { + void UnsafeNativeMethods.IAccessibleInternal.set_accValue(object childID, string newValue) + { publicIAccessible.set_accValue(childID, newValue); } - // - // IEnumVariant implementation... - // - - void UnsafeNativeMethods.IEnumVariant.Clone(UnsafeNativeMethods.IEnumVariant[] v) { + void UnsafeNativeMethods.IEnumVariant.Clone(UnsafeNativeMethods.IEnumVariant[] v) + { publicIEnumVariant.Clone(v); } - int UnsafeNativeMethods.IEnumVariant.Next(int n, IntPtr rgvar, int[] ns) { + int UnsafeNativeMethods.IEnumVariant.Next(int n, IntPtr rgvar, int[] ns) + { return publicIEnumVariant.Next(n, rgvar, ns); } - void UnsafeNativeMethods.IEnumVariant.Reset() { + void UnsafeNativeMethods.IEnumVariant.Reset() + { publicIEnumVariant.Reset(); } - void UnsafeNativeMethods.IEnumVariant.Skip(int n) { + void UnsafeNativeMethods.IEnumVariant.Skip(int n) + { publicIEnumVariant.Skip(n); } - // - // IOleWindow implementation... - // - - int UnsafeNativeMethods.IOleWindow.GetWindow(out IntPtr hwnd) { + int UnsafeNativeMethods.IOleWindow.GetWindow(out IntPtr hwnd) + { return publicIOleWindow.GetWindow(out hwnd); } - void UnsafeNativeMethods.IOleWindow.ContextSensitiveHelp(int fEnterMode) { + void UnsafeNativeMethods.IOleWindow.ContextSensitiveHelp(int fEnterMode) + { publicIOleWindow.ContextSensitiveHelp(fEnterMode); } - // - // IReflect implementation... - // - - MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) { + MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) + { return publicIReflect.GetMethod(name, bindingAttr, binder, types, modifiers); } - MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr) { + MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr) + { return publicIReflect.GetMethod(name, bindingAttr); } - MethodInfo[] IReflect.GetMethods(BindingFlags bindingAttr) { + MethodInfo[] IReflect.GetMethods(BindingFlags bindingAttr) + { return publicIReflect.GetMethods(bindingAttr); } - FieldInfo IReflect.GetField(string name, BindingFlags bindingAttr) { + FieldInfo IReflect.GetField(string name, BindingFlags bindingAttr) + { return publicIReflect.GetField(name, bindingAttr); } - FieldInfo[] IReflect.GetFields(BindingFlags bindingAttr) { + FieldInfo[] IReflect.GetFields(BindingFlags bindingAttr) + { return publicIReflect.GetFields(bindingAttr); } - PropertyInfo IReflect.GetProperty(string name, BindingFlags bindingAttr) { + PropertyInfo IReflect.GetProperty(string name, BindingFlags bindingAttr) + { return publicIReflect.GetProperty(name, bindingAttr); } - PropertyInfo IReflect.GetProperty(string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) { + PropertyInfo IReflect.GetProperty(string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) + { return publicIReflect.GetProperty(name, bindingAttr, binder, returnType, types, modifiers); } - PropertyInfo[] IReflect.GetProperties(BindingFlags bindingAttr) { + PropertyInfo[] IReflect.GetProperties(BindingFlags bindingAttr) + { return publicIReflect.GetProperties(bindingAttr); } - MemberInfo[] IReflect.GetMember(string name, BindingFlags bindingAttr) { + MemberInfo[] IReflect.GetMember(string name, BindingFlags bindingAttr) + { return publicIReflect.GetMember(name, bindingAttr); } - MemberInfo[] IReflect.GetMembers(BindingFlags bindingAttr) { + MemberInfo[] IReflect.GetMembers(BindingFlags bindingAttr) + { return publicIReflect.GetMembers(bindingAttr); } - object IReflect.InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParameters) { + object IReflect.InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParameters) + { return publicIReflect.InvokeMember(name, invokeAttr, binder, publicIAccessible, args, modifiers, culture, namedParameters); } - Type IReflect.UnderlyingSystemType { - get { - IReflect r = publicIReflect; - return publicIReflect.UnderlyingSystemType; - } - } - - // - // IServiceProvider implementation - // + Type IReflect.UnderlyingSystemType => publicIReflect.UnderlyingSystemType; - int UnsafeNativeMethods.IServiceProvider.QueryService(ref Guid service, ref Guid riid, out IntPtr ppvObject) { + int UnsafeNativeMethods.IServiceProvider.QueryService(ref Guid service, ref Guid riid, out IntPtr ppvObject) + { ppvObject = IntPtr.Zero; int hr = publicIServiceProvider.QueryService(ref service, ref riid, out ppvObject); - if (hr >= NativeMethods.S_OK) { + if (hr >= NativeMethods.S_OK) + { // we always want to return the internal accessible object ppvObject = Marshal.GetComInterfaceForObject(this, typeof(UnsafeNativeMethods.IAccessibleEx)); } @@ -3227,129 +2972,140 @@ int UnsafeNativeMethods.IServiceProvider.QueryService(ref Guid service, ref Guid return hr; } - // - // IAccessibleEx implementation - // - - object UnsafeNativeMethods.IAccessibleEx.GetObjectForChild(int idChild) { + object UnsafeNativeMethods.IAccessibleEx.GetObjectForChild(int idChild) + { return publicIAccessibleEx.GetObjectForChild(idChild); } - int UnsafeNativeMethods.IAccessibleEx.GetIAccessiblePair(out object ppAcc, out int pidChild) { + int UnsafeNativeMethods.IAccessibleEx.GetIAccessiblePair(out object ppAcc, out int pidChild) + { // We always want to return the internal accessible object ppAcc = this; pidChild = NativeMethods.CHILDID_SELF; return NativeMethods.S_OK; } - int[] UnsafeNativeMethods.IAccessibleEx.GetRuntimeId() { + int[] UnsafeNativeMethods.IAccessibleEx.GetRuntimeId() + { return publicIAccessibleEx.GetRuntimeId(); } - int UnsafeNativeMethods.IAccessibleEx.ConvertReturnedElement(object pIn, out object ppRetValOut) { + int UnsafeNativeMethods.IAccessibleEx.ConvertReturnedElement(object pIn, out object ppRetValOut) + { return publicIAccessibleEx.ConvertReturnedElement(pIn, out ppRetValOut); } - // - // IRawElementProviderSimple implementation - // - - UnsafeNativeMethods.ProviderOptions UnsafeNativeMethods.IRawElementProviderSimple.ProviderOptions { - get { - return publicIRawElementProviderSimple.ProviderOptions; - } + UnsafeNativeMethods.ProviderOptions UnsafeNativeMethods.IRawElementProviderSimple.ProviderOptions + { + get => publicIRawElementProviderSimple.ProviderOptions; } - UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IRawElementProviderSimple.HostRawElementProvider { - get { - return publicIRawElementProviderSimple.HostRawElementProvider; - } + UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IRawElementProviderSimple.HostRawElementProvider + { + get => publicIRawElementProviderSimple.HostRawElementProvider; } - object UnsafeNativeMethods.IRawElementProviderSimple.GetPatternProvider(int patternId) { + object UnsafeNativeMethods.IRawElementProviderSimple.GetPatternProvider(int patternId) + { object obj = publicIRawElementProviderSimple.GetPatternProvider(patternId); - if (obj != null) { - + if (obj != null) + { // we always want to return the internal accessible object - - if (patternId == NativeMethods.UIA_ExpandCollapsePatternId) { + if (patternId == NativeMethods.UIA_ExpandCollapsePatternId) + { return (UnsafeNativeMethods.IExpandCollapseProvider)this; } - else if (patternId == NativeMethods.UIA_ValuePatternId) { + else if (patternId == NativeMethods.UIA_ValuePatternId) + { return (UnsafeNativeMethods.IValueProvider)this; } - else if (AccessibilityImprovements.Level3 && patternId == NativeMethods.UIA_RangeValuePatternId) { + else if (AccessibilityImprovements.Level3 && patternId == NativeMethods.UIA_RangeValuePatternId) + { return (UnsafeNativeMethods.IRangeValueProvider)this; } - else if (patternId == NativeMethods.UIA_TogglePatternId) { + else if (patternId == NativeMethods.UIA_TogglePatternId) + { return (UnsafeNativeMethods.IToggleProvider)this; } - else if (patternId == NativeMethods.UIA_TablePatternId) { + else if (patternId == NativeMethods.UIA_TablePatternId) + { return (UnsafeNativeMethods.ITableProvider)this; } - else if (patternId == NativeMethods.UIA_TableItemPatternId) { + else if (patternId == NativeMethods.UIA_TableItemPatternId) + { return (UnsafeNativeMethods.ITableItemProvider)this; } - else if (patternId == NativeMethods.UIA_GridPatternId) { + else if (patternId == NativeMethods.UIA_GridPatternId) + { return (UnsafeNativeMethods.IGridProvider)this; } - else if (patternId == NativeMethods.UIA_GridItemPatternId) { + else if (patternId == NativeMethods.UIA_GridItemPatternId) + { return (UnsafeNativeMethods.IGridItemProvider)this; } - else if (AccessibilityImprovements.Level3 && patternId == NativeMethods.UIA_InvokePatternId) { + else if (AccessibilityImprovements.Level3 && patternId == NativeMethods.UIA_InvokePatternId) + { return (UnsafeNativeMethods.IInvokeProvider)this; } - else if (AccessibilityImprovements.Level3 && patternId == NativeMethods.UIA_LegacyIAccessiblePatternId) { + else if (AccessibilityImprovements.Level3 && patternId == NativeMethods.UIA_LegacyIAccessiblePatternId) + { return (UnsafeNativeMethods.ILegacyIAccessibleProvider)this; } - else if (AccessibilityImprovements.Level3 && patternId == NativeMethods.UIA_SelectionPatternId) { + else if (AccessibilityImprovements.Level3 && patternId == NativeMethods.UIA_SelectionPatternId) + { return (UnsafeNativeMethods.ISelectionProvider)this; } - else if (AccessibilityImprovements.Level3 && patternId == NativeMethods.UIA_SelectionItemPatternId) { + else if (AccessibilityImprovements.Level3 && patternId == NativeMethods.UIA_SelectionItemPatternId) + { return (UnsafeNativeMethods.ISelectionItemProvider)this; } - else { + else + { return null; } } - else { + else + { return null; } } - object UnsafeNativeMethods.IRawElementProviderSimple.GetPropertyValue(int propertyID) { + object UnsafeNativeMethods.IRawElementProviderSimple.GetPropertyValue(int propertyID) + { return publicIRawElementProviderSimple.GetPropertyValue(propertyID); } - // - // IRawElementProviderFragment implementation - // - - object UnsafeNativeMethods.IRawElementProviderFragment.Navigate(UnsafeNativeMethods.NavigateDirection direction) { + object UnsafeNativeMethods.IRawElementProviderFragment.Navigate(UnsafeNativeMethods.NavigateDirection direction) + { return AsNativeAccessible(publicIRawElementProviderFragment.Navigate(direction)); } - int[] UnsafeNativeMethods.IRawElementProviderFragment.GetRuntimeId() { + int[] UnsafeNativeMethods.IRawElementProviderFragment.GetRuntimeId() + { return publicIRawElementProviderFragment.GetRuntimeId(); } - object[] UnsafeNativeMethods.IRawElementProviderFragment.GetEmbeddedFragmentRoots() { + object[] UnsafeNativeMethods.IRawElementProviderFragment.GetEmbeddedFragmentRoots() + { return AsArrayOfNativeAccessibles(publicIRawElementProviderFragment.GetEmbeddedFragmentRoots()); } - void UnsafeNativeMethods.IRawElementProviderFragment.SetFocus() { + void UnsafeNativeMethods.IRawElementProviderFragment.SetFocus() + { publicIRawElementProviderFragment.SetFocus(); } - NativeMethods.UiaRect UnsafeNativeMethods.IRawElementProviderFragment.BoundingRectangle { - get { - return publicIRawElementProviderFragment.BoundingRectangle; - } + NativeMethods.UiaRect UnsafeNativeMethods.IRawElementProviderFragment.BoundingRectangle + { + get => publicIRawElementProviderFragment.BoundingRectangle; } - UnsafeNativeMethods.IRawElementProviderFragmentRoot UnsafeNativeMethods.IRawElementProviderFragment.FragmentRoot { - get { - if (AccessibilityImprovements.Level3) { + UnsafeNativeMethods.IRawElementProviderFragmentRoot UnsafeNativeMethods.IRawElementProviderFragment.FragmentRoot + { + get + { + if (AccessibilityImprovements.Level3) + { return publicIRawElementProviderFragment.FragmentRoot; } @@ -3357,282 +3113,191 @@ UnsafeNativeMethods.IRawElementProviderFragmentRoot UnsafeNativeMethods.IRawElem } } - // - // IRawElementProviderFragmentRoot implementation - // - - object UnsafeNativeMethods.IRawElementProviderFragmentRoot.ElementProviderFromPoint(double x, double y) { + object UnsafeNativeMethods.IRawElementProviderFragmentRoot.ElementProviderFromPoint(double x, double y) + { return AsNativeAccessible(publicIRawElementProviderFragmentRoot.ElementProviderFromPoint(x, y)); } - object UnsafeNativeMethods.IRawElementProviderFragmentRoot.GetFocus() { + object UnsafeNativeMethods.IRawElementProviderFragmentRoot.GetFocus() + { return AsNativeAccessible(publicIRawElementProviderFragmentRoot.GetFocus()); } - // - // ILegacyIAccessibleProvider implementation - // - - string UnsafeNativeMethods.ILegacyIAccessibleProvider.DefaultAction { - get { - return publicILegacyIAccessibleProvider.DefaultAction; - } + string UnsafeNativeMethods.ILegacyIAccessibleProvider.DefaultAction + { + get => publicILegacyIAccessibleProvider.DefaultAction; } - string UnsafeNativeMethods.ILegacyIAccessibleProvider.Description { - get { - return publicILegacyIAccessibleProvider.Description; - } + string UnsafeNativeMethods.ILegacyIAccessibleProvider.Description + { + get => publicILegacyIAccessibleProvider.Description; } - string UnsafeNativeMethods.ILegacyIAccessibleProvider.Help { - get { - return publicILegacyIAccessibleProvider.Help; - } + string UnsafeNativeMethods.ILegacyIAccessibleProvider.Help + { + get => publicILegacyIAccessibleProvider.Help; } - string UnsafeNativeMethods.ILegacyIAccessibleProvider.KeyboardShortcut { - get { - return publicILegacyIAccessibleProvider.KeyboardShortcut; - } + string UnsafeNativeMethods.ILegacyIAccessibleProvider.KeyboardShortcut + { + get => publicILegacyIAccessibleProvider.KeyboardShortcut; } - string UnsafeNativeMethods.ILegacyIAccessibleProvider.Name { - get { - return publicILegacyIAccessibleProvider.Name; - } + string UnsafeNativeMethods.ILegacyIAccessibleProvider.Name + { + get => publicILegacyIAccessibleProvider.Name; } - uint UnsafeNativeMethods.ILegacyIAccessibleProvider.Role { - get { - return publicILegacyIAccessibleProvider.Role; - } + uint UnsafeNativeMethods.ILegacyIAccessibleProvider.Role + { + get => publicILegacyIAccessibleProvider.Role; } - uint UnsafeNativeMethods.ILegacyIAccessibleProvider.State { - get { - return publicILegacyIAccessibleProvider.State; - } + uint UnsafeNativeMethods.ILegacyIAccessibleProvider.State + { + get => publicILegacyIAccessibleProvider.State; } - string UnsafeNativeMethods.ILegacyIAccessibleProvider.Value { - get { - return publicILegacyIAccessibleProvider.Value; - } + string UnsafeNativeMethods.ILegacyIAccessibleProvider.Value + { + get => publicILegacyIAccessibleProvider.Value; } - int UnsafeNativeMethods.ILegacyIAccessibleProvider.ChildId { - get { - return publicILegacyIAccessibleProvider.ChildId; - } + int UnsafeNativeMethods.ILegacyIAccessibleProvider.ChildId + { + get => publicILegacyIAccessibleProvider.ChildId; } - void UnsafeNativeMethods.ILegacyIAccessibleProvider.DoDefaultAction() { + void UnsafeNativeMethods.ILegacyIAccessibleProvider.DoDefaultAction() + { publicILegacyIAccessibleProvider.DoDefaultAction(); } - IAccessible UnsafeNativeMethods.ILegacyIAccessibleProvider.GetIAccessible() { + IAccessible UnsafeNativeMethods.ILegacyIAccessibleProvider.GetIAccessible() + { return publicILegacyIAccessibleProvider.GetIAccessible(); } - object[] UnsafeNativeMethods.ILegacyIAccessibleProvider.GetSelection() { + object[] UnsafeNativeMethods.ILegacyIAccessibleProvider.GetSelection() + { return AsArrayOfNativeAccessibles(publicILegacyIAccessibleProvider.GetSelection()); } - void UnsafeNativeMethods.ILegacyIAccessibleProvider.Select(int flagsSelect) { + void UnsafeNativeMethods.ILegacyIAccessibleProvider.Select(int flagsSelect) + { publicILegacyIAccessibleProvider.Select(flagsSelect); } - void UnsafeNativeMethods.ILegacyIAccessibleProvider.SetValue(string szValue) { + void UnsafeNativeMethods.ILegacyIAccessibleProvider.SetValue(string szValue) + { publicILegacyIAccessibleProvider.SetValue(szValue); } - // - // IInvokeProvider implementation - // - - void UnsafeNativeMethods.IInvokeProvider.Invoke() { + void UnsafeNativeMethods.IInvokeProvider.Invoke() + { publicIInvokeProvider.Invoke(); } - // - // IValueProvider implementation - // - - bool UnsafeNativeMethods.IValueProvider.IsReadOnly { - get { - return publicIValueProvider.IsReadOnly; - } - } + bool UnsafeNativeMethods.IValueProvider.IsReadOnly => publicIValueProvider.IsReadOnly; - string UnsafeNativeMethods.IValueProvider.Value { - get { - return publicIValueProvider.Value; - } - } + string UnsafeNativeMethods.IValueProvider.Value => publicIValueProvider.Value; - void UnsafeNativeMethods.IValueProvider.SetValue(string newValue) { + void UnsafeNativeMethods.IValueProvider.SetValue(string newValue) + { publicIValueProvider.SetValue(newValue); } - // - // IRangeValueProvider implementation - // - - bool UnsafeNativeMethods.IRangeValueProvider.IsReadOnly { - get { - return publicIValueProvider.IsReadOnly; - } - } + bool UnsafeNativeMethods.IRangeValueProvider.IsReadOnly => publicIValueProvider.IsReadOnly; - double UnsafeNativeMethods.IRangeValueProvider.LargeChange { - get { - return publicIRangeValueProvider.LargeChange; - } - } + double UnsafeNativeMethods.IRangeValueProvider.LargeChange => publicIRangeValueProvider.LargeChange; - double UnsafeNativeMethods.IRangeValueProvider.Maximum { - get { - return publicIRangeValueProvider.Maximum; - } - } + double UnsafeNativeMethods.IRangeValueProvider.Maximum => publicIRangeValueProvider.Maximum; - double UnsafeNativeMethods.IRangeValueProvider.Minimum { - get { - return publicIRangeValueProvider.Minimum; - } - } + double UnsafeNativeMethods.IRangeValueProvider.Minimum => publicIRangeValueProvider.Minimum; - double UnsafeNativeMethods.IRangeValueProvider.SmallChange { - get { - return publicIRangeValueProvider.SmallChange; - } - } + double UnsafeNativeMethods.IRangeValueProvider.SmallChange => publicIRangeValueProvider.SmallChange; - double UnsafeNativeMethods.IRangeValueProvider.Value { - get { - return publicIRangeValueProvider.Value; - } - } + double UnsafeNativeMethods.IRangeValueProvider.Value => publicIRangeValueProvider.Value; - void UnsafeNativeMethods.IRangeValueProvider.SetValue(double newValue) { + void UnsafeNativeMethods.IRangeValueProvider.SetValue(double newValue) + { publicIRangeValueProvider.SetValue(newValue); } - // - // IExpandCollapseProvider implementation - // - - void UnsafeNativeMethods.IExpandCollapseProvider.Expand() { + void UnsafeNativeMethods.IExpandCollapseProvider.Expand() + { publicIExpandCollapseProvider.Expand(); } - void UnsafeNativeMethods.IExpandCollapseProvider.Collapse() { + void UnsafeNativeMethods.IExpandCollapseProvider.Collapse() + { publicIExpandCollapseProvider.Collapse(); } - UnsafeNativeMethods.ExpandCollapseState UnsafeNativeMethods.IExpandCollapseProvider.ExpandCollapseState { - get { - return publicIExpandCollapseProvider.ExpandCollapseState; - } + UnsafeNativeMethods.ExpandCollapseState UnsafeNativeMethods.IExpandCollapseProvider.ExpandCollapseState + { + get => publicIExpandCollapseProvider.ExpandCollapseState; } - // - // IToggleProvider implementation - // - - void UnsafeNativeMethods.IToggleProvider.Toggle() { + void UnsafeNativeMethods.IToggleProvider.Toggle() + { publicIToggleProvider.Toggle(); } - UnsafeNativeMethods.ToggleState UnsafeNativeMethods.IToggleProvider.ToggleState { - get { - return publicIToggleProvider.ToggleState; - } + UnsafeNativeMethods.ToggleState UnsafeNativeMethods.IToggleProvider.ToggleState + { + get => publicIToggleProvider.ToggleState; } - // - // ITableProvider implementation - // - - object[] UnsafeNativeMethods.ITableProvider.GetRowHeaders() { + object[] UnsafeNativeMethods.ITableProvider.GetRowHeaders() + { return AsArrayOfNativeAccessibles(publicITableProvider.GetRowHeaders()); } - object[] UnsafeNativeMethods.ITableProvider.GetColumnHeaders() { + object[] UnsafeNativeMethods.ITableProvider.GetColumnHeaders() + { return AsArrayOfNativeAccessibles(publicITableProvider.GetColumnHeaders()); } - UnsafeNativeMethods.RowOrColumnMajor UnsafeNativeMethods.ITableProvider.RowOrColumnMajor { - get { - return publicITableProvider.RowOrColumnMajor; - } + UnsafeNativeMethods.RowOrColumnMajor UnsafeNativeMethods.ITableProvider.RowOrColumnMajor + { + get => publicITableProvider.RowOrColumnMajor; } - // - // ITableItemProvider implementation - // - - object[] UnsafeNativeMethods.ITableItemProvider.GetRowHeaderItems() { + object[] UnsafeNativeMethods.ITableItemProvider.GetRowHeaderItems() + { return AsArrayOfNativeAccessibles(publicITableItemProvider.GetRowHeaderItems()); } - object[] UnsafeNativeMethods.ITableItemProvider.GetColumnHeaderItems() { + object[] UnsafeNativeMethods.ITableItemProvider.GetColumnHeaderItems() + { return AsArrayOfNativeAccessibles(publicITableItemProvider.GetColumnHeaderItems()); } - // - // IGridProvider implementation - // - - object UnsafeNativeMethods.IGridProvider.GetItem(int row, int column) { + object UnsafeNativeMethods.IGridProvider.GetItem(int row, int column) + { return AsNativeAccessible(publicIGridProvider.GetItem(row, column)); } - int UnsafeNativeMethods.IGridProvider.RowCount { - get { - return publicIGridProvider.RowCount; - } - } + int UnsafeNativeMethods.IGridProvider.RowCount => publicIGridProvider.RowCount; - int UnsafeNativeMethods.IGridProvider.ColumnCount { - get { - return publicIGridProvider.ColumnCount; - } - } + int UnsafeNativeMethods.IGridProvider.ColumnCount => publicIGridProvider.ColumnCount; - // - // IGridItemProvider implementation - // - - int UnsafeNativeMethods.IGridItemProvider.Row { - get { - return publicIGridItemProvider.Row; - } - } + int UnsafeNativeMethods.IGridItemProvider.Row => publicIGridItemProvider.Row; - int UnsafeNativeMethods.IGridItemProvider.Column { - get { - return publicIGridItemProvider.Column; - } - } + int UnsafeNativeMethods.IGridItemProvider.Column => publicIGridItemProvider.Column; - int UnsafeNativeMethods.IGridItemProvider.RowSpan { - get { - return publicIGridItemProvider.RowSpan; - } - } + int UnsafeNativeMethods.IGridItemProvider.RowSpan => publicIGridItemProvider.RowSpan; - int UnsafeNativeMethods.IGridItemProvider.ColumnSpan { - get { - return publicIGridItemProvider.ColumnSpan; - } - } + int UnsafeNativeMethods.IGridItemProvider.ColumnSpan => publicIGridItemProvider.ColumnSpan; - UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IGridItemProvider.ContainingGrid { - get { + UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IGridItemProvider.ContainingGrid + { + get + { // Do not wrap returned UIA provider by InternalAccessibleObject in Level 3. - if (AccessibilityImprovements.Level3) { + if (AccessibilityImprovements.Level3) + { return publicIGridItemProvider.ContainingGrid; } @@ -3640,15 +3305,12 @@ UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IGridItemProvi } } - // - // ISelectionProvider implementation - // - /// /// Get the currently selected elements /// /// An AutomationElement array containing the currently selected elements - object[] UnsafeNativeMethods.ISelectionProvider.GetSelection() { + object[] UnsafeNativeMethods.ISelectionProvider.GetSelection() + { return publicISelectionProvider.GetSelection(); } @@ -3657,10 +3319,9 @@ object[] UnsafeNativeMethods.ISelectionProvider.GetSelection() { /// /// Boolean indicating whether the control allows more than one element to be selected /// If this is false, then the control is a single-select ccntrol - bool UnsafeNativeMethods.ISelectionProvider.CanSelectMultiple { - get { - return publicISelectionProvider.CanSelectMultiple; - } + bool UnsafeNativeMethods.ISelectionProvider.CanSelectMultiple + { + get => publicISelectionProvider.CanSelectMultiple; } /// @@ -3668,35 +3329,33 @@ bool UnsafeNativeMethods.ISelectionProvider.CanSelectMultiple { /// /// Boolean indicating whether the control requires at least one element to be selected /// If this is false, then the control allows all elements to be unselected - bool UnsafeNativeMethods.ISelectionProvider.IsSelectionRequired { - get { - return publicISelectionProvider.IsSelectionRequired; - } + bool UnsafeNativeMethods.ISelectionProvider.IsSelectionRequired + { + get => publicISelectionProvider.IsSelectionRequired; } - // - // ISelectionItemProvider implementation - // - /// /// Sets the current element as the selection /// This clears the selection from other elements in the container. /// - void UnsafeNativeMethods.ISelectionItemProvider.Select() { + void UnsafeNativeMethods.ISelectionItemProvider.Select() + { publicISelectionItemProvider.Select(); } /// /// Adds current element to selection. /// - void UnsafeNativeMethods.ISelectionItemProvider.AddToSelection() { + void UnsafeNativeMethods.ISelectionItemProvider.AddToSelection() + { publicISelectionItemProvider.AddToSelection(); } /// /// Removes current element from selection. /// - void UnsafeNativeMethods.ISelectionItemProvider.RemoveFromSelection() { + void UnsafeNativeMethods.ISelectionItemProvider.RemoveFromSelection() + { publicISelectionItemProvider.RemoveFromSelection(); } @@ -3704,36 +3363,30 @@ void UnsafeNativeMethods.ISelectionItemProvider.RemoveFromSelection() { /// Check whether an element is selected. /// /// Returns true if the element is selected. - bool UnsafeNativeMethods.ISelectionItemProvider.IsSelected { - get { - return publicISelectionItemProvider.IsSelected; - } + bool UnsafeNativeMethods.ISelectionItemProvider.IsSelected + { + get => publicISelectionItemProvider.IsSelected; } /// /// The logical element that supports the SelectionPattern for this Item. /// /// Returns a IRawElementProviderSimple. - UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.ISelectionItemProvider.SelectionContainer { - get { - return publicISelectionItemProvider.SelectionContainer; - } + UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.ISelectionItemProvider.SelectionContainer + { + get => publicISelectionItemProvider.SelectionContainer; } - // - // IRawElementProviderHwndOverride implementation - // - /// /// Request a provider for the specified component. The returned provider can supply additional /// properties or override properties of the specified component. /// /// The window handle of the component. /// Return the provider for the specified component, or null if the component is not being overridden. - UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IRawElementProviderHwndOverride.GetOverrideProviderForHwnd(IntPtr hwnd) { + UnsafeNativeMethods.IRawElementProviderSimple UnsafeNativeMethods.IRawElementProviderHwndOverride.GetOverrideProviderForHwnd(IntPtr hwnd) + { return publicIRawElementProviderHwndOverride.GetOverrideProviderForHwnd(hwnd); } - } // end class InternalAccessibleObject - + } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleRoles.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleRoles.cs index fb83ac90d8a..8aa03501a11 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleRoles.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleRoles.cs @@ -2,694 +2,425 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using System.Diagnostics.CodeAnalysis; -namespace System.Windows.Forms { - using System.Runtime.Remoting; - - using System.Diagnostics; - using System.Diagnostics.CodeAnalysis; - - using System; - using System.Drawing; - using Microsoft.Win32; - - // ---------------------------------------------------------------------------------------------------------------------------- - // WARNING: if adding to this enumeration please update Control & ToolStripItem AccessibleRole to ensure the new member is valid. - // ----------------------------------------------------------------------------------------------------------------------------- - - /// +namespace System.Windows.Forms +{ /// - /// - /// Specifies values representing possible roles for an accessible object. - /// + /// Specifies values representing possible roles for an accessible object. /// - public enum AccessibleRole { - - /// + /// + /// if adding to this enumeration please update Control and ToolStripItem + /// AccessibleRole to ensure the new member is valid. + /// + public enum AccessibleRole + { /// - /// - /// A system provided role. - /// + /// A system provided role. /// Default = -1, - - /// + /// - /// - /// No role. - /// + /// No role. /// None = 0, - - /// - /// - /// - /// A title or caption bar - /// for a window. - /// - /// - TitleBar = ( 0x1 ), - - /// - /// - /// - /// A menu bar, usually beneath the - /// title bar of a window, from which menus can be selected - /// by the user. - /// - /// - MenuBar = ( 0x2 ), - - /// - /// - /// - /// A vertical or horizontal scroll bar, which - /// can be either part of the client area or used - /// in a control. - /// - /// - ScrollBar = ( 0x3 ), - - /// - /// - /// - /// A special mouse pointer, which - /// allows a user to manipulate user interface elements such as a window. For - /// example, a user can click and drag a sizing grip in the lower-right corner of a - /// window to - /// resize it. - /// - /// - Grip = ( 0x4 ), - - /// - /// - /// - /// A system sound, which is associated with - /// various - /// system events. - /// - /// - Sound = ( 0x5 ), - - /// - /// - /// - /// A mouse pointer. - /// - /// - Cursor = ( 0x6 ), - - /// - /// - /// - /// A caret, which is a flashing line, block, or bitmap - /// that marks the location of the insertion point in a - /// window's client area. - /// - /// - Caret = ( 0x7 ), - - /// - /// - /// - /// An alert or condition that a - /// user should be notified about. This role should be used only for objects that - /// embody an alert but are not associated with another user interface element, such - /// as a message box, graphic, text, - /// or sound. - /// - /// - Alert = ( 0x8 ), - - /// - /// - /// - /// A window frame, which usually contains child - /// objects such as a title bar, client, and other objects typically contained in - /// a window. - /// - /// - Window = ( 0x9 ), - - /// - /// - /// - /// A - /// window's user area. - /// - /// - Client = ( 0xa ), - - /// - /// - /// - /// A menu, which presents a list of - /// options from which the user can make a selection to perform an action. All menu - /// types must have this role, including drop-down menus that are displayed by - /// selection from a menu bar, and shortcut menus that are displayed when the right - /// mouse button is - /// clicked. - /// - /// - MenuPopup = ( 0xb ), - - /// - /// - /// - /// A menu item, which is an entry in - /// a menu that a user can choose to carry out a command, select - /// an option, or display another menu. - /// Functionally, a menu item can be equivalent to a push button, radio button, check - /// box, or menu. - /// - /// - MenuItem = ( 0xc ), - - /// - /// - /// A tool tip, which is a small rectangular pop-up - /// window that displays a brief description of a command bar button's - /// purpose. - /// - ToolTip = ( 0xd ), - - /// - /// - /// - /// The main window for - /// an application. - /// - /// - Application = ( 0xe ), - - /// - /// - /// - /// A - /// document window, which is always - /// contained within an application window. This role applies only to - /// multiple document interface (MDI) windows and refers to an object that contains - /// the MDI title bar. - /// - /// - Document = ( 0xf ), - - /// - /// - /// - /// One of the separate areas in a frame, a split document - /// window, or a rectangular area of the status - /// bar that can be used to display - /// information. Users can navigate between panes and within the contents of the current - /// pane, but cannot navigate between items in different panes. Thus, panes - /// represent a level of grouping lower than frame windows or documents, but above - /// individual controls. Typically the user navigates between panes by pressing TAB, - /// F6, or CTRL+TAB, depending on the - /// context. - /// - /// - Pane = ( 0x10 ), - - /// - /// - /// - /// A graphical image used to - /// represent data. - /// - /// - Chart = ( 0x11 ), - - /// - /// - /// - /// A dialog box - /// or message box. - /// - /// - Dialog = ( 0x12 ), - - /// - /// - /// - /// A window border. The entire border - /// is represented by a single object, rather than by separate objects for - /// each side. - /// - /// - Border = ( 0x13 ), - - /// - /// - /// - /// Objects grouped in a logical - /// manner. There can be a parent-child relationship between the grouping object and the - /// objects - /// it contains. - /// - /// - Grouping = ( 0x14 ), - - /// - /// - /// - /// Visually divides a space into two regions, such as a separator menu item or a - /// bar dividing split panes within a window. - /// - /// - Separator = ( 0x15 ), - - /// - /// - /// - /// A toolbar, which is a grouping of controls that provide - /// easy access to frequently - /// used features. - /// - /// - ToolBar = ( 0x16 ), - - /// - /// - /// - /// A status bar, which is an area typically at the bottom - /// of an application window - /// that displays information about the current operation, state of the application, - /// or selected object. The status bar can have multiple fields that display different - /// kinds of information, such as an explanation of the currently selected menu - /// command in the status bar. - /// - /// - StatusBar = ( 0x17 ), - - /// - /// - /// - /// A table containing rows and columns of cells, and - /// optionally, row headers and column headers. - /// - /// - Table = ( 0x18 ), - - /// - /// - /// - /// A column header, which provides a visual label for a column - /// in a table. - /// - /// - ColumnHeader = ( 0x19 ), - - /// - /// - /// - /// A row header, which provides a visual - /// label for - /// a table row. - /// - /// - RowHeader = ( 0x1a ), - - /// - /// - /// - /// A column of cells within a table. - /// - /// - Column = ( 0x1b ), - - /// - /// - /// - /// A row of cells within - /// a table. - /// - /// - Row = ( 0x1c ), - - /// - /// - /// - /// A cell within - /// a table. - /// - /// - Cell = ( 0x1d ), - - /// - /// - /// - /// A link, which is a connection between a source - /// document and a destination document. This - /// object might look like text or a graphic, but it acts like - /// a button. - /// - /// - Link = ( 0x1e ), - - /// - /// - /// - /// A Help display in the form of a ToolTip or Help - /// balloon, which - /// contains - /// buttons and labels that users can click to open - /// custom Help topics. - /// - /// - HelpBalloon = ( 0x1f ), - - /// - /// - /// - /// A cartoon-like graphic object, - /// such as Microsoft Office Assistant, which is typically displayed to provide help - /// to users of - /// an application. - /// - /// - Character = ( 0x20 ), - - /// - /// - /// - /// A list box, which allows the user - /// to select one or - /// more items. - /// - /// - List = ( 0x21 ), - - /// - /// - /// - /// An item in a list box or the list - /// portion of a combo box, drop-down list box, or - /// drop-down combo box. - /// - /// - ListItem = ( 0x22 ), - - /// - /// - /// - /// An outline or tree structure, such - /// as a tree view control, which displays a hierarchical list and usually allows - /// the - /// user to expand and collapse branches. - /// - /// - Outline = ( 0x23 ), - - /// - /// - /// - /// An item - /// in an outline or tree structure. - /// - /// - OutlineItem = ( 0x24 ), - - /// - /// - /// - /// A property page that allows a user - /// to view the attributes for a page, such as the page's title, whether it is a - /// home page, or - /// whether the page has been modified. - /// Normally the only child of this control is a grouped object that contains - /// the contents of the associated page. - /// - /// - PageTab = ( 0x25 ), - - /// - /// - /// - /// A property page, which is a dialog box that - /// controls the appearance and the behavior of an object, such as a file or - /// resource. A property page's appearance differs according - /// to its purpose. - /// - /// - PropertyPage = ( 0x26 ), - - /// - /// - /// - /// An indicator, such as a pointer - /// graphic, that points to the - /// current item. - /// - /// - Indicator = ( 0x27 ), - - /// - /// - /// - /// A picture. - /// - /// - Graphic = ( 0x28 ), - - /// - /// - /// - /// Read-only text, - /// such as in a label, for other - /// controls or instructions in a dialog box. Static text cannot be modified - /// or selected. - /// - /// - StaticText = ( 0x29 ), - - /// - /// - /// - /// Selectable text - /// that can be editable or read-only. - /// - /// - Text = ( 0x2a ), - - /// - /// - /// - /// A push button control, which is a - /// small rectangular control that a user can turn on or off. A push button, also known - /// as a command button, has a raised appearance in its default off state and - /// a sunken appearance when it is turned - /// on. - /// - /// - PushButton = ( 0x2b ), - - /// - /// - /// - /// A check box control, which is an option - /// that can be turned on or off independently - /// of other options. - /// - /// - CheckButton = ( 0x2c ), - - /// - /// - /// - /// An option button, also known as a - /// radio button. All objects sharing the same parent that have this attribute are - /// assumed to be part of a single mutually exclusive group. You can use - /// grouped objects to divide option buttons into separate groups when - /// necessary. - /// - /// - RadioButton = ( 0x2d ), - - /// - /// - /// - /// A - /// combo box, which is an edit - /// control with an associated list box that provides a set of predefined - /// choices. - /// - /// - ComboBox = ( 0x2e ), - - /// - /// - /// - /// A drop-down list box. This control shows one - /// item and allows the user to display and select another - /// from a list of alternative choices. - /// - /// - DropList = ( 0x2f ), - - /// - /// - /// - /// A progress bar, which indicates the progress of a - /// lengthy operation by displaying a colored bar inside a horizontal rectangle. The - /// length of the bar in relation - /// to the length of the rectangle corresponds - /// to the percentage of the operation that is complete. This control does - /// not take user - /// input. - /// - /// - ProgressBar = ( 0x30 ), - - /// - /// - /// - /// A dial or knob. This can also be a - /// read-only object, like a speedometer. - /// - /// - Dial = ( 0x31 ), - - /// - /// - /// - /// A hot-key field that allows the user to enter a combination or sequence of - /// keystrokes to be used as a hot key, which enables users to perform an action - /// quickly. A hot-key control displays the keystrokes entered by the user and - /// ensures that the user selects a valid key combination. - /// - /// - HotkeyField = ( 0x32 ), - - /// - /// - /// - /// A control, sometimes called a trackbar, - /// that allows a user to adjust a setting in given increments between - /// minimum and maximum values by moving a slider. The volume controls in the - /// Windows operating system are slider - /// controls. - /// - /// - Slider = ( 0x33 ), - - /// - /// - /// - /// A spin box, also - /// known as an up-down control, which contains a pair of arrow buttons that a - /// user click with a mouse to increment or decrement a value. A spin button control is - /// most often used with a companion control, called a buddy window, where the current - /// value is - /// displayed. - /// - /// - SpinButton = ( 0x34 ), - - /// - /// - /// - /// A graphical image used to diagram data. - /// - /// - Diagram = ( 0x35 ), - - /// - /// - /// - /// An animation control, which - /// contains content that is changing over time, such as a control that displays a - /// series of bitmap frames, like a film strip. Animation controls are usually - /// displayed when files are being copied, or when some other time-consuming task is - /// being - /// performed. - /// - /// - Animation = ( 0x36 ), - - /// - /// - /// - /// A mathematical equation. - /// - /// - Equation = ( 0x37 ), - - /// - /// - /// - /// A button that - /// drops down a list of items. - /// - /// - ButtonDropDown = ( 0x38 ), - - /// - /// - /// - /// A button that drops down a menu. - /// - /// - ButtonMenu = ( 0x39 ), - - /// - /// - /// - /// A button that drops down a grid. - /// - /// - ButtonDropDownGrid = ( 0x3a ), - - /// - /// - /// - /// A blank space between other objects. - /// - /// - WhiteSpace = ( 0x3b ), - - /// - /// - /// - /// A container of page tab controls. - /// - /// - PageTabList = ( 0x3c ), - - /// - /// - /// - /// A - /// control that displays the time. - /// - /// - Clock = ( 0x3d ), - - /// - /// - /// - /// A toolbar button that jas a drop-down list icon directly adjacent to the button. - /// + + /// + /// A title or caption bar for a window. /// - SplitButton = ( 0x3e ), + TitleBar = 0x1, - /// /// - /// - /// A control designed for entering Internet Protocol (IP) addresses. - /// + /// A menu bar, usually beneath the title bar of a window, from which menus + /// can be selected by the user. /// - [SuppressMessage("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")] - IpAddress = ( 0x3f ), + MenuBar = 0x2, + + /// + /// A vertical or horizontal scroll bar, which can be either part of the + /// client area or used in a control. + /// + ScrollBar = 0x3, + + /// + /// A special mouse pointer, which allows a user to manipulate user interface + /// elements such as a window. For example, a user can click and drag a + /// sizing grip in the lower-right corner of a window to resize it. + /// + Grip = 0x4, + + /// + /// A system sound, which is associated with various system events. + /// + Sound = 0x5, + + /// + /// A mouse pointer. + /// + Cursor = 0x6, + + /// + /// A caret, which is a flashing line, block, or bitmap that marks the + /// location of the insertion point in a window's client area. + /// + Caret = 0x7, + + /// + /// An alert or condition that a user should be notified about. This role + /// should be used only for objects that embody an alert but are not + /// associated with another user interface element, such as a message box, + /// graphic, text, or sound. + /// + Alert = 0x8, + + /// + /// A window frame, which usually contains child objects such as a title + /// bar, client, and other objects typically contained in a window. + /// + Window = 0x9, + + /// + /// A window's user area. + /// + Client = 0xa, + + /// + /// A menu, which presents a list of options from which the user can make + /// a selection to perform an action. All menu types must have this role, + /// including drop-down menus that are displayed by selection from a menu + /// bar, and shortcut menus that are displayed when the right mouse + /// button is clicked. + /// + MenuPopup = 0xb, + + /// + /// A menu item, which is an entry in a menu that a user can choose to + /// carry out a command, select an option, or display another menu. + /// Functionally, a menu item can be equivalent to a push button, radio + /// button, check box, or menu. + /// + MenuItem = 0xc, + + /// + /// A tool tip, which is a small rectangular pop-up window that displays + /// a brief description of a command bar button's purpose. + /// + ToolTip = 0xd, + + /// + /// The main window for an application. + /// + Application = 0xe, + + /// + /// A document window, which is always contained within an application + /// window. This role applies only to multiple document interface (MDI) + /// windows and refers to an object that contains the MDI title bar. + /// + Document = 0xf, + + /// + /// One of the separate areas in a frame, a split document window, or a + /// rectangular area of the status bar that can be used to display + /// information. Users can navigate between panes and within the contents + /// of the current pane, but cannot navigate between items in different + /// panes. Thus, panes represent a level of grouping lower than frame + /// windows or documents, but above individual controls. Typically the + /// user navigates between panes by pressing TAB, F6, or CTRL+TAB, depending + /// on the context. + /// + Pane = 0x10, + + /// + /// A graphical image used to represent data. + /// + Chart = 0x11, + + /// + /// A dialog box or message box. + /// + Dialog = 0x12, + + /// + /// A window border. The entire border is represented by a single object, + /// rather than by separate objects for each side. + /// + Border = 0x13, + + /// + /// Objects grouped in a logical manner. There can be a parent-child + /// relationship between the grouping object and the objects it contains. + /// + Grouping = 0x14, + + /// + /// Visually divides a space into two regions, such as a separator menu + /// item or a bar dividing split panes within a window. + /// + Separator = 0x15, + + /// + /// A toolbar, which is a grouping of controls that provide easy access + /// to frequently used features. + /// + ToolBar = 0x16, + + /// + /// A status bar, which is an area typically at the bottom of an application + /// window that displays information about the current operation, state of + /// the application, or selected object. The status bar can have multiple + /// fields that display different kinds of information, such as an + /// explanation of the currently selected menu command in the status bar. + /// + StatusBar = 0x17, + + /// + /// A table containing rows and columns of cells, and optionally, row + /// headers and column headers. + /// + Table = 0x18, + + /// + /// A column header, which provides a visual label for a column in a table. + /// + ColumnHeader = 0x19, + + /// + /// A row header, which provides a visual label for a table row. + /// + RowHeader = 0x1a, + + /// + /// A column of cells within a table. + /// + Column = 0x1b, + + /// + /// A row of cells within a table. + /// + Row = 0x1c, + + /// + /// A cell within a table. + /// + Cell = 0x1d, + + /// + /// A link, which is a connection between a source document and a destination + /// document. This object might look like text or a graphic, but it acts like + /// a button. + /// + Link = 0x1e, + + /// + /// A Help display in the form of a ToolTip or Help balloon, which contains + /// buttons and labels that users can click to open custom Help topics. + /// + HelpBalloon = 0x1f, - /// /// - /// - /// A control that navigates like an outline item. - /// + /// A cartoon-like graphic object, such as Microsoft Office Assistant, which + /// is typically displayed to provide help to users of an application. /// - OutlineButton = ( 0x40 ), + Character = 0x20, + /// + /// A list box, which allows the user to select one or more items. + /// + List = 0x21, + + /// + /// An item in a list box or the list portion of a combo box, drop-down + /// list box, or drop-down combo box. + /// + ListItem = 0x22, + + /// + /// An outline or tree structure, such as a tree view control, which + /// displays a hierarchical list and usually allows the user to expand + /// and collapse branches. + /// + Outline = 0x23, + + /// + /// An item in an outline or tree structure. + /// + OutlineItem = 0x24, + + /// + /// A property page that allows a user to view the attributes for a page, + /// such as the page's title, whether it is a home page, or whether the + /// page has been modified. + /// Normally the only child of this control is a grouped object that contains + /// the contents of the associated page. + /// + PageTab = 0x25, + + /// + /// A property page, which is a dialog box that controls the appearance + /// and the behavior of an object, such as a file or resource. A property + /// page's appearance differs according to its purpose. + /// + PropertyPage = 0x26, + + /// + /// An indicator, such as a pointer graphic, that points to the current item. + /// + Indicator = 0x27, + + /// + /// A picture. + /// + Graphic = 0x28, + + /// + /// Read-only text, such as in a label, for other controls or instructions + /// in a dialog box. Static text cannot be modified or selected. + /// + StaticText = 0x29, + + /// + /// Selectable text that can be editable or read-only. + /// + Text = 0x2a, + + /// + /// A push button control, which is a small rectangular control that a user + /// can turn on or off. A push button, also known as a command button, has + /// a raised appearance in its default off state and a sunken appearance + /// when it is turned on. + /// + PushButton = 0x2b, + + /// + /// A check box control, which is an option that can be turned on or off + /// independently of other options. + /// + CheckButton = 0x2c, + + /// + /// An option button, also known as a radio button. All objects sharing the + /// same parent that have this attribute are assumed to be part of a single + /// mutually exclusive group. You can use grouped objects to divide option + /// buttons into separate groups when necessary. + /// + RadioButton = 0x2d, + + /// + /// A combo box, which is an edit control with an associated list box that + /// provides a set of predefined choices. + /// + ComboBox = 0x2e, + + /// + /// A drop-down list box. This control shows one item and allows the user + /// to display and select another from a list of alternative choices. + /// + DropList = 0x2f, + + /// + /// A progress bar, which indicates the progress of a lengthy operation by + /// displaying a colored bar inside a horizontal rectangle. The length of + /// the bar in relation to the length of the rectangle corresponds to + /// the percentage of the operation that is complete. This control does + /// not take user input. + /// + ProgressBar = 0x30, + /// + /// A dial or knob. This can also be a read-only object, like a speedometer. + /// + Dial = 0x31, + + /// + /// A hot-key field that allows the user to enter a combination or sequence + /// of keystrokes to be used as a hot key, which enables users to perform + /// an action quickly. A hot-key control displays the keystrokes entered + /// by the user and ensures that the user selects a valid key combination. + /// + HotkeyField = 0x32, + + /// + /// A control, sometimes called a trackbar, that allows a user to adjust + /// a setting in given increments between minimum and maximum values by + /// moving a slider. The volume controls in the Windows operating system + /// are slider controls. + /// + Slider = 0x33, + + /// + /// A spin box, also known as an up-down control, which contains a pair + /// of arrow buttons that a user click with a mouse to increment or + /// decrement a value. A spin button control is most often used with a + /// companion control, called a buddy window, where the current value is + /// displayed. + /// + SpinButton = 0x34, + + /// + /// A graphical image used to diagram data. + /// + Diagram = 0x35, + + /// + /// An animation control, which contains content that is changing over + /// time, such as a control that displays a series of bitmap frames, like + /// a film strip. Animation controls are usually displayed when files + /// are being copied, or when some other time-consuming task is being + /// performed. + /// + Animation = 0x36, + + /// + /// A mathematical equation. + /// + Equation = 0x37, + + /// + /// A button that drops down a list of items. + /// + ButtonDropDown = 0x38, + + /// + /// A button that drops down a menu. + /// + ButtonMenu = 0x39, + + /// + /// A button that drops down a grid. + /// + ButtonDropDownGrid = 0x3a, + + /// + /// A blank space between other objects. + /// + WhiteSpace = 0x3b, + + /// + /// A container of page tab controls. + /// + PageTabList = 0x3c, + + /// + /// A control that displays the time. + /// + Clock = 0x3d, + + /// + /// A toolbar button that jas a drop-down list icon directly adjacent to + /// the button. + /// + SplitButton = 0x3e, + + /// + /// A control designed for entering Internet Protocol (IP) addresses. + /// + [SuppressMessage("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")] + IpAddress = 0x3f, + + /// + /// A control that navigates like an outline item. + /// + OutlineButton = 0x40, } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleSelection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleSelection.cs index 28761b4749e..993faace7dc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleSelection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleSelection.cs @@ -2,73 +2,46 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - - using System.Diagnostics; - - using System; - using System.ComponentModel; - using Microsoft.Win32; - - - /// +namespace System.Windows.Forms +{ /// - /// - /// Specifies how an accessible object will be selected or receive focus. - /// + /// Specifies how an accessible object will be selected or receive focus. /// [Flags] - public enum AccessibleSelection { - - /// + public enum AccessibleSelection + { /// - /// - /// The selection or focus of an object is unchanged. - /// + /// The selection or focus of an object is unchanged. /// None = 0, /// /// /// - /// Assigns focus to an object and makes - /// it the anchor, which is the starting point for - /// the selection. Can be combined with , - /// , , or - /// . - /// + /// Assigns focus to an object and makes it the anchor, which is the + /// starting point for the selection. Can be combined with + /// , , + /// , or . /// TakeFocus = 1, - /// /// - /// - /// Selects the object and deselects all other objects in the container. - /// + /// Selects the object and deselects all other objects in the container. /// TakeSelection = 2, - /// /// - /// - /// Selects all objects between the anchor and the selected object. - /// + /// Selects all objects between the anchor and the selected object. /// ExtendSelection = 4, - /// /// - /// - /// Adds the object to the selection. - /// + /// Adds the object to the selection. /// AddSelection = 8, - - /// + /// - /// - /// Removes the object from the selection. - /// + /// Removes the object from the selection. /// RemoveSelection = 16, } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleStates.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleStates.cs index b63fb606677..2f55f810425 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleStates.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleStates.cs @@ -2,381 +2,222 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. - -namespace System.Windows.Forms { - - using System.Diagnostics; - - using System; - using System.Drawing; - using Microsoft.Win32; - - - /// +namespace System.Windows.Forms +{ /// - /// - /// Specifies values representing possible states for an accessible object - /// + /// Specifies values representing possible states for an accessible object /// [Flags] - public enum AccessibleStates { - - /// + public enum AccessibleStates + { /// - /// - /// No state. - /// + /// No state. /// None = 0, - - - /// + /// - /// - /// An unavailable object. - /// + /// An unavailable object. /// - Unavailable = ( 0x1 ), - - - /// + Unavailable = 0x1, + /// - /// - /// A selected object. - /// + /// A selected object. /// - Selected = ( 0x2 ), - - - /// + Selected = 0x2, + /// - /// - /// An object with the keyboard focus. - /// + /// An object with the keyboard focus. /// - Focused = ( 0x4 ), - - - /// + Focused = 0x4, + /// - /// - /// A pressed object. - /// + /// A pressed object. /// - Pressed = ( 0x8 ), - - - /// + Pressed = 0x8, + /// - /// - /// An object with a - /// selected check box. - /// + /// An object with a selected check box. /// - Checked = ( 0x10 ), - - - /// + Checked = 0x10, + /// - /// - /// A three-state check box or toolbar button - /// whose state is indeterminate. The check box is neither checked nor unchecked and - /// it is in the - /// third or mixed state. - /// + /// A three-state check box or toolbar button whose state is indeterminate. + /// The check box is neither checked nor unchecked and it is in the third + /// or mixed state. /// - Mixed = ( 0x20 ), - - - /// + Mixed = 0x20, + /// - /// - /// A three-state check box or toolbar button - /// whose state is indeterminate. The check box is neither checked nor unchecked and it - /// is in the third - /// or mixed state. - /// + /// A three-state check box or toolbar button whose state is indeterminate. + /// The check box is neither checked nor unchecked and it is in the third + /// or mixed state. /// - Indeterminate = ( Mixed ), - - - /// + Indeterminate = Mixed, + /// - /// - /// A read-only object. - /// + /// A read-only object. /// - ReadOnly = ( 0x40 ), - - - /// + ReadOnly = 0x40, + /// - /// - /// The object is hot-tracked by - /// the mouse, meaning its appearance is highlighted to indicate the mouse - /// pointer is located over it. - /// + /// The object is hot-tracked by the mouse, meaning its appearance is + /// highlighted to indicate the mouse pointer is located over it. /// - HotTracked = ( 0x80 ), - - - /// + HotTracked = 0x80, + /// - /// - /// The - /// default button or menu item. - /// + /// The default button or menu item. /// - Default = ( 0x100 ), - - - /// + Default = 0x100, + /// - /// - /// Children of the object that are items in an outline or tree - /// structure are displayed. - /// + /// Children of the object that are items in an outline or tree structure + /// are displayed. /// - Expanded = ( 0x200 ), - - - /// + Expanded = 0x200, + /// - /// - /// Children of the object that are items in an outline or tree structure are - /// hidden. - /// + /// Children of the object that are items in an outline or tree structure + /// are hidden. /// - Collapsed = ( 0x400 ), - - - /// + Collapsed = 0x400, + /// - /// - /// A - /// control - /// that cannot accept input in its current condition. - /// + /// A control that cannot accept input in its current condition. /// - Busy = ( 0x800 ), - - - /// + Busy = 0x800, + /// - /// - /// The object is not fixed to the boundary of its parent object, and - /// does not move automatically along with the parent. - /// + /// The object is not fixed to the boundary of its parent object, and + /// does not move automatically along with the parent. /// - Floating = ( 0x1000 ), - - - /// + Floating = 0x1000, + /// - /// - /// An object with scrolling - /// or moving text or graphics. - /// + /// An object with scrolling or moving text or graphics. /// - Marqueed = ( 0x2000 ), - - - /// - /// - /// - /// The object has a rapidly or constantly changing - /// appearance. Graphics that are occasionally animated, but not always, should be - /// defined as | - /// . This state should - /// not be used to indicate that - /// the object's location is changing. - /// - /// - Animated = ( 0x4000 ), - - - /// + Marqueed = 0x2000, + /// - /// - /// An object that is currently invisible. - /// + /// The object has a rapidly or constantly changing appearance. Graphics + /// that are occasionally animated, but not always, should be defined as + /// |. + /// This state should not be used to indicate that the object's location + /// is changing. /// - Invisible = ( 0x8000 ), - - - /// + Animated = 0x4000, + /// - /// - /// No on-screen representation. A - /// sound or alert object would have this state, or a - /// hidden window that is never made visible. - /// + /// An object that is currently invisible. /// - Offscreen = ( 0x10000 ), - - - /// + Invisible = 0x8000, + /// - /// - /// A sizable object. - /// + /// No on-screen representation. A sound or alert object would have this + /// state, or a hidden window that is never made visible. /// - Sizeable = ( 0x20000 ), - - - /// + Offscreen = 0x10000, + /// - /// - /// A movable object. - /// + /// A sizable object. /// - Moveable = ( 0x40000 ), - - - /// + Sizeable = 0x20000, + /// - /// - /// The object or child can use text-to-speech (TTS) to describe itself. A - /// speech-based accessibility aid should not announce information when an object - /// with this state has the focus because the object will automatically announce - /// information about itself. - /// + /// A movable object. /// - SelfVoicing = ( 0x80000 ), - - - /// + Moveable = 0x40000, + /// - /// - /// The object is on the active window - /// and can receive keyboard focus. - /// + /// The object or child can use text-to-speech (TTS) to describe itself. A + /// speech-based accessibility aid should not announce information when an + /// object with this state has the focus because the object will + /// automatically announce information about itself. /// - Focusable = ( 0x100000 ), - - - /// + SelfVoicing = 0x80000, + /// - /// - /// An object that can accept selection. - /// + /// The object is on the active window and can receive keyboard focus. /// - Selectable = ( 0x200000 ), - - - /// + Focusable = 0x100000, + /// - /// - /// A linked object that has not - /// been previously selected. - /// + /// An object that can accept selection. /// - Linked = ( 0x400000 ), - - - /// + Selectable = 0x200000, + /// - /// - /// A linked object that has previously been selected. - /// + /// A linked object that has not been previously selected. /// - Traversed = ( 0x800000 ), - - - /// + Linked = 0x400000, + /// - /// - /// An object - /// that accepts multiple selected items. - /// + /// A linked object that has previously been selected. /// - MultiSelectable = ( 0x1000000 ), - - - /// - /// - /// - /// Alters the selection so that all objects - /// between the selection anchor, which is the object with the - /// keyboard focus, and this object take on the anchor object's selection - /// state. If the anchor object is not selected, the objects are removed from - /// the selection. If the anchor object is selected, the selection is extended to - /// include this object and all the objects in between. You can set the selection - /// state by combining this flag with or . This flag does - /// not change the focus or the selection anchor unless it is combined with - /// . The behavior of - /// | - /// is equivalent to adding an item - /// to a selection manually by holding down the SHIFT key and clicking an unselected - /// object. This flag may not be combined with - /// - /// . - /// - /// - ExtSelectable = ( 0x2000000 ), - - - /// - /// - /// - /// Low-priority information that may not be important to the user. - /// + Traversed = 0x800000, + + /// + /// An object that accepts multiple selected items. /// - AlertLow = ( 0x4000000 ), - - - /// - /// - /// - /// Important information that does not need to be conveyed to the user - /// immediately. For example, when a battery level indicator is starting to reach a - /// low level, it could generate a medium-level alert. Blind access utilities could - /// then generate a sound to let the user know that important information is - /// available, without actually interrupting the user's work. The user could then - /// query the alert information at his or her leisure. - /// + MultiSelectable = 0x1000000, + + /// + /// Alters the selection so that all objects between the selection anchor, + /// which is the object with the keyboard focus, and this object take on + /// the anchor object's selection state. If the anchor object is not + /// selected, the objects are removed from the selection. If the anchor + /// object is selected, the selection is extended to include this object + /// and all the objects in between. You can set the selection state by + /// combining this flag with + /// or . This flag does + /// not change the focus or the selection anchor unless it is combined with + /// . The behavior of + /// | + /// is equivalent to adding an item to a selection manually by holding down + /// the SHIFT key and clicking an unselected object. + /// This flag may not be combined with . + /// + ExtSelectable = 0x2000000, + + /// + /// Low-priority information that may not be important to the user. /// - AlertMedium = ( 0x8000000 ), - - - /// - /// - /// - /// Important information that should be conveyed to the user immediately. For - /// example, a battery level indicator reaching a critical low level would - /// transition to this state, in which case a blind access utility would announce - /// this information immediately to the user, and a screen magnification program - /// would scroll the screen so that the battery indicator is in view. This state is - /// also appropriate for any prompt or operation that must be completed before the - /// user can continue. - /// + AlertLow = 0x4000000, + + /// + /// Important information that does not need to be conveyed to the user + /// immediately. For example, when a battery level indicator is starting + /// to reach a low level, it could generate a medium-level alert. Blind + /// access utilities could then generate a sound to let the user know that + /// important information is available, without actually interrupting the + /// user's work. The user could then query the alert information at their + /// leisure. /// - AlertHigh = ( 0x10000000 ), - - - /// + AlertMedium = 0x8000000, + /// - /// - /// A password-protected edit control. + /// Important information that should be conveyed to the user immediately. + /// For example, a battery level indicator reaching a critical low level + /// would transition to this state, in which case a blind access utility + /// would announce this information immediately to the user, and a screen + /// magnification program would scroll the screen so that the battery + /// indicator is in view. This state is also appropriate for any prompt + /// or operation that must be completed before the user can continue. /// /// - Protected = ( 0x20000000 ), - - - /// + AlertHigh = 0x10000000, + /// - /// - /// Object displays a pop-up menu or window when invoked. - /// + /// A password-protected edit control. /// - HasPopup = ( 0x40000000 ), - - - /// + Protected = 0x20000000, + /// + /// Object displays a pop-up menu or window when invoked. /// + HasPopup = 0x40000000, + [Obsolete("This enumeration value has been deprecated. There is no replacement. http://go.microsoft.com/fwlink/?linkid=14202")] - Valid = ( 0x3fffffff ), - + Valid = 0x3fffffff, } } From 1779e07fd5c4e817a08ee2589a01b2015a00213d Mon Sep 17 00:00:00 2001 From: Zachary Danz Date: Mon, 11 Mar 2019 10:24:01 -0700 Subject: [PATCH 04/18] Redo #224 which failed internal build (#547) * add creator, set to empty in internal, comment edits * helix token is secret AzDO pipeline variable * add xunit assert version * helix access token * helix source, differ from internal to public --- eng/Version.Details.xml | 16 +++-- eng/Versions.props | 16 +++-- eng/ci-helix-test.yml | 31 +++++++++ eng/ci.yml | 69 ++++++++++++------- eng/common/build.sh | 9 ++- eng/common/templates/job/job.yml | 4 +- eng/common/templates/steps/send-to-helix.yml | 55 +++++++-------- global.json | 3 +- .../InternalUtilitiesForTests.csproj | 3 +- ....Windows.Forms.Design.Editors.Tests.csproj | 4 +- .../System.Windows.Forms.Design.Tests.csproj | 5 ++ ...stem.Windows.Forms.IntegrationTests.csproj | 1 + .../TestHelpers.cs | 10 +-- 13 files changed, 152 insertions(+), 74 deletions(-) create mode 100644 eng/ci-helix-test.yml diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 8576e5163c9..57e950cdf50 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -45,17 +45,21 @@ Note: if the Uri is a new place, you will need to add a subscription from that p https://github.com/dotnet/corefx 8a730a6ecd96fef04d74e1807c8b1d193e0a5f16 - + https://github.com/dotnet/arcade - 1d2edb248bc2dc37fa0669053b0c88f3bffffb26 + b9f7cb3de92127532bd57619972ebbebc3fe685b - + https://github.com/dotnet/arcade - 1d2edb248bc2dc37fa0669053b0c88f3bffffb26 + b9f7cb3de92127532bd57619972ebbebc3fe685b - + https://github.com/dotnet/arcade - 1d2edb248bc2dc37fa0669053b0c88f3bffffb26 + b9f7cb3de92127532bd57619972ebbebc3fe685b + + + https://github.com/dotnet/arcade + b9f7cb3de92127532bd57619972ebbebc3fe685b diff --git a/eng/Versions.props b/eng/Versions.props index 25b6901f121..0610c64b827 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -21,13 +21,21 @@ - 1.0.0-beta.19156.20 - 2.4.0-beta.19156.20 + 1.0.0-beta.19158.2 + 2.4.0-beta.19158.2 - + - 4.6.0-alpha-27122-5 + 2.4.1-pre.build.4059 + $(XUnitVersion) + $(XUnitVersion) + $(XUnitVersion) + $(XUnitVersion) 0.3.5 + + + + 4.6.0-alpha-27122-5 4.10.0 1.0.0 diff --git a/eng/ci-helix-test.yml b/eng/ci-helix-test.yml new file mode 100644 index 00000000000..e219f7ab2f1 --- /dev/null +++ b/eng/ci-helix-test.yml @@ -0,0 +1,31 @@ +parameters: + # All parameters are required for our purposes (except HelixType); see send-to-helix.yml for details + HelixSource: '' + HelixType: 'tests/default' + HelixTargetQueues: '' + HelixAccessToken: '' + Creator: '' + XUnitProjects: '' + DisplayNamePrefix: '' + +steps: +- template: /eng/common/templates/steps/send-to-helix.yml + parameters: + HelixSource: ${{ parameters.HelixSource }} + HelixType: ${{ parameters.HelixType }} + HelixBuild: $(Build.BuildNumber) + HelixTargetQueues: ${{ parameters.HelixTargetQueues }} + HelixAccessToken: ${{ parameters.HelixAccessToken }} # only defined for internal CI + Creator: ${{ parameters.Creator }} # required for public / external (when there is no access token) + XUnitProjects: ${{ parameters.XUnitProjects }} + XUnitPublishTargetFramework: netcoreapp3.0 # Whatever tfm will work for our test projects for `dotnet publish` + XUnitRuntimeTargetFramework: netcoreapp2.0 # Whatever tfm to pick from the xunit package, it must exist in that package or the helix job will fail + XUnitRunnerVersion: '2.4.1' # Should match XUnitRunnerConsoleVersion in eng/Versions.props + IncludeDotNetCli: true + DotNetCliPackageType: 'sdk' + DotNetCliVersion: '3.0.100-preview-010184' # MUST be official release: https://dotnet.microsoft.com/download/dotnet-core/3.0 ; does not need to match sdk we build against + EnableXUnitReporter: true + WaitForWorkItemCompletion: true + DisplayNamePrefix: ${{ parameters.DisplayNamePrefix }} + condition: succeeded() + continueOnError: false \ No newline at end of file diff --git a/eng/ci.yml b/eng/ci.yml index f6516209841..c283f682e4e 100644 --- a/eng/ci.yml +++ b/eng/ci.yml @@ -1,10 +1,9 @@ parameters: - - # Needed because agent pool can't be read from a user-defined variable (Azure DevOps limitation) - agentPool: dotnet-external-temp-vs2019 - - # Needed because runAsPublic is used in template expressions, which can't read from user-defined variables - runAsPublic: true + # This section is required because agent pool can't + # be read from a user-defined variable (Azure DevOps limitation) + agentPool: dotnet-external-temp-vs2019 + runAsPublic: true + repoName: dotnet/winforms jobs: - template: /eng/common/templates/jobs/jobs.yml @@ -15,7 +14,7 @@ jobs: enablePublishTestResults: true enablePublishBuildAssets: true enableTelemetry: true - helixRepo: dotnet/winforms + helixRepo: $(repoName) jobs: - job: Windows_NT @@ -44,7 +43,7 @@ jobs: value: '' # needed for helix jobs - - name: _HelixAgentPool + - name: _UnitTestHelixAgentPool value: 'Windows.10.Amd64.Open' - name: _WinformsControlsTestBinDir value: $(BUILD.SOURCESDIRECTORY)\artifacts\bin\WinformsControlsTest\$(_BuildConfig)\netcoreapp3.0 @@ -52,11 +51,19 @@ jobs: value: $(BUILD.SOURCESDIRECTORY)\artifacts\bin\System.Windows.Forms.Func.Tests\$(_BuildConfig)\netcoreapp3.0 - name: _HelixStagingDir value: $(BUILD.STAGINGDIRECTORY)\helix\functests + - name: _HelixSource + value: ${{ parameters.repoName }}/$(Build.SourceBranch) + - name: _HelixToken + value: '' + - name: _HelixCreator + value: ${{ parameters.repoName }} - # Override some values if we're building internally + + # Override some values if we're building internally (not public) - ${{ if eq(parameters.runAsPublic, 'false') }}: - # note: You have to use list syntax here (-name: value) or you will get errors about declaring the same variable multiple times + # note: You have to use list syntax here (-name: value) or + # you will get errors about declaring the same variable multiple times - name: _PublishType value: blob - name: _SignType @@ -65,12 +72,14 @@ jobs: value: true - group: DotNet-Blob-Feed - group: DotNet-Symbol-Server-Pats + # DotNet-HelixApi-Access provides: HelixApiAccessToken + - group: DotNet-HelixApi-Access - name: _PublishBlobFeedUrl value: https://dotnetfeed.blob.core.windows.net/dotnet-windowsdesktop/index.json - # note: Even though they are referenced here, user defined variables (like $(_SignType)) are not resolved - # until the agent is running on the machine. They can be overridden any time before they are resolved, - # like in the job matrix below (see Build_Debug) + # note: Even though they are referenced here, user defined variables (like $(_SignType)) + # are not resolved until the agent is running on the machine. They can be overridden any + # time before they are resolved, like in the job matrix below (see Build_Debug) - name: _SignArgs value: /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName) /p:Sign=$(_Sign) - name: _PublishArgs @@ -82,8 +91,15 @@ jobs: - name: _OfficialBuildIdArgs value: /p:OfficialBuildId=$(BUILD.BUILDNUMBER) - - name: _HelixAgentPool + # Windows.81.Amd64 will fail on Debug.Assert in TryGetSystemMetricsForDpi in UnsafeNativeMethods + - name: _UnitTestHelixAgentPool value: 'Windows.10.Amd64' + - name: _HelixSource + value: official/${{ parameters.repoName }}/$(Build.SourceBranch) + - name: _HelixToken + value: '$(HelixApiAccessToken)' # from DotNet-HelixApi-Access group + - name: _HelixCreator + value: '' #if _HelixToken is set, Creator must be empty strategy: matrix: @@ -109,15 +125,22 @@ jobs: /bl:$(BUILD.SOURCESDIRECTORY)\artifacts\log\$(_BuildConfig)\Build.binlog displayName: Build - # Run unit tests and rename binlog - - script: eng\cibuild.cmd - -configuration $(_BuildConfig) - $(_OfficialBuildIdArgs) - -test - /bl:$(BUILD.SOURCESDIRECTORY)\artifacts\log\$(_BuildConfig)\Test.binlog - displayName: Run Unit Tests - + # Run unit tests on Helix + - template: /eng/ci-helix-test.yml + parameters: + HelixSource: $(_HelixSource) + HelixType: 'tests/unit' + HelixTargetQueues: $(_UnitTestHelixAgentPool) + HelixAccessToken: $(_HelixToken) # only defined for internal CI + Creator: $(_HelixCreator) + # Should be $(BUILD.SOURCESDIRECTOR)System.Windows.Forms/src/**/*.Tests.csproj, but cannot until https://github.com/dotnet/arcade/issues/2156 is fixed + XUnitProjects: '$(BUILD.SOURCESDIRECTORY)\src\System.Windows.Forms\tests\UnitTests\System.Windows.Forms.Tests.csproj;$(BUILD.SOURCESDIRECTORY)\src\System.Windows.Forms.Design\tests\UnitTests\System.Windows.Forms.Design.Tests.csproj;$(BUILD.SOURCESDIRECTORY)\src\System.Windows.Forms.Design.Editors\tests\UnitTests\System.Windows.Forms.Design.Editors.Tests.csproj' + DisplayNamePrefix: 'Send Unit Tests (Windows.10) to Helix' + # Run integration tests and rename binlog + # These are not ready to run on Helix because: + # 1. Helix doesn't build projects (it only uses publish); we need .dotnet and also bin from build + # 2. we need an interactive pool for SendKeys to work - script: eng\cibuild.cmd -configuration $(_BuildConfig) $(_OfficialBuildIdArgs) @@ -150,4 +173,4 @@ jobs: # Run component governance detection (only for release; only for internal) - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 displayName: Component Governance Detection - condition: and(succeeded(), eq(variables['_BuildConfig'], 'Release')) \ No newline at end of file + condition: and(succeeded(), eq(variables['_BuildConfig'], 'Release')) diff --git a/eng/common/build.sh b/eng/common/build.sh index 0227c6e1e55..40b1e8ec73e 100755 --- a/eng/common/build.sh +++ b/eng/common/build.sh @@ -137,13 +137,16 @@ while [[ $# > 0 ]]; do node_reuse=$2 shift ;; - /p:*) + -p:*|/p:*) properties="$properties $1" ;; - /m:*) + -m:*|/m:*) properties="$properties $1" ;; - /bl:*) + -bl:*|/bl:*) + properties="$properties $1" + ;; + -dl:*|/dl:*) properties="$properties $1" ;; *) diff --git a/eng/common/templates/job/job.yml b/eng/common/templates/job/job.yml index cd4e5731a62..74dd81fdc0a 100644 --- a/eng/common/templates/job/job.yml +++ b/eng/common/templates/job/job.yml @@ -179,7 +179,7 @@ jobs: continueOnError: true condition: always() - - ${{ if and(eq(parameters.enablePublishBuildAssets, true), eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: + - ${{ if and(eq(parameters.enablePublishBuildAssets, true), ne(variables['_PublishUsingPipelines'], 'true'), eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - task: CopyFiles@2 displayName: Gather Asset Manifests inputs: @@ -194,4 +194,4 @@ jobs: PublishLocation: Container ArtifactName: AssetManifests continueOnError: ${{ parameters.continueOnError }} - condition: and(succeeded(), eq(variables['_DotNetPublishToBlobFeed'], 'true')) \ No newline at end of file + condition: and(succeeded(), eq(variables['_DotNetPublishToBlobFeed'], 'true')) diff --git a/eng/common/templates/steps/send-to-helix.yml b/eng/common/templates/steps/send-to-helix.yml index 3a449210f5b..0925e8ebd12 100644 --- a/eng/common/templates/steps/send-to-helix.yml +++ b/eng/common/templates/steps/send-to-helix.yml @@ -1,32 +1,33 @@ parameters: - HelixSource: 'pr/default' # required -- sources must start with pr/, official/, prodcon/, or agent/ - HelixType: 'tests/default/' # required -- Helix telemetry which identifies what type of data this is; should include "test" for clarity and must end in '/' - HelixBuild: $(Build.BuildNumber) # required -- the build number Helix will use to identify this -- automatically set to the AzDO build number - HelixTargetQueues: '' # required -- semicolon delimited list of Helix queues to test on; see https://helix.dot.net/api/2018-03-14/info/queues for a list of queues - HelixAccessToken: '' # required -- access token to make Helix API requests; should be provided by the appropriate variable group - HelixPreCommands: '' # optional -- commands to run before Helix work item execution - HelixPostCommands: '' # optional -- commands to run after Helix work item execution - WorkItemDirectory: '' # optional -- a payload directory to zip up and send to Helix; requires WorkItemCommand; incompatible with XUnitProjects - WorkItemCommand: '' # optional -- a command to execute on the payload; requires WorkItemDirectory; incompatible with XUnitProjects - WorkItemTimeout: '' # optional -- a timeout in seconds for the work item command; requires WorkItemDirectory; incompatible with XUnitProjects - CorrelationPayloadDirectory: '' # optional -- a directory to zip up and send to Helix as a correlation payload - XUnitProjects: '' # optional -- semicolon delimited list of XUnitProjects to parse and send to Helix; requires XUnitRuntimeTargetFramework, XUnitPublishTargetFramework, XUnitRunnerVersion, and IncludeDotNetCli=true - XUnitPublishTargetFramework: '' # optional -- framework to use to publish your xUnit projects - XUnitRuntimeTargetFramework: '' # optional -- framework to use for the xUnit console runner - XUnitRunnerVersion: '' # optional -- version of the xUnit nuget package you wish to use on Helix; required for XUnitProjects - IncludeDotNetCli: false # optional -- true will download a version of the .NET CLI onto the Helix machine as a correlation payload; requires DotNetCliPackageType and DotNetCliVersion - DotNetCliPackageType: '' # optional -- either 'sdk' or 'runtime'; determines whether the sdk or runtime will be sent to Helix; see https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json - DotNetCliVersion: '' # optional -- version of the CLI to send to Helix; based on this: https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json - EnableXUnitReporter: false # optional -- true enables XUnit result reporting to Mission Control - WaitForWorkItemCompletion: true # optional -- true will make the task wait until work items have been completed and fail the build if work items fail. False is "fire and forget." - IsExternal: false # [DEPRECATED] -- doesn't do anything, jobs are external if HelixAccessToken is empty and Creator is set - Creator: '' # optional -- if the build is external, use this to specify who is sending the job - condition: succeeded() # optional -- condition for step to execute; defaults to succeeded() - continueOnError: false # optional -- determines whether to continue the build if the step errors; defaults to false + HelixSource: 'pr/default' # required -- sources must start with pr/, official/, prodcon/, or agent/ + HelixType: 'tests/default/' # required -- Helix telemetry which identifies what type of data this is; should include "test" for clarity and must end in '/' + HelixBuild: $(Build.BuildNumber) # required -- the build number Helix will use to identify this -- automatically set to the AzDO build number + HelixTargetQueues: '' # required -- semicolon delimited list of Helix queues to test on; see https://helix.dot.net/api/2018-03-14/info/queues for a list of queues + HelixAccessToken: '' # required -- access token to make Helix API requests; should be provided by the appropriate variable group + HelixPreCommands: '' # optional -- commands to run before Helix work item execution + HelixPostCommands: '' # optional -- commands to run after Helix work item execution + WorkItemDirectory: '' # optional -- a payload directory to zip up and send to Helix; requires WorkItemCommand; incompatible with XUnitProjects + WorkItemCommand: '' # optional -- a command to execute on the payload; requires WorkItemDirectory; incompatible with XUnitProjects + WorkItemTimeout: '' # optional -- a timeout in seconds for the work item command; requires WorkItemDirectory; incompatible with XUnitProjects + CorrelationPayloadDirectory: '' # optional -- a directory to zip up and send to Helix as a correlation payload + XUnitProjects: '' # optional -- semicolon delimited list of XUnitProjects to parse and send to Helix; requires XUnitRuntimeTargetFramework, XUnitPublishTargetFramework, XUnitRunnerVersion, and IncludeDotNetCli=true + XUnitPublishTargetFramework: '' # optional -- framework to use to publish your xUnit projects + XUnitRuntimeTargetFramework: '' # optional -- framework to use for the xUnit console runner + XUnitRunnerVersion: '' # optional -- version of the xUnit nuget package you wish to use on Helix; required for XUnitProjects + IncludeDotNetCli: false # optional -- true will download a version of the .NET CLI onto the Helix machine as a correlation payload; requires DotNetCliPackageType and DotNetCliVersion + DotNetCliPackageType: '' # optional -- either 'sdk' or 'runtime'; determines whether the sdk or runtime will be sent to Helix; see https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json + DotNetCliVersion: '' # optional -- version of the CLI to send to Helix; based on this: https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json + EnableXUnitReporter: false # optional -- true enables XUnit result reporting to Mission Control + WaitForWorkItemCompletion: true # optional -- true will make the task wait until work items have been completed and fail the build if work items fail. False is "fire and forget." + IsExternal: false # [DEPRECATED] -- doesn't do anything, jobs are external if HelixAccessToken is empty and Creator is set + Creator: '' # optional -- if the build is external, use this to specify who is sending the job + DisplayNamePrefix: 'Send job to Helix' # optional -- rename the beginning of the displayName of the steps in AzDO + condition: succeeded() # optional -- condition for step to execute; defaults to succeeded() + continueOnError: false # optional -- determines whether to continue the build if the step errors; defaults to false steps: - powershell: 'powershell "$env:BUILD_SOURCESDIRECTORY\eng\common\msbuild.ps1 $env:BUILD_SOURCESDIRECTORY\eng\common\helixpublish.proj /restore /t:Test /bl:$env:BUILD_SOURCESDIRECTORY\artifacts\log\$env:BuildConfig\SendToHelix.binlog"' - displayName: Send job to Helix (Windows) + displayName: ${{ parameters.DisplayNamePrefix }} (Windows) env: BuildConfig: $(_BuildConfig) HelixSource: ${{ parameters.HelixSource }} @@ -54,7 +55,7 @@ steps: condition: and(${{ parameters.condition }}, eq(variables['Agent.Os'], 'Windows_NT')) continueOnError: ${{ parameters.continueOnError }} - script: $BUILD_SOURCESDIRECTORY/eng/common/msbuild.sh $BUILD_SOURCESDIRECTORY/eng/common/helixpublish.proj /restore /t:Test /bl:$BUILD_SOURCESDIRECTORY/artifacts/log/$BuildConfig/SendToHelix.binlog - displayName: Send job to Helix (Unix) + displayName: ${{ parameters.DisplayNamePrefix }} (Unix) env: BuildConfig: $(_BuildConfig) HelixSource: ${{ parameters.HelixSource }} @@ -80,4 +81,4 @@ steps: Creator: ${{ parameters.Creator }} SYSTEM_ACCESSTOKEN: $(System.AccessToken) condition: and(${{ parameters.condition }}, ne(variables['Agent.Os'], 'Windows_NT')) - continueOnError: ${{ parameters.continueOnError }} + continueOnError: ${{ parameters.continueOnError }} \ No newline at end of file diff --git a/global.json b/global.json index 4222df4c5d6..f970d4a7bbd 100644 --- a/global.json +++ b/global.json @@ -9,6 +9,7 @@ "version": "3.0.100-preview-010024" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19156.20" + "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19158.2", + "Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19158.2" } } diff --git a/src/Common/tests/InternalUtilitiesForTests/InternalUtilitiesForTests.csproj b/src/Common/tests/InternalUtilitiesForTests/InternalUtilitiesForTests.csproj index 8bfcd13b8bf..ee8ae6e23b0 100644 --- a/src/Common/tests/InternalUtilitiesForTests/InternalUtilitiesForTests.csproj +++ b/src/Common/tests/InternalUtilitiesForTests/InternalUtilitiesForTests.csproj @@ -10,7 +10,8 @@ - + + diff --git a/src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj b/src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj index 0a3cde733cc..cfc914f9f80 100644 --- a/src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj +++ b/src/System.Windows.Forms.Design.Editors/tests/UnitTests/System.Windows.Forms.Design.Editors.Tests.csproj @@ -5,8 +5,8 @@ System.Windows.Forms.Design.Editors.Tests - - + + diff --git a/src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj b/src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj index c7a9241902a..72fa43c115d 100644 --- a/src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj +++ b/src/System.Windows.Forms.Design/tests/UnitTests/System.Windows.Forms.Design.Tests.csproj @@ -6,6 +6,11 @@ 7.3 + + + + + diff --git a/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/System.Windows.Forms.IntegrationTests.csproj b/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/System.Windows.Forms.IntegrationTests.csproj index 66a0132e833..0a96110b08c 100644 --- a/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/System.Windows.Forms.IntegrationTests.csproj +++ b/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/System.Windows.Forms.IntegrationTests.csproj @@ -13,6 +13,7 @@ + diff --git a/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/TestHelpers.cs b/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/TestHelpers.cs index efa922880ae..d60f58dc7f7 100644 --- a/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/TestHelpers.cs +++ b/src/System.Windows.Forms/tests/IntegrationTests/System.Windows.Forms.IntegrationTests/TestHelpers.cs @@ -34,15 +34,15 @@ public static Process StartProcess(string byPathFromBinToExe) throw new ArgumentException(nameof(byPathFromBinToExe) + " must end in a .exe"); } - var dotnetPath = DotNetPath(); - if (!Directory.Exists(dotnetPath)) - { - throw new DirectoryNotFoundException(dotnetPath + " directory cannot be found."); + var dotnetPath = DotNetPath(); + if (!Directory.Exists(dotnetPath)) + { + throw new DirectoryNotFoundException(dotnetPath + " directory cannot be found."); } ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = Path.Combine(BinPath(), byPathFromBinToExe.Trim('\\')); - startInfo.EnvironmentVariables["DOTNET_ROOT"] = dotnetPath; + startInfo.EnvironmentVariables["DOTNET_ROOT"] = dotnetPath; // required // ... return StartProcess(startInfo); From 776de7498b114a0add52d96ff62a6010249f174e Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Mon, 11 Mar 2019 10:24:14 -0700 Subject: [PATCH 05/18] [master] Update dependencies from dotnet/corefx (#563) * Update dependencies from https://github.com/dotnet/corefx build 20190308.7 This change updates the following dependencies - System.CodeDom - 4.6.0-preview4.19158.7 - Microsoft.NETCore.Platforms - 3.0.0-preview4.19158.7 - Microsoft.Win32.Registry - 4.6.0-preview4.19158.7 - Microsoft.Win32.SystemEvents - 4.6.0-preview4.19158.7 - System.Windows.Extensions - 4.6.0-preview4.19158.7 - System.Security.Cryptography.Cng - 4.6.0-preview4.19158.7 - System.Security.Permissions - 4.6.0-preview4.19158.7 - System.Configuration.ConfigurationManager - 4.6.0-preview4.19158.7 - System.Drawing.Common - 4.6.0-preview4.19158.7 * Update dependencies from https://github.com/dotnet/corefx build 20190310.1 This change updates the following dependencies - System.CodeDom - 4.6.0-preview4.19160.1 - Microsoft.NETCore.Platforms - 3.0.0-preview4.19160.1 - Microsoft.Win32.Registry - 4.6.0-preview4.19160.1 - Microsoft.Win32.SystemEvents - 4.6.0-preview4.19160.1 - System.Windows.Extensions - 4.6.0-preview4.19160.1 - System.Security.Cryptography.Cng - 4.6.0-preview4.19160.1 - System.Security.Permissions - 4.6.0-preview4.19160.1 - System.Configuration.ConfigurationManager - 4.6.0-preview4.19160.1 - System.Drawing.Common - 4.6.0-preview4.19160.1 * Update dependencies from https://github.com/dotnet/corefx build 20190310.5 This change updates the following dependencies - System.CodeDom - 4.6.0-preview4.19160.5 - Microsoft.NETCore.Platforms - 3.0.0-preview4.19160.5 - Microsoft.Win32.Registry - 4.6.0-preview4.19160.5 - Microsoft.Win32.SystemEvents - 4.6.0-preview4.19160.5 - System.Windows.Extensions - 4.6.0-preview4.19160.5 - System.Security.Cryptography.Cng - 4.6.0-preview4.19160.5 - System.Security.Permissions - 4.6.0-preview4.19160.5 - System.Configuration.ConfigurationManager - 4.6.0-preview4.19160.5 - System.Drawing.Common - 4.6.0-preview4.19160.5 * Update dependencies from https://github.com/dotnet/corefx build 20190310.8 This change updates the following dependencies - System.CodeDom - 4.6.0-preview4.19160.8 - Microsoft.NETCore.Platforms - 3.0.0-preview4.19160.8 - Microsoft.Win32.Registry - 4.6.0-preview4.19160.8 - Microsoft.Win32.SystemEvents - 4.6.0-preview4.19160.8 - System.Windows.Extensions - 4.6.0-preview4.19160.8 - System.Security.Cryptography.Cng - 4.6.0-preview4.19160.8 - System.Security.Permissions - 4.6.0-preview4.19160.8 - System.Configuration.ConfigurationManager - 4.6.0-preview4.19160.8 - System.Drawing.Common - 4.6.0-preview4.19160.8 --- eng/Version.Details.xml | 36 ++++++++++++++++++------------------ eng/Versions.props | 18 +++++++++--------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 57e950cdf50..5bcea25763d 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -7,43 +7,43 @@ Note: if the Uri is a new place, you will need to add a subscription from that p --> - + https://github.com/dotnet/corefx - 8a730a6ecd96fef04d74e1807c8b1d193e0a5f16 + 6d7126e0a329db795930ea17e84369eacb7bae5a - + https://github.com/dotnet/corefx - 8a730a6ecd96fef04d74e1807c8b1d193e0a5f16 + 6d7126e0a329db795930ea17e84369eacb7bae5a - + https://github.com/dotnet/corefx - 8a730a6ecd96fef04d74e1807c8b1d193e0a5f16 + 6d7126e0a329db795930ea17e84369eacb7bae5a - + https://github.com/dotnet/corefx - 8a730a6ecd96fef04d74e1807c8b1d193e0a5f16 + 6d7126e0a329db795930ea17e84369eacb7bae5a - + https://github.com/dotnet/corefx - 8a730a6ecd96fef04d74e1807c8b1d193e0a5f16 + 6d7126e0a329db795930ea17e84369eacb7bae5a - + https://github.com/dotnet/corefx - 8a730a6ecd96fef04d74e1807c8b1d193e0a5f16 + 6d7126e0a329db795930ea17e84369eacb7bae5a - + https://github.com/dotnet/corefx - 8a730a6ecd96fef04d74e1807c8b1d193e0a5f16 + 6d7126e0a329db795930ea17e84369eacb7bae5a - + https://github.com/dotnet/corefx - 8a730a6ecd96fef04d74e1807c8b1d193e0a5f16 + 6d7126e0a329db795930ea17e84369eacb7bae5a - + https://github.com/dotnet/corefx - 8a730a6ecd96fef04d74e1807c8b1d193e0a5f16 + 6d7126e0a329db795930ea17e84369eacb7bae5a https://github.com/dotnet/arcade diff --git a/eng/Versions.props b/eng/Versions.props index 0610c64b827..0ebbf38544c 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -9,15 +9,15 @@ - 4.6.0-preview4.19154.9 - 4.6.0-preview4.19154.9 - 4.6.0-preview4.19154.9 - 4.6.0-preview4.19154.9 - 4.6.0-preview4.19154.9 - 4.6.0-preview4.19154.9 - 4.6.0-preview4.19154.9 - 4.6.0-preview4.19154.9 - 3.0.0-preview4.19154.9 + 4.6.0-preview4.19160.8 + 4.6.0-preview4.19160.8 + 4.6.0-preview4.19160.8 + 4.6.0-preview4.19160.8 + 4.6.0-preview4.19160.8 + 4.6.0-preview4.19160.8 + 4.6.0-preview4.19160.8 + 4.6.0-preview4.19160.8 + 3.0.0-preview4.19160.8 From 64bc53679eb70cff4011204a6c1929a9d0466a99 Mon Sep 17 00:00:00 2001 From: Hugh Bellamy Date: Mon, 11 Mar 2019 17:31:35 +0000 Subject: [PATCH 06/18] Cleanup enums [A] (#555) * Cleanup enums [A] * PR feedback --- .../src/System/Windows/Forms/AnchorStyles.cs | 68 +++++----------- .../src/System/Windows/Forms/Appearance.cs | 42 +++------- .../src/System/Windows/Forms/Application.cs | 31 ------- .../System/Windows/Forms/ArrangeDirection.cs | 45 +++-------- .../Windows/Forms/ArrangeStartingPosition.cs | 53 ++++-------- .../System/Windows/Forms/ArrowDirection.cs | 2 +- .../System/Windows/Forms/AutoCompleteMode.cs | 41 +++------- .../Windows/Forms/AutoCompleteSource.cs | 80 +++++-------------- .../src/System/Windows/Forms/AutoScaleMode.cs | 28 +++---- .../src/System/Windows/Forms/AutoSizeMode.cs | 32 +++----- .../src/System/Windows/Forms/AutoValidate.cs | 34 ++++---- .../Forms/Automation/AutomationLiveSetting.cs | 6 +- .../Automation/AutomationNotificationKind.cs | 7 +- .../src/System/Windows/Forms/AxHost.cs | 7 +- .../src/System/Windows/Forms/HighDpiMode.cs | 38 +++++++++ 15 files changed, 178 insertions(+), 336 deletions(-) create mode 100644 src/System.Windows.Forms/src/System/Windows/Forms/HighDpiMode.cs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AnchorStyles.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AnchorStyles.cs index a2ad4ec20c0..11fe840eb69 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AnchorStyles.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AnchorStyles.cs @@ -2,67 +2,41 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { +using System.ComponentModel; +using System.Drawing.Design; - using System.Diagnostics; - - using System; - using System.ComponentModel; - using System.Drawing; - using System.Drawing.Design; - using System.Windows.Forms.Design; - using Microsoft.Win32; - - - /// +namespace System.Windows.Forms +{ /// - /// - /// Specifies how - /// a - /// control anchors to the edges of its container. - /// + /// Specifies how a control anchors to the edges of its container. /// - [ - Editor("System.Windows.Forms.Design.AnchorEditor, " + AssemblyRef.SystemDesign, typeof(UITypeEditor)), - ] + [Editor("System.Windows.Forms.Design.AnchorEditor, " + AssemblyRef.SystemDesign, typeof(UITypeEditor))] [Flags] - public enum AnchorStyles { - - /// + public enum AnchorStyles + { /// - /// - /// The control is anchored to the top edge of its container. - /// + /// The control is anchored to the top edge of its container. /// - Top = 0x01, - /// + Top = 0x01, + /// - /// - /// The control is anchored to the bottom edge of its container. - /// + /// The control is anchored to the bottom edge of its container. /// - Bottom = 0x02, - /// + Bottom = 0x02, + /// - /// - /// The control is anchored to the left edge of its container. - /// + /// The control is anchored to the left edge of its container. /// - Left = 0x04, - /// + Left = 0x04, + /// - /// - /// The control is anchored to the right edge of its container. - /// + /// The control is anchored to the right edge of its container. /// - Right = 0x08, + Right = 0x08, - /// /// - /// - /// The control is not anchored to any edges of its container. - /// + /// The control is not anchored to any edges of its container. /// - None = 0, + None = 0, } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Appearance.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Appearance.cs index cb43501a0ae..c30ba9b1d7a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Appearance.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Appearance.cs @@ -2,44 +2,24 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using System.Runtime.InteropServices; -namespace System.Windows.Forms { - - using System.Diagnostics; - - using System; - using System.ComponentModel; - using System.Drawing; - using Microsoft.Win32; - - - /// +namespace System.Windows.Forms +{ /// - /// - /// Specifies - /// the appearance of a control. - /// + /// Specifies the appearance of a control. /// - [System.Runtime.InteropServices.ComVisible(true)] - public enum Appearance { - - /// + [ComVisible(true)] + public enum Appearance + { /// - /// - /// The default appearance defined by the control - /// class. - /// + /// The default appearance defined by the control class. /// - Normal = 0, + Normal = 0, - /// /// - /// - /// The appearance of a Windows - /// button. - /// + /// The appearance of a Windows button. /// - Button = 1, - + Button = 1, } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs index 54d3da5e1dc..e77de6fe780 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs @@ -4247,36 +4247,5 @@ protected override void ExitThreadCore() { } } - - /// - /// Specifies the HighDpi mode. - /// - public enum HighDpiMode - { - /// - /// The window does not scale for DPI changes and always assumes a scale factor of 100%. - /// - DpiUnaware, - - /// - /// The window will query for the DPI of the primary monitor once and use this for the process on all monitors. - /// - SystemAware, - - /// - /// The Window checks for DPI when it's created and adjusts scale factor when the DPI changes. - /// - PerMonitor, - - /// - /// Similar to PerMonitor, but enables Child window DPI change notification, improved scaling of comctl32 controls and dialog scaling. - /// - PerMonitorV2, - - /// - /// Similar to DpiUnaware, but improves the quality of GDI/GDI+ based content. - /// - DpiUnawareGdiScaled - } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeDirection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeDirection.cs index 5ee5a996563..08e06879ef4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeDirection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeDirection.cs @@ -2,56 +2,37 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { +using System.Diagnostics.CodeAnalysis; +using System.Runtime.InteropServices; - using System.Diagnostics; - using System.Diagnostics.CodeAnalysis; - - /// +namespace System.Windows.Forms +{ /// - /// - /// Specifies the direction the system uses to arrange - /// minimized windows. - /// + /// Specifies the direction the system uses to arrange minimized windows. /// - [System.Runtime.InteropServices.ComVisible(true)] + [ComVisible(true)] [Flags] - [ - SuppressMessage("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue") // Maps to native enum. - ] - public enum ArrangeDirection { - - /// + [SuppressMessage("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue", Justification = "Maps to native enum")] + public enum ArrangeDirection + { /// - /// - /// Arranges vertically, from top to bottom. - /// + /// Arranges vertically, from top to bottom. /// Down = NativeMethods.ARW_DOWN, - /// /// - /// - /// Arranges horizontally, from left to right. - /// + /// Arranges horizontally, from left to right. /// Left = NativeMethods.ARW_LEFT, - /// /// - /// - /// Arranges horizontally, from right to left. - /// + /// Arranges horizontally, from right to left. /// Right = NativeMethods.ARW_RIGHT, - /// /// - /// - /// Arranges vertically, from bottom to top. - /// + /// Arranges vertically, from bottom to top. /// Up = NativeMethods.ARW_UP, } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeStartingPosition.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeStartingPosition.cs index fdd715e7121..6e68f00d779 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeStartingPosition.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeStartingPosition.cs @@ -2,67 +2,42 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using System.Diagnostics.CodeAnalysis; -namespace System.Windows.Forms { - - using System.Diagnostics; - using System.Diagnostics.CodeAnalysis; - - /// +namespace System.Windows.Forms +{ /// - /// - /// Specifies the starting position that the system uses to - /// arrange minimized - /// windows. - /// + /// Specifies the starting position that the system uses to arrange minimized + /// windows. /// [Flags] - [ - SuppressMessage("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue") // Maps to native enum. - ] - public enum ArrangeStartingPosition { - - /// + [SuppressMessage("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue", Justification = "Maps to native enum.")] + public enum ArrangeStartingPosition + { /// - /// - /// Starts at the lower-left corner of the screen, which is the default position. - /// + /// Starts at the lower-left corner of the screen, which is the default position. /// BottomLeft = NativeMethods.ARW_BOTTOMLEFT, - /// /// - /// - /// Starts at the lower-right corner of the screen. - /// + /// Starts at the lower-right corner of the screen. /// BottomRight = NativeMethods.ARW_BOTTOMRIGHT, - /// /// - /// - /// Hides minimized windows by moving them off the visible area of the - /// screen. - /// + /// Hides minimized windows by moving them off the visible area of the + /// screen. /// Hide = NativeMethods.ARW_HIDE, - /// /// - /// - /// Starts at the upper-left corner of the screen. - /// + /// Starts at the upper-left corner of the screen. /// - TopLeft = NativeMethods.ARW_TOPLEFT, - /// /// - /// - /// Starts at the upper-right corner of the screen. - /// + /// Starts at the upper-right corner of the screen. /// TopRight = NativeMethods.ARW_TOPRIGHT, } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ArrowDirection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ArrowDirection.cs index fe05cd01749..5dc87aa2647 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ArrowDirection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ArrowDirection.cs @@ -7,7 +7,7 @@ namespace System.Windows.Forms { /// - // this enum is tightly coupled to Orientation so you can determine quickly + // This enum is tightly coupled to Orientation so you can determine quickly // an orientation from a direction. (direction & Orientation.Vertical == Orientation.Vertical) /// [SuppressMessage("Microsoft.Design", "CA1027:MarkEnumsWithFlags")] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteMode.cs index 96555c9e597..429fdcce8d7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteMode.cs @@ -2,52 +2,33 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - - using System.Diagnostics; - using System; - - /// +namespace System.Windows.Forms +{ /// - /// - /// Specifies the autocomplete mode for ComboBox and TextBox AutoComplete Feature. - /// + /// Specifies the autocomplete mode for ComboBox and TextBox AutoComplete Feature. /// - public enum AutoCompleteMode { - - /// + public enum AutoCompleteMode + { /// - /// - /// Disables the AutoComplete Feature for ComboBox and TextBox. - /// + /// Disables the AutoComplete Feature for ComboBox and TextBox. /// None = 0, - /// /// - /// - /// Displays the auxiliary drop-down list associated with the edit control, this drop-down is populated - /// with one or more suggested completed strings. - /// + /// Displays the auxiliary drop-down list associated with the edit control, + /// this drop-down is populated with one or more suggested completed strings. /// Suggest = 0x1, - /// /// - /// - /// Appends the remainder of the most likely candidate string to the existing characters, - /// hightlighting the appended characters. - /// + /// Appends the remainder of the most likely candidate string to the existing + /// characters, hightlighting the appended characters. /// Append = 0x2, - /// /// - /// - /// The AutoSuggest and AutoAppend are applied in conjuction. - /// + /// The AutoSuggest and AutoAppend are applied in conjuction. /// SuggestAppend = Suggest | Append } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteSource.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteSource.cs index 1c05eac1b1c..9cef1067c9c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteSource.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteSource.cs @@ -2,97 +2,61 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { +using System.Diagnostics.CodeAnalysis; - using System.Diagnostics; - using System.Diagnostics.CodeAnalysis; - using System; - - /// +namespace System.Windows.Forms +{ /// - /// - /// Specifies the AutoCompleteSource for ComboBox and TextBox AutoComplete Feature. - /// + /// Specifies the AutoCompleteSource for ComboBox and TextBox AutoComplete Feature. /// - [ - SuppressMessage("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue") // Maps to native enum. - ] - public enum AutoCompleteSource { - - /// + [SuppressMessage("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue", Justification = "Maps to native enum.")] + public enum AutoCompleteSource + { /// - /// - /// This option includes the file system as the source. - /// + /// This option includes the file system as the source. /// FileSystem = 0x00000001, - - - /// + /// - /// - /// This option includes the URL's in the users history list. - /// + /// This option includes the URL's in the users history list. /// HistoryList = 0x00000002, - - /// /// - /// - /// This option includes the URL's in the users recently used list. - /// + /// This option includes the URL's in the users recently used list. /// RecentlyUsedList = 0x00000004, - - /// + /// - /// - /// This option is equivalent to HistoryList | RecentlyUsedList. - /// + /// This option is equivalent to HistoryList | RecentlyUsedList. /// AllUrl = HistoryList | RecentlyUsedList, - /// /// - /// - /// This option is equivalent to FILESYSTEM | AllUrl. This is the default value - /// when the AutoCompleteMode has been set to a non default value. - /// + /// This option is equivalent to FILESYSTEM | AllUrl. This is the default + /// value when the AutoCompleteMode has been set to a non default value. /// AllSystemSources = FileSystem | AllUrl, - - /// /// - /// - /// This option is allows to autoComplete just directory names and not the files inside. - /// + /// This option is allows to autoComplete just directory names and not + /// the files inside. /// FileSystemDirectories = 0x00000020, - - - /// + /// - /// - /// This option includes stirngs from a built in String Collection object. - /// + /// This option includes stirngs from a built in String Collection object. /// CustomSource = 0x00000040, - /// /// - /// - /// The default value specifying the no AutoCompleteSource is currently in use. - /// + /// The default value specifying the no AutoCompleteSource is currently + /// in use. /// None = 0x00000080, - /// /// - /// - /// The items of the combobox represent the source. - /// + /// The items of the combobox represent the source. /// ListItems = 0x00000100 } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AutoScaleMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AutoScaleMode.cs index a905af74525..e356d0a77d0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AutoScaleMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AutoScaleMode.cs @@ -2,40 +2,32 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - - using System; - - /// +namespace System.Windows.Forms +{ /// - /// Specifies the auto scaling mode used by a container control. + /// Specifies the auto scaling mode used by a container control. /// - public enum AutoScaleMode { - - /// + public enum AutoScaleMode + { /// - /// AutoScale is turned off. + /// AutoScale is turned off. /// None, - /// /// - /// Controls scale according to the dimensions of the font they are using. + /// Controls scale according to the dimensions of the font they are using. /// Font, - /// /// - /// Controls scale according to the display Dpi. + /// Controls scale according to the display Dpi. /// Dpi, - /// /// - /// Controls scale according to their parent's scaling mode. If there is no parent, - /// This behaves as if AutoScaleMode.None were set. + /// Controls scale according to their parent's scaling mode. + /// If there is no parent, this behaves as if AutoScaleMode.None were set. /// Inherit } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AutoSizeMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AutoSizeMode.cs index 454802a538b..6e18abffa7c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AutoSizeMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AutoSizeMode.cs @@ -2,33 +2,27 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. - -namespace System.Windows.Forms { - - /// +namespace System.Windows.Forms +{ /// - /// - /// Specifies how the control will behave when its AutoSize property is enabled - /// + /// Specifies how the control will behave when its AutoSize property is enabled /// - public enum AutoSizeMode { - + public enum AutoSizeMode + { /// - /// The same behavior as you get for controls with AutoSize and no AutoSizeMode property. - /// The control will grow or shrink to encompass the contents (e.g. text for a Button, child - /// controls for a container). The MinimumSize and MaximumSize are followed, but the current - // value of the Size property is ignored. + /// The same behavior as you get for controls with AutoSize and no AutoSizeMode + /// property. The control will grow or shrink to encompass the contents (e.g. + /// text for a Button, child controls for a container). The MinimumSize and + /// MaximumSize are followed, but the current value of the Size property is + /// ignored. /// GrowAndShrink, - /// - /// The control will grow as much as it needs to encompass its contents (e.g. text for a button, - /// child controls for a container), but will not shrink smaller than its Size, whichever is larger. + /// The control will grow as much as it needs to encompass its contents (e.g. + /// text for a button, child controls for a container), but will not shrink + /// smaller than its Size, whichever is larger. /// GrowOnly } } - - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AutoValidate.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AutoValidate.cs index 807a35e57cf..7f27c9043bd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AutoValidate.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AutoValidate.cs @@ -2,41 +2,35 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. - -namespace System.Windows.Forms { - - using System.Diagnostics; - - /// +namespace System.Windows.Forms +{ /// - /// For a given container control, determines whether the data in child controls - /// will automatically be validated when the user attempts to change the focus. + /// For a given container control, determines whether the data in child controls + /// will automatically be validated when the user attempts to change the focus. /// - public enum AutoValidate { - - /// + public enum AutoValidate + { /// - /// Controls in this container will not be validated when the focus changes. + /// Controls in this container will not be validated when the focus changes. /// Disable = 0, - /// /// - /// Controls in this container will be validated when the focus changes. - /// If a validation error occurs, the focus is forced to stay in the current control. + /// Controls in this container will be validated when the focus changes. + /// If a validation error occurs, the focus is forced to stay in the + /// current control. /// EnablePreventFocusChange = 1, - /// /// - /// Controls in this container will be validated when the focus changes. - /// If a validation error occurs, the focus is allowed to move to the other control. + /// Controls in this container will be validated when the focus changes. + /// If a validation error occurs, the focus is allowed to move to the other + /// control. /// EnableAllowFocusChange = 2, - /// /// - /// AutoValidate setting for this container is determined by its parent container. + /// AutoValidate setting for this container is determined by its parent container. /// Inherit = -1, } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Automation/AutomationLiveSetting.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Automation/AutomationLiveSetting.cs index b9d1df5979d..3217dc37f00 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Automation/AutomationLiveSetting.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Automation/AutomationLiveSetting.cs @@ -2,11 +2,13 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms.Automation { +namespace System.Windows.Forms.Automation +{ /// /// Describes the notification characteristics of a particular live region /// - public enum AutomationLiveSetting { + public enum AutomationLiveSetting + { /// /// The element does not send notifications if the content of the live region has changed. /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Automation/AutomationNotificationKind.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Automation/AutomationNotificationKind.cs index 5c4325c86ca..c3d7c8a1e9f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Automation/AutomationNotificationKind.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Automation/AutomationNotificationKind.cs @@ -2,12 +2,13 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms.Automation { - +namespace System.Windows.Forms.Automation +{ /// /// Indicates the type of notification when raising the UIA Notification event. /// - public enum AutomationNotificationKind { + public enum AutomationNotificationKind + { /// /// The current element container has had something added to it that should be presented to the user. diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.cs index c6dab9136af..cccfccadd40 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.cs @@ -3626,13 +3626,10 @@ internal bool Connected { } } - /// - public enum ActiveXInvokeKind { - /// + public enum ActiveXInvokeKind + { MethodInvoke, - /// PropertyGet, - /// PropertySet } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HighDpiMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HighDpiMode.cs new file mode 100644 index 00000000000..669a7d18437 --- /dev/null +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HighDpiMode.cs @@ -0,0 +1,38 @@ + +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace System.Windows.Forms +{ + /// + /// Specifies the HighDpi mode. + /// + public enum HighDpiMode + { + /// + /// The window does not scale for DPI changes and always assumes a scale factor of 100%. + /// + DpiUnaware, + + /// + /// The window will query for the DPI of the primary monitor once and use this for the process on all monitors. + /// + SystemAware, + + /// + /// The Window checks for DPI when it's created and adjusts scale factor when the DPI changes. + /// + PerMonitor, + + /// + /// Similar to PerMonitor, but enables Child window DPI change notification, improved scaling of comctl32 controls and dialog scaling. + /// + PerMonitorV2, + + /// + /// Similar to DpiUnaware, but improves the quality of GDI/GDI+ based content. + /// + DpiUnawareGdiScaled + } +} From dc8f9774ca260b5e58c91d3e69258c41ed2e67b7 Mon Sep 17 00:00:00 2001 From: Judit Varsanyi Rozsa Date: Mon, 11 Mar 2019 11:12:53 -0700 Subject: [PATCH 07/18] add resx config (#548) * add resx config * add xlf config --- .editorconfig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index d0fc68ad74b..65d10f8b98f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -154,13 +154,19 @@ indent_size = 2 indent_size = 2 # Xml files -[*.{xml,stylecop,resx,ruleset}] +[*.{xml,stylecop,ruleset}] indent_size = 2 # Xml config files [*.{props,targets,config,nuspec}] indent_size = 2 +# resx Files +[*.{resx,xlf}] +indent_size = 2 +charset = utf-8-bom +insert_final_newline = true + # Shell scripts [*.sh] end_of_line = lf From b508990a85908a4ea1d02aafe786fe12a8b9b351 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Mon, 11 Mar 2019 11:24:47 -0700 Subject: [PATCH 08/18] [master] Update dependencies from dotnet/arcade (#541) * Update dependencies from https://github.com/dotnet/arcade build 20190307.23 This change updates the following dependencies - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19157.23 - Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19157.23 - Microsoft.DotNet.GenFacades - 1.0.0-beta.19157.23 * Update dependencies from https://github.com/dotnet/arcade build 20190308.5 This change updates the following dependencies - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19158.5 - Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19158.5 - Microsoft.DotNet.GenFacades - 1.0.0-beta.19158.5 * Update dependencies from https://github.com/dotnet/arcade build 20190309.2 This change updates the following dependencies - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19159.2 - Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19159.2 - Microsoft.DotNet.GenFacades - 1.0.0-beta.19159.2 * Update dependencies from https://github.com/dotnet/arcade build 20190310.1 This change updates the following dependencies - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19160.1 - Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19160.1 - Microsoft.DotNet.GenFacades - 1.0.0-beta.19160.1 * Update dependencies from https://github.com/dotnet/arcade build 20190310.2 This change updates the following dependencies - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19160.2 - Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19160.2 - Microsoft.DotNet.GenFacades - 1.0.0-beta.19160.2 --- eng/Version.Details.xml | 12 ++++++------ eng/Versions.props | 4 ++-- eng/common/PublishToPackageFeed.proj | 1 - global.json | 2 +- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 5bcea25763d..5ef66b7f5ef 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -45,17 +45,17 @@ Note: if the Uri is a new place, you will need to add a subscription from that p https://github.com/dotnet/corefx 6d7126e0a329db795930ea17e84369eacb7bae5a - + https://github.com/dotnet/arcade - b9f7cb3de92127532bd57619972ebbebc3fe685b + 89ab8b2b806397e5e444809a6ac12e275e0e20a2 - + https://github.com/dotnet/arcade - b9f7cb3de92127532bd57619972ebbebc3fe685b + 89ab8b2b806397e5e444809a6ac12e275e0e20a2 - + https://github.com/dotnet/arcade - b9f7cb3de92127532bd57619972ebbebc3fe685b + 89ab8b2b806397e5e444809a6ac12e275e0e20a2 https://github.com/dotnet/arcade diff --git a/eng/Versions.props b/eng/Versions.props index 0ebbf38544c..a74f3c10a95 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -21,8 +21,8 @@ - 1.0.0-beta.19158.2 - 2.4.0-beta.19158.2 + 1.0.0-beta.19160.2 + 2.4.0-beta.19160.2 diff --git a/eng/common/PublishToPackageFeed.proj b/eng/common/PublishToPackageFeed.proj index 8149e3fb6a1..b26d28a90b8 100644 --- a/eng/common/PublishToPackageFeed.proj +++ b/eng/common/PublishToPackageFeed.proj @@ -11,7 +11,6 @@ - diff --git a/global.json b/global.json index f970d4a7bbd..372b4c4fbc3 100644 --- a/global.json +++ b/global.json @@ -9,7 +9,7 @@ "version": "3.0.100-preview-010024" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19158.2", + "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19160.2", "Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19158.2" } } From eb916653c75fab717745b9c46d5969b73355c5bb Mon Sep 17 00:00:00 2001 From: Zachary Danz Date: Mon, 11 Mar 2019 13:55:46 -0700 Subject: [PATCH 09/18] MicrosoftNETCorePlatformsPackageVersion, not MicrosoftNETCorePlatformsVersion (#568) --- eng/Versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/Versions.props b/eng/Versions.props index a74f3c10a95..1feeab71495 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -17,7 +17,7 @@ 4.6.0-preview4.19160.8 4.6.0-preview4.19160.8 4.6.0-preview4.19160.8 - 3.0.0-preview4.19160.8 + 3.0.0-preview4.19160.8 From ce3976feeef4e7ff1e4a1ad970cc39180c68014f Mon Sep 17 00:00:00 2001 From: Hugh Bellamy Date: Mon, 11 Mar 2019 21:42:00 +0000 Subject: [PATCH 10/18] Add BindingCollection tests and fix resultant bugs (#554) * Cleanup Binding collections * Add BindingCollection tests, fix Debug asserts and bugs --- .../src/System/Windows/Forms/Binding.cs | 4 +- .../Windows/Forms/BindingsCollection.cs | 207 +++---- .../Forms/ControlBindingsCollection.cs | 227 ++++--- .../Forms/ListManagerBindingsCollection.cs | 68 ++- .../Windows/Forms/BindingManagerBaseTests.cs | 158 +++++ .../Windows/Forms/BindingsCollectionTests.cs | 563 ++++++++++++++++++ .../Forms/ControlBindingsCollectionTests.cs | 426 +++++++++++++ 7 files changed, 1365 insertions(+), 288 deletions(-) create mode 100644 src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/BindingManagerBaseTests.cs create mode 100644 src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/BindingsCollectionTests.cs create mode 100644 src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ControlBindingsCollectionTests.cs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Binding.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Binding.cs index ba5d23764e7..0682db65add 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Binding.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Binding.cs @@ -477,7 +477,7 @@ private void binding_MetaDataChanged(object sender, EventArgs e) { private void CheckBinding() { this.bindToObject.CheckBinding(); - if (control != null && propertyName.Length > 0) { + if (control != null && !string.IsNullOrEmpty(propertyName)) { control.DataBindings.CheckDuplicates(this); Type controlClass = control.GetType(); @@ -1107,7 +1107,7 @@ private void Target_Validate(object sender, CancelEventArgs e) { internal bool IsBindable { get { - return (control != null && propertyName.Length > 0 && + return (control != null && !string.IsNullOrEmpty(propertyName) && bindToObject.DataSource != null && bindingManagerBase != null); } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingsCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingsCollection.cs index 62c583cb9a8..06c236fd1f3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingsCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingsCollection.cs @@ -2,199 +2,134 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - - using System; - using Microsoft.Win32; - using System.Diagnostics; - using System.ComponentModel; - using System.Collections; - - /// +using System.ComponentModel; +using System.Collections; + +namespace System.Windows.Forms +{ /// - /// Represents a collection of data bindings on a control. + /// Represents a collection of data bindings on a control. /// [DefaultEvent(nameof(CollectionChanged))] - public class BindingsCollection : System.Windows.Forms.BaseCollection { - - private ArrayList list; - private CollectionChangeEventHandler onCollectionChanging; - private CollectionChangeEventHandler onCollectionChanged; + public class BindingsCollection : BaseCollection + { + private ArrayList _list; + private CollectionChangeEventHandler _onCollectionChanging; + private CollectionChangeEventHandler _onCollectionChanged; - // internalonly - internal BindingsCollection() { + internal BindingsCollection() + { } - /// - public override int Count { - get { - if (list == null) { - return 0; - } - return base.Count; - } - } + public override int Count => _list == null ? 0 : base.Count; - /// - /// /// - /// - /// Gets the bindings in the collection as an object. - /// + /// Gets the bindings in the collection as an object. /// - protected override ArrayList List { - get { - if (list == null) - list = new ArrayList(); - return list; - } - } - - /// + protected override ArrayList List => _list ?? (_list = new ArrayList()); + /// - /// Gets the at the specified index. + /// Gets the at the specified index. /// - public Binding this[int index] { - get { - return (Binding) List[index]; - } - } + public Binding this[int index] => (Binding)List[index]; - /// - // internalonly - internal protected void Add(Binding binding) { - CollectionChangeEventArgs ccevent = new CollectionChangeEventArgs(CollectionChangeAction.Add, binding); - OnCollectionChanging(ccevent); + internal protected void Add(Binding binding) + { + var eventArgs = new CollectionChangeEventArgs(CollectionChangeAction.Add, binding); + OnCollectionChanging(eventArgs); AddCore(binding); - OnCollectionChanged(ccevent); + OnCollectionChanged(eventArgs); } - // internalonly - /// - /// /// - /// - /// Adds a - /// to the collection. - /// + /// Adds a to the collection. /// - protected virtual void AddCore(Binding dataBinding) { + protected virtual void AddCore(Binding dataBinding) + { if (dataBinding == null) + { throw new ArgumentNullException(nameof(dataBinding)); + } List.Add(dataBinding); } - /// /// - /// - /// Occurs when the collection is about to change. - /// + /// Occurs when the collection is about to change. /// [SRDescription(nameof(SR.collectionChangingEventDescr))] - public event CollectionChangeEventHandler CollectionChanging { - add { - onCollectionChanging += value; + public event CollectionChangeEventHandler CollectionChanging + { + add + { + _onCollectionChanging += value; } - remove { - onCollectionChanging -= value; + remove + { + _onCollectionChanging -= value; } } - /// /// - /// - /// Occurs when the collection is changed. - /// + /// Occurs when the collection is changed. /// [SRDescription(nameof(SR.collectionChangedEventDescr))] - public event CollectionChangeEventHandler CollectionChanged { - add { - onCollectionChanged += value; + public event CollectionChangeEventHandler CollectionChanged + { + add + { + _onCollectionChanged += value; } - remove { - onCollectionChanged -= value; + remove + { + _onCollectionChanged -= value; } } - // internalonly - /// - internal protected void Clear() { - CollectionChangeEventArgs ccevent = new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null); - OnCollectionChanging(ccevent); + internal protected void Clear() + { + var eventArgs = new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null); + OnCollectionChanging(eventArgs); ClearCore(); - OnCollectionChanged(ccevent); + OnCollectionChanged(eventArgs); } - // internalonly - /// - /// /// - /// - /// Clears the collection of any members. - /// + /// Clears the collection of any members. /// - protected virtual void ClearCore() { - List.Clear(); - } + protected virtual void ClearCore() => List.Clear(); - /// /// - /// - /// Raises the event. - /// + /// Raises the event. /// - protected virtual void OnCollectionChanging(CollectionChangeEventArgs e) { - if (onCollectionChanging != null) { - onCollectionChanging(this, e); - } + protected virtual void OnCollectionChanging(CollectionChangeEventArgs e) + { + _onCollectionChanging?.Invoke(this, e); } - /// /// - /// - /// Raises the event. - /// + /// Raises the event. /// - protected virtual void OnCollectionChanged(CollectionChangeEventArgs ccevent) { - if (onCollectionChanged != null) { - onCollectionChanged(this, ccevent); - } + protected virtual void OnCollectionChanged(CollectionChangeEventArgs ccevent) + { + _onCollectionChanged?.Invoke(this, ccevent); } - /// - // internalonly - internal protected void Remove(Binding binding) { - CollectionChangeEventArgs ccevent = new CollectionChangeEventArgs(CollectionChangeAction.Remove, binding); - OnCollectionChanging(ccevent); + internal protected void Remove(Binding binding) + { + var eventArgs = new CollectionChangeEventArgs(CollectionChangeAction.Remove, binding); + OnCollectionChanging(eventArgs); RemoveCore(binding); - OnCollectionChanged(ccevent); + OnCollectionChanged(eventArgs); } + internal protected void RemoveAt(int index) => Remove(this[index]); - /// - // internalonly - internal protected void RemoveAt(int index) { - Remove(this[index]); - } - - // internalonly - /// - /// /// - /// - /// Removes the specified from the collection. - /// + /// Removes the specified from the collection. /// - protected virtual void RemoveCore(Binding dataBinding) { - List.Remove(dataBinding); - } + protected virtual void RemoveCore(Binding dataBinding) => List.Remove(dataBinding); - - /// - // internalonly - internal protected bool ShouldSerializeMyAll() { - return Count > 0; - } + internal protected bool ShouldSerializeMyAll() => Count > 0; } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ControlBindingsCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ControlBindingsCollection.cs index d45eaa024e2..9874f1844f0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ControlBindingsCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ControlBindingsCollection.cs @@ -2,207 +2,190 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - - using System; - using Microsoft.Win32; - using System.Diagnostics; - using System.ComponentModel; - using System.Collections; - using System.Globalization; - - /// +using System.ComponentModel; +using System.Diagnostics; +using System.Drawing.Design; +using System.Globalization; + +namespace System.Windows.Forms +{ /// - /// - /// Represents the collection of data bindings for a control. + /// Represents the collection of data bindings for a control. /// - [DefaultEvent(nameof(CollectionChanged)), - Editor("System.Drawing.Design.UITypeEditor, " + AssemblyRef.SystemDrawing, typeof(System.Drawing.Design.UITypeEditor)), - TypeConverterAttribute("System.Windows.Forms.Design.ControlBindingsConverter, " + AssemblyRef.SystemDesign), - ] - public class ControlBindingsCollection : BindingsCollection { - - internal IBindableComponent control; - - private DataSourceUpdateMode defaultDataSourceUpdateMode = DataSourceUpdateMode.OnValidation; + [DefaultEvent(nameof(CollectionChanged))] + [Editor("System.Drawing.Design.UITypeEditor, " + AssemblyRef.SystemDrawing, typeof(UITypeEditor))] + [TypeConverter("System.Windows.Forms.Design.ControlBindingsConverter, " + AssemblyRef.SystemDesign)] + public class ControlBindingsCollection : BindingsCollection + { + private IBindableComponent _control; - /// - public ControlBindingsCollection(IBindableComponent control) : base() { - Debug.Assert(control != null, "How could a controlbindingscollection not have a control associated with it!"); - this.control = control; + public ControlBindingsCollection(IBindableComponent control) + { + this._control = control; } - /// - public IBindableComponent BindableComponent { - get { - return this.control; - } - } - - /// - public Control Control { - get { - return this.control as Control; - } - } + public IBindableComponent BindableComponent => _control; - /// - public Binding this[string propertyName] { - get { - foreach (Binding binding in this) { + public Control Control => _control as Control; + + public Binding this[string propertyName] + { + get + { + foreach (Binding binding in this) + { if (string.Equals(binding.PropertyName, propertyName, StringComparison.OrdinalIgnoreCase)) { return binding; } } + return null; } } - - /// + /// - /// Adds the binding to the collection. An ArgumentNullException is thrown if this binding - /// is null. An exception is thrown if a binding to the same target and Property as an existing binding or - /// if the binding's column isn't a valid column given this DataSource.Table's schema. + /// Adds the binding to the collection. An ArgumentNullException is thrown if this + /// binding is null. An exception is thrown if a binding to the same target and + /// Property as an existing binding or if the binding's column isn't a valid column + /// given this DataSource.Table's schema. /// Fires the CollectionChangedEvent. /// - public new void Add(Binding binding) { - base.Add(binding); - } + public new void Add(Binding binding) => base.Add(binding); - /// /// - /// Creates the binding and adds it to the collection. An InvalidBindingException is thrown - /// if this binding can't be constructed. An exception is thrown if a binding to the same target and Property as an existing binding or - /// if the binding's column isn't a valid column given this DataSource.Table's schema. + /// Creates the binding and adds it to the collection. An InvalidBindingException is + /// thrown if this binding can't be constructed. An exception is thrown if a binding + /// to the same target and Property as an existing binding or if the binding's column + /// isn't a valid column given this DataSource.Table's schema. /// Fires the CollectionChangedEvent. /// - public Binding Add(string propertyName, object dataSource, string dataMember) { - return Add(propertyName, dataSource, dataMember, false, this.DefaultDataSourceUpdateMode, null, string.Empty, null); + public Binding Add(string propertyName, object dataSource, string dataMember) + { + return Add(propertyName, dataSource, dataMember, false, DefaultDataSourceUpdateMode, null, string.Empty, null); } - /// - public Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled) { - return Add(propertyName, dataSource, dataMember, formattingEnabled, this.DefaultDataSourceUpdateMode, null, string.Empty, null); + public Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled) + { + return Add(propertyName, dataSource, dataMember, formattingEnabled, DefaultDataSourceUpdateMode, null, string.Empty, null); } - /// - public Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled, DataSourceUpdateMode updateMode) { + public Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled, DataSourceUpdateMode updateMode) + { return Add(propertyName, dataSource, dataMember, formattingEnabled, updateMode, null, string.Empty, null); } - /// - public Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled, DataSourceUpdateMode updateMode, object nullValue) { + public Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled, DataSourceUpdateMode updateMode, object nullValue) + { return Add(propertyName, dataSource, dataMember, formattingEnabled, updateMode, nullValue, string.Empty, null); } - /// - public Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled, DataSourceUpdateMode updateMode, object nullValue, string formatString) { + public Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled, DataSourceUpdateMode updateMode, object nullValue, string formatString) + { return Add(propertyName, dataSource, dataMember, formattingEnabled, updateMode, nullValue, formatString, null); } - /// - public Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled, DataSourceUpdateMode updateMode, object nullValue, string formatString, IFormatProvider formatInfo) { + public Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled, DataSourceUpdateMode updateMode, object nullValue, string formatString, IFormatProvider formatInfo) + { if (dataSource == null) + { throw new ArgumentNullException(nameof(dataSource)); - Binding binding = new Binding(propertyName, dataSource, dataMember, formattingEnabled, updateMode, nullValue, formatString, formatInfo); + } + + var binding = new Binding(propertyName, dataSource, dataMember, formattingEnabled, updateMode, nullValue, formatString, formatInfo); Add(binding); return binding; } - /// /// - /// Creates the binding and adds it to the collection. An InvalidBindingException is thrown - /// if this binding can't be constructed. An exception is thrown if a binding to the same target and Property as an existing binding or - /// if the binding's column isn't a valid column given this DataSource.Table's schema. + /// Creates the binding and adds it to the collection. An InvalidBindingException is + /// thrown if this binding can't be constructed. An exception is thrown if a binding to + /// the same target and Property as an existing binding or if the binding's column isn't + /// a valid column given this DataSource.Table's schema. /// Fires the CollectionChangedEvent. /// - protected override void AddCore(Binding dataBinding) { + protected override void AddCore(Binding dataBinding) + { if (dataBinding == null) + { throw new ArgumentNullException(nameof(dataBinding)); - if (dataBinding.BindableComponent == control) - throw new ArgumentException(SR.BindingsCollectionAdd1); + } + if (dataBinding.BindableComponent == _control) + { + throw new ArgumentException(SR.BindingsCollectionAdd1, nameof(dataBinding)); + } if (dataBinding.BindableComponent != null) - throw new ArgumentException(SR.BindingsCollectionAdd2); + { + throw new ArgumentException(SR.BindingsCollectionAdd2, nameof(dataBinding)); + } // important to set prop first for error checking. - dataBinding.SetBindableComponent(control); + dataBinding.SetBindableComponent(_control); base.AddCore(dataBinding); } - // internalonly - internal void CheckDuplicates(Binding binding) { - if (binding.PropertyName.Length == 0) { - return; - } - for (int i = 0; i < Count; i++) { - if (binding != this[i] && this[i].PropertyName.Length > 0 && - (string.Compare(binding.PropertyName, this[i].PropertyName, false, CultureInfo.InvariantCulture) == 0)) { - throw new ArgumentException(SR.BindingsCollectionDup, "binding"); + internal void CheckDuplicates(Binding binding) + { + Debug.Assert(!string.IsNullOrEmpty(binding.PropertyName), "The caller should check for this."); + + for (int i = 0; i < Count; i++) + { + Binding current = this[i]; + if (binding != current && !string.IsNullOrEmpty(current.PropertyName) && + string.Equals(binding.PropertyName, current.PropertyName, StringComparison.InvariantCulture)) + { + throw new ArgumentException(SR.BindingsCollectionDup, nameof(binding)); } } } - /// /// /// Clears the collection of any bindings. /// Fires the CollectionChangedEvent. /// - public new void Clear() { - base.Clear(); - } + public new void Clear() => base.Clear(); - // internalonly - /// - protected override void ClearCore() { + protected override void ClearCore() + { int numLinks = Count; - for (int i = 0; i < numLinks; i++) { + for (int i = 0; i < numLinks; i++) + { Binding dataBinding = this[i]; dataBinding.SetBindableComponent(null); } + base.ClearCore(); } - /// - /// - /// - public DataSourceUpdateMode DefaultDataSourceUpdateMode { - get { - return defaultDataSourceUpdateMode; - } - - set { - defaultDataSourceUpdateMode = value; - } - } + public DataSourceUpdateMode DefaultDataSourceUpdateMode { get; set; } = DataSourceUpdateMode.OnValidation; - /// /// /// Removes the given binding from the collection. - /// An ArgumentNullException is thrown if this binding is null. An ArgumentException is thrown - /// if this binding doesn't belong to this collection. + /// An ArgumentNullException is thrown if this binding is null. An ArgumentException is + /// thrown if this binding doesn't belong to this collection. /// The CollectionChanged event is fired if it succeeds. /// - public new void Remove(Binding binding) { - base.Remove(binding); - } + public new void Remove(Binding binding) => base.Remove(binding); - /// /// /// Removes the given binding from the collection. - /// It throws an IndexOutOfRangeException if this doesn't have - /// a valid binding. + /// It throws an IndexOutOfRangeException if this doesn't have a valid binding. /// The CollectionChanged event is fired if it succeeds. /// - public new void RemoveAt(int index) { - base.RemoveAt(index); - } + public new void RemoveAt(int index) => base.RemoveAt(index); + + protected override void RemoveCore(Binding dataBinding) + { + if (dataBinding == null) + { + throw new ArgumentNullException(nameof(dataBinding)); + } + if (dataBinding.BindableComponent != _control) + { + throw new ArgumentException(SR.BindingsCollectionForeign, nameof(dataBinding)); + } - /// - protected override void RemoveCore(Binding dataBinding) { - if (dataBinding.BindableComponent != control) - throw new ArgumentException(SR.BindingsCollectionForeign); dataBinding.SetBindableComponent(null); base.RemoveCore(dataBinding); } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListManagerBindingsCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListManagerBindingsCollection.cs index ca64d5bce86..133422d412f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListManagerBindingsCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListManagerBindingsCollection.cs @@ -2,59 +2,71 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - - using System; - using Microsoft.Win32; - using System.Diagnostics; - using System.ComponentModel; - using System.Collections; - - /// +using System.Diagnostics; +using System.ComponentModel; + +namespace System.Windows.Forms +{ /// - /// BindingsCollection is a collection of bindings for a Control. It has Add/Remove capabilities, + /// BindingsCollection is a collection of bindings for a Control. It has Add/Remove capabilities, /// as well as an All array property, enumeration, etc. /// [DefaultEvent(nameof(CollectionChanged))] - internal class ListManagerBindingsCollection : BindingsCollection { + internal class ListManagerBindingsCollection : BindingsCollection + { + private BindingManagerBase _bindingManagerBase; - private BindingManagerBase bindingManagerBase; - - /// /// /// ColumnsCollection constructor. Used only by DataSource. /// - internal ListManagerBindingsCollection(BindingManagerBase bindingManagerBase) : base() { + internal ListManagerBindingsCollection(BindingManagerBase bindingManagerBase) : base() + { Debug.Assert(bindingManagerBase != null, "How could a listmanagerbindingscollection not have a bindingManagerBase associated with it!"); - this.bindingManagerBase = bindingManagerBase; + this._bindingManagerBase = bindingManagerBase; } - protected override void AddCore(Binding dataBinding) { + protected override void AddCore(Binding dataBinding) + { if (dataBinding == null) + { throw new ArgumentNullException(nameof(dataBinding)); - if (dataBinding.BindingManagerBase == bindingManagerBase) - throw new ArgumentException(SR.BindingsCollectionAdd1, "dataBinding"); + } + if (dataBinding.BindingManagerBase == _bindingManagerBase) + { + throw new ArgumentException(SR.BindingsCollectionAdd1, nameof(dataBinding)); + } if (dataBinding.BindingManagerBase != null) - throw new ArgumentException(SR.BindingsCollectionAdd2, "dataBinding"); + { + throw new ArgumentException(SR.BindingsCollectionAdd2, nameof(dataBinding)); + } // important to set prop first for error checking. - dataBinding.SetListManager(bindingManagerBase); + dataBinding.SetListManager(_bindingManagerBase); base.AddCore(dataBinding); } - protected override void ClearCore() { + protected override void ClearCore() + { int numLinks = Count; - for (int i = 0; i < numLinks; i++) { - Binding dataBinding = this[i]; - dataBinding.SetListManager(null); + for (int i = 0; i < numLinks; i++) + { + this[i].SetListManager(null); } base.ClearCore(); } - protected override void RemoveCore(Binding dataBinding) { - if (dataBinding.BindingManagerBase != bindingManagerBase) - throw new ArgumentException(SR.BindingsCollectionForeign); + protected override void RemoveCore(Binding dataBinding) + { + if (dataBinding == null) + { + throw new ArgumentNullException(nameof(dataBinding)); + } + if (dataBinding.BindingManagerBase != _bindingManagerBase) + { + throw new ArgumentException(SR.BindingsCollectionForeign, nameof(dataBinding)); + } + dataBinding.SetListManager(null); base.RemoveCore(dataBinding); } diff --git a/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/BindingManagerBaseTests.cs b/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/BindingManagerBaseTests.cs new file mode 100644 index 00000000000..2e0f47a484a --- /dev/null +++ b/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/BindingManagerBaseTests.cs @@ -0,0 +1,158 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Collections.Generic; +using Xunit; + +namespace System.Windows.Forms.Tests +{ + public class BindingManagerBaseTests + { + [Fact] + public void Bindings_Get_ReturnsExpected() + { + var manager = new PropertyManager(); + Assert.Empty(manager.Bindings); + Assert.Same(manager.Bindings, manager.Bindings); + } + + [Fact] + public void Bindings_Add_Success() + { + var manager = new PropertyManager(); + BindingsCollection collection = manager.Bindings; + var binding = new Binding(null, new object(), "member"); + + collection.Add(binding); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(manager, binding.BindingManagerBase); + } + + [Fact] + public void Bindings_AddNull_ThrowsArgumentNullException() + { + var manager = new PropertyManager(); + BindingsCollection collection = manager.Bindings; + Assert.Throws("dataBinding", () => collection.Add(null)); + } + + [Fact] + public void Bindings_AddAlreadyInSameManager_ThrowsArgumentException() + { + var manager = new PropertyManager(); + BindingsCollection collection = manager.Bindings; + var binding = new Binding(null, new object(), "member"); + + collection.Add(binding); + Assert.Throws("dataBinding", () => collection.Add(binding)); + } + + [Fact] + public void Bindings_AddAlreadyInDifferentManager_ThrowsArgumentException() + { + var manager1 = new PropertyManager(); + var manager2 = new PropertyManager(); + BindingsCollection collection1 = manager1.Bindings; + BindingsCollection collection2 = manager2.Bindings; + var binding = new Binding(null, new object(), "member"); + + collection1.Add(binding); + Assert.Throws("dataBinding", () => collection2.Add(binding)); + } + + [Fact] + public void Bindings_Clear_Success() + { + var manager = new PropertyManager(); + BindingsCollection collection = manager.Bindings; + var binding = new Binding(null, new object(), "member"); + + collection.Add(binding); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(manager, binding.BindingManagerBase); + + collection.Clear(); + Assert.Empty(collection); + Assert.Null(binding.BindingManagerBase); + + // Clear again. + collection.Clear(); + Assert.Empty(collection); + } + + [Fact] + public void Bindings_Remove_Success() + { + var manager = new PropertyManager(); + BindingsCollection collection = manager.Bindings; + var binding = new Binding(null, new object(), "member"); + + collection.Add(binding); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(manager, binding.BindingManagerBase); + + collection.Remove(binding); + Assert.Empty(collection); + Assert.Null(binding.BindingManagerBase); + } + + [Fact] + public void Bindings_RemoveNullDataBinding_ThrowsArgumentNullException() + { + var manager = new PropertyManager(); + BindingsCollection collection = manager.Bindings; + var binding = new Binding(null, new object(), "member"); + collection.Add(binding); + + Assert.Throws("dataBinding", () => collection.Remove(null)); + Assert.Same(binding, Assert.Single(collection)); + } + + [Fact] + public void Bindings_RemoveNoSuchDataBinding_ThrowsArgumentException() + { + var manager = new PropertyManager(); + BindingsCollection collection = manager.Bindings; + var binding1 = new Binding(null, new object(), "member"); + var binding2 = new Binding(null, new object(), "member"); + collection.Add(binding1); + + Assert.Throws("dataBinding", () => collection.Remove(binding2)); + Assert.Same(binding1, Assert.Single(collection)); + } + + [Fact] + public void Bindings_RemoveDataBindingFromOtherCollection_ThrowsArgumentException() + { + var manager1 = new PropertyManager(); + var manager2 = new PropertyManager(); + BindingsCollection collection1 = manager1.Bindings; + BindingsCollection collection2 = manager2.Bindings; + var binding1 = new Binding(null, new object(), "member"); + var binding2 = new Binding(null, new object(), "member"); + collection1.Add(binding1); + collection2.Add(binding2); + + Assert.Throws("dataBinding", () => collection2.Remove(binding1)); + Assert.Same(binding1, Assert.Single(collection1)); + Assert.Same(binding2, Assert.Single(collection2)); + } + + [Fact] + public void Bindings_RemoveAt_Success() + { + var manager = new PropertyManager(); + BindingsCollection collection = manager.Bindings; + var binding = new Binding(null, new object(), "member"); + + collection.Add(binding); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(manager, binding.BindingManagerBase); + + collection.RemoveAt(0); + Assert.Empty(collection); + Assert.Null(binding.BindingManagerBase); + } + } +} diff --git a/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/BindingsCollectionTests.cs b/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/BindingsCollectionTests.cs new file mode 100644 index 00000000000..0fe0b8f8269 --- /dev/null +++ b/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/BindingsCollectionTests.cs @@ -0,0 +1,563 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Collections; +using System.Collections.Generic; +using System.ComponentModel; +using Xunit; + +namespace System.Windows.Forms.Tests +{ + public class BindingsCollectionTests + { + [Fact] + public void Ctor_Default() + { + var collection = new SubBindingsCollection(); + Assert.Equal(0, collection.Count); + Assert.Empty(collection.List); + Assert.False(collection.ShouldSerializeMyAll()); + } + + [Fact] + public void Add_Invoke_Success() + { + var collection = new BindingsCollection(); + var binding = new Binding(null, new object(), "member"); + collection.Add(binding); + + Assert.Equal(1, collection.Count); + Assert.Same(binding, collection[0]); + Assert.True(collection.ShouldSerializeMyAll()); + } + + [Fact] + public void Add_InvokeWithCollectionChanging_CallsHandler() + { + var collection = new BindingsCollection(); + var binding = new Binding(null, new object(), "member"); + + int changingCallCount = 0; + int changedCallCount = 0; + CollectionChangeEventHandler changingHandler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Equal(CollectionChangeAction.Add, e.Action); + Assert.Same(binding, e.Element); + changingCallCount++; + Assert.True(changingCallCount > changedCallCount); + }; + CollectionChangeEventHandler changedHandler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Equal(CollectionChangeAction.Add, e.Action); + Assert.Same(binding, e.Element); + changedCallCount++; + Assert.Equal(changingCallCount, changedCallCount); + }; + collection.CollectionChanging += changingHandler; + collection.CollectionChanged += changedHandler; + + collection.Add(binding); + Assert.Equal(1, changingCallCount); + Assert.Equal(1, changedCallCount); + Assert.Equal(1, collection.Count); + + // Add again. + collection.Add(binding); + Assert.Equal(2, changingCallCount); + Assert.Equal(2, changedCallCount); + Assert.Equal(2, collection.Count); + + // Remove handler. + collection.CollectionChanging -= changingHandler; + collection.CollectionChanged -= changedHandler; + collection.Add(binding); + Assert.Equal(2, changingCallCount); + Assert.Equal(2, changedCallCount); + Assert.Equal(3, collection.Count); + } + + [Fact] + public void Add_NullDataBinding_ThrowsArgumentNullException() + { + var collection = new BindingsCollection(); + Assert.Throws("dataBinding", () => collection.Add(null)); + } + + [Fact] + public void AddCore_Invoke_Success() + { + var collection = new SubBindingsCollection(); + var binding = new Binding(null, new object(), "member"); + collection.AddCore(binding); + + Assert.Equal(1, collection.Count); + Assert.Same(binding, collection[0]); + Assert.True(collection.ShouldSerializeMyAll()); + } + + [Fact] + public void AddCore_InvokeWithCollectionChanging_DoesNotCallHandler() + { + var collection = new SubBindingsCollection(); + var binding = new Binding(null, new object(), "member"); + + int changingCallCount = 0; + int changedCallCount = 0; + CollectionChangeEventHandler changingHandler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Equal(CollectionChangeAction.Add, e.Action); + Assert.Same(binding, e.Element); + changingCallCount++; + Assert.True(changingCallCount > changedCallCount); + }; + CollectionChangeEventHandler changedHandler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Equal(CollectionChangeAction.Add, e.Action); + Assert.Same(binding, e.Element); + changedCallCount++; + Assert.Equal(changingCallCount, changedCallCount); + }; + collection.CollectionChanging += changingHandler; + collection.CollectionChanged += changedHandler; + + collection.AddCore(binding); + Assert.Equal(0, changingCallCount); + Assert.Equal(0, changedCallCount); + Assert.Equal(1, collection.Count); + + // Add again. + collection.AddCore(binding); + Assert.Equal(0, changingCallCount); + Assert.Equal(0, changedCallCount); + Assert.Equal(2, collection.Count); + + // Remove handler. + collection.CollectionChanging -= changingHandler; + collection.CollectionChanged -= changedHandler; + collection.AddCore(binding); + Assert.Equal(0, changingCallCount); + Assert.Equal(0, changedCallCount); + Assert.Equal(3, collection.Count); + } + + [Fact] + public void AddCore_NullDataBinding_ThrowsArgumentNullException() + { + var collection = new SubBindingsCollection(); + Assert.Throws("dataBinding", () => collection.AddCore(null)); + } + + [Fact] + public void Clear_Invoke_Success() + { + var collection = new BindingsCollection(); + var binding = new Binding(null, new object(), "member"); + collection.Add(binding); + + collection.Clear(); + Assert.Empty(collection); + + // Clear again. + collection.Clear(); + Assert.Empty(collection); + } + + [Fact] + public void Clear_InvokeWithCollectionChanging_CallsHandler() + { + var collection = new BindingsCollection(); + var binding = new Binding(null, new object(), "member"); + + int changingCallCount = 0; + int changedCallCount = 0; + CollectionChangeEventHandler changingHandler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Equal(CollectionChangeAction.Refresh, e.Action); + Assert.Null(e.Element); + changingCallCount++; + Assert.True(changingCallCount > changedCallCount); + }; + CollectionChangeEventHandler changedHandler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Equal(CollectionChangeAction.Refresh, e.Action); + Assert.Null(e.Element); + changedCallCount++; + Assert.Equal(changingCallCount, changedCallCount); + }; + collection.Add(binding); + collection.CollectionChanging += changingHandler; + collection.CollectionChanged += changedHandler; + + collection.Clear(); + Assert.Equal(1, changingCallCount); + Assert.Equal(1, changedCallCount); + Assert.Empty(collection); + + // Add again. + collection.Clear(); + Assert.Equal(2, changingCallCount); + Assert.Equal(2, changedCallCount); + Assert.Empty(collection); + + // Remove handler. + collection.CollectionChanging -= changingHandler; + collection.CollectionChanged -= changedHandler; + + collection.Clear(); + Assert.Equal(2, changingCallCount); + Assert.Equal(2, changedCallCount); + Assert.Empty(collection); + } + + [Fact] + public void ClearCore_Invoke_Success() + { + var collection = new SubBindingsCollection(); + var binding = new Binding(null, new object(), "member"); + collection.Add(binding); + + collection.ClearCore(); + Assert.Empty(collection); + } + + [Fact] + public void ClearCore_InvokeWithCollectionChanging_DoesNotCallHandler() + { + var collection = new SubBindingsCollection(); + var binding = new Binding(null, new object(), "member"); + + int changingCallCount = 0; + int changedCallCount = 0; + CollectionChangeEventHandler changingHandler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Equal(CollectionChangeAction.Refresh, e.Action); + Assert.Null(e.Element); + changingCallCount++; + Assert.True(changingCallCount > changedCallCount); + }; + CollectionChangeEventHandler changedHandler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Equal(CollectionChangeAction.Refresh, e.Action); + Assert.Null(e.Element); + changedCallCount++; + Assert.Equal(changingCallCount, changedCallCount); + }; + collection.Add(binding); + collection.CollectionChanging += changingHandler; + collection.CollectionChanged += changedHandler; + + collection.ClearCore(); + Assert.Equal(0, changingCallCount); + Assert.Equal(0, changedCallCount); + Assert.Empty(collection); + + // Add again. + collection.ClearCore(); + Assert.Equal(0, changingCallCount); + Assert.Equal(0, changedCallCount); + Assert.Empty(collection); + + // Remove handler. + collection.CollectionChanging -= changingHandler; + collection.CollectionChanged -= changedHandler; + + collection.ClearCore(); + Assert.Equal(0, changingCallCount); + Assert.Equal(0, changedCallCount); + Assert.Empty(collection); + } + + [Fact] + public void RemoveAt_Invoke_Success() + { + var collection = new BindingsCollection(); + var binding = new Binding(null, new object(), "member"); + collection.Add(binding); + + collection.RemoveAt(0); + Assert.Empty(collection); + } + + [Fact] + public void Remove_Invoke_Success() + { + var collection = new SubBindingsCollection(); + var binding = new Binding(null, new object(), "member"); + collection.Add(binding); + + collection.Remove(binding); + Assert.Empty(collection); + } + + [Fact] + public void Remove_InvokeWithCollectionChanging_CallsHandler() + { + var collection = new BindingsCollection(); + var binding = new Binding(null, new object(), "member"); + + int changingCallCount = 0; + int changedCallCount = 0; + CollectionChangeEventHandler changingHandler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Equal(CollectionChangeAction.Remove, e.Action); + Assert.Same(binding, e.Element); + changingCallCount++; + Assert.True(changingCallCount > changedCallCount); + }; + CollectionChangeEventHandler changedHandler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Equal(CollectionChangeAction.Remove, e.Action); + Assert.Same(binding, e.Element); + changedCallCount++; + Assert.Equal(changingCallCount, changedCallCount); + }; + collection.Add(binding); + collection.CollectionChanging += changingHandler; + collection.CollectionChanged += changedHandler; + + collection.Remove(binding); + Assert.Equal(1, changingCallCount); + Assert.Equal(1, changedCallCount); + Assert.Empty(collection); + + // Add again. + collection.CollectionChanging -= changingHandler; + collection.CollectionChanged -= changedHandler; + collection.Add(binding); + collection.CollectionChanging += changingHandler; + collection.CollectionChanged += changedHandler; + + collection.Remove(binding); + Assert.Equal(2, changingCallCount); + Assert.Equal(2, changedCallCount); + Assert.Empty(collection); + + // Remove handler. + collection.CollectionChanging -= changingHandler; + collection.CollectionChanged -= changedHandler; + collection.Add(binding); + + collection.Remove(binding); + Assert.Equal(2, changingCallCount); + Assert.Equal(2, changedCallCount); + Assert.Empty(collection); + } + + [Fact] + public void Remove_NullDataBinding_Nop() + { + var collection = new BindingsCollection(); + var binding = new Binding(null, new object(), "member"); + collection.Add(binding); + + collection.Remove(null); + Assert.Same(binding, Assert.Single(collection)); + } + + [Fact] + public void Remove_NoSuchDataBinding_Nop() + { + var collection = new BindingsCollection(); + var binding1 = new Binding(null, new object(), "member"); + var binding2 = new Binding(null, new object(), "member"); + collection.Add(binding1); + + collection.Remove(binding2); + Assert.Same(binding1, Assert.Single(collection)); + } + + [Fact] + public void Remove_DataBindingFromOtherCollection_Nop() + { + var collection1 = new BindingsCollection(); + var collection2 = new BindingsCollection(); + var binding1 = new Binding(null, new object(), "member"); + var binding2 = new Binding(null, new object(), "member"); + collection1.Add(binding1); + collection2.Add(binding2); + + collection2.Remove(binding1); + Assert.Same(binding1, Assert.Single(collection1)); + Assert.Same(binding2, Assert.Single(collection2)); + } + + [Fact] + public void RemoveCore_Invoke_Success() + { + var collection = new SubBindingsCollection(); + var binding = new Binding(null, new object(), "member"); + collection.Add(binding); + + collection.RemoveCore(binding); + Assert.Empty(collection); + } + + [Fact] + public void RemoveCore_InvokeWithCollectionChanging_DoesNotCallHandler() + { + var collection = new SubBindingsCollection(); + var binding = new Binding(null, new object(), "member"); + + int changingCallCount = 0; + int changedCallCount = 0; + CollectionChangeEventHandler changingHandler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Equal(CollectionChangeAction.Remove, e.Action); + Assert.Same(binding, e.Element); + changingCallCount++; + Assert.True(changingCallCount > changedCallCount); + }; + CollectionChangeEventHandler changedHandler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Equal(CollectionChangeAction.Remove, e.Action); + Assert.Same(binding, e.Element); + changedCallCount++; + Assert.Equal(changingCallCount, changedCallCount); + }; + collection.Add(binding); + collection.CollectionChanging += changingHandler; + collection.CollectionChanged += changedHandler; + + collection.RemoveCore(binding); + Assert.Equal(0, changingCallCount); + Assert.Equal(0, changedCallCount); + Assert.Empty(collection); + + // Add again. + collection.CollectionChanging -= changingHandler; + collection.CollectionChanged -= changedHandler; + collection.Add(binding); + collection.CollectionChanging += changingHandler; + collection.CollectionChanged += changedHandler; + + collection.RemoveCore(binding); + Assert.Equal(0, changingCallCount); + Assert.Equal(0, changedCallCount); + Assert.Empty(collection); + + // Remove handler. + collection.CollectionChanging -= changingHandler; + collection.CollectionChanged -= changedHandler; + collection.Add(binding); + + collection.RemoveCore(binding); + Assert.Equal(0, changingCallCount); + Assert.Equal(0, changedCallCount); + Assert.Empty(collection); + } + + [Fact] + public void RemoveCore_NullDataBinding_Nop() + { + var collection = new SubBindingsCollection(); + var binding = new Binding(null, new object(), "member"); + collection.Add(binding); + + collection.RemoveCore(null); + Assert.Same(binding, Assert.Single(collection)); + } + + [Fact] + public void RemoveCore_NoSuchDataBinding_Nop() + { + var collection = new SubBindingsCollection(); + var binding1 = new Binding(null, new object(), "member"); + var binding2 = new Binding(null, new object(), "member"); + collection.Add(binding1); + + collection.RemoveCore(binding2); + Assert.Same(binding1, Assert.Single(collection)); + } + + [Fact] + public void RemoveCore_DataBindingFromOtherCollection_Nop() + { + var collection1 = new SubBindingsCollection(); + var collection2 = new SubBindingsCollection(); + var binding1 = new Binding(null, new object(), "member"); + var binding2 = new Binding(null, new object(), "member"); + collection1.Add(binding1); + collection2.Add(binding2); + + collection2.RemoveCore(binding1); + Assert.Same(binding1, Assert.Single(collection1)); + Assert.Same(binding2, Assert.Single(collection2)); + } + + [Fact] + public void OnCollectionChanging_Invoke_CallsHandler() + { + var collection = new SubBindingsCollection(); + var eventArgs = new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null); + int callCount = 0; + CollectionChangeEventHandler handler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Same(eventArgs, e); + callCount++; + }; + + // Call with handler. + collection.CollectionChanging += handler; + collection.OnCollectionChanging(eventArgs); + Assert.Equal(1, callCount); + + // Remove handler. + collection.CollectionChanging -= handler; + collection.OnCollectionChanging(eventArgs); + Assert.Equal(1, callCount); + } + + [Fact] + public void OnCollectionChanged_Invoke_CallsHandler() + { + var collection = new SubBindingsCollection(); + var eventArgs = new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null); + int callCount = 0; + CollectionChangeEventHandler handler = (sender, e) => + { + Assert.Same(collection, sender); + Assert.Same(eventArgs, e); + callCount++; + }; + + // Call with handler. + collection.CollectionChanged += handler; + collection.OnCollectionChanged(eventArgs); + Assert.Equal(1, callCount); + + // Remove handler. + collection.CollectionChanged -= handler; + collection.OnCollectionChanged(eventArgs); + Assert.Equal(1, callCount); + } + + private class SubBindingsCollection : BindingsCollection + { + public new ArrayList List => base.List; + + public new void AddCore(Binding dataBinding) => base.AddCore(dataBinding); + + public new void ClearCore() => base.ClearCore(); + + public new void RemoveCore(Binding dataBinding) => base.RemoveCore(dataBinding); + + public new void OnCollectionChanging(CollectionChangeEventArgs e) => base.OnCollectionChanging(e); + + public new void OnCollectionChanged(CollectionChangeEventArgs e) => base.OnCollectionChanged(e); + } + } +} diff --git a/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ControlBindingsCollectionTests.cs b/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ControlBindingsCollectionTests.cs new file mode 100644 index 00000000000..e3f12ee5a37 --- /dev/null +++ b/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ControlBindingsCollectionTests.cs @@ -0,0 +1,426 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Collections.Generic; +using System.Globalization; +using Moq; +using WinForms.Common.Tests; +using Xunit; + +namespace System.Windows.Forms.Tests +{ + public class ControlBindingsCollectionTests + { + public static IEnumerable Ctor_IBindableComponent_TestData() + { + var mockBindableComponent = new Mock(MockBehavior.Strict); + mockBindableComponent.Setup(c => c.Dispose()); + yield return new object[] { mockBindableComponent.Object, null }; + + var control = new Control(); + yield return new object[] { control, control }; + yield return new object[] { null, null }; + } + + [Theory] + [MemberData(nameof(Ctor_IBindableComponent_TestData))] + public void Ctor_IBindableComponent(IBindableComponent control, Control expectedControl) + { + var collection = new ControlBindingsCollection(control); + Assert.Same(control, collection.BindableComponent); + Assert.Same(expectedControl, collection.Control); + Assert.Equal(DataSourceUpdateMode.OnValidation, collection.DefaultDataSourceUpdateMode); + Assert.Empty(collection); + } + + [Theory] + [MemberData(nameof(CommonTestHelper.GetEnumTypeTheoryData), typeof(DataSourceUpdateMode), MemberType = typeof(CommonTestHelper))] + [MemberData(nameof(CommonTestHelper.GetEnumTypeTheoryDataInvalid), typeof(DataSourceUpdateMode), MemberType = typeof(CommonTestHelper))] + public void DefaultDataSourceUpdateMode_Set_GetReturnsExpected(DataSourceUpdateMode value) + { + var control = new Control(); + var collection = new ControlBindingsCollection(control) + { + DefaultDataSourceUpdateMode = value + }; + Assert.Equal(value, collection.DefaultDataSourceUpdateMode); + } + + public static IEnumerable Add_Binding_TestData() + { + yield return new object[] { new Binding(null, new object(), "dataMember") }; + yield return new object[] { new Binding("", new object(), "dataMember") }; + yield return new object[] { new Binding(nameof(Control.Text), new object(), "dataMember") }; + } + + [Theory] + [MemberData(nameof(Add_Binding_TestData))] + public void Add_Binding_Success(Binding binding) + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + + collection.Add(binding); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(control, binding.BindableComponent); + } + + [Fact] + public void Add_DuplicateBinding_Success() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + var binding1 = new Binding("", 1, "dataMember"); + var binding2 = new Binding(null, 1, "dataMember"); + var binding3 = new Binding(nameof(Control.Text), 1, "dataMember"); + collection.Add(binding1); + collection.Add(binding2); + collection.Add(binding3); + + var binding4 = new Binding(nameof(Control.Text), 1, "dataMember"); + collection.Add(binding4); + Assert.Equal(4, collection.Count); + Assert.Same(binding1, collection[0]); + Assert.Same(binding2, collection[1]); + Assert.Same(binding3, collection[2]); + Assert.Same(binding4, collection[3]); + } + + [Fact] + public void Add_FormControl_Success() + { + var control = new Form(); + var collection = new ControlBindingsCollection(control); + var binding = new Binding(nameof(Control.Text), 1, "dataMember"); + collection.Add(binding); + Assert.Same(binding, Assert.Single(collection)); + } + + [Fact] + public void Add_ControlBindings_Success() + { + var control = new SubControl(); + ControlBindingsCollection collection = control.DataBindings; + var binding1 = new Binding(nameof(SubControl.Text), 1, "dataMember"); + var binding2 = new Binding(nameof(SubControl.AccessibleRole), 1, "dataMember"); + var binding3 = new Binding(null, 1, "dataMember"); + var binding4 = new Binding("", 1, "dataMember"); + var binding5 = new Binding(nameof(SubControl.text), 1, "dataMember"); + + collection.Add(binding1); + collection.Add(binding2); + collection.Add(binding3); + collection.Add(binding4); + collection.Add(binding5); + Assert.Equal(5, collection.Count); + Assert.Same(binding1, collection[0]); + Assert.Same(binding2, collection[1]); + Assert.Same(binding3, collection[2]); + Assert.Same(binding4, collection[3]); + Assert.Same(binding5, collection[4]); + } + + [Fact] + public void Add_StringObjectString_Success() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + Binding binding = collection.Add(nameof(Control.Text), 1, "dataMember"); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(control, binding.BindableComponent); + Assert.Equal(nameof(Control.Text), binding.PropertyName); + Assert.Equal(1, binding.DataSource); + Assert.False(binding.FormattingEnabled); + Assert.Equal(DataSourceUpdateMode.OnValidation, binding.DataSourceUpdateMode); + Assert.Null(binding.NullValue); + Assert.Empty(binding.FormatString); + Assert.Null(binding.FormatInfo); + } + + [Fact] + public void Add_StringObjectStringBool_Success() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + Binding binding = collection.Add(nameof(Control.Text), 1, "dataMember", true); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(control, binding.BindableComponent); + Assert.Equal(nameof(Control.Text), binding.PropertyName); + Assert.Equal(1, binding.DataSource); + Assert.True(binding.FormattingEnabled); + Assert.Equal(DataSourceUpdateMode.OnValidation, binding.DataSourceUpdateMode); + Assert.Null(binding.NullValue); + Assert.Empty(binding.FormatString); + Assert.Null(binding.FormatInfo); + } + + [Fact] + public void Add_StringObjectStringBoolDataSourceUpdateMode_Success() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + Binding binding = collection.Add(nameof(Control.Text), 1, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(control, binding.BindableComponent); + Assert.Equal(nameof(Control.Text), binding.PropertyName); + Assert.Equal(1, binding.DataSource); + Assert.True(binding.FormattingEnabled); + Assert.Equal(DataSourceUpdateMode.OnPropertyChanged, binding.DataSourceUpdateMode); + Assert.Null(binding.NullValue); + Assert.Empty(binding.FormatString); + Assert.Null(binding.FormatInfo); + } + + [Fact] + public void Add_StringObjectStringBoolDataSourceUpdateModeObject_Success() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + Binding binding = collection.Add(nameof(Control.Text), 1, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null"); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(control, binding.BindableComponent); + Assert.Equal(nameof(Control.Text), binding.PropertyName); + Assert.Equal(1, binding.DataSource); + Assert.True(binding.FormattingEnabled); + Assert.Equal(DataSourceUpdateMode.OnPropertyChanged, binding.DataSourceUpdateMode); + Assert.Equal("null", binding.NullValue); + Assert.Empty(binding.FormatString); + Assert.Null(binding.FormatInfo); + } + + [Fact] + public void Add_StringObjectStringBoolDataSourceUpdateModeObjectString_Success() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + Binding binding = collection.Add(nameof(Control.Text), 1, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString"); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(control, binding.BindableComponent); + Assert.Equal(nameof(Control.Text), binding.PropertyName); + Assert.Equal(1, binding.DataSource); + Assert.True(binding.FormattingEnabled); + Assert.Equal(DataSourceUpdateMode.OnPropertyChanged, binding.DataSourceUpdateMode); + Assert.Equal("null", binding.NullValue); + Assert.Equal("formatString", binding.FormatString); + Assert.Null(binding.FormatInfo); + } + + [Fact] + public void Add_StringObjectStringBoolDataSourceUpdateModeObjectStringIFormatProvider_Success() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + Binding binding = collection.Add(nameof(Control.Text), 1, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString", CultureInfo.CurrentCulture); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(control, binding.BindableComponent); + Assert.Equal(nameof(Control.Text), binding.PropertyName); + Assert.Equal(1, binding.DataSource); + Assert.True(binding.FormattingEnabled); + Assert.Equal(DataSourceUpdateMode.OnPropertyChanged, binding.DataSourceUpdateMode); + Assert.Equal("null", binding.NullValue); + Assert.Equal("formatString", binding.FormatString); + Assert.Equal(CultureInfo.CurrentCulture, binding.FormatInfo); + } + + [Fact] + public void Add_NullDataSource_ThrowsArgumentNullException() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + Assert.Throws("dataSource", () => collection.Add("propertyName", null, "dataMember")); + Assert.Throws("dataSource", () => collection.Add("propertyName", null, "dataMember", true)); + Assert.Throws("dataSource", () => collection.Add("propertyName", null, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged)); + Assert.Throws("dataSource", () => collection.Add("propertyName", null, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null")); + Assert.Throws("dataSource", () => collection.Add("propertyName", null, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString")); + Assert.Throws("dataSource", () => collection.Add("propertyName", null, "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString", CultureInfo.CurrentCulture)); + } + + [Fact] + public void Add_InvalidBinding_ThrowsArgumentException() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + Assert.Throws("PropertyName", () => collection.Add(new Binding("NoSuchProperty", new object(), "dataMember"))); + Assert.Throws("PropertyName", () => collection.Add("NoSuchProperty", new object(), "dataMember")); + Assert.Throws("PropertyName", () => collection.Add("NoSuchProperty", new object(), "dataMember", true)); + Assert.Throws("PropertyName", () => collection.Add("NoSuchProperty", new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged)); + Assert.Throws("PropertyName", () => collection.Add("NoSuchProperty", new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null")); + Assert.Throws("PropertyName", () => collection.Add("NoSuchProperty", new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString")); + Assert.Throws("PropertyName", () => collection.Add("NoSuchProperty", new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString", CultureInfo.CurrentCulture)); + } + + [Fact] + public void Add_DuplicateBinding_ThrowsArgumentException() + { + var control = new Control(); + ControlBindingsCollection collection = control.DataBindings; + var binding = new Binding(nameof(Control.Text), new object(), "dataMember"); + collection.Add(binding); + + Assert.Throws("binding", () => collection.Add(new Binding(nameof(Control.Text), new object(), "dataMember"))); + Assert.Throws("binding", () => collection.Add(nameof(Control.Text), new object(), "dataMember")); + Assert.Throws("binding", () => collection.Add(nameof(Control.Text), new object(), "dataMember", true)); + Assert.Throws("binding", () => collection.Add(nameof(Control.Text), new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged)); + Assert.Throws("binding", () => collection.Add(nameof(Control.Text), new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null")); + Assert.Throws("binding", () => collection.Add(nameof(Control.Text), new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString")); + Assert.Throws("binding", () => collection.Add(nameof(Control.Text), new object(), "dataMember", true, DataSourceUpdateMode.OnPropertyChanged, "null", "formatString", CultureInfo.CurrentCulture)); + } + + [Fact] + public void Add_NullDataBinding_ThrowsArgumentNullException() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + Assert.Throws("dataBinding", () => collection.Add(null)); + } + + [Fact] + public void Add_AddAlreadyInSameManager_ThrowsArgumentException() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + var binding = new Binding(null, new object(), "member"); + + collection.Add(binding); + Assert.Throws("dataBinding", () => collection.Add(binding)); + } + + [Fact] + public void Add_AlreadyInDifferentManager_ThrowsArgumentException() + { + var control1 = new Control(); + var control2 = new Control(); + var collection1 = new ControlBindingsCollection(control1); + var collection2 = new ControlBindingsCollection(control2); + var binding = new Binding(null, new object(), "member"); + + collection1.Add(binding); + Assert.Throws("dataBinding", () => collection2.Add(binding)); + } + + [Fact] + public void Clear_Invoke_Success() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + var binding = new Binding(null, new object(), "member"); + + collection.Add(binding); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(control, binding.BindableComponent); + + collection.Clear(); + Assert.Empty(collection); + Assert.Null(binding.BindableComponent); + + // Clear again. + collection.Clear(); + Assert.Empty(collection); + } + + [Fact] + public void Remove_Invoke_Success() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + var binding = new Binding(null, new object(), "member"); + + collection.Add(binding); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(control, binding.BindableComponent); + + collection.Remove(binding); + Assert.Empty(collection); + Assert.Null(binding.BindableComponent); + } + + [Fact] + public void Remove_NullDataBinding_ThrowsArgumentNullException() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + var binding = new Binding(null, new object(), "member"); + collection.Add(binding); + + Assert.Throws("dataBinding", () => collection.Remove(null)); + Assert.Same(binding, Assert.Single(collection)); + } + + [Fact] + public void Remove_NoSuchDataBinding_ThrowsArgumentException() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + var binding1 = new Binding(null, new object(), "member"); + var binding2 = new Binding(null, new object(), "member"); + collection.Add(binding1); + + Assert.Throws("dataBinding", () => collection.Remove(binding2)); + Assert.Same(binding1, Assert.Single(collection)); + } + + [Fact] + public void Remove_DataBindingFromOtherCollection_ThrowsArgumentException() + { + var control1 = new Control(); + var control2 = new Control(); + var collection1 = new ControlBindingsCollection(control1); + var collection2 = new ControlBindingsCollection(control2); + var binding1 = new Binding(null, new object(), "member"); + var binding2 = new Binding(null, new object(), "member"); + collection1.Add(binding1); + collection2.Add(binding2); + + Assert.Throws("dataBinding", () => collection2.Remove(binding1)); + Assert.Same(binding1, Assert.Single(collection1)); + Assert.Same(binding2, Assert.Single(collection2)); + } + + [Fact] + public void RemoveAt_Invoke_Success() + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + var binding = new Binding(null, new object(), "member"); + + collection.Add(binding); + Assert.Same(binding, Assert.Single(collection)); + Assert.Same(control, binding.BindableComponent); + + collection.RemoveAt(0); + Assert.Empty(collection); + Assert.Null(binding.BindableComponent); + } + + [Theory] + [InlineData("text")] + [InlineData("TEXT")] + public void Item_PropertyNameExists_ReturnsExpected(string propertyName) + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + var binding = new Binding(nameof(Control.Text), new object(), "member"); + collection.Add(binding); + Assert.Same(binding, collection[propertyName]); + } + + [Theory] + [InlineData(null)] + [InlineData("")] + [InlineData("NoSuchProperty")] + public void Item_NoSuchPropertyName_ReturnsNull(string propertyName) + { + var control = new Control(); + var collection = new ControlBindingsCollection(control); + var binding = new Binding(nameof(Control.Text), new object(), "member"); + collection.Add(binding); + Assert.Null(collection[propertyName]); + } + + private class SubControl : Control + { + public string text { get; set; } + } + } +} From 229c94fe4999a50ad4826a77d8d3513a964f92c8 Mon Sep 17 00:00:00 2001 From: Shyam Gupta Date: Mon, 11 Mar 2019 16:30:45 -0700 Subject: [PATCH 11/18] Auto generating ref assemblies (#237) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * - Using 'ProduceReferenceAssembly’ to generate ref assemblies automatically from source assemblies. - Removed existing ref assemblies from solution. - Got package building properly with these changes * Removing existing ref projects * Adding Eric's changes for package creation * Fix for build break provided by Eric. * Removing ref projects from sln * 1. Changed project references from ref to src in System.Drawing.Facade.csproj 2. Removed .xml files from the package 3. Added resource files to the package --- Directory.Build.props | 3 +- Directory.Build.targets | 1 + Winforms.sln | 37 +- eng/ReferenceAssemblies.props | 18 - eng/packageContent.targets | 27 + pkg/Microsoft.Private.Winforms.csproj | 66 +- .../src/System.Design.Facade.csproj | 4 +- .../src/System.Drawing.Design.Facade.csproj | 4 +- .../src/System.Drawing.Facade.csproj | 4 +- ...em.Windows.Forms.Design.Editors.Ref.csproj | 18 - .../System.Windows.Forms.Design.Editors.cs | 231 - ...System.Windows.Forms.Design.Editors.csproj | 2 + .../System.Windows.Forms.Design.Ref.csproj | 18 - .../ref/System.Windows.Forms.Design.cs | 819 - .../src/System.Windows.Forms.Design.csproj | 2 + .../ref/System.Windows.Forms.Ref.csproj | 17 - .../ref/System.Windows.Forms.cs | 20235 ---------------- .../ref/System.Windows.Forms.manual.cs | 52 - .../src/System.Windows.Forms.csproj | 2 + 19 files changed, 51 insertions(+), 21509 deletions(-) delete mode 100644 eng/ReferenceAssemblies.props create mode 100644 eng/packageContent.targets delete mode 100644 src/System.Windows.Forms.Design.Editors/ref/System.Windows.Forms.Design.Editors.Ref.csproj delete mode 100644 src/System.Windows.Forms.Design.Editors/ref/System.Windows.Forms.Design.Editors.cs delete mode 100644 src/System.Windows.Forms.Design/ref/System.Windows.Forms.Design.Ref.csproj delete mode 100644 src/System.Windows.Forms.Design/ref/System.Windows.Forms.Design.cs delete mode 100644 src/System.Windows.Forms/ref/System.Windows.Forms.Ref.csproj delete mode 100644 src/System.Windows.Forms/ref/System.Windows.Forms.cs delete mode 100644 src/System.Windows.Forms/ref/System.Windows.Forms.manual.cs diff --git a/Directory.Build.props b/Directory.Build.props index 400b1b90c40..0574f6480b2 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -5,8 +5,7 @@ - - + diff --git a/Directory.Build.targets b/Directory.Build.targets index bc9b533266b..739fb0a4338 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -2,6 +2,7 @@ + diff --git a/Winforms.sln b/Winforms.sln index 5708e244097..cd550ebf4b1 100644 --- a/Winforms.sln +++ b/Winforms.sln @@ -1,20 +1,16 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28016.0 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.28627.84 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WinformsControlsTest", "src\System.Windows.Forms\tests\IntegrationTests\WinformsControlsTest\WinformsControlsTest.csproj", "{657472B8-FDA3-49DF-B8BE-0246046A4348}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms", "src\System.Windows.Forms\src\System.Windows.Forms.csproj", "{0D23A41B-2626-4703-9E4A-87C07F69B0B2}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Ref", "src\System.Windows.Forms\ref\System.Windows.Forms.Ref.csproj", "{334C343B-9D39-498E-89D8-B6526028FD5C}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Tests", "src\System.Windows.Forms\tests\UnitTests\System.Windows.Forms.Tests.csproj", "{AB38E262-F206-4820-8F29-23C5F72A4A16}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Private.Winforms", "pkg\Microsoft.Private.Winforms.csproj", "{F133342A-3040-4005-A2F0-7685AA7CB82D}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Design.Editors.Ref", "src\System.Windows.Forms.Design.Editors\ref\System.Windows.Forms.Design.Editors.Ref.csproj", "{5A619DC4-854A-450E-8F9A-AC72D2F5B59A}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Design.Editors", "src\System.Windows.Forms.Design.Editors\src\System.Windows.Forms.Design.Editors.csproj", "{B50AC96F-2655-4687-A404-16DF51882CBC}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Design.Editors.Tests", "src\System.Windows.Forms.Design.Editors\tests\UnitTests\System.Windows.Forms.Design.Editors.Tests.csproj", "{27F24D0C-5F0A-472E-AE12-98B386A13D50}" @@ -23,16 +19,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Design EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Design", "src\System.Windows.Forms.Design\src\System.Windows.Forms.Design.csproj", "{61D06BBD-B0CF-4CE1-9139-1CC4B82F0F9B}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Windows.Forms.Design.Ref", "src\System.Windows.Forms.Design\ref\System.Windows.Forms.Design.Ref.csproj", "{351EA462-BCB8-42E7-8595-A4FE55E3B25D}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Drawing.Design.Facade", "src\System.Drawing.Design\src\System.Drawing.Design.Facade.csproj", "{A2B1148A-1747-47BD-8048-416C2C2AF14C}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Design.Facade", "src\System.Design\src\System.Design.Facade.csproj", "{9BEC2806-D8E0-443B-8B58-9D344E0C2D24}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "pkg", "pkg", "{989F376E-AE19-43B0-A3E6-96A7E22B4E80}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{D5951C9D-146A-4F80-9451-B7AED28254F1}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{77FEDB47-F7F6-490D-AF7C-ABB4A9E0B9D7}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{DF68A171-D27B-4E6A-8A7E-63A651622355}" @@ -55,30 +47,22 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {657472B8-FDA3-49DF-B8BE-0246046A4348}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {657472B8-FDA3-49DF-B8BE-0246046A4348}.Debug|Any CPU.Build.0 = Debug|Any CPU + {657472B8-FDA3-49DF-B8BE-0246046A4348}.Release|Any CPU.ActiveCfg = Release|Any CPU + {657472B8-FDA3-49DF-B8BE-0246046A4348}.Release|Any CPU.Build.0 = Release|Any CPU {0D23A41B-2626-4703-9E4A-87C07F69B0B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0D23A41B-2626-4703-9E4A-87C07F69B0B2}.Debug|Any CPU.Build.0 = Debug|Any CPU {0D23A41B-2626-4703-9E4A-87C07F69B0B2}.Release|Any CPU.ActiveCfg = Release|Any CPU {0D23A41B-2626-4703-9E4A-87C07F69B0B2}.Release|Any CPU.Build.0 = Release|Any CPU - {334C343B-9D39-498E-89D8-B6526028FD5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {334C343B-9D39-498E-89D8-B6526028FD5C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {334C343B-9D39-498E-89D8-B6526028FD5C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {334C343B-9D39-498E-89D8-B6526028FD5C}.Release|Any CPU.Build.0 = Release|Any CPU {AB38E262-F206-4820-8F29-23C5F72A4A16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {AB38E262-F206-4820-8F29-23C5F72A4A16}.Debug|Any CPU.Build.0 = Debug|Any CPU {AB38E262-F206-4820-8F29-23C5F72A4A16}.Release|Any CPU.ActiveCfg = Release|Any CPU {AB38E262-F206-4820-8F29-23C5F72A4A16}.Release|Any CPU.Build.0 = Release|Any CPU - {657472B8-FDA3-49DF-B8BE-0246046A4348}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {657472B8-FDA3-49DF-B8BE-0246046A4348}.Debug|Any CPU.Build.0 = Debug|Any CPU - {657472B8-FDA3-49DF-B8BE-0246046A4348}.Release|Any CPU.ActiveCfg = Release|Any CPU - {657472B8-FDA3-49DF-B8BE-0246046A4348}.Release|Any CPU.Build.0 = Release|Any CPU {F133342A-3040-4005-A2F0-7685AA7CB82D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F133342A-3040-4005-A2F0-7685AA7CB82D}.Debug|Any CPU.Build.0 = Debug|Any CPU {F133342A-3040-4005-A2F0-7685AA7CB82D}.Release|Any CPU.ActiveCfg = Release|Any CPU {F133342A-3040-4005-A2F0-7685AA7CB82D}.Release|Any CPU.Build.0 = Release|Any CPU - {5A619DC4-854A-450E-8F9A-AC72D2F5B59A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5A619DC4-854A-450E-8F9A-AC72D2F5B59A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5A619DC4-854A-450E-8F9A-AC72D2F5B59A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5A619DC4-854A-450E-8F9A-AC72D2F5B59A}.Release|Any CPU.Build.0 = Release|Any CPU {B50AC96F-2655-4687-A404-16DF51882CBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B50AC96F-2655-4687-A404-16DF51882CBC}.Debug|Any CPU.Build.0 = Debug|Any CPU {B50AC96F-2655-4687-A404-16DF51882CBC}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -95,10 +79,6 @@ Global {61D06BBD-B0CF-4CE1-9139-1CC4B82F0F9B}.Debug|Any CPU.Build.0 = Debug|Any CPU {61D06BBD-B0CF-4CE1-9139-1CC4B82F0F9B}.Release|Any CPU.ActiveCfg = Release|Any CPU {61D06BBD-B0CF-4CE1-9139-1CC4B82F0F9B}.Release|Any CPU.Build.0 = Release|Any CPU - {351EA462-BCB8-42E7-8595-A4FE55E3B25D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {351EA462-BCB8-42E7-8595-A4FE55E3B25D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {351EA462-BCB8-42E7-8595-A4FE55E3B25D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {351EA462-BCB8-42E7-8595-A4FE55E3B25D}.Release|Any CPU.Build.0 = Release|Any CPU {A2B1148A-1747-47BD-8048-416C2C2AF14C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A2B1148A-1747-47BD-8048-416C2C2AF14C}.Debug|Any CPU.Build.0 = Debug|Any CPU {A2B1148A-1747-47BD-8048-416C2C2AF14C}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -124,17 +104,14 @@ Global HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution + {657472B8-FDA3-49DF-B8BE-0246046A4348} = {680FB14C-7B0C-4D63-9F1A-18ACCDB0F52A} {0D23A41B-2626-4703-9E4A-87C07F69B0B2} = {77FEDB47-F7F6-490D-AF7C-ABB4A9E0B9D7} - {334C343B-9D39-498E-89D8-B6526028FD5C} = {D5951C9D-146A-4F80-9451-B7AED28254F1} {AB38E262-F206-4820-8F29-23C5F72A4A16} = {583F1292-AE8D-4511-B8D8-A81FE4642DDC} - {657472B8-FDA3-49DF-B8BE-0246046A4348} = {680FB14C-7B0C-4D63-9F1A-18ACCDB0F52A} {F133342A-3040-4005-A2F0-7685AA7CB82D} = {989F376E-AE19-43B0-A3E6-96A7E22B4E80} - {5A619DC4-854A-450E-8F9A-AC72D2F5B59A} = {D5951C9D-146A-4F80-9451-B7AED28254F1} {B50AC96F-2655-4687-A404-16DF51882CBC} = {77FEDB47-F7F6-490D-AF7C-ABB4A9E0B9D7} {27F24D0C-5F0A-472E-AE12-98B386A13D50} = {583F1292-AE8D-4511-B8D8-A81FE4642DDC} {F977CA8C-FBF9-4D82-80BA-FE5B2F33486E} = {583F1292-AE8D-4511-B8D8-A81FE4642DDC} {61D06BBD-B0CF-4CE1-9139-1CC4B82F0F9B} = {77FEDB47-F7F6-490D-AF7C-ABB4A9E0B9D7} - {351EA462-BCB8-42E7-8595-A4FE55E3B25D} = {D5951C9D-146A-4F80-9451-B7AED28254F1} {A2B1148A-1747-47BD-8048-416C2C2AF14C} = {434C00C3-E498-4BA7-9764-9F0FC8CFE457} {9BEC2806-D8E0-443B-8B58-9D344E0C2D24} = {434C00C3-E498-4BA7-9764-9F0FC8CFE457} {583F1292-AE8D-4511-B8D8-A81FE4642DDC} = {DF68A171-D27B-4E6A-8A7E-63A651622355} diff --git a/eng/ReferenceAssemblies.props b/eng/ReferenceAssemblies.props deleted file mode 100644 index aad667c968a..00000000000 --- a/eng/ReferenceAssemblies.props +++ /dev/null @@ -1,18 +0,0 @@ - - - - true - - - - - $(NoWarn);0169 - - - - - - - - \ No newline at end of file diff --git a/eng/packageContent.targets b/eng/packageContent.targets new file mode 100644 index 00000000000..1f7435dc224 --- /dev/null +++ b/eng/packageContent.targets @@ -0,0 +1,27 @@ + + + + ref/$(TargetFramework) + true + true + + + + lib/$(TargetFramework) + lib/$(TargetFramework);$(RefPackagePath) + + + + + + + + + + + + \ No newline at end of file diff --git a/pkg/Microsoft.Private.Winforms.csproj b/pkg/Microsoft.Private.Winforms.csproj index 524be85b93f..c2cbc7bc6b8 100644 --- a/pkg/Microsoft.Private.Winforms.csproj +++ b/pkg/Microsoft.Private.Winforms.csproj @@ -61,15 +61,12 @@ - - - @@ -78,72 +75,15 @@ TfmSpecificPackageFile + GetPackageContent + false - $(TargetsForTfmSpecificBuildOutput);SetPackagePath;AddRelativePackageFiles + $(TargetsForTfmSpecificBuildOutput);ResolveReferences - - - - - - - $([System.String]::Copy('%(TfmSpecificPackageFile.OriginalItemSpec)').EndsWith('Ref.csproj')) - $([System.String]::Copy('%(TfmSpecificPackageFile.OriginalItemSpec)').EndsWith('Facade.csproj')) - - - - - - - lib/$(TargetFramework) - - ref/$(TargetFramework) - - lib/$(TargetFramework);ref/$(TargetFramework) - - - - - - - - - - <_baseDirectory>%(TfmSpecificPackageFile.RootDir)%(TfmSpecificPackageFile.Directory) - <_baseFileName>%(TfmSpecificPackageFile.FileName) - <_packagePath>%(TfmSpecificPackageFile.PackagePath) - <_isReferenceAssembly>%(TfmSpecificPackageFile.IsReference) - <_isFacadeAssembly>%(TfmSpecificPackageFile.IsFacade) - - - - - - - $(_packagePath) - - - - - - - - - $(_packagePath)%(RecursiveDir) - - - - - diff --git a/src/System.Design/src/System.Design.Facade.csproj b/src/System.Design/src/System.Design.Facade.csproj index f214f56def6..7dac8322723 100644 --- a/src/System.Design/src/System.Design.Facade.csproj +++ b/src/System.Design/src/System.Design.Facade.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/src/System.Drawing.Design/src/System.Drawing.Design.Facade.csproj b/src/System.Drawing.Design/src/System.Drawing.Design.Facade.csproj index 754cc18b470..168b2197bd4 100644 --- a/src/System.Drawing.Design/src/System.Drawing.Design.Facade.csproj +++ b/src/System.Drawing.Design/src/System.Drawing.Design.Facade.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/src/System.Drawing/src/System.Drawing.Facade.csproj b/src/System.Drawing/src/System.Drawing.Facade.csproj index a65042b0dd4..05c3b8e37ee 100644 --- a/src/System.Drawing/src/System.Drawing.Facade.csproj +++ b/src/System.Drawing/src/System.Drawing.Facade.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/src/System.Windows.Forms.Design.Editors/ref/System.Windows.Forms.Design.Editors.Ref.csproj b/src/System.Windows.Forms.Design.Editors/ref/System.Windows.Forms.Design.Editors.Ref.csproj deleted file mode 100644 index 65b9a26d734..00000000000 --- a/src/System.Windows.Forms.Design.Editors/ref/System.Windows.Forms.Design.Editors.Ref.csproj +++ /dev/null @@ -1,18 +0,0 @@ - - - - netcoreapp3.0 - System.Windows.Forms.Design.Editors - System.ComponentModel.Design - false - - - - - - - - - - - diff --git a/src/System.Windows.Forms.Design.Editors/ref/System.Windows.Forms.Design.Editors.cs b/src/System.Windows.Forms.Design.Editors/ref/System.Windows.Forms.Design.Editors.cs deleted file mode 100644 index 02b328533a5..00000000000 --- a/src/System.Windows.Forms.Design.Editors/ref/System.Windows.Forms.Design.Editors.cs +++ /dev/null @@ -1,231 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -// ------------------------------------------------------------------------------ -// Changes to this file must follow the http://aka.ms/api-review process. -// ------------------------------------------------------------------------------ - -using System.Collections; -using System.ComponentModel; -using System.Drawing.Design; - -namespace System.Drawing.Design -{ - [System.CLSCompliantAttribute(false)] - public partial class BitmapEditor : System.Drawing.Design.ImageEditor - { - public BitmapEditor() { } - protected override string[] GetExtensions() { throw null; } - protected override string GetFileDialogDescription() { throw null; } - protected override System.Drawing.Image LoadFromStream(System.IO.Stream stream) { throw null; } - } - [System.CLSCompliantAttribute(false)] - public partial class ColorEditor : System.Drawing.Design.UITypeEditor - { - public ColorEditor() { } - public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { throw null; } - public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public override bool GetPaintValueSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public override void PaintValue(System.Drawing.Design.PaintValueEventArgs e) { } - } - [System.CLSCompliantAttribute(false)] - public partial class CursorEditor : System.Drawing.Design.UITypeEditor - { - public CursorEditor() { } - public override bool IsDropDownResizable { get { throw null; } } - public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { throw null; } - public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - [System.CLSCompliantAttribute(false)] - public partial class FontEditor : System.Drawing.Design.UITypeEditor - { - public FontEditor() { } - public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { throw null; } - public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - [System.CLSCompliantAttribute(false)] - public partial class ImageEditor : System.Drawing.Design.UITypeEditor - { - public ImageEditor() { } - protected static string CreateExtensionsString(string[] extensions, string sep) { throw null; } - protected static string CreateFilterEntry(System.Drawing.Design.ImageEditor e) { throw null; } - public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { throw null; } - public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - protected virtual string[] GetExtensions() { throw null; } - protected virtual string GetFileDialogDescription() { throw null; } - protected virtual System.Type[] GetImageExtenders() { throw null; } - public override bool GetPaintValueSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - protected virtual System.Drawing.Image LoadFromStream(System.IO.Stream stream) { throw null; } - public override void PaintValue(System.Drawing.Design.PaintValueEventArgs e) { } - } - [System.CLSCompliantAttribute(false)] - public partial class MetafileEditor : System.Drawing.Design.ImageEditor - { - public MetafileEditor() { } - protected override string[] GetExtensions() { throw null; } - protected override string GetFileDialogDescription() { throw null; } - protected override System.Drawing.Image LoadFromStream(System.IO.Stream stream) { throw null; } - } -} -namespace System.Windows.Forms.Design -{ - [System.CLSCompliantAttribute(false)] - public sealed partial class AnchorEditor : System.Drawing.Design.UITypeEditor - { - public AnchorEditor() { } - public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { throw null; } - public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - [System.CLSCompliantAttribute(false)] - public partial class BorderSidesEditor : System.Drawing.Design.UITypeEditor - { - public BorderSidesEditor() { } - public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { throw null; } - public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - [System.CLSCompliantAttribute(false)] - public sealed partial class DockEditor : System.Drawing.Design.UITypeEditor - { - public DockEditor() { } - public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { throw null; } - public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - [System.CLSCompliantAttribute(false)] - public partial class FileNameEditor : System.Drawing.Design.UITypeEditor - { - public FileNameEditor() { } - public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { throw null; } - public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - protected virtual void InitializeDialog(System.Windows.Forms.OpenFileDialog openFileDialog) { } - } - [System.CLSCompliantAttribute(false)] - public partial class FolderNameEditor : System.Drawing.Design.UITypeEditor - { - public FolderNameEditor() { } - public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { throw null; } - public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - protected virtual void InitializeDialog(System.Windows.Forms.Design.FolderNameEditor.FolderBrowser folderBrowser) { } - protected sealed partial class FolderBrowser : System.ComponentModel.Component - { - public FolderBrowser() { } - public string Description { get { throw null; } set { } } - public string DirectoryPath { get { throw null; } } - public System.Windows.Forms.Design.FolderNameEditor.FolderBrowserFolder StartLocation { get { throw null; } set { } } - public System.Windows.Forms.Design.FolderNameEditor.FolderBrowserStyles Style { get { throw null; } set { } } - public System.Windows.Forms.DialogResult ShowDialog() { throw null; } - public System.Windows.Forms.DialogResult ShowDialog(System.Windows.Forms.IWin32Window owner) { throw null; } - } - protected enum FolderBrowserFolder - { - Desktop = 0, - Favorites = 6, - MyComputer = 17, - MyDocuments = 5, - MyPictures = 39, - NetAndDialUpConnections = 49, - NetworkNeighborhood = 18, - Printers = 4, - Recent = 8, - SendTo = 9, - StartMenu = 11, - Templates = 21, - } - [System.FlagsAttribute] - protected enum FolderBrowserStyles - { - BrowseForComputer = 4096, - BrowseForEverything = 16384, - BrowseForPrinter = 8192, - RestrictToDomain = 2, - RestrictToFilesystem = 1, - RestrictToSubfolders = 8, - ShowTextBox = 16, - } - } - [System.CLSCompliantAttribute(false)] - public partial class ShortcutKeysEditor : System.Drawing.Design.UITypeEditor - { - public ShortcutKeysEditor() { } - public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { throw null; } - public override System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } -} -namespace System.ComponentModel.Design -{ - [System.CLSCompliantAttribute(false)] - public partial class CollectionEditor : System.Drawing.Design.UITypeEditor - { - public CollectionEditor() { } - public CollectionEditor(Type type) { } - protected Type CollectionItemType { get { throw null; } } - protected Type CollectionType { get { throw null; } } - protected ITypeDescriptorContext Context { get { throw null; } } - protected Type[] NewItemTypes { get { throw null; } } - protected virtual string HelpTopic { get { throw null; } } - protected virtual bool CanRemoveInstance(object value) { throw null; } - protected virtual bool CanSelectMultipleInstances() { throw null; } - protected virtual CollectionForm CreateCollectionForm() { throw null; } - protected virtual object CreateInstance(Type itemType) { throw null; } - protected virtual IList GetObjectsFromInstance(object instance) { throw null; } - protected virtual string GetDisplayText(object value) { throw null; } - protected virtual Type CreateCollectionItemType() { throw null; } - protected virtual Type[] CreateNewItemTypes() { throw null; } - protected virtual void DestroyInstance(object instance) { throw null; } - public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value) { throw null; } - public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context) { throw null; } - protected virtual object[] GetItems(object editValue) { throw null; } - protected object GetService(Type serviceType) { throw null; } - protected virtual object SetItems(object editValue, object[] value) { throw null; } - protected virtual void ShowHelp() { } - protected abstract class CollectionForm : System.Windows.Forms.Form - { - public CollectionForm(CollectionEditor editor) { } - protected Type CollectionItemType { get { throw null; } } - protected Type CollectionType { get { throw null; } } - protected ITypeDescriptorContext Context { get { throw null; } } - public object EditValue { get { throw null; } set { } } - protected object[] Items { get { throw null; } set { } } - protected Type[] NewItemTypes { get { throw null; } } - protected bool CanRemoveInstance(object value) { throw null; } - protected virtual bool CanSelectMultipleInstances() { throw null; } - protected object CreateInstance(Type itemType) { throw null; } - protected void DestroyInstance(object instance) { } - protected virtual void DisplayError(Exception e) { } - protected override object GetService(Type serviceType) { throw null; } - protected internal virtual System.Windows.Forms.DialogResult ShowEditorDialog(System.Windows.Forms.Design.IWindowsFormsEditorService edSvc) { throw null; } - protected abstract void OnEditValueChanged(); - } - } - - [System.CLSCompliantAttribute(false)] - public partial class ObjectSelectorEditor : System.Drawing.Design.UITypeEditor - { - public ObjectSelectorEditor() { } - public ObjectSelectorEditor(bool subObjectSelector) { } - public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value) { throw null; } - public static void ApplyTreeViewThemeStyles(System.Windows.Forms.TreeView treeView) { } - public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context) { throw null; } - public bool EqualsToValue(object value) { throw null; } - protected virtual void FillTreeWithData(Selector selector, ITypeDescriptorContext context, IServiceProvider provider) { } - public virtual void SetValue(object value) { } - public class Selector : System.Windows.Forms.TreeView - { - public Selector(ObjectSelectorEditor editor) { } - public SelectorNode AddNode(string label, object value, SelectorNode parent) { throw null; } - public void Clear() { } - protected void OnAfterSelect(object sender, System.Windows.Forms.TreeViewEventArgs e) { } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e) { } - protected override void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e) { } - protected override void OnNodeMouseClick(System.Windows.Forms.TreeNodeMouseClickEventArgs e) { } - public bool SetSelection(object value, System.Windows.Forms.TreeNodeCollection nodes) { throw null; } - public void Start(System.Windows.Forms.Design.IWindowsFormsEditorService edSvc, object value) { } - public void Stop() { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public class SelectorNode : System.Windows.Forms.TreeNode - { - public SelectorNode(string label, object value) : base(label) { } - } - } -} diff --git a/src/System.Windows.Forms.Design.Editors/src/System.Windows.Forms.Design.Editors.csproj b/src/System.Windows.Forms.Design.Editors/src/System.Windows.Forms.Design.Editors.csproj index df9698dc3e3..5574eafeb83 100644 --- a/src/System.Windows.Forms.Design.Editors/src/System.Windows.Forms.Design.Editors.csproj +++ b/src/System.Windows.Forms.Design.Editors/src/System.Windows.Forms.Design.Editors.csproj @@ -4,6 +4,8 @@ System.Windows.Forms.Design.Editors netcoreapp3.0 false + true + true diff --git a/src/System.Windows.Forms.Design/ref/System.Windows.Forms.Design.Ref.csproj b/src/System.Windows.Forms.Design/ref/System.Windows.Forms.Design.Ref.csproj deleted file mode 100644 index 6eeefea4398..00000000000 --- a/src/System.Windows.Forms.Design/ref/System.Windows.Forms.Design.Ref.csproj +++ /dev/null @@ -1,18 +0,0 @@ - - - - netcoreapp3.0 - System.Windows.Forms.Design - System.Windows.Forms.Design - true - - - - - - - - - - - diff --git a/src/System.Windows.Forms.Design/ref/System.Windows.Forms.Design.cs b/src/System.Windows.Forms.Design/ref/System.Windows.Forms.Design.cs deleted file mode 100644 index b5768dc77c2..00000000000 --- a/src/System.Windows.Forms.Design/ref/System.Windows.Forms.Design.cs +++ /dev/null @@ -1,819 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -// ------------------------------------------------------------------------------ -// Changes to this file must follow the http://aka.ms/api-review process. -// ------------------------------------------------------------------------------ - -namespace System.ComponentModel.Design -{ - public partial class ComponentDesigner : System.ComponentModel.Design.IComponentInitializer, System.ComponentModel.Design.IDesigner, System.ComponentModel.Design.IDesignerFilter, System.ComponentModel.Design.ITreeDesigner, System.IDisposable - { - System.Collections.ICollection ITreeDesigner.Children { get { throw null; } } - IDesigner ITreeDesigner.Parent { get { throw null; } } - public ComponentDesigner() { } - public virtual System.ComponentModel.Design.DesignerActionListCollection ActionLists { get { throw null; } } - public virtual System.Collections.ICollection AssociatedComponents { get { throw null; } } - public System.ComponentModel.IComponent Component { get { throw null; } } - protected virtual System.ComponentModel.InheritanceAttribute InheritanceAttribute { get { throw null; } } - protected bool Inherited { get { throw null; } } - protected virtual System.ComponentModel.IComponent ParentComponent { get { throw null; } } - protected System.ComponentModel.Design.ComponentDesigner.ShadowPropertyCollection ShadowProperties { get { throw null; } } - public virtual System.ComponentModel.Design.DesignerVerbCollection Verbs { get { throw null; } } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - public virtual void DoDefaultAction() { } - ~ComponentDesigner() { } - protected virtual object GetService(System.Type serviceType) { throw null; } - public virtual void Initialize(System.ComponentModel.IComponent component) { } - public virtual void InitializeExistingComponent(System.Collections.IDictionary defaultValues) { } - public virtual void InitializeNewComponent(System.Collections.IDictionary defaultValues) { } - [System.ObsoleteAttribute("This method has been deprecated. Use InitializeExistingComponent instead. http://go.microsoft.com/fwlink/?linkid=14202")] - public virtual void InitializeNonDefault() { } - protected System.ComponentModel.InheritanceAttribute InvokeGetInheritanceAttribute(System.ComponentModel.Design.ComponentDesigner toInvoke) { throw null; } - [System.ObsoleteAttribute("This method has been deprecated. Use InitializeNewComponent instead. http://go.microsoft.com/fwlink/?linkid=14202")] - public virtual void OnSetComponentDefaults() { } - protected virtual void PostFilterAttributes(System.Collections.IDictionary attributes) { } - protected virtual void PostFilterEvents(System.Collections.IDictionary events) { } - protected virtual void PostFilterProperties(System.Collections.IDictionary properties) { } - protected virtual void PreFilterAttributes(System.Collections.IDictionary attributes) { } - protected virtual void PreFilterEvents(System.Collections.IDictionary events) { } - protected virtual void PreFilterProperties(System.Collections.IDictionary properties) { } - protected void RaiseComponentChanged(System.ComponentModel.MemberDescriptor member, object oldValue, object newValue) { } - protected void RaiseComponentChanging(System.ComponentModel.MemberDescriptor member) { } - void System.ComponentModel.Design.IDesignerFilter.PostFilterAttributes(System.Collections.IDictionary attributes) { } - void System.ComponentModel.Design.IDesignerFilter.PostFilterEvents(System.Collections.IDictionary events) { } - void System.ComponentModel.Design.IDesignerFilter.PostFilterProperties(System.Collections.IDictionary properties) { } - void System.ComponentModel.Design.IDesignerFilter.PreFilterAttributes(System.Collections.IDictionary attributes) { } - void System.ComponentModel.Design.IDesignerFilter.PreFilterEvents(System.Collections.IDictionary events) { } - void System.ComponentModel.Design.IDesignerFilter.PreFilterProperties(System.Collections.IDictionary properties) { } - protected sealed partial class ShadowPropertyCollection - { - internal ShadowPropertyCollection(ComponentDesigner designer){} - - public object this[string propertyName] { get { throw null; } set { } } - public bool Contains(string propertyName) { throw null; } - } - } - public abstract partial class DesignerActionItem - { - public DesignerActionItem(string displayName, string category, string description) { } - public bool AllowAssociate { get { throw null; } set { } } - public virtual string Category { get { throw null; } } - public virtual string Description { get { throw null; } } - public virtual string DisplayName { get { throw null; } } - public System.Collections.IDictionary Properties { get { throw null; } } - public bool ShowInSourceView { get { throw null; } set { } } - } - public partial class DesignerActionItemCollection : System.Collections.CollectionBase - { - public DesignerActionItemCollection() { } - public System.ComponentModel.Design.DesignerActionItem this[int index] { get { throw null; } set { } } - public int Add(System.ComponentModel.Design.DesignerActionItem value) { throw null; } - public bool Contains(System.ComponentModel.Design.DesignerActionItem value) { throw null; } - public void CopyTo(System.ComponentModel.Design.DesignerActionItem[] array, int index) { } - public int IndexOf(System.ComponentModel.Design.DesignerActionItem value) { throw null; } - public void Insert(int index, System.ComponentModel.Design.DesignerActionItem value) { } - public void Remove(System.ComponentModel.Design.DesignerActionItem value) { } - } - public partial class DesignerActionList - { - public DesignerActionList(System.ComponentModel.IComponent component) { } - public virtual bool AutoShow { get { throw null; } set { } } - public System.ComponentModel.IComponent Component { get { throw null; } } - public object GetService(System.Type serviceType) { throw null; } - public virtual System.ComponentModel.Design.DesignerActionItemCollection GetSortedActionItems() { throw null; } - } - public partial class DesignerActionListCollection : System.Collections.CollectionBase - { - public DesignerActionListCollection() { } - public DesignerActionListCollection(System.ComponentModel.Design.DesignerActionList[] value) { } - public System.ComponentModel.Design.DesignerActionList this[int index] { get { throw null; } set { } } - public int Add(System.ComponentModel.Design.DesignerActionList value) { throw null; } - public void AddRange(System.ComponentModel.Design.DesignerActionListCollection value) { } - public void AddRange(System.ComponentModel.Design.DesignerActionList[] value) { } - public bool Contains(System.ComponentModel.Design.DesignerActionList value) { throw null; } - public void CopyTo(System.ComponentModel.Design.DesignerActionList[] array, int index) { } - public int IndexOf(System.ComponentModel.Design.DesignerActionList value) { throw null; } - public void Insert(int index, System.ComponentModel.Design.DesignerActionList value) { } - protected override void OnClear() { } - protected override void OnInsert(int index, object value) { } - protected override void OnRemove(int index, object value) { } - protected override void OnSet(int index, object oldValue, object newValue) { } - protected override void OnValidate(object value) { } - public void Remove(System.ComponentModel.Design.DesignerActionList value) { } - } -} -namespace System.ComponentModel.Design.Serialization -{ - [CLSCompliant(false)] - public partial class CodeDomSerializer : System.ComponentModel.Design.Serialization.CodeDomSerializerBase - { - public CodeDomSerializer() { } - public virtual object Deserialize(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object codeObject) { throw null; } - protected object DeserializeStatementToInstance(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeStatement statement) { throw null; } - public virtual string GetTargetComponentName(System.CodeDom.CodeStatement statement, System.CodeDom.CodeExpression expression, System.Type targetType) { throw null; } - public virtual object Serialize(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value) { throw null; } - public virtual object SerializeAbsolute(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value) { throw null; } - public virtual System.CodeDom.CodeStatementCollection SerializeMember(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object owningObject, System.ComponentModel.MemberDescriptor member) { throw null; } - public virtual System.CodeDom.CodeStatementCollection SerializeMemberAbsolute(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object owningObject, System.ComponentModel.MemberDescriptor member) { throw null; } - [System.ObsoleteAttribute("This method has been deprecated. Use SerializeToExpression or GetExpression instead. http://go.microsoft.com/fwlink/?linkid=14202")] - protected System.CodeDom.CodeExpression SerializeToReferenceExpression(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value) { throw null; } - } - [System.ComponentModel.EditorBrowsableAttribute((System.ComponentModel.EditorBrowsableState)(1))] - [CLSCompliant(false)] - public abstract partial class CodeDomSerializerBase - { - internal CodeDomSerializerBase() { } - protected virtual object DeserializeInstance(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.Type type, object[] parameters, string name, bool addToContainer) { throw null; } - protected void DeserializePropertiesFromResources(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value, System.Attribute[] filter) { } - protected void DeserializeStatement(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeStatement statement) { } - protected static System.ComponentModel.AttributeCollection GetAttributesFromTypeHelper(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.Type type) { throw null; } - protected static System.ComponentModel.AttributeCollection GetAttributesHelper(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object instance) { throw null; } - protected static System.ComponentModel.EventDescriptorCollection GetEventsHelper(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object instance, System.Attribute[] attributes) { throw null; } - protected System.CodeDom.CodeExpression GetExpression(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value) { throw null; } - protected static System.ComponentModel.PropertyDescriptorCollection GetPropertiesHelper(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object instance, System.Attribute[] attributes) { throw null; } - protected static System.Type GetReflectionTypeFromTypeHelper(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.Type type) { throw null; } - protected static System.Type GetReflectionTypeHelper(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object instance) { throw null; } - protected System.ComponentModel.Design.Serialization.CodeDomSerializer GetSerializer(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value) { throw null; } - protected System.ComponentModel.Design.Serialization.CodeDomSerializer GetSerializer(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.Type valueType) { throw null; } - protected static System.ComponentModel.TypeDescriptionProvider GetTargetFrameworkProvider(System.IServiceProvider provider, object instance) { throw null; } - protected string GetUniqueName(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value) { throw null; } - protected bool IsSerialized(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value) { throw null; } - protected bool IsSerialized(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value, bool honorPreset) { throw null; } - protected System.CodeDom.CodeExpression SerializeCreationExpression(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value, out bool isComplete) { throw null; } - protected void SerializeEvent(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeStatementCollection statements, object value, System.ComponentModel.EventDescriptor descriptor) { } - protected void SerializeEvents(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeStatementCollection statements, object value, params System.Attribute[] filter) { } - protected void SerializeProperties(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeStatementCollection statements, object value, System.Attribute[] filter) { } - protected void SerializePropertiesToResources(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeStatementCollection statements, object value, System.Attribute[] filter) { } - protected void SerializeProperty(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeStatementCollection statements, object value, System.ComponentModel.PropertyDescriptor propertyToSerialize) { } - protected void SerializeResource(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, string resourceName, object value) { } - protected void SerializeResourceInvariant(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, string resourceName, object value) { } - protected System.CodeDom.CodeExpression SerializeToExpression(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value) { throw null; } - protected System.CodeDom.CodeExpression SerializeToResourceExpression(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value) { throw null; } - protected System.CodeDom.CodeExpression SerializeToResourceExpression(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value, bool ensureInvariant) { throw null; } - protected void SetExpression(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value, System.CodeDom.CodeExpression expression) { } - protected void SetExpression(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value, System.CodeDom.CodeExpression expression, bool isPreset) { } - } -} -namespace System.Windows.Forms.Design -{ - public partial class AxImporter - { - public AxImporter(Options options) { } - public partial interface IReferenceResolver - { - string ResolveActiveXReference(System.Runtime.InteropServices.UCOMITypeLib typeLib); - string ResolveComReference(System.Reflection.AssemblyName name); - string ResolveComReference(System.Runtime.InteropServices.UCOMITypeLib typeLib); - string ResolveManagedReference(string assemName); - } - public sealed partial class Options - { - public bool delaySign; - public bool genSources; - public bool ignoreRegisteredOcx; - public string keyContainer; - public string keyFile; - public System.Reflection.StrongNameKeyPair keyPair; - public bool msBuildErrors; - public bool noLogo; - public string outputDirectory; - public string outputName; - public bool overwriteRCW; - public byte[] publicKey; - public System.Windows.Forms.Design.AxImporter.IReferenceResolver references; - public bool silentMode; - public bool verboseMode; - public Options() { } - } - } - - public partial class ComponentDocumentDesigner : System.ComponentModel.Design.ComponentDesigner, System.ComponentModel.Design.IDesigner, System.ComponentModel.Design.IRootDesigner, System.ComponentModel.Design.ITypeDescriptorFilterService, System.Drawing.Design.IToolboxUser, System.IDisposable - { - System.ComponentModel.Design.ViewTechnology[] System.ComponentModel.Design.IRootDesigner.SupportedTechnologies { get { throw null; } } - bool System.ComponentModel.Design.ITypeDescriptorFilterService.FilterAttributes(System.ComponentModel.IComponent component, Collections.IDictionary attributes) { throw null; } - bool System.ComponentModel.Design.ITypeDescriptorFilterService.FilterEvents(System.ComponentModel.IComponent component, Collections.IDictionary events) { throw null; } - bool System.ComponentModel.Design.ITypeDescriptorFilterService.FilterProperties(System.ComponentModel.IComponent component, Collections.IDictionary properties) { throw null; } - void Drawing.Design.IToolboxUser.ToolPicked(Drawing.Design.ToolboxItem tool) { throw null; } - public ComponentDocumentDesigner() { } - public System.Windows.Forms.Control Control { get { throw null; } } - public bool TrayAutoArrange { get { throw null; } set { } } - public bool TrayLargeIcon { get { throw null; } set { } } - protected override void Dispose(bool disposing) { } - [CLSCompliant(false)] - protected virtual bool GetToolSupported(System.Drawing.Design.ToolboxItem tool) { throw null; } - public override void Initialize(System.ComponentModel.IComponent component) { } - protected override void PreFilterProperties(System.Collections.IDictionary properties) { } - object System.ComponentModel.Design.IRootDesigner.GetView(System.ComponentModel.Design.ViewTechnology technology) { throw null; } - bool System.Drawing.Design.IToolboxUser.GetToolSupported(System.Drawing.Design.ToolboxItem tool) { throw null; } - } - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ProvidePropertyAttribute("Location", typeof(System.ComponentModel.IComponent))] - [System.ComponentModel.ProvidePropertyAttribute("TrayLocation", typeof(System.ComponentModel.IComponent))] - [System.ComponentModel.ToolboxItemAttribute(false)] - public partial class ComponentTray : System.Windows.Forms.ScrollableControl, System.ComponentModel.IExtenderProvider - { - bool System.ComponentModel.IExtenderProvider.CanExtend(object component) { throw null; } - public ComponentTray(System.ComponentModel.Design.IDesigner mainDesigner, System.IServiceProvider serviceProvider) { } - public bool AutoArrange { get { throw null; } set { } } - public int ComponentCount { get { throw null; } } - public bool ShowLargeIcons { get { throw null; } set { } } - public virtual void AddComponent(System.ComponentModel.IComponent component) { } - [System.CLSCompliantAttribute(false)] - protected virtual bool CanCreateComponentFromTool(System.Drawing.Design.ToolboxItem tool) { throw null; } - protected virtual bool CanDisplayComponent(System.ComponentModel.IComponent component) { throw null; } - [System.CLSCompliantAttribute(false)] - public void CreateComponentFromTool(System.Drawing.Design.ToolboxItem tool) { } - protected void DisplayError(System.Exception e) { } - protected override void Dispose(bool disposing) { } - System.Windows.Forms.Design.SelectionRules GetComponentRules(object component) { throw null; } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.CategoryAttribute("Layout")] - [System.ComponentModel.DesignerSerializationVisibilityAttribute((System.ComponentModel.DesignerSerializationVisibility)(0))] - [System.ComponentModel.DesignOnlyAttribute(true)] - [System.ComponentModel.LocalizableAttribute(false)] - public System.Drawing.Point GetLocation(System.ComponentModel.IComponent receiver) { throw null; } - public System.ComponentModel.IComponent GetNextComponent(System.ComponentModel.IComponent component, bool forward) { throw null; } - protected override object GetService(System.Type serviceType) { throw null; } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.CategoryAttribute("Layout")] - [System.ComponentModel.DesignOnlyAttribute(true)] - [System.ComponentModel.LocalizableAttribute(false)] - public System.Drawing.Point GetTrayLocation(System.ComponentModel.IComponent receiver) { throw null; } - public bool IsTrayComponent(System.ComponentModel.IComponent comp) { throw null; } - protected override void OnDragDrop(System.Windows.Forms.DragEventArgs de) { } - protected override void OnDragEnter(System.Windows.Forms.DragEventArgs de) { } - protected override void OnDragLeave(System.EventArgs e) { } - protected override void OnDragOver(System.Windows.Forms.DragEventArgs de) { } - protected override void OnGiveFeedback(System.Windows.Forms.GiveFeedbackEventArgs gfevent) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs levent) { } - protected virtual void OnLostCapture() { } - protected override void OnMouseDoubleClick(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs pe) { } - protected virtual void OnSetCursor() { } - public virtual void RemoveComponent(System.ComponentModel.IComponent component) { } - public void SetLocation(System.ComponentModel.IComponent receiver, System.Drawing.Point location) { } - public void SetTrayLocation(System.ComponentModel.IComponent receiver, System.Drawing.Point location) { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - [CLSCompliant(false)] - public partial class ControlDesigner : System.ComponentModel.Design.ComponentDesigner - { - protected System.Windows.Forms.AccessibleObject accessibilityObj; - public ControlDesigner() { } - public virtual System.Windows.Forms.AccessibleObject AccessibilityObject { get { throw null; } } - public override System.Collections.ICollection AssociatedComponents { get { throw null; } } - public bool AutoResizeHandles { get { throw null; } set { } } - protected System.Windows.Forms.Design.Behavior.BehaviorService BehaviorService { get { throw null; } } - public virtual System.Windows.Forms.Control Control { get { throw null; } } - protected virtual bool EnableDragRect { get { throw null; } } - protected override System.ComponentModel.InheritanceAttribute InheritanceAttribute { get { throw null; } } - protected override System.ComponentModel.IComponent ParentComponent { get { throw null; } } - public virtual bool ParticipatesWithSnapLines { get { throw null; } } - public virtual System.Windows.Forms.Design.SelectionRules SelectionRules { get { throw null; } } - public virtual System.Collections.IList SnapLines { get { throw null; } } - protected void BaseWndProc(ref System.Windows.Forms.Message m) { } - public virtual bool CanBeParentedTo(System.ComponentModel.Design.IDesigner parentDesigner) { throw null; } - protected void DefWndProc(ref System.Windows.Forms.Message m) { } - protected void DisplayError(System.Exception e) { } - protected override void Dispose(bool disposing) { } - protected bool EnableDesignMode(System.Windows.Forms.Control child, string name) { throw null; } - protected void EnableDragDrop(bool value) { } - protected virtual System.Windows.Forms.Design.Behavior.ControlBodyGlyph GetControlGlyph(System.Windows.Forms.Design.Behavior.GlyphSelectionType selectionType) { throw null; } - public virtual System.Windows.Forms.Design.Behavior.GlyphCollection GetGlyphs(System.Windows.Forms.Design.Behavior.GlyphSelectionType selectionType) { throw null; } - protected virtual bool GetHitTest(System.Drawing.Point point) { throw null; } - protected void HookChildControls(System.Windows.Forms.Control firstChild) { } - public override void Initialize(System.ComponentModel.IComponent component) { } - public override void InitializeExistingComponent(System.Collections.IDictionary defaultValues) { } - public override void InitializeNewComponent(System.Collections.IDictionary defaultValues) { } - public virtual System.Windows.Forms.Design.ControlDesigner InternalControlDesigner(int internalControlIndex) { throw null; } - public virtual int NumberOfInternalControlDesigners() { throw null; } - protected virtual void OnContextMenu(int x, int y) { } - protected virtual void OnCreateHandle() { } - protected virtual void OnDragComplete(System.Windows.Forms.DragEventArgs de) { } - protected virtual void OnDragDrop(System.Windows.Forms.DragEventArgs de) { } - protected virtual void OnDragEnter(System.Windows.Forms.DragEventArgs de) { } - protected virtual void OnDragLeave(System.EventArgs e) { } - protected virtual void OnDragOver(System.Windows.Forms.DragEventArgs de) { } - protected virtual void OnGiveFeedback(System.Windows.Forms.GiveFeedbackEventArgs e) { } - protected virtual void OnMouseDragBegin(int x, int y) { } - protected virtual void OnMouseDragEnd(bool cancel) { } - protected virtual void OnMouseDragMove(int x, int y) { } - protected virtual void OnMouseEnter() { } - protected virtual void OnMouseHover() { } - protected virtual void OnMouseLeave() { } - protected virtual void OnPaintAdornments(System.Windows.Forms.PaintEventArgs pe) { } - [System.ObsoleteAttribute("This method has been deprecated. Use InitializeNewComponent instead. http://go.microsoft.com/fwlink/?linkid=14202")] - public override void OnSetComponentDefaults() { } - protected virtual void OnSetCursor() { } - protected override void PreFilterProperties(System.Collections.IDictionary properties) { } - protected void UnhookChildControls(System.Windows.Forms.Control firstChild) { } - protected virtual void WndProc(ref System.Windows.Forms.Message m) { } - public partial class ControlDesignerAccessibleObject : System.Windows.Forms.AccessibleObject - { - public ControlDesignerAccessibleObject(System.Windows.Forms.Design.ControlDesigner designer, System.Windows.Forms.Control control) { } - public override System.Drawing.Rectangle Bounds { get { throw null; } } - public override string DefaultAction { get { throw null; } } - public override string Description { get { throw null; } } - public override string Name { get { throw null; } } - public override System.Windows.Forms.AccessibleObject Parent { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public override string Value { get { throw null; } } - public override System.Windows.Forms.AccessibleObject GetChild(int index) { throw null; } - public override int GetChildCount() { throw null; } - public override System.Windows.Forms.AccessibleObject GetFocused() { throw null; } - public override System.Windows.Forms.AccessibleObject GetSelected() { throw null; } - public override System.Windows.Forms.AccessibleObject HitTest(int x, int y) { throw null; } - } - } - public partial class DesignerOptions - { - public DesignerOptions() { } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool EnableInSituEditing { get { throw null; } set { } } - public virtual System.Drawing.Size GridSize { get { throw null; } set { } } - public virtual bool ObjectBoundSmartTagAutoShow { get { throw null; } set { } } - public virtual bool ShowGrid { get { throw null; } set { } } - public virtual bool SnapToGrid { get { throw null; } set { } } - public virtual bool UseOptimizedCodeGeneration { get { throw null; } set { } } - public virtual bool UseSmartTags { get { throw null; } set { } } - public virtual bool UseSnapLines { get { throw null; } set { } } - } - - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms")] - [CLSCompliant(false)] - public partial class DocumentDesigner : System.Windows.Forms.Design.ScrollableControlDesigner, System.ComponentModel.Design.IDesigner, System.ComponentModel.Design.IRootDesigner, System.Drawing.Design.IToolboxUser, System.IDisposable - { - object System.ComponentModel.Design.IRootDesigner.GetView(System.ComponentModel.Design.ViewTechnology technology) { throw null;} - - System.ComponentModel.Design.ViewTechnology[] System.ComponentModel.Design.IRootDesigner.SupportedTechnologies { get { throw null; } } - protected System.Windows.Forms.Design.IMenuEditorService menuEditorService; - public DocumentDesigner() { } - public override System.Windows.Forms.Design.SelectionRules SelectionRules { get { throw null; } } - protected override void Dispose(bool disposing) { } - protected virtual void EnsureMenuEditorService(System.ComponentModel.IComponent c) { } - public override System.Windows.Forms.Design.Behavior.GlyphCollection GetGlyphs(System.Windows.Forms.Design.Behavior.GlyphSelectionType selectionType) { throw null; } - [System.CLSCompliantAttribute(false)] - protected virtual bool GetToolSupported(System.Drawing.Design.ToolboxItem tool) { throw null; } - public override void Initialize(System.ComponentModel.IComponent component) { } - protected override void OnContextMenu(int x, int y) { } - protected override void OnCreateHandle() { } - protected override void PreFilterProperties(System.Collections.IDictionary properties) { } - bool System.Drawing.Design.IToolboxUser.GetToolSupported(System.Drawing.Design.ToolboxItem tool) { throw null; } - void System.Drawing.Design.IToolboxUser.ToolPicked(System.Drawing.Design.ToolboxItem tool) { } - [System.CLSCompliantAttribute(false)] - protected virtual void ToolPicked(System.Drawing.Design.ToolboxItem tool) { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public sealed partial class EventHandlerService - { - public EventHandlerService(System.Windows.Forms.Control focusWnd) { } - public System.Windows.Forms.Control FocusWindow { get { throw null; } } - public event System.EventHandler EventHandlerChanged { add { } remove { } } - public object GetHandler(System.Type handlerType) { throw null; } - public void PopHandler(object handler) { } - public void PushHandler(object handler) { } - } - - [CLSCompliant(false)] - public partial class ImageListCodeDomSerializer : System.ComponentModel.Design.Serialization.CodeDomSerializer - { - public ImageListCodeDomSerializer() { } - public override object Deserialize(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object codeObject) { throw null; } - public override object Serialize(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value) { throw null; } - } - public partial interface IMenuEditorService - { - System.Windows.Forms.Menu GetMenu(); - bool IsActive(); - bool MessageFilter(ref System.Windows.Forms.Message m); - void SetMenu(System.Windows.Forms.Menu menu); - void SetSelection(System.Windows.Forms.MenuItem item); - } - public sealed partial class MenuCommands : System.ComponentModel.Design.StandardCommands - { - public static readonly System.ComponentModel.Design.CommandID ComponentTrayMenu; - public static readonly System.ComponentModel.Design.CommandID ContainerMenu; - public static readonly System.ComponentModel.Design.CommandID DesignerProperties; - public static readonly System.ComponentModel.Design.CommandID EditLabel; - public static readonly System.ComponentModel.Design.CommandID KeyCancel; - public static readonly System.ComponentModel.Design.CommandID KeyDefaultAction; - public static readonly System.ComponentModel.Design.CommandID KeyEnd; - public static readonly System.ComponentModel.Design.CommandID KeyHome; - public static readonly System.ComponentModel.Design.CommandID KeyInvokeSmartTag; - public static readonly System.ComponentModel.Design.CommandID KeyMoveDown; - public static readonly System.ComponentModel.Design.CommandID KeyMoveLeft; - public static readonly System.ComponentModel.Design.CommandID KeyMoveRight; - public static readonly System.ComponentModel.Design.CommandID KeyMoveUp; - public static readonly System.ComponentModel.Design.CommandID KeyNudgeDown; - public static readonly System.ComponentModel.Design.CommandID KeyNudgeHeightDecrease; - public static readonly System.ComponentModel.Design.CommandID KeyNudgeHeightIncrease; - public static readonly System.ComponentModel.Design.CommandID KeyNudgeLeft; - public static readonly System.ComponentModel.Design.CommandID KeyNudgeRight; - public static readonly System.ComponentModel.Design.CommandID KeyNudgeUp; - public static readonly System.ComponentModel.Design.CommandID KeyNudgeWidthDecrease; - public static readonly System.ComponentModel.Design.CommandID KeyNudgeWidthIncrease; - public static readonly System.ComponentModel.Design.CommandID KeyReverseCancel; - public static readonly System.ComponentModel.Design.CommandID KeySelectNext; - public static readonly System.ComponentModel.Design.CommandID KeySelectPrevious; - public static readonly System.ComponentModel.Design.CommandID KeyShiftEnd; - public static readonly System.ComponentModel.Design.CommandID KeyShiftHome; - public static readonly System.ComponentModel.Design.CommandID KeySizeHeightDecrease; - public static readonly System.ComponentModel.Design.CommandID KeySizeHeightIncrease; - public static readonly System.ComponentModel.Design.CommandID KeySizeWidthDecrease; - public static readonly System.ComponentModel.Design.CommandID KeySizeWidthIncrease; - public static readonly System.ComponentModel.Design.CommandID KeyTabOrderSelect; - public static readonly System.ComponentModel.Design.CommandID SelectionMenu; - public static readonly System.ComponentModel.Design.CommandID SetStatusRectangle; - public static readonly System.ComponentModel.Design.CommandID SetStatusText; - public static readonly System.ComponentModel.Design.CommandID TraySelectionMenu; - public MenuCommands() { } - } - [CLSCompliant(false)] - public partial class ParentControlDesigner : System.Windows.Forms.Design.ControlDesigner - { - public ParentControlDesigner() { } - protected virtual bool AllowControlLasso { get { throw null; } } - protected virtual bool AllowGenericDragBox { get { throw null; } } - protected internal virtual bool AllowSetChildIndexOnDrop { get { throw null; } } - protected virtual System.Drawing.Point DefaultControlLocation { get { throw null; } } - protected virtual bool DrawGrid { get { throw null; } set { } } - protected override bool EnableDragRect { get { throw null; } } - protected System.Drawing.Size GridSize { get { throw null; } set { } } - [System.CLSCompliantAttribute(false)] - protected System.Drawing.Design.ToolboxItem MouseDragTool { get { throw null; } } - public override System.Collections.IList SnapLines { get { throw null; } } - protected void AddPaddingSnapLines(ref System.Collections.ArrayList snapLines) { } - protected internal virtual bool CanAddComponent(System.ComponentModel.IComponent component) { throw null; } - public virtual bool CanParent(System.Windows.Forms.Control control) { throw null; } - public virtual bool CanParent(System.Windows.Forms.Design.ControlDesigner controlDesigner) { throw null; } - [System.CLSCompliantAttribute(false)] - protected void CreateTool(System.Drawing.Design.ToolboxItem tool) { } - [System.CLSCompliantAttribute(false)] - protected void CreateTool(System.Drawing.Design.ToolboxItem tool, System.Drawing.Point location) { } - [System.CLSCompliantAttribute(false)] - protected void CreateTool(System.Drawing.Design.ToolboxItem tool, System.Drawing.Rectangle bounds) { } - [System.CLSCompliantAttribute(false)] - protected virtual System.ComponentModel.IComponent[] CreateToolCore(System.Drawing.Design.ToolboxItem tool, int x, int y, int width, int height, bool hasLocation, bool hasSize) { throw null; } - protected override void Dispose(bool disposing) { } - protected System.Windows.Forms.Control GetControl(object component) { throw null; } - protected override System.Windows.Forms.Design.Behavior.ControlBodyGlyph GetControlGlyph(System.Windows.Forms.Design.Behavior.GlyphSelectionType selectionType) { throw null; } - public override System.Windows.Forms.Design.Behavior.GlyphCollection GetGlyphs(System.Windows.Forms.Design.Behavior.GlyphSelectionType selectionType) { throw null; } - protected virtual System.Windows.Forms.Control GetParentForComponent(System.ComponentModel.IComponent component) { throw null; } - protected System.Drawing.Rectangle GetUpdatedRect(System.Drawing.Rectangle originalRect, System.Drawing.Rectangle dragRect, bool updateSize) { throw null; } - public override void Initialize(System.ComponentModel.IComponent component) { } - public override void InitializeNewComponent(System.Collections.IDictionary defaultValues) { } - [System.CLSCompliantAttribute(false)] - protected static void InvokeCreateTool(System.Windows.Forms.Design.ParentControlDesigner toInvoke, System.Drawing.Design.ToolboxItem tool) { } - protected override void OnDragComplete(System.Windows.Forms.DragEventArgs de) { } - protected override void OnDragDrop(System.Windows.Forms.DragEventArgs de) { } - protected override void OnDragEnter(System.Windows.Forms.DragEventArgs de) { } - protected override void OnDragLeave(System.EventArgs e) { } - protected override void OnDragOver(System.Windows.Forms.DragEventArgs de) { } - protected override void OnMouseDragBegin(int x, int y) { } - protected override void OnMouseDragEnd(bool cancel) { } - protected override void OnMouseDragMove(int x, int y) { } - protected override void OnPaintAdornments(System.Windows.Forms.PaintEventArgs pe) { } - protected override void OnSetCursor() { } - protected override void PreFilterProperties(System.Collections.IDictionary properties) { } - } - [CLSCompliant(false)] - public partial class ScrollableControlDesigner : System.Windows.Forms.Design.ParentControlDesigner - { - public ScrollableControlDesigner() { } - protected override bool GetHitTest(System.Drawing.Point pt) { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - [System.FlagsAttribute] - public enum SelectionRules - { - AllSizeable = 15, - BottomSizeable = 2, - LeftSizeable = 4, - Locked = -2147483648, - Moveable = 268435456, - None = 0, - RightSizeable = 8, - TopSizeable = 1, - Visible = 1073741824, - } - - public partial class WindowsFormsDesignerOptionService : System.ComponentModel.Design.DesignerOptionService - { - public WindowsFormsDesignerOptionService() { } - public virtual System.Windows.Forms.Design.DesignerOptions CompatibilityOptions { get { throw null; } } - protected override void PopulateOptionCollection(System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection options) { } - } -} - -namespace System.Runtime.InteropServices -{ - public partial interface UCOMITypeLib - { - void GetDocumentation(int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile); - void GetLibAttr(out System.IntPtr ppTLibAttr); - int GetTypeInfoCount(); - void GetTypeInfoType(int index, out System.Runtime.InteropServices.ComTypes.TYPEKIND pTKind); - bool IsName(string szNameBuf, int lHashVal); - void ReleaseTLibAttr(System.IntPtr pTLibAttr); - } -} - -namespace System.Windows.Forms.Design.Behavior -{ - [CLSCompliant(false)] - public sealed partial class Adorner - { - public Adorner() { } - public System.Windows.Forms.Design.Behavior.BehaviorService BehaviorService { get { throw null; } set { } } - public bool Enabled { get { throw null; } set { } } - public System.Windows.Forms.Design.Behavior.GlyphCollection Glyphs { get { throw null; } } - public void Invalidate() { } - public void Invalidate(System.Drawing.Rectangle rectangle) { } - public void Invalidate(System.Drawing.Region region) { } - } - [CLSCompliant(false)] - public abstract partial class Behavior - { - protected Behavior() { } - protected Behavior(bool callParentBehavior, System.Windows.Forms.Design.Behavior.BehaviorService behaviorService) { } - public virtual System.Windows.Forms.Cursor Cursor { get { throw null; } } - public virtual bool DisableAllCommands { get { throw null; } } - public virtual System.ComponentModel.Design.MenuCommand FindCommand(System.ComponentModel.Design.CommandID commandId) { throw null; } - public virtual void OnDragDrop(System.Windows.Forms.Design.Behavior.Glyph g, System.Windows.Forms.DragEventArgs e) { } - public virtual void OnDragEnter(System.Windows.Forms.Design.Behavior.Glyph g, System.Windows.Forms.DragEventArgs e) { } - public virtual void OnDragLeave(System.Windows.Forms.Design.Behavior.Glyph g, System.EventArgs e) { } - public virtual void OnDragOver(System.Windows.Forms.Design.Behavior.Glyph g, System.Windows.Forms.DragEventArgs e) { } - public virtual void OnGiveFeedback(System.Windows.Forms.Design.Behavior.Glyph g, System.Windows.Forms.GiveFeedbackEventArgs e) { } - public virtual void OnLoseCapture(System.Windows.Forms.Design.Behavior.Glyph g, System.EventArgs e) { } - public virtual bool OnMouseDoubleClick(System.Windows.Forms.Design.Behavior.Glyph g, System.Windows.Forms.MouseButtons button, System.Drawing.Point mouseLoc) { throw null; } - public virtual bool OnMouseDown(System.Windows.Forms.Design.Behavior.Glyph g, System.Windows.Forms.MouseButtons button, System.Drawing.Point mouseLoc) { throw null; } - public virtual bool OnMouseEnter(System.Windows.Forms.Design.Behavior.Glyph g) { throw null; } - public virtual bool OnMouseHover(System.Windows.Forms.Design.Behavior.Glyph g, System.Drawing.Point mouseLoc) { throw null; } - public virtual bool OnMouseLeave(System.Windows.Forms.Design.Behavior.Glyph g) { throw null; } - public virtual bool OnMouseMove(System.Windows.Forms.Design.Behavior.Glyph g, System.Windows.Forms.MouseButtons button, System.Drawing.Point mouseLoc) { throw null; } - public virtual bool OnMouseUp(System.Windows.Forms.Design.Behavior.Glyph g, System.Windows.Forms.MouseButtons button) { throw null; } - public virtual void OnQueryContinueDrag(System.Windows.Forms.Design.Behavior.Glyph g, System.Windows.Forms.QueryContinueDragEventArgs e) { } - } - public partial class BehaviorDragDropEventArgs : System.EventArgs - { - public BehaviorDragDropEventArgs(System.Collections.ICollection dragComponents) { } - public System.Collections.ICollection DragComponents { get { throw null; } } - } - public delegate void BehaviorDragDropEventHandler(object sender, System.Windows.Forms.Design.Behavior.BehaviorDragDropEventArgs e); - [CLSCompliant(false)] - public sealed partial class BehaviorService : System.IDisposable - { - internal BehaviorService(System.IServiceProvider serviceProvider, Control windowFrame){} - public System.Windows.Forms.Design.Behavior.BehaviorServiceAdornerCollection Adorners { get { throw null; } } - public System.Drawing.Graphics AdornerWindowGraphics { get { throw null; } } - public System.Windows.Forms.Design.Behavior.Behavior CurrentBehavior { get { throw null; } } - public event System.Windows.Forms.Design.Behavior.BehaviorDragDropEventHandler BeginDrag { add { } remove { } } - public event System.Windows.Forms.Design.Behavior.BehaviorDragDropEventHandler EndDrag { add { } remove { } } - public event System.EventHandler Synchronize { add { } remove { } } - public System.Drawing.Point AdornerWindowPointToScreen(System.Drawing.Point p) { throw null; } - public System.Drawing.Point AdornerWindowToScreen() { throw null; } - public System.Drawing.Rectangle ControlRectInAdornerWindow(System.Windows.Forms.Control c) { throw null; } - public System.Drawing.Point ControlToAdornerWindow(System.Windows.Forms.Control c) { throw null; } - public void Dispose() { } - public System.Windows.Forms.Design.Behavior.Behavior GetNextBehavior(System.Windows.Forms.Design.Behavior.Behavior behavior) { throw null; } - public void Invalidate() { } - public void Invalidate(System.Drawing.Rectangle rect) { } - public void Invalidate(System.Drawing.Region r) { } - public System.Drawing.Point MapAdornerWindowPoint(System.IntPtr handle, System.Drawing.Point pt) { throw null; } - public System.Windows.Forms.Design.Behavior.Behavior PopBehavior(System.Windows.Forms.Design.Behavior.Behavior behavior) { throw null; } - public void PushBehavior(System.Windows.Forms.Design.Behavior.Behavior behavior) { } - public void PushCaptureBehavior(System.Windows.Forms.Design.Behavior.Behavior behavior) { } - public System.Drawing.Point ScreenToAdornerWindow(System.Drawing.Point p) { throw null; } - public void SyncSelection() { } - } - [CLSCompliant(false)] - public sealed partial class BehaviorServiceAdornerCollection : System.Collections.CollectionBase - { - public BehaviorServiceAdornerCollection(System.Windows.Forms.Design.Behavior.Adorner[] value) { } - public BehaviorServiceAdornerCollection(System.Windows.Forms.Design.Behavior.BehaviorService behaviorService) { } - public BehaviorServiceAdornerCollection(System.Windows.Forms.Design.Behavior.BehaviorServiceAdornerCollection value) { } - public System.Windows.Forms.Design.Behavior.Adorner this[int index] { get { throw null; } set { } } - public int Add(System.Windows.Forms.Design.Behavior.Adorner value) { throw null; } - public void AddRange(System.Windows.Forms.Design.Behavior.Adorner[] value) { } - public void AddRange(System.Windows.Forms.Design.Behavior.BehaviorServiceAdornerCollection value) { } - public bool Contains(System.Windows.Forms.Design.Behavior.Adorner value) { throw null; } - public void CopyTo(System.Windows.Forms.Design.Behavior.Adorner[] array, int index) { } - public new System.Windows.Forms.Design.Behavior.BehaviorServiceAdornerCollectionEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.Design.Behavior.Adorner value) { throw null; } - public void Insert(int index, System.Windows.Forms.Design.Behavior.Adorner value) { } - public void Remove(System.Windows.Forms.Design.Behavior.Adorner value) { } - } - [CLSCompliant(false)] - public partial class BehaviorServiceAdornerCollectionEnumerator : System.Collections.IEnumerator - { - public BehaviorServiceAdornerCollectionEnumerator(System.Windows.Forms.Design.Behavior.BehaviorServiceAdornerCollection mappings) { } - public System.Windows.Forms.Design.Behavior.Adorner Current { get { throw null; } } - object System.Collections.IEnumerator.Current { get { throw null; } } - public bool MoveNext() { throw null; } - public void Reset() { } - } - [CLSCompliant(false)] - public partial class ComponentGlyph : System.Windows.Forms.Design.Behavior.Glyph - { - public ComponentGlyph(System.ComponentModel.IComponent relatedComponent) : base(default(System.Windows.Forms.Design.Behavior.Behavior)) { } - public ComponentGlyph(System.ComponentModel.IComponent relatedComponent, System.Windows.Forms.Design.Behavior.Behavior behavior) : base(default(System.Windows.Forms.Design.Behavior.Behavior)) { } - public System.ComponentModel.IComponent RelatedComponent { get { throw null; } } - public override System.Windows.Forms.Cursor GetHitTest(System.Drawing.Point p) { throw null; } - public override void Paint(System.Windows.Forms.PaintEventArgs pe) { } - } - [CLSCompliant(false)] - public partial class ControlBodyGlyph : System.Windows.Forms.Design.Behavior.ComponentGlyph - { - public ControlBodyGlyph(System.Drawing.Rectangle bounds, System.Windows.Forms.Cursor cursor, System.ComponentModel.IComponent relatedComponent, System.Windows.Forms.Design.Behavior.Behavior behavior) : base(default(System.ComponentModel.IComponent), default(System.Windows.Forms.Design.Behavior.Behavior)) { } - public ControlBodyGlyph(System.Drawing.Rectangle bounds, System.Windows.Forms.Cursor cursor, System.ComponentModel.IComponent relatedComponent, System.Windows.Forms.Design.ControlDesigner designer) : base(default(System.ComponentModel.IComponent), default(System.Windows.Forms.Design.Behavior.Behavior)) { } - public override System.Drawing.Rectangle Bounds { get { throw null; } } - public override System.Windows.Forms.Cursor GetHitTest(System.Drawing.Point p) { throw null; } - } - [CLSCompliant(false)] - public abstract partial class Glyph - { - protected Glyph(System.Windows.Forms.Design.Behavior.Behavior behavior) { } - public virtual System.Windows.Forms.Design.Behavior.Behavior Behavior { get { throw null; } } - public virtual System.Drawing.Rectangle Bounds { get { throw null; } } - public abstract System.Windows.Forms.Cursor GetHitTest(System.Drawing.Point p); - public abstract void Paint(System.Windows.Forms.PaintEventArgs pe); - protected void SetBehavior(System.Windows.Forms.Design.Behavior.Behavior behavior) { } - } - [CLSCompliant(false)] - public partial class GlyphCollection : System.Collections.CollectionBase - { - public GlyphCollection() { } - public GlyphCollection(System.Windows.Forms.Design.Behavior.GlyphCollection value) { } - public GlyphCollection(System.Windows.Forms.Design.Behavior.Glyph[] value) { } - public System.Windows.Forms.Design.Behavior.Glyph this[int index] { get { throw null; } set { } } - public int Add(System.Windows.Forms.Design.Behavior.Glyph value) { throw null; } - public void AddRange(System.Windows.Forms.Design.Behavior.GlyphCollection value) { } - public void AddRange(System.Windows.Forms.Design.Behavior.Glyph[] value) { } - public bool Contains(System.Windows.Forms.Design.Behavior.Glyph value) { throw null; } - public void CopyTo(System.Windows.Forms.Design.Behavior.Glyph[] array, int index) { } - public int IndexOf(System.Windows.Forms.Design.Behavior.Glyph value) { throw null; } - public void Insert(int index, System.Windows.Forms.Design.Behavior.Glyph value) { } - public void Remove(System.Windows.Forms.Design.Behavior.Glyph value) { } - } - public enum GlyphSelectionType - { - NotSelected = 0, - Selected = 1, - SelectedPrimary = 2, - } - public sealed partial class SnapLine - { - public SnapLine(System.Windows.Forms.Design.Behavior.SnapLineType type, int offset) { } - public SnapLine(System.Windows.Forms.Design.Behavior.SnapLineType type, int offset, string filter) { } - public SnapLine(System.Windows.Forms.Design.Behavior.SnapLineType type, int offset, string filter, System.Windows.Forms.Design.Behavior.SnapLinePriority priority) { } - public SnapLine(System.Windows.Forms.Design.Behavior.SnapLineType type, int offset, System.Windows.Forms.Design.Behavior.SnapLinePriority priority) { } - public string Filter { get { throw null; } } - public bool IsHorizontal { get { throw null; } } - public bool IsVertical { get { throw null; } } - public int Offset { get { throw null; } } - public System.Windows.Forms.Design.Behavior.SnapLinePriority Priority { get { throw null; } } - public System.Windows.Forms.Design.Behavior.SnapLineType SnapLineType { get { throw null; } } - public void AdjustOffset(int adjustment) { } - public static bool ShouldSnap(System.Windows.Forms.Design.Behavior.SnapLine line1, System.Windows.Forms.Design.Behavior.SnapLine line2) { throw null; } - public override string ToString() { throw null; } - } - public enum SnapLinePriority - { - Always = 4, - High = 3, - Low = 1, - Medium = 2, - } - public enum SnapLineType - { - Baseline = 6, - Bottom = 1, - Horizontal = 4, - Left = 2, - Right = 3, - Top = 0, - Vertical = 5, - } -} -namespace System.Drawing.Design -{ - [CLSCompliant(false)] - public partial interface IToolboxItemProvider - { - System.Drawing.Design.ToolboxItemCollection Items { get; } - } - [CLSCompliant(false)] - public partial interface IToolboxService - { - System.Drawing.Design.CategoryNameCollection CategoryNames { get; } - string SelectedCategory { get; set; } - void AddCreator(System.Drawing.Design.ToolboxItemCreatorCallback creator, string format); - void AddCreator(System.Drawing.Design.ToolboxItemCreatorCallback creator, string format, System.ComponentModel.Design.IDesignerHost host); - void AddLinkedToolboxItem(System.Drawing.Design.ToolboxItem toolboxItem, System.ComponentModel.Design.IDesignerHost host); - void AddLinkedToolboxItem(System.Drawing.Design.ToolboxItem toolboxItem, string category, System.ComponentModel.Design.IDesignerHost host); - void AddToolboxItem(System.Drawing.Design.ToolboxItem toolboxItem); - void AddToolboxItem(System.Drawing.Design.ToolboxItem toolboxItem, string category); - System.Drawing.Design.ToolboxItem DeserializeToolboxItem(object serializedObject); - System.Drawing.Design.ToolboxItem DeserializeToolboxItem(object serializedObject, System.ComponentModel.Design.IDesignerHost host); - System.Drawing.Design.ToolboxItem GetSelectedToolboxItem(); - System.Drawing.Design.ToolboxItem GetSelectedToolboxItem(System.ComponentModel.Design.IDesignerHost host); - System.Drawing.Design.ToolboxItemCollection GetToolboxItems(); - System.Drawing.Design.ToolboxItemCollection GetToolboxItems(System.ComponentModel.Design.IDesignerHost host); - System.Drawing.Design.ToolboxItemCollection GetToolboxItems(string category); - System.Drawing.Design.ToolboxItemCollection GetToolboxItems(string category, System.ComponentModel.Design.IDesignerHost host); - bool IsSupported(object serializedObject, System.Collections.ICollection filterAttributes); - bool IsSupported(object serializedObject, System.ComponentModel.Design.IDesignerHost host); - bool IsToolboxItem(object serializedObject); - bool IsToolboxItem(object serializedObject, System.ComponentModel.Design.IDesignerHost host); - void Refresh(); - void RemoveCreator(string format); - void RemoveCreator(string format, System.ComponentModel.Design.IDesignerHost host); - void RemoveToolboxItem(System.Drawing.Design.ToolboxItem toolboxItem); - void RemoveToolboxItem(System.Drawing.Design.ToolboxItem toolboxItem, string category); - void SelectedToolboxItemUsed(); - object SerializeToolboxItem(System.Drawing.Design.ToolboxItem toolboxItem); - bool SetCursor(); - void SetSelectedToolboxItem(System.Drawing.Design.ToolboxItem toolboxItem); - } - [CLSCompliant(false)] - public partial interface IToolboxUser - { - bool GetToolSupported(System.Drawing.Design.ToolboxItem tool); - void ToolPicked(System.Drawing.Design.ToolboxItem tool); - } - public partial class ToolboxComponentsCreatedEventArgs : System.EventArgs - { - public ToolboxComponentsCreatedEventArgs(System.ComponentModel.IComponent[] components) { } - public System.ComponentModel.IComponent[] Components { get { throw null; } } - } - public delegate void ToolboxComponentsCreatedEventHandler(object sender, System.Drawing.Design.ToolboxComponentsCreatedEventArgs e); - public partial class ToolboxComponentsCreatingEventArgs : System.EventArgs - { - public ToolboxComponentsCreatingEventArgs(System.ComponentModel.Design.IDesignerHost host) { } - public System.ComponentModel.Design.IDesignerHost DesignerHost { get { throw null; } } - } - public delegate void ToolboxComponentsCreatingEventHandler(object sender, System.Drawing.Design.ToolboxComponentsCreatingEventArgs e); - - [CLSCompliant(false)] - public partial class ToolboxItem : System.Runtime.Serialization.ISerializable - { - public ToolboxItem() { } - public ToolboxItem(System.Type toolType) { } - public System.Reflection.AssemblyName AssemblyName { get { throw null; } set { } } - public System.Drawing.Bitmap Bitmap { get { throw null; } set { } } - public string Company { get { throw null; } set { } } - public virtual string ComponentType { get { throw null; } } - public System.Reflection.AssemblyName[] DependentAssemblies { get { throw null; } set { } } - public string Description { get { throw null; } set { } } - public string DisplayName { get { throw null; } set { } } - public System.Collections.ICollection Filter { get { throw null; } set { } } - public bool IsTransient { get { throw null; } set { } } - public virtual bool Locked { get { throw null; } } - public System.Drawing.Bitmap OriginalBitmap { get { throw null; } set { } } - public System.Collections.IDictionary Properties { get { throw null; } } - public string TypeName { get { throw null; } set { } } - public virtual string Version { get { throw null; } } - public event System.Drawing.Design.ToolboxComponentsCreatedEventHandler ComponentsCreated { add { } remove { } } - public event System.Drawing.Design.ToolboxComponentsCreatingEventHandler ComponentsCreating { add { } remove { } } - protected void CheckUnlocked() { } - public System.ComponentModel.IComponent[] CreateComponents() { throw null; } - public System.ComponentModel.IComponent[] CreateComponents(System.ComponentModel.Design.IDesignerHost host) { throw null; } - public System.ComponentModel.IComponent[] CreateComponents(System.ComponentModel.Design.IDesignerHost host, System.Collections.IDictionary defaultValues) { throw null; } - protected virtual System.ComponentModel.IComponent[] CreateComponentsCore(System.ComponentModel.Design.IDesignerHost host) { throw null; } - protected virtual System.ComponentModel.IComponent[] CreateComponentsCore(System.ComponentModel.Design.IDesignerHost host, System.Collections.IDictionary defaultValues) { throw null; } - protected virtual void Deserialize(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public override bool Equals(object obj) { throw null; } - protected virtual object FilterPropertyValue(string propertyName, object value) { throw null; } - public override int GetHashCode() { throw null; } - public System.Type GetType(System.ComponentModel.Design.IDesignerHost host) { throw null; } - protected virtual System.Type GetType(System.ComponentModel.Design.IDesignerHost host, System.Reflection.AssemblyName assemblyName, string typeName, bool reference) { throw null; } - public virtual void Initialize(System.Type type) { } - public virtual void Lock() { } - protected virtual void OnComponentsCreated(System.Drawing.Design.ToolboxComponentsCreatedEventArgs args) { } - protected virtual void OnComponentsCreating(System.Drawing.Design.ToolboxComponentsCreatingEventArgs args) { } - protected virtual void Serialize(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public override string ToString() { throw null; } - protected void ValidatePropertyType(string propertyName, object value, System.Type expectedType, bool allowNull) { } - protected virtual object ValidatePropertyValue(string propertyName, object value) { throw null; } - } - [CLSCompliant(false)] - public sealed partial class ToolboxItemCollection : System.Collections.ReadOnlyCollectionBase - { - public ToolboxItemCollection(System.Drawing.Design.ToolboxItemCollection value) { } - public ToolboxItemCollection(System.Drawing.Design.ToolboxItem[] value) { } - public System.Drawing.Design.ToolboxItem this[int index] { get { throw null; } } - public bool Contains(System.Drawing.Design.ToolboxItem value) { throw null; } - public void CopyTo(System.Drawing.Design.ToolboxItem[] array, int index) { } - public int IndexOf(System.Drawing.Design.ToolboxItem value) { throw null; } - } - [CLSCompliant(false)] - public delegate System.Drawing.Design.ToolboxItem ToolboxItemCreatorCallback(object serializedObject, string format); -} \ No newline at end of file diff --git a/src/System.Windows.Forms.Design/src/System.Windows.Forms.Design.csproj b/src/System.Windows.Forms.Design/src/System.Windows.Forms.Design.csproj index 4cf6581c1d3..a32af941135 100644 --- a/src/System.Windows.Forms.Design/src/System.Windows.Forms.Design.csproj +++ b/src/System.Windows.Forms.Design/src/System.Windows.Forms.Design.csproj @@ -4,6 +4,8 @@ netcoreapp3.0 System.Windows.Forms.Design false + true + true diff --git a/src/System.Windows.Forms/ref/System.Windows.Forms.Ref.csproj b/src/System.Windows.Forms/ref/System.Windows.Forms.Ref.csproj deleted file mode 100644 index c418bf6a30a..00000000000 --- a/src/System.Windows.Forms/ref/System.Windows.Forms.Ref.csproj +++ /dev/null @@ -1,17 +0,0 @@ - - - - netcoreapp3.0 - System.Windows.Forms - System.Windows.Forms - true - - - - - - - - - - diff --git a/src/System.Windows.Forms/ref/System.Windows.Forms.cs b/src/System.Windows.Forms/ref/System.Windows.Forms.cs deleted file mode 100644 index 706ab965aab..00000000000 --- a/src/System.Windows.Forms/ref/System.Windows.Forms.cs +++ /dev/null @@ -1,20235 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -// ------------------------------------------------------------------------------ -// Changes to this file must follow the http://aka.ms/api-review process. -// ------------------------------------------------------------------------------ - -namespace System.Resources -{ - public sealed partial class ResXDataNode : System.Runtime.Serialization.ISerializable - { - public ResXDataNode(string name, object value) { } - public ResXDataNode(string name, object value, System.Func typeNameConverter) { } - public ResXDataNode(string name, System.Resources.ResXFileRef fileRef) { } - public ResXDataNode(string name, System.Resources.ResXFileRef fileRef, System.Func typeNameConverter) { } - public string Comment { get { throw null; } set { } } - public System.Resources.ResXFileRef FileRef { get { throw null; } } - public string Name { get { throw null; } set { } } - public System.Drawing.Point GetNodePosition() { throw null; } - public object GetValue(System.ComponentModel.Design.ITypeResolutionService typeResolver) { throw null; } - public object GetValue(System.Reflection.AssemblyName[] names) { throw null; } - public string GetValueTypeName(System.ComponentModel.Design.ITypeResolutionService typeResolver) { throw null; } - public string GetValueTypeName(System.Reflection.AssemblyName[] names) { throw null; } - void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } - } - [System.ComponentModel.TypeConverterAttribute(typeof(System.Resources.ResXFileRef.Converter))] - public partial class ResXFileRef - { - public ResXFileRef(string fileName, string typeName) { } - public ResXFileRef(string fileName, string typeName, System.Text.Encoding textFileEncoding) { } - public string FileName { get { throw null; } } - public System.Text.Encoding TextFileEncoding { get { throw null; } } - public string TypeName { get { throw null; } } - public override string ToString() { throw null; } - public partial class Converter : System.ComponentModel.TypeConverter - { - public Converter() { } - public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - } - } - public partial class ResXResourceReader : System.Collections.IEnumerable, System.IDisposable, System.Resources.IResourceReader - { - public ResXResourceReader(System.IO.Stream stream) { } - public ResXResourceReader(System.IO.Stream stream, System.ComponentModel.Design.ITypeResolutionService typeResolver) { } - public ResXResourceReader(System.IO.Stream stream, System.Reflection.AssemblyName[] assemblyNames) { } - public ResXResourceReader(System.IO.TextReader reader) { } - public ResXResourceReader(System.IO.TextReader reader, System.ComponentModel.Design.ITypeResolutionService typeResolver) { } - public ResXResourceReader(System.IO.TextReader reader, System.Reflection.AssemblyName[] assemblyNames) { } - public ResXResourceReader(string fileName) { } - public ResXResourceReader(string fileName, System.ComponentModel.Design.ITypeResolutionService typeResolver) { } - public ResXResourceReader(string fileName, System.Reflection.AssemblyName[] assemblyNames) { } - public string BasePath { get { throw null; } set { } } - public bool UseResXDataNodes { get { throw null; } set { } } - public void Close() { } - protected virtual void Dispose(bool disposing) { } - ~ResXResourceReader() { } - public static System.Resources.ResXResourceReader FromFileContents(string fileContents) { throw null; } - public static System.Resources.ResXResourceReader FromFileContents(string fileContents, System.ComponentModel.Design.ITypeResolutionService typeResolver) { throw null; } - public static System.Resources.ResXResourceReader FromFileContents(string fileContents, System.Reflection.AssemblyName[] assemblyNames) { throw null; } - public System.Collections.IDictionaryEnumerator GetEnumerator() { throw null; } - public System.Collections.IDictionaryEnumerator GetMetadataEnumerator() { throw null; } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - void System.IDisposable.Dispose() { } - } - public partial class ResXResourceSet : System.Resources.ResourceSet - { - public ResXResourceSet(System.IO.Stream stream) { } - public ResXResourceSet(string fileName) { } - public override System.Type GetDefaultReader() { throw null; } - public override System.Type GetDefaultWriter() { throw null; } - } - public partial class ResXResourceWriter : System.IDisposable, System.Resources.IResourceWriter - { - public static readonly string BinSerializedObjectMimeType; - public static readonly string ByteArraySerializedObjectMimeType; - public static readonly string DefaultSerializedObjectMimeType; - public static readonly string ResMimeType; - public static readonly string ResourceSchema; - public static readonly string SoapSerializedObjectMimeType; - public static readonly string Version; - public ResXResourceWriter(System.IO.Stream stream) { } - public ResXResourceWriter(System.IO.Stream stream, System.Func typeNameConverter) { } - public ResXResourceWriter(System.IO.TextWriter textWriter) { } - public ResXResourceWriter(System.IO.TextWriter textWriter, System.Func typeNameConverter) { } - public ResXResourceWriter(string fileName) { } - public ResXResourceWriter(string fileName, System.Func typeNameConverter) { } - public string BasePath { get { throw null; } set { } } - public virtual void AddAlias(string aliasName, System.Reflection.AssemblyName assemblyName) { } - public void AddMetadata(string name, byte[] value) { } - public void AddMetadata(string name, object value) { } - public void AddMetadata(string name, string value) { } - public void AddResource(System.Resources.ResXDataNode node) { } - public void AddResource(string name, byte[] value) { } - public void AddResource(string name, object value) { } - public void AddResource(string name, string value) { } - public void Close() { } - public virtual void Dispose() { } - protected virtual void Dispose(bool disposing) { } - ~ResXResourceWriter() { } - public void Generate() { } - } -} -namespace System.Windows.Forms -{ - public enum AccessibleEvents - { - AcceleratorChange = 32786, - Create = 32768, - DefaultActionChange = 32785, - DescriptionChange = 32781, - Destroy = 32769, - Focus = 32773, - HelpChange = 32784, - Hide = 32771, - LocationChange = 32779, - NameChange = 32780, - ParentChange = 32783, - Reorder = 32772, - Selection = 32774, - SelectionAdd = 32775, - SelectionRemove = 32776, - SelectionWithin = 32777, - Show = 32770, - StateChange = 32778, - SystemAlert = 2, - SystemCaptureEnd = 9, - SystemCaptureStart = 8, - SystemContextHelpEnd = 13, - SystemContextHelpStart = 12, - SystemDialogEnd = 17, - SystemDialogStart = 16, - SystemDragDropEnd = 15, - SystemDragDropStart = 14, - SystemForeground = 3, - SystemMenuEnd = 5, - SystemMenuPopupEnd = 7, - SystemMenuPopupStart = 6, - SystemMenuStart = 4, - SystemMinimizeEnd = 23, - SystemMinimizeStart = 22, - SystemMoveSizeEnd = 11, - SystemMoveSizeStart = 10, - SystemScrollingEnd = 19, - SystemScrollingStart = 18, - SystemSound = 1, - SystemSwitchEnd = 21, - SystemSwitchStart = 20, - ValueChange = 32782, - } - public enum AccessibleNavigation - { - Down = 2, - FirstChild = 7, - LastChild = 8, - Left = 3, - Next = 5, - Previous = 6, - Right = 4, - Up = 1, - } - public partial class AccessibleObject : System.Runtime.InteropServices.StandardOleMarshalObject, Accessibility.IAccessible, System.Reflection.IReflect - { - protected const int RuntimeIDFirstItem = 42; - public AccessibleObject() { } - int Accessibility.IAccessible.accChildCount { get { throw null; } } - object Accessibility.IAccessible.accFocus { get { throw null; } } - object Accessibility.IAccessible.accParent { get { throw null; } } - object Accessibility.IAccessible.accSelection { get { throw null; } } - public virtual System.Drawing.Rectangle Bounds { get { throw null; } } - public virtual string DefaultAction { get { throw null; } } - public virtual string Description { get { throw null; } } - public virtual string Help { get { throw null; } } - public virtual string KeyboardShortcut { get { throw null; } } - public virtual string Name { get { throw null; } set { } } - public virtual System.Windows.Forms.AccessibleObject Parent { get { throw null; } } - public virtual System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public virtual System.Windows.Forms.AccessibleStates State { get { throw null; } } - System.Type System.Reflection.IReflect.UnderlyingSystemType { get { throw null; } } - public virtual string Value { get { throw null; } set { } } - void Accessibility.IAccessible.accDoDefaultAction(object childID) { } - object Accessibility.IAccessible.accHitTest(int xLeft, int yTop) { throw null; } - void Accessibility.IAccessible.accLocation(out int pxLeft, out int pyTop, out int pcxWidth, out int pcyHeight, object childID) { throw null; } - object Accessibility.IAccessible.accNavigate(int navDir, object childID) { throw null; } - void Accessibility.IAccessible.accSelect(int flagsSelect, object childID) { } - object Accessibility.IAccessible.get_accChild(object childID) { throw null; } - string Accessibility.IAccessible.get_accDefaultAction(object childID) { throw null; } - string Accessibility.IAccessible.get_accDescription(object childID) { throw null; } - string Accessibility.IAccessible.get_accHelp(object childID) { throw null; } - int Accessibility.IAccessible.get_accHelpTopic(out string pszHelpFile, object childID) { throw null; } - string Accessibility.IAccessible.get_accKeyboardShortcut(object childID) { throw null; } - string Accessibility.IAccessible.get_accName(object childID) { throw null; } - object Accessibility.IAccessible.get_accRole(object childID) { throw null; } - object Accessibility.IAccessible.get_accState(object childID) { throw null; } - string Accessibility.IAccessible.get_accValue(object childID) { throw null; } - void Accessibility.IAccessible.set_accName(object childID, string newName) { } - void Accessibility.IAccessible.set_accValue(object childID, string newValue) { } - public virtual void DoDefaultAction() { } - public virtual System.Windows.Forms.AccessibleObject GetChild(int index) { throw null; } - public virtual int GetChildCount() { throw null; } - public virtual System.Windows.Forms.AccessibleObject GetFocused() { throw null; } - public virtual int GetHelpTopic(out string fileName) { throw null; } - public virtual System.Windows.Forms.AccessibleObject GetSelected() { throw null; } - public virtual System.Windows.Forms.AccessibleObject HitTest(int x, int y) { throw null; } - public virtual System.Windows.Forms.AccessibleObject Navigate(System.Windows.Forms.AccessibleNavigation navdir) { throw null; } - public bool RaiseAutomationNotification(System.Windows.Forms.Automation.AutomationNotificationKind notificationKind, System.Windows.Forms.Automation.AutomationNotificationProcessing notificationProcessing, string notificationText) { throw null; } - public virtual bool RaiseLiveRegionChanged() { throw null; } - public virtual void Select(System.Windows.Forms.AccessibleSelection flags) { } - System.Reflection.FieldInfo System.Reflection.IReflect.GetField(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - System.Reflection.FieldInfo[] System.Reflection.IReflect.GetFields(System.Reflection.BindingFlags bindingAttr) { throw null; } - System.Reflection.MemberInfo[] System.Reflection.IReflect.GetMember(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - System.Reflection.MemberInfo[] System.Reflection.IReflect.GetMembers(System.Reflection.BindingFlags bindingAttr) { throw null; } - System.Reflection.MethodInfo System.Reflection.IReflect.GetMethod(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - System.Reflection.MethodInfo System.Reflection.IReflect.GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - System.Reflection.MethodInfo[] System.Reflection.IReflect.GetMethods(System.Reflection.BindingFlags bindingAttr) { throw null; } - System.Reflection.PropertyInfo[] System.Reflection.IReflect.GetProperties(System.Reflection.BindingFlags bindingAttr) { throw null; } - System.Reflection.PropertyInfo System.Reflection.IReflect.GetProperty(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - System.Reflection.PropertyInfo System.Reflection.IReflect.GetProperty(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type returnType, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - object System.Reflection.IReflect.InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object target, object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters) { throw null; } - protected void UseStdAccessibleObjects(System.IntPtr handle) { } - protected void UseStdAccessibleObjects(System.IntPtr handle, int objid) { } - } - public enum AccessibleRole - { - Alert = 8, - Animation = 54, - Application = 14, - Border = 19, - ButtonDropDown = 56, - ButtonDropDownGrid = 58, - ButtonMenu = 57, - Caret = 7, - Cell = 29, - Character = 32, - Chart = 17, - CheckButton = 44, - Client = 10, - Clock = 61, - Column = 27, - ColumnHeader = 25, - ComboBox = 46, - Cursor = 6, - Default = -1, - Diagram = 53, - Dial = 49, - Dialog = 18, - Document = 15, - DropList = 47, - Equation = 55, - Graphic = 40, - Grip = 4, - Grouping = 20, - HelpBalloon = 31, - HotkeyField = 50, - Indicator = 39, - IpAddress = 63, - Link = 30, - List = 33, - ListItem = 34, - MenuBar = 2, - MenuItem = 12, - MenuPopup = 11, - None = 0, - Outline = 35, - OutlineButton = 64, - OutlineItem = 36, - PageTab = 37, - PageTabList = 60, - Pane = 16, - ProgressBar = 48, - PropertyPage = 38, - PushButton = 43, - RadioButton = 45, - Row = 28, - RowHeader = 26, - ScrollBar = 3, - Separator = 21, - Slider = 51, - Sound = 5, - SpinButton = 52, - SplitButton = 62, - StaticText = 41, - StatusBar = 23, - Table = 24, - Text = 42, - TitleBar = 1, - ToolBar = 22, - ToolTip = 13, - WhiteSpace = 59, - Window = 9, - } - [System.FlagsAttribute] - public enum AccessibleSelection - { - AddSelection = 8, - ExtendSelection = 4, - None = 0, - RemoveSelection = 16, - TakeFocus = 1, - TakeSelection = 2, - } - [System.FlagsAttribute] - public enum AccessibleStates - { - AlertHigh = 268435456, - AlertLow = 67108864, - AlertMedium = 134217728, - Animated = 16384, - Busy = 2048, - Checked = 16, - Collapsed = 1024, - Default = 256, - Expanded = 512, - ExtSelectable = 33554432, - Floating = 4096, - Focusable = 1048576, - Focused = 4, - HasPopup = 1073741824, - HotTracked = 128, - Indeterminate = 32, - Invisible = 32768, - Linked = 4194304, - Marqueed = 8192, - Mixed = 32, - Moveable = 262144, - MultiSelectable = 16777216, - None = 0, - Offscreen = 65536, - Pressed = 8, - Protected = 536870912, - ReadOnly = 64, - Selectable = 2097152, - Selected = 2, - SelfVoicing = 524288, - Sizeable = 131072, - Traversed = 8388608, - Unavailable = 1, - [System.ObsoleteAttribute("This enumeration value has been deprecated. There is no replacement. http://go.microsoft.com/fwlink/?linkid=14202")] - Valid = 1073741823, - } - public sealed partial class AmbientProperties - { - public AmbientProperties() { } - public System.Drawing.Color BackColor { get { throw null; } set { } } - public System.Windows.Forms.Cursor Cursor { get { throw null; } set { } } - public System.Drawing.Font Font { get { throw null; } set { } } - public System.Drawing.Color ForeColor { get { throw null; } set { } } - } - [System.FlagsAttribute] - public enum AnchorStyles - { - Bottom = 2, - Left = 4, - None = 0, - Right = 8, - Top = 1, - } - public enum Appearance - { - Button = 1, - Normal = 0, - } - public sealed partial class Application - { - internal Application() { } - public static bool AllowQuit { get { throw null; } } - public static string CommonAppDataPath { get { throw null; } } - public static Microsoft.Win32.RegistryKey CommonAppDataRegistry { get { throw null; } } - public static string CompanyName { get { throw null; } } - public static System.Globalization.CultureInfo CurrentCulture { get { throw null; } set { } } - public static System.Windows.Forms.InputLanguage CurrentInputLanguage { get { throw null; } set { } } - public static string ExecutablePath { get { throw null; } } - public static HighDpiMode HighDpiMode { get {throw null; } } - public static string LocalUserAppDataPath { get { throw null; } } - public static bool MessageLoop { get { throw null; } } - public static System.Windows.Forms.FormCollection OpenForms { get { throw null; } } - public static string ProductName { get { throw null; } } - public static string ProductVersion { get { throw null; } } - public static bool RenderWithVisualStyles { get { throw null; } } - public static string SafeTopLevelCaptionFormat { get { throw null; } set { } } - public static string StartupPath { get { throw null; } } - public static string UserAppDataPath { get { throw null; } } - public static Microsoft.Win32.RegistryKey UserAppDataRegistry { get { throw null; } } - public static bool UseWaitCursor { get { throw null; } set { } } - public static System.Windows.Forms.VisualStyles.VisualStyleState VisualStyleState { get { throw null; } set { } } - public static event System.EventHandler ApplicationExit { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static event System.EventHandler EnterThreadModal { add { } remove { } } - public static event System.EventHandler Idle { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static event System.EventHandler LeaveThreadModal { add { } remove { } } - public static event System.Threading.ThreadExceptionEventHandler ThreadException { add { } remove { } } - public static event System.EventHandler ThreadExit { add { } remove { } } - public static void AddMessageFilter(System.Windows.Forms.IMessageFilter value) { } - public static void DoEvents() { } - public static void EnableVisualStyles() { } - public static bool SetHighDpiMode(HighDpiMode highDpiMode) { throw null; } - public static void Exit() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static void Exit(System.ComponentModel.CancelEventArgs e) { } - public static void ExitThread() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static bool FilterMessage(ref System.Windows.Forms.Message message) { throw null; } - public static System.Threading.ApartmentState OleRequired() { throw null; } - public static void OnThreadException(System.Exception t) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static void RaiseIdle(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static void RegisterMessageLoop(System.Windows.Forms.Application.MessageLoopCallback callback) { } - public static void RemoveMessageFilter(System.Windows.Forms.IMessageFilter value) { } - public static void Restart() { } - public static void Run() { } - public static void Run(System.Windows.Forms.ApplicationContext context) { } - public static void Run(System.Windows.Forms.Form mainForm) { } - public static void SetCompatibleTextRenderingDefault(bool defaultValue) { } - public static bool SetSuspendState(System.Windows.Forms.PowerState state, bool force, bool disableWakeEvent) { throw null; } - public static void SetUnhandledExceptionMode(System.Windows.Forms.UnhandledExceptionMode mode) { } - public static void SetUnhandledExceptionMode(System.Windows.Forms.UnhandledExceptionMode mode, bool threadScope) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static void UnregisterMessageLoop() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public delegate bool MessageLoopCallback(); - } - public partial class ApplicationContext : System.IDisposable - { - public ApplicationContext() { } - public ApplicationContext(System.Windows.Forms.Form mainForm) { } - public System.Windows.Forms.Form MainForm { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - public event System.EventHandler ThreadExit { add { } remove { } } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - public void ExitThread() { } - protected virtual void ExitThreadCore() { } - ~ApplicationContext() { } - protected virtual void OnMainFormClosed(object sender, System.EventArgs e) { } - } - [System.FlagsAttribute] - public enum ArrangeDirection - { - Down = 4, - Left = 0, - Right = 0, - Up = 4, - } - [System.FlagsAttribute] - public enum ArrangeStartingPosition - { - BottomLeft = 0, - BottomRight = 1, - Hide = 8, - TopLeft = 2, - TopRight = 3, - } - public enum ArrowDirection - { - Down = 17, - Left = 0, - Right = 16, - Up = 1, - } - public enum AutoCompleteMode - { - Append = 2, - None = 0, - Suggest = 1, - SuggestAppend = 3, - } - public enum AutoCompleteSource - { - AllSystemSources = 7, - AllUrl = 6, - CustomSource = 64, - FileSystem = 1, - FileSystemDirectories = 32, - HistoryList = 2, - ListItems = 256, - None = 128, - RecentlyUsedList = 4, - } - public partial class AutoCompleteStringCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public AutoCompleteStringCollection() { } - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public bool IsSynchronized { get { throw null; } } - public string this[int index] { get { throw null; } set { } } - public object SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public event System.ComponentModel.CollectionChangeEventHandler CollectionChanged { add { } remove { } } - public int Add(string value) { throw null; } - public void AddRange(string[] value) { } - public void Clear() { } - public bool Contains(string value) { throw null; } - public void CopyTo(string[] array, int index) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(string value) { throw null; } - public void Insert(int index, string value) { } - protected void OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs e) { } - public void Remove(string value) { } - public void RemoveAt(int index) { } - void System.Collections.ICollection.CopyTo(System.Array array, int index) { } - int System.Collections.IList.Add(object value) { throw null; } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - } - public enum AutoScaleMode - { - Dpi = 2, - Font = 1, - Inherit = 3, - None = 0, - } - public enum AutoSizeMode - { - GrowAndShrink = 0, - GrowOnly = 1, - } - public enum AutoValidate - { - Disable = 0, - EnableAllowFocusChange = 2, - EnablePreventFocusChange = 1, - Inherit = -1, - } - [System.ComponentModel.DefaultEventAttribute("Enter")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public abstract partial class AxHost : System.Windows.Forms.Control, System.ComponentModel.ICustomTypeDescriptor, System.ComponentModel.ISupportInitialize - { - protected AxHost(string clsid) { } - protected AxHost(string clsid, int flags) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.ContainerControl ContainingControl { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ContextMenu ContextMenu { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.Cursor Cursor { get { throw null; } set { } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool EditMode { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual new bool Enabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool HasAboutBox { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public System.Windows.Forms.AxHost.State OcxState { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual new bool RightToLeft { get { throw null; } set { } } - public override System.ComponentModel.ISite Site { set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BindingContextChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.UICuesEventHandler ChangeUICues { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Click { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ContextMenuChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler CursorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.DragEventHandler DragDrop { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.DragEventHandler DragEnter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DragLeave { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.DragEventHandler DragOver { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler EnabledChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler FontChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.GiveFeedbackEventHandler GiveFeedback { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.HelpEventHandler HelpRequested { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.LayoutEventHandler Layout { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MouseClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MouseDoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MouseEnter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MouseHover { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MouseLeave { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseMove { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseWheel { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.QueryAccessibilityHelpEventHandler QueryAccessibilityHelp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.QueryContinueDragEventHandler QueryContinueDrag { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler RightToLeftChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler StyleChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - protected virtual void AttachInterfaces() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public void BeginInit() { } - protected override void CreateHandle() { } - protected virtual object CreateInstanceCore(System.Guid clsid) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void CreateSink() { } - protected override void DestroyHandle() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void DetachSink() { } - protected override void Dispose(bool disposing) { } - public void DoVerb(int verb) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new void DrawToBitmap(System.Drawing.Bitmap bitmap, System.Drawing.Rectangle targetBounds) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public void EndInit() { } - [System.CLSCompliantAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static System.Drawing.Color GetColorFromOleColor(uint color) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static System.Drawing.Font GetFontFromIFont(object font) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static System.Drawing.Font GetFontFromIFontDisp(object font) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static object GetIFontDispFromFont(System.Drawing.Font font) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static object GetIFontFromFont(System.Drawing.Font font) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static object GetIPictureDispFromPicture(System.Drawing.Image image) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static object GetIPictureFromCursor(System.Windows.Forms.Cursor cursor) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static object GetIPictureFromPicture(System.Drawing.Image image) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static double GetOADateFromTime(System.DateTime time) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public object GetOcx() { throw null; } - [System.CLSCompliantAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static uint GetOleColorFromColor(System.Drawing.Color color) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static System.Drawing.Image GetPictureFromIPicture(object picture) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static System.Drawing.Image GetPictureFromIPictureDisp(object picture) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override System.Drawing.Rectangle GetScaledBounds(System.Drawing.Rectangle bounds, System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static System.DateTime GetTimeFromOADate(double date) { throw null; } - public bool HasPropertyPages() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public void InvokeEditMode() { } - protected override bool IsInputChar(char charCode) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public void MakeDirty() { } - protected override void OnBackColorChanged(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnForeColorChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected virtual void OnInPlaceActive() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnLostFocus(System.EventArgs e) { } - public override bool PreProcessMessage(ref System.Windows.Forms.Message msg) { throw null; } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected bool PropsValid() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaiseOnMouseDown(short button, short shift, int x, int y) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaiseOnMouseDown(short button, short shift, float x, float y) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaiseOnMouseDown(object o1, object o2, object o3, object o4) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaiseOnMouseMove(short button, short shift, int x, int y) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaiseOnMouseMove(short button, short shift, float x, float y) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaiseOnMouseMove(object o1, object o2, object o3, object o4) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaiseOnMouseUp(short button, short shift, int x, int y) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaiseOnMouseUp(short button, short shift, float x, float y) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaiseOnMouseUp(object o1, object o2, object o3, object o4) { } - protected void SetAboutBoxDelegate(System.Windows.Forms.AxHost.AboutBoxDelegate d) { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - protected override void SetVisibleCore(bool value) { } - public void ShowAboutBox() { } - public void ShowPropertyPages() { } - public void ShowPropertyPages(System.Windows.Forms.Control control) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - System.ComponentModel.AttributeCollection System.ComponentModel.ICustomTypeDescriptor.GetAttributes() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - string System.ComponentModel.ICustomTypeDescriptor.GetClassName() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - string System.ComponentModel.ICustomTypeDescriptor.GetComponentName() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - System.ComponentModel.TypeConverter System.ComponentModel.ICustomTypeDescriptor.GetConverter() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - System.ComponentModel.EventDescriptor System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - System.ComponentModel.PropertyDescriptor System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - object System.ComponentModel.ICustomTypeDescriptor.GetEditor(System.Type editorBaseType) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - System.ComponentModel.EventDescriptorCollection System.ComponentModel.ICustomTypeDescriptor.GetEvents() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - System.ComponentModel.EventDescriptorCollection System.ComponentModel.ICustomTypeDescriptor.GetEvents(System.Attribute[] attributes) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - System.ComponentModel.PropertyDescriptorCollection System.ComponentModel.ICustomTypeDescriptor.GetProperties() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - System.ComponentModel.PropertyDescriptorCollection System.ComponentModel.ICustomTypeDescriptor.GetProperties(System.Attribute[] attributes) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - object System.ComponentModel.ICustomTypeDescriptor.GetPropertyOwner(System.ComponentModel.PropertyDescriptor pd) { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - protected delegate void AboutBoxDelegate(); - public enum ActiveXInvokeKind - { - MethodInvoke = 0, - PropertyGet = 1, - PropertySet = 2, - } - public partial class AxComponentEditor : System.Windows.Forms.Design.WindowsFormsComponentEditor - { - public AxComponentEditor() { } - public override bool EditComponent(System.ComponentModel.ITypeDescriptorContext context, object obj, System.Windows.Forms.IWin32Window parent) { throw null; } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Class, Inherited=false)] - public sealed partial class ClsidAttribute : System.Attribute - { - public ClsidAttribute(string clsid) { } - public string Value { get { throw null; } } - } - public partial class ConnectionPointCookie - { - public ConnectionPointCookie(object source, object sink, System.Type eventInterface) { } - public void Disconnect() { } - ~ConnectionPointCookie() { } - } - public partial class InvalidActiveXStateException : System.Exception - { - public InvalidActiveXStateException() { } - public InvalidActiveXStateException(string name, System.Windows.Forms.AxHost.ActiveXInvokeKind kind) { } - public override string ToString() { throw null; } - } - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.TypeConverter))] - public partial class State : System.Runtime.Serialization.ISerializable - { - public State(System.IO.Stream ms, int storageType, bool manualUpdate, string licKey) { } - protected State(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } - } - public partial class StateConverter : System.ComponentModel.TypeConverter - { - public StateConverter() { } - public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited=false)] - public sealed partial class TypeLibraryTimeStampAttribute : System.Attribute - { - public TypeLibraryTimeStampAttribute(string timestamp) { } - public System.DateTime Value { get { throw null; } } - } - } - public partial class BaseCollection : System.MarshalByRefObject, System.Collections.ICollection, System.Collections.IEnumerable - { - public BaseCollection() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual int Count { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool IsReadOnly { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool IsSynchronized { get { throw null; } } - protected virtual System.Collections.ArrayList List { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public object SyncRoot { get { throw null; } } - public void CopyTo(System.Array ar, int index) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - } - [System.FlagsAttribute] - public enum BatteryChargeStatus - { - Charging = 8, - Critical = 4, - High = 1, - Low = 2, - NoSystemBattery = 128, - Unknown = 255, - } - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ListBindingConverter))] - public partial class Binding - { - public Binding(string propertyName, object dataSource, string dataMember) { } - public Binding(string propertyName, object dataSource, string dataMember, bool formattingEnabled) { } - public Binding(string propertyName, object dataSource, string dataMember, bool formattingEnabled, System.Windows.Forms.DataSourceUpdateMode dataSourceUpdateMode) { } - public Binding(string propertyName, object dataSource, string dataMember, bool formattingEnabled, System.Windows.Forms.DataSourceUpdateMode dataSourceUpdateMode, object nullValue) { } - public Binding(string propertyName, object dataSource, string dataMember, bool formattingEnabled, System.Windows.Forms.DataSourceUpdateMode dataSourceUpdateMode, object nullValue, string formatString) { } - public Binding(string propertyName, object dataSource, string dataMember, bool formattingEnabled, System.Windows.Forms.DataSourceUpdateMode dataSourceUpdateMode, object nullValue, string formatString, System.IFormatProvider formatInfo) { } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.IBindableComponent BindableComponent { get { throw null; } } - public System.Windows.Forms.BindingManagerBase BindingManagerBase { get { throw null; } } - public System.Windows.Forms.BindingMemberInfo BindingMemberInfo { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.Control Control { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ControlUpdateMode.OnPropertyChanged)] - public System.Windows.Forms.ControlUpdateMode ControlUpdateMode { get { throw null; } set { } } - public object DataSource { get { throw null; } } - public object DataSourceNullValue { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataSourceUpdateMode.OnValidation)] - public System.Windows.Forms.DataSourceUpdateMode DataSourceUpdateMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.IFormatProvider FormatInfo { get { throw null; } set { } } - public string FormatString { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool FormattingEnabled { get { throw null; } set { } } - public bool IsBinding { get { throw null; } } - public object NullValue { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - public string PropertyName { get { throw null; } } - public event System.Windows.Forms.BindingCompleteEventHandler BindingComplete { add { } remove { } } - public event System.Windows.Forms.ConvertEventHandler Format { add { } remove { } } - public event System.Windows.Forms.ConvertEventHandler Parse { add { } remove { } } - protected virtual void OnBindingComplete(System.Windows.Forms.BindingCompleteEventArgs e) { } - protected virtual void OnFormat(System.Windows.Forms.ConvertEventArgs cevent) { } - protected virtual void OnParse(System.Windows.Forms.ConvertEventArgs cevent) { } - public void ReadValue() { } - public void WriteValue() { } - } - public enum BindingCompleteContext - { - ControlUpdate = 0, - DataSourceUpdate = 1, - } - public partial class BindingCompleteEventArgs : System.ComponentModel.CancelEventArgs - { - public BindingCompleteEventArgs(System.Windows.Forms.Binding binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context) { } - public BindingCompleteEventArgs(System.Windows.Forms.Binding binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string errorText) { } - public BindingCompleteEventArgs(System.Windows.Forms.Binding binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string errorText, System.Exception exception) { } - public BindingCompleteEventArgs(System.Windows.Forms.Binding binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string errorText, System.Exception exception, bool cancel) { } - public System.Windows.Forms.Binding Binding { get { throw null; } } - public System.Windows.Forms.BindingCompleteContext BindingCompleteContext { get { throw null; } } - public System.Windows.Forms.BindingCompleteState BindingCompleteState { get { throw null; } } - public string ErrorText { get { throw null; } } - public System.Exception Exception { get { throw null; } } - } - public delegate void BindingCompleteEventHandler(object sender, System.Windows.Forms.BindingCompleteEventArgs e); - public enum BindingCompleteState - { - DataError = 1, - Exception = 2, - Success = 0, - } - [System.ComponentModel.DefaultEventAttribute("CollectionChanged")] - public partial class BindingContext : System.Collections.ICollection, System.Collections.IEnumerable - { - public BindingContext() { } - public bool IsReadOnly { get { throw null; } } - public System.Windows.Forms.BindingManagerBase this[object dataSource] { get { throw null; } } - public System.Windows.Forms.BindingManagerBase this[object dataSource, string dataMember] { get { throw null; } } - int System.Collections.ICollection.Count { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public event System.ComponentModel.CollectionChangeEventHandler CollectionChanged { add { } remove { } } - protected internal void Add(object dataSource, System.Windows.Forms.BindingManagerBase listManager) { } - protected virtual void AddCore(object dataSource, System.Windows.Forms.BindingManagerBase listManager) { } - protected internal void Clear() { } - protected virtual void ClearCore() { } - public bool Contains(object dataSource) { throw null; } - public bool Contains(object dataSource, string dataMember) { throw null; } - protected virtual void OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs ccevent) { } - protected internal void Remove(object dataSource) { } - protected virtual void RemoveCore(object dataSource) { } - void System.Collections.ICollection.CopyTo(System.Array ar, int index) { } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - public static void UpdateBinding(System.Windows.Forms.BindingContext newBindingContext, System.Windows.Forms.Binding binding) { } - } - public abstract partial class BindingManagerBase - { - protected System.EventHandler onCurrentChangedHandler; - protected System.EventHandler onPositionChangedHandler; - public BindingManagerBase() { } - public System.Windows.Forms.BindingsCollection Bindings { get { throw null; } } - public abstract int Count { get; } - public abstract object Current { get; } - public bool IsBindingSuspended { get { throw null; } } - public abstract int Position { get; set; } - public event System.Windows.Forms.BindingCompleteEventHandler BindingComplete { add { } remove { } } - public event System.EventHandler CurrentChanged { add { } remove { } } - public event System.EventHandler CurrentItemChanged { add { } remove { } } - public event System.Windows.Forms.BindingManagerDataErrorEventHandler DataError { add { } remove { } } - public event System.EventHandler PositionChanged { add { } remove { } } - public abstract void AddNew(); - public abstract void CancelCurrentEdit(); - public abstract void EndCurrentEdit(); - public virtual System.ComponentModel.PropertyDescriptorCollection GetItemProperties() { throw null; } - protected internal virtual System.ComponentModel.PropertyDescriptorCollection GetItemProperties(System.Collections.ArrayList dataSources, System.Collections.ArrayList listAccessors) { throw null; } - protected virtual System.ComponentModel.PropertyDescriptorCollection GetItemProperties(System.Type listType, int offset, System.Collections.ArrayList dataSources, System.Collections.ArrayList listAccessors) { throw null; } - protected internal abstract string GetListName(System.Collections.ArrayList listAccessors); - protected internal void OnBindingComplete(System.Windows.Forms.BindingCompleteEventArgs args) { } - protected internal abstract void OnCurrentChanged(System.EventArgs e); - protected internal abstract void OnCurrentItemChanged(System.EventArgs e); - protected internal void OnDataError(System.Exception e) { } - protected void PullData() { } - protected void PushData() { } - public abstract void RemoveAt(int index); - public abstract void ResumeBinding(); - public abstract void SuspendBinding(); - protected abstract void UpdateIsBinding(); - } - public partial class BindingManagerDataErrorEventArgs : System.EventArgs - { - public BindingManagerDataErrorEventArgs(System.Exception exception) { } - public System.Exception Exception { get { throw null; } } - } - public delegate void BindingManagerDataErrorEventHandler(object sender, System.Windows.Forms.BindingManagerDataErrorEventArgs e); - public partial struct BindingMemberInfo - { - private object _dummy; - public BindingMemberInfo(string dataMember) { throw null; } - public string BindingField { get { throw null; } } - public string BindingMember { get { throw null; } } - public string BindingPath { get { throw null; } } - public override bool Equals(object otherObject) { throw null; } - public override int GetHashCode() { throw null; } - public static bool operator ==(System.Windows.Forms.BindingMemberInfo a, System.Windows.Forms.BindingMemberInfo b) { throw null; } - public static bool operator !=(System.Windows.Forms.BindingMemberInfo a, System.Windows.Forms.BindingMemberInfo b) { throw null; } - } - [System.ComponentModel.DefaultEventAttribute("RefreshItems")] - [System.ComponentModel.DefaultPropertyAttribute("BindingSource")] - public partial class BindingNavigator : System.Windows.Forms.ToolStrip, System.ComponentModel.ISupportInitialize - { - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public BindingNavigator() { } - public BindingNavigator(bool addStandardItems) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public BindingNavigator(System.ComponentModel.IContainer container) { } - public BindingNavigator(System.Windows.Forms.BindingSource bindingSource) { } - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.ToolStripItem AddNewItem { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.BindingSource BindingSource { get { throw null; } set { } } - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.ToolStripItem CountItem { get { throw null; } set { } } - public string CountItemFormat { get { throw null; } set { } } - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.ToolStripItem DeleteItem { get { throw null; } set { } } - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.ToolStripItem MoveFirstItem { get { throw null; } set { } } - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.ToolStripItem MoveLastItem { get { throw null; } set { } } - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.ToolStripItem MoveNextItem { get { throw null; } set { } } - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.ToolStripItem MovePreviousItem { get { throw null; } set { } } - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.ToolStripItem PositionItem { get { throw null; } set { } } - public event System.EventHandler RefreshItems { add { } remove { } } - public virtual void AddStandardItems() { } - public void BeginInit() { } - protected override void Dispose(bool disposing) { } - public void EndInit() { } - protected virtual void OnRefreshItems() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void RefreshItemsCore() { } - public bool Validate() { throw null; } - } - [System.ComponentModel.DefaultEventAttribute("CollectionChanged")] - public partial class BindingsCollection : System.Windows.Forms.BaseCollection - { - internal BindingsCollection() { } - public override int Count { get { throw null; } } - public System.Windows.Forms.Binding this[int index] { get { throw null; } } - protected override System.Collections.ArrayList List { get { throw null; } } - public event System.ComponentModel.CollectionChangeEventHandler CollectionChanged { add { } remove { } } - public event System.ComponentModel.CollectionChangeEventHandler CollectionChanging { add { } remove { } } - protected internal void Add(System.Windows.Forms.Binding binding) { } - protected virtual void AddCore(System.Windows.Forms.Binding dataBinding) { } - protected internal void Clear() { } - protected virtual void ClearCore() { } - protected virtual void OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs ccevent) { } - protected virtual void OnCollectionChanging(System.ComponentModel.CollectionChangeEventArgs e) { } - protected internal void Remove(System.Windows.Forms.Binding binding) { } - protected internal void RemoveAt(int index) { } - protected virtual void RemoveCore(System.Windows.Forms.Binding dataBinding) { } - protected internal bool ShouldSerializeMyAll() { throw null; } - } - [System.ComponentModel.ComplexBindingPropertiesAttribute("DataSource", "DataMember")] - [System.ComponentModel.DefaultEventAttribute("CurrentChanged")] - [System.ComponentModel.DefaultPropertyAttribute("DataSource")] - public partial class BindingSource : System.ComponentModel.Component, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.IBindingListView, System.ComponentModel.ICancelAddNew, System.ComponentModel.ISupportInitialize, System.ComponentModel.ISupportInitializeNotification, System.ComponentModel.ITypedList, System.Windows.Forms.ICurrencyManagerProvider - { - public BindingSource() { } - public BindingSource(System.ComponentModel.IContainer container) { } - public BindingSource(object dataSource, string dataMember) { } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool AllowEdit { get { throw null; } } - public virtual bool AllowNew { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool AllowRemove { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual int Count { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual System.Windows.Forms.CurrencyManager CurrencyManager { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public object Current { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public string DataMember { get { throw null; } set { } } - [System.ComponentModel.AttributeProviderAttribute(typeof(System.ComponentModel.IListSource))] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public object DataSource { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public virtual string Filter { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsBindingSuspended { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool IsFixedSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool IsReadOnly { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool IsSorted { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool IsSynchronized { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual object this[int index] { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Collections.IList List { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(-1)] - public int Position { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool RaiseListChangedEvents { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public string Sort { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual System.ComponentModel.ListSortDescriptionCollection SortDescriptions { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual System.ComponentModel.ListSortDirection SortDirection { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual System.ComponentModel.PropertyDescriptor SortProperty { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool SupportsAdvancedSorting { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool SupportsChangeNotification { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool SupportsFiltering { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool SupportsSearching { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool SupportsSorting { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual object SyncRoot { get { throw null; } } - bool System.ComponentModel.ISupportInitializeNotification.IsInitialized { get { throw null; } } - public event System.ComponentModel.AddingNewEventHandler AddingNew { add { } remove { } } - public event System.Windows.Forms.BindingCompleteEventHandler BindingComplete { add { } remove { } } - public event System.EventHandler CurrentChanged { add { } remove { } } - public event System.EventHandler CurrentItemChanged { add { } remove { } } - public event System.Windows.Forms.BindingManagerDataErrorEventHandler DataError { add { } remove { } } - public event System.EventHandler DataMemberChanged { add { } remove { } } - public event System.EventHandler DataSourceChanged { add { } remove { } } - public event System.ComponentModel.ListChangedEventHandler ListChanged { add { } remove { } } - public event System.EventHandler PositionChanged { add { } remove { } } - event System.EventHandler System.ComponentModel.ISupportInitializeNotification.Initialized { add { } remove { } } - public virtual int Add(object value) { throw null; } - public virtual object AddNew() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ApplySort(System.ComponentModel.ListSortDescriptionCollection sorts) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ApplySort(System.ComponentModel.PropertyDescriptor property, System.ComponentModel.ListSortDirection sort) { } - public void CancelEdit() { } - public virtual void Clear() { } - public virtual bool Contains(object value) { throw null; } - public virtual void CopyTo(System.Array arr, int index) { } - protected override void Dispose(bool disposing) { } - public void EndEdit() { } - public virtual int Find(System.ComponentModel.PropertyDescriptor prop, object key) { throw null; } - public int Find(string propertyName, object key) { throw null; } - public virtual System.Collections.IEnumerator GetEnumerator() { throw null; } - public virtual System.ComponentModel.PropertyDescriptorCollection GetItemProperties(System.ComponentModel.PropertyDescriptor[] listAccessors) { throw null; } - public virtual string GetListName(System.ComponentModel.PropertyDescriptor[] listAccessors) { throw null; } - public virtual System.Windows.Forms.CurrencyManager GetRelatedCurrencyManager(string dataMember) { throw null; } - public virtual int IndexOf(object value) { throw null; } - public virtual void Insert(int index, object value) { } - public void MoveFirst() { } - public void MoveLast() { } - public void MoveNext() { } - public void MovePrevious() { } - protected virtual void OnAddingNew(System.ComponentModel.AddingNewEventArgs e) { } - protected virtual void OnBindingComplete(System.Windows.Forms.BindingCompleteEventArgs e) { } - protected virtual void OnCurrentChanged(System.EventArgs e) { } - protected virtual void OnCurrentItemChanged(System.EventArgs e) { } - protected virtual void OnDataError(System.Windows.Forms.BindingManagerDataErrorEventArgs e) { } - protected virtual void OnDataMemberChanged(System.EventArgs e) { } - protected virtual void OnDataSourceChanged(System.EventArgs e) { } - protected virtual void OnListChanged(System.ComponentModel.ListChangedEventArgs e) { } - protected virtual void OnPositionChanged(System.EventArgs e) { } - public virtual void Remove(object value) { } - public virtual void RemoveAt(int index) { } - public void RemoveCurrent() { } - public virtual void RemoveFilter() { } - public virtual void RemoveSort() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual void ResetAllowNew() { } - public void ResetBindings(bool metadataChanged) { } - public void ResetCurrentItem() { } - public void ResetItem(int itemIndex) { } - public void ResumeBinding() { } - public void SuspendBinding() { } - void System.ComponentModel.IBindingList.AddIndex(System.ComponentModel.PropertyDescriptor property) { } - void System.ComponentModel.IBindingList.RemoveIndex(System.ComponentModel.PropertyDescriptor prop) { } - void System.ComponentModel.ICancelAddNew.CancelNew(int position) { } - void System.ComponentModel.ICancelAddNew.EndNew(int position) { } - void System.ComponentModel.ISupportInitialize.BeginInit() { } - void System.ComponentModel.ISupportInitialize.EndInit() { } - } - public enum BootMode - { - FailSafe = 1, - FailSafeWithNetwork = 2, - Normal = 0, - } - [System.FlagsAttribute] - public enum Border3DSide - { - All = 2063, - Bottom = 8, - Left = 1, - Middle = 2048, - Right = 4, - Top = 2, - } - public enum Border3DStyle - { - Adjust = 8192, - Bump = 9, - Etched = 6, - Flat = 16394, - Raised = 5, - RaisedInner = 4, - RaisedOuter = 1, - Sunken = 10, - SunkenInner = 8, - SunkenOuter = 2, - } - public enum BorderStyle - { - Fixed3D = 2, - FixedSingle = 1, - None = 0, - } - [System.FlagsAttribute] - public enum BoundsSpecified - { - All = 15, - Height = 8, - Location = 3, - None = 0, - Size = 12, - Width = 4, - X = 1, - Y = 2, - } - public partial class Button : System.Windows.Forms.ButtonBase, System.Windows.Forms.IButtonControl - { - public Button() { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoSizeMode.GrowOnly)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.AutoSizeMode AutoSizeMode { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DialogResult.None)] - public virtual System.Windows.Forms.DialogResult DialogResult { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.EventHandler DoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.MouseEventHandler MouseDoubleClick { add { } remove { } } - public virtual void NotifyDefault(bool value) { } - protected override void OnClick(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnMouseEnter(System.EventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs mevent) { } - protected override void OnTextChanged(System.EventArgs e) { } - public void PerformClick() { } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - protected override void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew) { } - public override string ToString() { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public abstract partial class ButtonBase : System.Windows.Forms.Control - { - protected ButtonBase() { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public bool AutoEllipsis { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override bool AutoSize { get { throw null; } set { } } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.ImeMode DefaultImeMode { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - public System.Windows.Forms.FlatButtonAppearance FlatAppearance { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlatStyle.Standard)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.FlatStyle FlatStyle { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Image Image { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Drawing.ContentAlignment.MiddleCenter)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.ContentAlignment ImageAlign { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageIndexConverter))] - public int ImageIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageKeyConverter))] - public string ImageKey { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.ImageList ImageList { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - protected internal bool IsDefault { get { throw null; } set { } } - [System.ComponentModel.SettingsBindableAttribute(true)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Drawing.ContentAlignment.MiddleCenter)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Drawing.ContentAlignment TextAlign { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.TextImageRelation.Overlay)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.TextImageRelation TextImageRelation { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseCompatibleTextRendering { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool UseMnemonic { get { throw null; } set { } } - public bool UseVisualStyleBackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void Dispose(bool disposing) { } - public override System.Drawing.Size GetPreferredSize(System.Drawing.Size proposedSize) { throw null; } - protected override void OnEnabledChanged(System.EventArgs e) { } - protected override void OnGotFocus(System.EventArgs e) { } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs kevent) { } - protected override void OnKeyUp(System.Windows.Forms.KeyEventArgs kevent) { } - protected override void OnLostFocus(System.EventArgs e) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs mevent) { } - protected override void OnMouseEnter(System.EventArgs eventargs) { } - protected override void OnMouseLeave(System.EventArgs eventargs) { } - protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs mevent) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs mevent) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs pevent) { } - protected override void OnParentChanged(System.EventArgs e) { } - protected override void OnTextChanged(System.EventArgs e) { } - protected override void OnVisibleChanged(System.EventArgs e) { } - protected void ResetFlagsandPaint() { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public partial class ButtonBaseAccessibleObject : System.Windows.Forms.Control.ControlAccessibleObject - { - public ButtonBaseAccessibleObject(System.Windows.Forms.Control owner) : base (default(System.Windows.Forms.Control)) { } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public override void DoDefaultAction() { } - } - } - public enum ButtonBorderStyle - { - Dashed = 2, - Dotted = 1, - Inset = 4, - None = 0, - Outset = 5, - Solid = 3, - } - public sealed partial class ButtonRenderer - { - internal ButtonRenderer() { } - public static bool RenderMatchingApplicationState { get { throw null; } set { } } - public static void DrawButton(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, bool focused, System.Windows.Forms.VisualStyles.PushButtonState state) { } - public static void DrawButton(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Drawing.Image image, System.Drawing.Rectangle imageBounds, bool focused, System.Windows.Forms.VisualStyles.PushButtonState state) { } - public static void DrawButton(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string buttonText, System.Drawing.Font font, bool focused, System.Windows.Forms.VisualStyles.PushButtonState state) { } - public static void DrawButton(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string buttonText, System.Drawing.Font font, System.Drawing.Image image, System.Drawing.Rectangle imageBounds, bool focused, System.Windows.Forms.VisualStyles.PushButtonState state) { } - public static void DrawButton(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string buttonText, System.Drawing.Font font, System.Windows.Forms.TextFormatFlags flags, bool focused, System.Windows.Forms.VisualStyles.PushButtonState state) { } - public static void DrawButton(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string buttonText, System.Drawing.Font font, System.Windows.Forms.TextFormatFlags flags, System.Drawing.Image image, System.Drawing.Rectangle imageBounds, bool focused, System.Windows.Forms.VisualStyles.PushButtonState state) { } - public static void DrawButton(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.PushButtonState state) { } - public static void DrawParentBackground(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.Control childControl) { } - public static bool IsBackgroundPartiallyTransparent(System.Windows.Forms.VisualStyles.PushButtonState state) { throw null; } - } - [System.FlagsAttribute] - public enum ButtonState - { - All = 18176, - Checked = 1024, - Flat = 16384, - Inactive = 256, - Normal = 0, - Pushed = 512, - } - public partial class CacheVirtualItemsEventArgs : System.EventArgs - { - public CacheVirtualItemsEventArgs(int startIndex, int endIndex) { } - public int EndIndex { get { throw null; } } - public int StartIndex { get { throw null; } } - } - public delegate void CacheVirtualItemsEventHandler(object sender, System.Windows.Forms.CacheVirtualItemsEventArgs e); - public enum CaptionButton - { - Close = 0, - Help = 4, - Maximize = 2, - Minimize = 1, - Restore = 3, - } - public enum CharacterCasing - { - Lower = 2, - Normal = 0, - Upper = 1, - } - [System.ComponentModel.DefaultBindingPropertyAttribute("CheckState")] - [System.ComponentModel.DefaultEventAttribute("CheckedChanged")] - [System.ComponentModel.DefaultPropertyAttribute("Checked")] - [System.ComponentModel.ToolboxItemAttribute("System.Windows.Forms.Design.AutoSizeToolboxItem,System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - public partial class CheckBox : System.Windows.Forms.ButtonBase - { - public CheckBox() { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.Appearance.Normal)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.Appearance Appearance { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AutoCheck { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Drawing.ContentAlignment.MiddleLeft)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.ContentAlignment CheckAlign { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - [System.ComponentModel.SettingsBindableAttribute(true)] - public bool Checked { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.CheckState.Unchecked)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public System.Windows.Forms.CheckState CheckState { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Drawing.ContentAlignment.MiddleLeft)] - [System.ComponentModel.LocalizableAttribute(true)] - public override System.Drawing.ContentAlignment TextAlign { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ThreeState { get { throw null; } set { } } - public event System.EventHandler AppearanceChanged { add { } remove { } } - public event System.EventHandler CheckedChanged { add { } remove { } } - public event System.EventHandler CheckStateChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseDoubleClick { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected virtual void OnAppearanceChanged(System.EventArgs e) { } - protected virtual void OnCheckedChanged(System.EventArgs e) { } - protected virtual void OnCheckStateChanged(System.EventArgs e) { } - protected override void OnClick(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs mevent) { } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - protected override void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew) { } - public override string ToString() { throw null; } - public partial class CheckBoxAccessibleObject : System.Windows.Forms.ButtonBase.ButtonBaseAccessibleObject - { - public CheckBoxAccessibleObject(System.Windows.Forms.Control owner) : base (default(System.Windows.Forms.Control)) { } - public override string DefaultAction { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public override void DoDefaultAction() { } - } - } - public sealed partial class CheckBoxRenderer - { - internal CheckBoxRenderer() { } - public static bool RenderMatchingApplicationState { get { throw null; } set { } } - public static void DrawCheckBox(System.Drawing.Graphics g, System.Drawing.Point glyphLocation, System.Drawing.Rectangle textBounds, string checkBoxText, System.Drawing.Font font, bool focused, System.Windows.Forms.VisualStyles.CheckBoxState state) { } - public static void DrawCheckBox(System.Drawing.Graphics g, System.Drawing.Point glyphLocation, System.Drawing.Rectangle textBounds, string checkBoxText, System.Drawing.Font font, System.Drawing.Image image, System.Drawing.Rectangle imageBounds, bool focused, System.Windows.Forms.VisualStyles.CheckBoxState state) { } - public static void DrawCheckBox(System.Drawing.Graphics g, System.Drawing.Point glyphLocation, System.Drawing.Rectangle textBounds, string checkBoxText, System.Drawing.Font font, System.Windows.Forms.TextFormatFlags flags, bool focused, System.Windows.Forms.VisualStyles.CheckBoxState state) { } - public static void DrawCheckBox(System.Drawing.Graphics g, System.Drawing.Point glyphLocation, System.Drawing.Rectangle textBounds, string checkBoxText, System.Drawing.Font font, System.Windows.Forms.TextFormatFlags flags, System.Drawing.Image image, System.Drawing.Rectangle imageBounds, bool focused, System.Windows.Forms.VisualStyles.CheckBoxState state) { } - public static void DrawCheckBox(System.Drawing.Graphics g, System.Drawing.Point glyphLocation, System.Windows.Forms.VisualStyles.CheckBoxState state) { } - public static void DrawParentBackground(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.Control childControl) { } - public static System.Drawing.Size GetGlyphSize(System.Drawing.Graphics g, System.Windows.Forms.VisualStyles.CheckBoxState state) { throw null; } - public static bool IsBackgroundPartiallyTransparent(System.Windows.Forms.VisualStyles.CheckBoxState state) { throw null; } - } - [System.ComponentModel.LookupBindingPropertiesAttribute] - public partial class CheckedListBox : System.Windows.Forms.ListBox - { - public CheckedListBox() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.CheckedListBox.CheckedIndexCollection CheckedIndices { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.CheckedListBox.CheckedItemCollection CheckedItems { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool CheckOnClick { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new object DataSource { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new string DisplayMember { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.DrawMode DrawMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int ItemHeight { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - public new System.Windows.Forms.CheckedListBox.ObjectCollection Items { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - public override System.Windows.Forms.SelectionMode SelectionMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ThreeDCheckBoxes { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseCompatibleTextRendering { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new string ValueMember { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler Click { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DataSourceChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DisplayMemberChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.DrawItemEventHandler DrawItem { add { } remove { } } - public event System.Windows.Forms.ItemCheckEventHandler ItemCheck { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MeasureItemEventHandler MeasureItem { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.Windows.Forms.MouseEventHandler MouseClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ValueMemberChanged { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override System.Windows.Forms.ListBox.ObjectCollection CreateItemCollection() { throw null; } - public bool GetItemChecked(int index) { throw null; } - public System.Windows.Forms.CheckState GetItemCheckState(int index) { throw null; } - protected override void OnBackColorChanged(System.EventArgs e) { } - protected override void OnClick(System.EventArgs e) { } - protected override void OnDrawItem(System.Windows.Forms.DrawItemEventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected virtual void OnItemCheck(System.Windows.Forms.ItemCheckEventArgs ice) { } - protected override void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e) { } - protected override void OnMeasureItem(System.Windows.Forms.MeasureItemEventArgs e) { } - protected override void OnSelectedIndexChanged(System.EventArgs e) { } - protected override void RefreshItems() { } - public void SetItemChecked(int index, bool value) { } - public void SetItemCheckState(int index, System.Windows.Forms.CheckState value) { } - protected override void WmReflectCommand(ref System.Windows.Forms.Message m) { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public partial class CheckedIndexCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - internal CheckedIndexCollection() { } - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int this[int index] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public bool Contains(int index) { throw null; } - public void CopyTo(System.Array dest, int index) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(int index) { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object index) { throw null; } - int System.Collections.IList.IndexOf(object index) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - public partial class CheckedItemCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - internal CheckedItemCollection() { } - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public object this[int index] { get { throw null; } set { } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - public bool Contains(object item) { throw null; } - public void CopyTo(System.Array dest, int index) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(object item) { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - public new partial class ObjectCollection : System.Windows.Forms.ListBox.ObjectCollection - { - public ObjectCollection(System.Windows.Forms.CheckedListBox owner) : base (default(System.Windows.Forms.ListBox)) { } - public int Add(object item, bool isChecked) { throw null; } - public int Add(object item, System.Windows.Forms.CheckState check) { throw null; } - } - } - public enum CheckState - { - Checked = 1, - Indeterminate = 2, - Unchecked = 0, - } - public sealed partial class Clipboard - { - internal Clipboard() { } - public static void Clear() { } - public static bool ContainsAudio() { throw null; } - public static bool ContainsData(string format) { throw null; } - public static bool ContainsFileDropList() { throw null; } - public static bool ContainsImage() { throw null; } - public static bool ContainsText() { throw null; } - public static bool ContainsText(System.Windows.Forms.TextDataFormat format) { throw null; } - public static System.IO.Stream GetAudioStream() { throw null; } - public static object GetData(string format) { throw null; } - public static System.Windows.Forms.IDataObject GetDataObject() { throw null; } - public static System.Collections.Specialized.StringCollection GetFileDropList() { throw null; } - public static System.Drawing.Image GetImage() { throw null; } - public static string GetText() { throw null; } - public static string GetText(System.Windows.Forms.TextDataFormat format) { throw null; } - public static void SetAudio(byte[] audioBytes) { } - public static void SetAudio(System.IO.Stream audioStream) { } - public static void SetData(string format, object data) { } - public static void SetDataObject(object data) { } - public static void SetDataObject(object data, bool copy) { } - public static void SetDataObject(object data, bool copy, int retryTimes, int retryDelay) { } - public static void SetFileDropList(System.Collections.Specialized.StringCollection filePaths) { } - public static void SetImage(System.Drawing.Image image) { } - public static void SetText(string text) { } - public static void SetText(string text, System.Windows.Forms.TextDataFormat format) { } - } - public enum CloseReason - { - ApplicationExitCall = 6, - FormOwnerClosing = 5, - MdiFormClosing = 2, - None = 0, - TaskManagerClosing = 4, - UserClosing = 3, - WindowsShutDown = 1, - } - public enum ColorDepth - { - Depth16Bit = 16, - Depth24Bit = 24, - Depth32Bit = 32, - Depth4Bit = 4, - Depth8Bit = 8, - } - [System.ComponentModel.DefaultPropertyAttribute("Color")] - public partial class ColorDialog : System.Windows.Forms.CommonDialog - { - public ColorDialog() { } - [System.ComponentModel.DefaultValueAttribute(true)] - public virtual bool AllowFullOpen { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public virtual bool AnyColor { get { throw null; } set { } } - public System.Drawing.Color Color { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int[] CustomColors { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public virtual bool FullOpen { get { throw null; } set { } } - protected virtual System.IntPtr Instance { get { throw null; } } - protected virtual int Options { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public virtual bool ShowHelp { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public virtual bool SolidColorOnly { get { throw null; } set { } } - public override void Reset() { } - protected override bool RunDialog(System.IntPtr hwndOwner) { throw null; } - public override string ToString() { throw null; } - } - public partial class ColumnClickEventArgs : System.EventArgs - { - public ColumnClickEventArgs(int column) { } - public int Column { get { throw null; } } - } - public delegate void ColumnClickEventHandler(object sender, System.Windows.Forms.ColumnClickEventArgs e); - [System.ComponentModel.DefaultPropertyAttribute("Text")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ColumnHeaderConverter))] - public partial class ColumnHeader : System.ComponentModel.Component, System.ICloneable - { - public ColumnHeader() { } - public ColumnHeader(int imageIndex) { } - public ColumnHeader(string imageKey) { } - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int DisplayIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageIndexConverter))] - public int ImageIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageKeyConverter))] - public string ImageKey { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.ImageList ImageList { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public int Index { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.ListView ListView { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public string Name { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.HorizontalAlignment.Left)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.HorizontalAlignment TextAlign { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(60)] - [System.ComponentModel.LocalizableAttribute(true)] - public int Width { get { throw null; } set { } } - public void AutoResize(System.Windows.Forms.ColumnHeaderAutoResizeStyle headerAutoResize) { } - public object Clone() { throw null; } - protected override void Dispose(bool disposing) { } - public override string ToString() { throw null; } - } - public enum ColumnHeaderAutoResizeStyle - { - ColumnContent = 2, - HeaderSize = 1, - None = 0, - } - public partial class ColumnHeaderConverter : System.ComponentModel.ExpandableObjectConverter - { - public ColumnHeaderConverter() { } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - } - public enum ColumnHeaderStyle - { - Clickable = 2, - Nonclickable = 1, - None = 0, - } - public partial class ColumnReorderedEventArgs : System.ComponentModel.CancelEventArgs - { - public ColumnReorderedEventArgs(int oldDisplayIndex, int newDisplayIndex, System.Windows.Forms.ColumnHeader header) { } - public System.Windows.Forms.ColumnHeader Header { get { throw null; } } - public int NewDisplayIndex { get { throw null; } } - public int OldDisplayIndex { get { throw null; } } - } - public delegate void ColumnReorderedEventHandler(object sender, System.Windows.Forms.ColumnReorderedEventArgs e); - public partial class ColumnStyle : System.Windows.Forms.TableLayoutStyle - { - public ColumnStyle() { } - public ColumnStyle(System.Windows.Forms.SizeType sizeType) { } - public ColumnStyle(System.Windows.Forms.SizeType sizeType, float width) { } - public float Width { get { throw null; } set { } } - } - public partial class ColumnWidthChangedEventArgs : System.EventArgs - { - public ColumnWidthChangedEventArgs(int columnIndex) { } - public int ColumnIndex { get { throw null; } } - } - public delegate void ColumnWidthChangedEventHandler(object sender, System.Windows.Forms.ColumnWidthChangedEventArgs e); - public partial class ColumnWidthChangingEventArgs : System.ComponentModel.CancelEventArgs - { - public ColumnWidthChangingEventArgs(int columnIndex, int newWidth) { } - public ColumnWidthChangingEventArgs(int columnIndex, int newWidth, bool cancel) { } - public int ColumnIndex { get { throw null; } } - public int NewWidth { get { throw null; } set { } } - } - public delegate void ColumnWidthChangingEventHandler(object sender, System.Windows.Forms.ColumnWidthChangingEventArgs e); - [System.ComponentModel.DefaultBindingPropertyAttribute("Text")] - [System.ComponentModel.DefaultEventAttribute("SelectedIndexChanged")] - [System.ComponentModel.DefaultPropertyAttribute("Items")] - public partial class ComboBox : System.Windows.Forms.ListControl - { - public ComboBox() { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.AutoCompleteStringCollection AutoCompleteCustomSource { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoCompleteMode.None)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.AutoCompleteMode AutoCompleteMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoCompleteSource.None)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.AutoCompleteSource AutoCompleteSource { get { throw null; } set { } } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - [System.ComponentModel.AttributeProviderAttribute(typeof(System.ComponentModel.IListSource))] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public new object DataSource { get { throw null; } set { } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DrawMode.Normal)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.DrawMode DrawMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(106)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public int DropDownHeight { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ComboBoxStyle.DropDown)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.ComboBoxStyle DropDownStyle { get { throw null; } set { } } - public int DropDownWidth { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool DroppedDown { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlatStyle.Standard)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.FlatStyle FlatStyle { get { throw null; } set { } } - public override bool Focused { get { throw null; } } - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool IntegralHeight { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public int ItemHeight { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.ComboBox.ObjectCollection Items { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(8)] - [System.ComponentModel.LocalizableAttribute(true)] - public int MaxDropDownItems { get { throw null; } set { } } - public override System.Drawing.Size MaximumSize { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.LocalizableAttribute(true)] - public int MaxLength { get { throw null; } set { } } - public override System.Drawing.Size MinimumSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int PreferredHeight { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override int SelectedIndex { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public object SelectedItem { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string SelectedText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SelectionLength { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SelectionStart { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Sorted { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DoubleClick { add { } remove { } } - public event System.Windows.Forms.DrawItemEventHandler DrawItem { add { } remove { } } - public event System.EventHandler DropDown { add { } remove { } } - public event System.EventHandler DropDownClosed { add { } remove { } } - public event System.EventHandler DropDownStyleChanged { add { } remove { } } - public event System.Windows.Forms.MeasureItemEventHandler MeasureItem { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.EventHandler SelectedIndexChanged { add { } remove { } } - public event System.EventHandler SelectionChangeCommitted { add { } remove { } } - public event System.EventHandler TextUpdate { add { } remove { } } - [System.ObsoleteAttribute("This method has been deprecated. There is no replacement. http://go.microsoft.com/fwlink/?linkid=14202")] - protected virtual void AddItemsCore(object[] value) { } - public void BeginUpdate() { } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void CreateHandle() { } - protected override void Dispose(bool disposing) { } - public void EndUpdate() { } - public int FindString(string s) { throw null; } - public int FindString(string s, int startIndex) { throw null; } - public int FindStringExact(string s) { throw null; } - public int FindStringExact(string s, int startIndex) { throw null; } - public int GetItemHeight(int index) { throw null; } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected override void OnBackColorChanged(System.EventArgs e) { } - protected override void OnDataSourceChanged(System.EventArgs e) { } - protected override void OnDisplayMemberChanged(System.EventArgs e) { } - protected virtual void OnDrawItem(System.Windows.Forms.DrawItemEventArgs e) { } - protected virtual void OnDropDown(System.EventArgs e) { } - protected virtual void OnDropDownClosed(System.EventArgs e) { } - protected virtual void OnDropDownStyleChanged(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnForeColorChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnGotFocus(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e) { } - protected override void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnLostFocus(System.EventArgs e) { } - protected virtual void OnMeasureItem(System.Windows.Forms.MeasureItemEventArgs e) { } - protected override void OnMouseEnter(System.EventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected override void OnParentBackColorChanged(System.EventArgs e) { } - protected override void OnResize(System.EventArgs e) { } - protected override void OnSelectedIndexChanged(System.EventArgs e) { } - protected virtual void OnSelectedItemChanged(System.EventArgs e) { } - protected override void OnSelectedValueChanged(System.EventArgs e) { } - protected virtual void OnSelectionChangeCommitted(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnTextChanged(System.EventArgs e) { } - protected virtual void OnTextUpdate(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnValidating(System.ComponentModel.CancelEventArgs e) { } - protected override bool ProcessKeyEventArgs(ref System.Windows.Forms.Message m) { throw null; } - protected override void RefreshItem(int index) { } - protected override void RefreshItems() { } - public override void ResetText() { } - protected override void ScaleControl(System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { } - public void Select(int start, int length) { } - public void SelectAll() { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - protected override void SetItemCore(int index, object value) { } - protected override void SetItemsCore(System.Collections.IList value) { } - public override string ToString() { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public partial class ChildAccessibleObject : System.Windows.Forms.AccessibleObject - { - public ChildAccessibleObject(System.Windows.Forms.ComboBox owner, System.IntPtr handle) { } - public override string Name { get { throw null; } } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class ObjectCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public ObjectCollection(System.Windows.Forms.ComboBox owner) { } - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual object this[int index] { get { throw null; } set { } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - public int Add(object item) { throw null; } - public void AddRange(object[] items) { } - public void Clear() { } - public bool Contains(object value) { throw null; } - public void CopyTo(object[] destination, int arrayIndex) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(object value) { throw null; } - public void Insert(int index, object item) { } - public void Remove(object value) { } - public void RemoveAt(int index) { } - void System.Collections.ICollection.CopyTo(System.Array destination, int index) { } - int System.Collections.IList.Add(object item) { throw null; } - } - } - public sealed partial class ComboBoxRenderer - { - internal ComboBoxRenderer() { } - public static bool IsSupported { get { throw null; } } - public static void DrawDropDownButton(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ComboBoxState state) { } - public static void DrawTextBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string comboBoxText, System.Drawing.Font font, System.Drawing.Rectangle textBounds, System.Windows.Forms.TextFormatFlags flags, System.Windows.Forms.VisualStyles.ComboBoxState state) { } - public static void DrawTextBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string comboBoxText, System.Drawing.Font font, System.Drawing.Rectangle textBounds, System.Windows.Forms.VisualStyles.ComboBoxState state) { } - public static void DrawTextBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string comboBoxText, System.Drawing.Font font, System.Windows.Forms.TextFormatFlags flags, System.Windows.Forms.VisualStyles.ComboBoxState state) { } - public static void DrawTextBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string comboBoxText, System.Drawing.Font font, System.Windows.Forms.VisualStyles.ComboBoxState state) { } - public static void DrawTextBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ComboBoxState state) { } - } - public enum ComboBoxStyle - { - DropDown = 1, - DropDownList = 2, - Simple = 0, - } - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms")] - public abstract partial class CommonDialog : System.ComponentModel.Component - { - public CommonDialog() { } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - public event System.EventHandler HelpRequest { add { } remove { } } - protected virtual System.IntPtr HookProc(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) { throw null; } - protected virtual void OnHelpRequest(System.EventArgs e) { } - protected virtual System.IntPtr OwnerWndProc(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) { throw null; } - public abstract void Reset(); - protected abstract bool RunDialog(System.IntPtr hwndOwner); - public System.Windows.Forms.DialogResult ShowDialog() { throw null; } - public System.Windows.Forms.DialogResult ShowDialog(System.Windows.Forms.IWin32Window owner) { throw null; } - } - public partial class ContainerControl : System.Windows.Forms.ScrollableControl, System.Windows.Forms.IContainerControl - { - public ContainerControl() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.Control ActiveControl { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.SizeF AutoScaleDimensions { get { throw null; } set { } } - protected System.Drawing.SizeF AutoScaleFactor { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.AutoScaleMode AutoScaleMode { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(System.Windows.Forms.AutoValidate.Inherit)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual System.Windows.Forms.AutoValidate AutoValidate { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public override System.Windows.Forms.BindingContext BindingContext { get { throw null; } set { } } - protected override bool CanEnableIme { get { throw null; } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Drawing.SizeF CurrentAutoScaleDimensions { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.Form ParentForm { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public event System.EventHandler AutoValidateChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void AdjustFormScrollbars(bool displayScrollbars) { } - protected override void Dispose(bool disposing) { } - protected virtual void OnAutoValidateChanged(System.EventArgs e) { } - protected override void OnCreateControl() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs e) { } - protected override void OnParentChanged(System.EventArgs e) { } - public void PerformAutoScale() { } - protected override bool ProcessCmdKey(ref System.Windows.Forms.Message msg, System.Windows.Forms.Keys keyData) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override bool ProcessDialogChar(char charCode) { throw null; } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - protected virtual bool ProcessTabKey(bool forward) { throw null; } - protected override void Select(bool directed, bool forward) { } - bool System.Windows.Forms.IContainerControl.ActivateControl(System.Windows.Forms.Control control) { throw null; } - protected virtual void UpdateDefaultButton() { } - public bool Validate() { throw null; } - public bool Validate(bool checkAutoValidate) { throw null; } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual bool ValidateChildren() { throw null; } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual bool ValidateChildren(System.Windows.Forms.ValidationConstraints validationConstraints) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public partial class ContentsResizedEventArgs : System.EventArgs - { - public ContentsResizedEventArgs(System.Drawing.Rectangle newRectangle) { } - public System.Drawing.Rectangle NewRectangle { get { throw null; } } - } - public delegate void ContentsResizedEventHandler(object sender, System.Windows.Forms.ContentsResizedEventArgs e); - [System.ComponentModel.DefaultEventAttribute("Popup")] - public partial class ContextMenu : System.Windows.Forms.Menu - { - public ContextMenu() : base (default(System.Windows.Forms.MenuItem[])) { } - public ContextMenu(System.Windows.Forms.MenuItem[] menuItems) : base (default(System.Windows.Forms.MenuItem[])) { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.RightToLeft.No)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.Control SourceControl { get { throw null; } } - public event System.EventHandler Collapse { add { } remove { } } - public event System.EventHandler Popup { add { } remove { } } - protected internal virtual void OnCollapse(System.EventArgs e) { } - protected internal virtual void OnPopup(System.EventArgs e) { } - protected internal virtual bool ProcessCmdKey(ref System.Windows.Forms.Message msg, System.Windows.Forms.Keys keyData, System.Windows.Forms.Control control) { throw null; } - public void Show(System.Windows.Forms.Control control, System.Drawing.Point pos) { } - public void Show(System.Windows.Forms.Control control, System.Drawing.Point pos, System.Windows.Forms.LeftRightAlignment alignment) { } - } - [System.ComponentModel.DefaultEventAttribute("Opening")] - public partial class ContextMenuStrip : System.Windows.Forms.ToolStripDropDownMenu - { - public ContextMenuStrip() { } - public ContextMenuStrip(System.ComponentModel.IContainer container) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.Control SourceControl { get { throw null; } } - protected override void Dispose(bool disposing) { } - protected override void SetVisibleCore(bool visible) { } - } - [System.ComponentModel.DefaultEventAttribute("Click")] - [System.ComponentModel.DefaultPropertyAttribute("Text")] - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms")] - public partial class Control : System.ComponentModel.Component, System.ComponentModel.IComponent, System.ComponentModel.ISynchronizeInvoke, System.IDisposable, System.Windows.Forms.IBindableComponent, System.Windows.Forms.IDropTarget, System.Windows.Forms.IWin32Window - { - public Control() { } - public Control(string text) { } - public Control(string text, int left, int top, int width, int height) { } - public Control(System.Windows.Forms.Control parent, string text) { } - public Control(System.Windows.Forms.Control parent, string text, int left, int top, int width, int height) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.AccessibleObject AccessibilityObject { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string AccessibleDefaultActionDescription { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public string AccessibleDescription { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public string AccessibleName { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AccessibleRole.Default)] - public System.Windows.Forms.AccessibleRole AccessibleRole { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public virtual bool AllowDrop { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public virtual System.Windows.Forms.AnchorStyles Anchor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Point), "0, 0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Drawing.Point AutoScrollOffset { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public virtual bool AutoSize { get { throw null; } set { } } - [System.Runtime.InteropServices.DispIdAttribute(-501)] - public virtual System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ImageLayout.Tile)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Windows.Forms.BindingContext BindingContext { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public int Bottom { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Drawing.Rectangle Bounds { get { throw null; } set { } } - protected virtual bool CanEnableIme { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool CanFocus { get { throw null; } } - protected override bool CanRaiseEvents { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool CanSelect { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool Capture { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool CausesValidation { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static bool CheckForIllegalCrossThreadCalls { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Drawing.Rectangle ClientRectangle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Drawing.Size ClientSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DescriptionAttribute("ControlCompanyNameDescr")] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string CompanyName { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool ContainsFocus { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - public virtual System.Windows.Forms.ContextMenu ContextMenu { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public virtual System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - public System.Windows.Forms.Control.ControlCollection Controls { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool Created { get { throw null; } } - protected virtual System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - [System.ComponentModel.AmbientValueAttribute(null)] - public virtual System.Windows.Forms.Cursor Cursor { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.ParenthesizePropertyNameAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public System.Windows.Forms.ControlBindingsCollection DataBindings { get { throw null; } } - public static System.Drawing.Color DefaultBackColor { get { throw null; } } - protected virtual System.Windows.Forms.Cursor DefaultCursor { get { throw null; } } - public static System.Drawing.Font DefaultFont { get { throw null; } } - public static System.Drawing.Color DefaultForeColor { get { throw null; } } - protected virtual System.Windows.Forms.ImeMode DefaultImeMode { get { throw null; } } - protected virtual System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - protected virtual System.Drawing.Size DefaultMaximumSize { get { throw null; } } - protected virtual System.Drawing.Size DefaultMinimumSize { get { throw null; } } - protected virtual System.Windows.Forms.Padding DefaultPadding { get { throw null; } } - protected virtual System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public int DeviceDpi { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Drawing.Rectangle DisplayRectangle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool Disposing { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DockStyle.None)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public virtual System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - protected virtual bool DoubleBuffered { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - [System.Runtime.InteropServices.DispIdAttribute(-514)] - public bool Enabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual bool Focused { get { throw null; } } - [System.ComponentModel.AmbientValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.Runtime.InteropServices.DispIdAttribute(-512)] - public virtual System.Drawing.Font Font { get { throw null; } set { } } - protected int FontHeight { get { throw null; } set { } } - [System.Runtime.InteropServices.DispIdAttribute(-513)] - public virtual System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.Runtime.InteropServices.DispIdAttribute(-515)] - public System.IntPtr Handle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool HasChildren { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public int Height { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(System.Windows.Forms.ImeMode.Inherit)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - protected virtual System.Windows.Forms.ImeMode ImeModeBase { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool InvokeRequired { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool IsAccessible { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool IsDisposed { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool IsHandleCreated { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool IsMirrored { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Windows.Forms.Layout.LayoutEngine LayoutEngine { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public int Left { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Point Location { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.Padding Margin { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(typeof(System.Drawing.Size), "0, 0")] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Drawing.Size MaximumSize { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Drawing.Size MinimumSize { get { throw null; } set { } } - public static System.Windows.Forms.Keys ModifierKeys { get { throw null; } } - public static System.Windows.Forms.MouseButtons MouseButtons { get { throw null; } } - public static System.Drawing.Point MousePosition { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public string Name { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.Control Parent { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Size PreferredSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string ProductName { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string ProductVersion { get { throw null; } } - protected static System.Windows.Forms.ImeMode PropagatingImeMode { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool RecreatingHandle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Drawing.Region Region { get { throw null; } set { } } - [System.ObsoleteAttribute("This property has been deprecated. Please use RightToLeft instead. http://go.microsoft.com/fwlink/?linkid=14202")] - protected internal bool RenderRightToLeft { get { throw null; } } - protected bool ResizeRedraw { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public int Right { get { throw null; } } - [System.ComponentModel.AmbientValueAttribute(System.Windows.Forms.RightToLeft.Inherit)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual bool ScaleChildren { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected internal virtual bool ShowFocusCues { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected internal virtual bool ShowKeyboardCues { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public override System.ComponentModel.ISite Site { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Size Size { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public int TabIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.Runtime.InteropServices.DispIdAttribute(-516)] - public bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.Runtime.InteropServices.DispIdAttribute(-517)] - public virtual string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public int Top { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.Control TopLevelControl { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public bool UseWaitCursor { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public bool Visible { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public int Width { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public System.Windows.Forms.IWindowTarget WindowTarget { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public event System.EventHandler AutoSizeChanged { add { } remove { } } - public event System.EventHandler BackColorChanged { add { } remove { } } - public event System.EventHandler BackgroundImageChanged { add { } remove { } } - public event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - public event System.EventHandler BindingContextChanged { add { } remove { } } - public event System.EventHandler CausesValidationChanged { add { } remove { } } - public event System.Windows.Forms.UICuesEventHandler ChangeUICues { add { } remove { } } - public event System.EventHandler Click { add { } remove { } } - public event System.EventHandler ClientSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public event System.EventHandler ContextMenuChanged { add { } remove { } } - public event System.EventHandler ContextMenuStripChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.ControlEventHandler ControlAdded { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.ControlEventHandler ControlRemoved { add { } remove { } } - public event System.EventHandler CursorChanged { add { } remove { } } - public event System.EventHandler DockChanged { add { } remove { } } - public event System.EventHandler DoubleClick { add { } remove { } } - public event System.EventHandler DpiChangedAfterParent { add { } remove { } } - public event System.EventHandler DpiChangedBeforeParent { add { } remove { } } - public event System.Windows.Forms.DragEventHandler DragDrop { add { } remove { } } - public event System.Windows.Forms.DragEventHandler DragEnter { add { } remove { } } - public event System.EventHandler DragLeave { add { } remove { } } - public event System.Windows.Forms.DragEventHandler DragOver { add { } remove { } } - public event System.EventHandler EnabledChanged { add { } remove { } } - public event System.EventHandler Enter { add { } remove { } } - public event System.EventHandler FontChanged { add { } remove { } } - public event System.EventHandler ForeColorChanged { add { } remove { } } - public event System.Windows.Forms.GiveFeedbackEventHandler GiveFeedback { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler GotFocus { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler HandleCreated { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler HandleDestroyed { add { } remove { } } - public event System.Windows.Forms.HelpEventHandler HelpRequested { add { } remove { } } - public event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.InvalidateEventHandler Invalidated { add { } remove { } } - public event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - public event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - public event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - public event System.Windows.Forms.LayoutEventHandler Layout { add { } remove { } } - public event System.EventHandler Leave { add { } remove { } } - public event System.EventHandler LocationChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler LostFocus { add { } remove { } } - public event System.EventHandler MarginChanged { add { } remove { } } - public event System.EventHandler MouseCaptureChanged { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseClick { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseDoubleClick { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseDown { add { } remove { } } - public event System.EventHandler MouseEnter { add { } remove { } } - public event System.EventHandler MouseHover { add { } remove { } } - public event System.EventHandler MouseLeave { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseMove { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.MouseEventHandler MouseWheel { add { } remove { } } - public event System.EventHandler Move { add { } remove { } } - public event System.EventHandler PaddingChanged { add { } remove { } } - public event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.EventHandler ParentChanged { add { } remove { } } - public event System.Windows.Forms.PreviewKeyDownEventHandler PreviewKeyDown { add { } remove { } } - public event System.Windows.Forms.QueryAccessibilityHelpEventHandler QueryAccessibilityHelp { add { } remove { } } - public event System.Windows.Forms.QueryContinueDragEventHandler QueryContinueDrag { add { } remove { } } - public event System.EventHandler RegionChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler Resize { add { } remove { } } - public event System.EventHandler RightToLeftChanged { add { } remove { } } - public event System.EventHandler SizeChanged { add { } remove { } } - public event System.EventHandler StyleChanged { add { } remove { } } - public event System.EventHandler SystemColorsChanged { add { } remove { } } - public event System.EventHandler TabIndexChanged { add { } remove { } } - public event System.EventHandler TabStopChanged { add { } remove { } } - public event System.EventHandler TextChanged { add { } remove { } } - public event System.EventHandler Validated { add { } remove { } } - public event System.ComponentModel.CancelEventHandler Validating { add { } remove { } } - public event System.EventHandler VisibleChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected internal void AccessibilityNotifyClients(System.Windows.Forms.AccessibleEvents accEvent, int childID) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void AccessibilityNotifyClients(System.Windows.Forms.AccessibleEvents accEvent, int objectID, int childID) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginInvoke(System.Delegate method) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IAsyncResult BeginInvoke(System.Delegate method, params object[] args) { throw null; } - public void BringToFront() { } - public bool Contains(System.Windows.Forms.Control ctl) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - public void CreateControl() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual System.Windows.Forms.Control.ControlCollection CreateControlsInstance() { throw null; } - public System.Drawing.Graphics CreateGraphics() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void CreateHandle() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void DefWndProc(ref System.Windows.Forms.Message m) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void DestroyHandle() { } - protected override void Dispose(bool disposing) { } - public System.Windows.Forms.DragDropEffects DoDragDrop(object data, System.Windows.Forms.DragDropEffects allowedEffects) { throw null; } - public void DrawToBitmap(System.Drawing.Bitmap bitmap, System.Drawing.Rectangle targetBounds) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public object EndInvoke(System.IAsyncResult asyncResult) { throw null; } - public System.Windows.Forms.Form FindForm() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool Focus() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Windows.Forms.Control FromChildHandle(System.IntPtr handle) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Windows.Forms.Control FromHandle(System.IntPtr handle) { throw null; } - protected virtual System.Windows.Forms.AccessibleObject GetAccessibilityObjectById(int objectId) { throw null; } - protected System.Windows.Forms.AutoSizeMode GetAutoSizeMode() { throw null; } - public System.Windows.Forms.Control GetChildAtPoint(System.Drawing.Point pt) { throw null; } - public System.Windows.Forms.Control GetChildAtPoint(System.Drawing.Point pt, System.Windows.Forms.GetChildAtPointSkip skipValue) { throw null; } - public System.Windows.Forms.IContainerControl GetContainerControl() { throw null; } - public System.Windows.Forms.Control GetNextControl(System.Windows.Forms.Control ctl, bool forward) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Drawing.Size GetPreferredSize(System.Drawing.Size proposedSize) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual System.Drawing.Rectangle GetScaledBounds(System.Drawing.Rectangle bounds, System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { throw null; } - protected bool GetStyle(System.Windows.Forms.ControlStyles flag) { throw null; } - protected bool GetTopLevel() { throw null; } - public void Hide() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void InitLayout() { } - public void Invalidate() { } - public void Invalidate(bool invalidateChildren) { } - public void Invalidate(System.Drawing.Rectangle rc) { } - public void Invalidate(System.Drawing.Rectangle rc, bool invalidateChildren) { } - public void Invalidate(System.Drawing.Region region) { } - public void Invalidate(System.Drawing.Region region, bool invalidateChildren) { } - public object Invoke(System.Delegate method) { throw null; } - public object Invoke(System.Delegate method, params object[] args) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void InvokeGotFocus(System.Windows.Forms.Control toInvoke, System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void InvokeLostFocus(System.Windows.Forms.Control toInvoke, System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void InvokeOnClick(System.Windows.Forms.Control toInvoke, System.EventArgs e) { } - protected void InvokePaint(System.Windows.Forms.Control c, System.Windows.Forms.PaintEventArgs e) { } - protected void InvokePaintBackground(System.Windows.Forms.Control c, System.Windows.Forms.PaintEventArgs e) { } - protected virtual bool IsInputChar(char charCode) { throw null; } - protected virtual bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - public static bool IsKeyLocked(System.Windows.Forms.Keys keyVal) { throw null; } - public static bool IsMnemonic(char charCode, string text) { throw null; } - public System.Drawing.Size LogicalToDeviceUnits(System.Drawing.Size value) { throw null; } - public int LogicalToDeviceUnits(int value) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void NotifyInvalidate(System.Drawing.Rectangle invalidatedArea) { } - protected virtual void OnAutoSizeChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnBackColorChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnBackgroundImageChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnBackgroundImageLayoutChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnBindingContextChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnCausesValidationChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnChangeUICues(System.Windows.Forms.UICuesEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnClick(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnClientSizeChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnContextMenuChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnContextMenuStripChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnControlAdded(System.Windows.Forms.ControlEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnControlRemoved(System.Windows.Forms.ControlEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnCreateControl() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnCursorChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnDockChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnDoubleClick(System.EventArgs e) { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - protected virtual void OnDpiChangedAfterParent(System.EventArgs e) { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - protected virtual void OnDpiChangedBeforeParent(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnDragDrop(System.Windows.Forms.DragEventArgs drgevent) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnDragEnter(System.Windows.Forms.DragEventArgs drgevent) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnDragLeave(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnDragOver(System.Windows.Forms.DragEventArgs drgevent) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnEnabledChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnEnter(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnFontChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnForeColorChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnGiveFeedback(System.Windows.Forms.GiveFeedbackEventArgs gfbevent) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnGotFocus(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnHandleCreated(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnHandleDestroyed(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnHelpRequested(System.Windows.Forms.HelpEventArgs hevent) { } - protected virtual void OnImeModeChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnInvalidated(System.Windows.Forms.InvalidateEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnKeyDown(System.Windows.Forms.KeyEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnKeyUp(System.Windows.Forms.KeyEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnLayout(System.Windows.Forms.LayoutEventArgs levent) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnLeave(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnLocationChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnLostFocus(System.EventArgs e) { } - protected virtual void OnMarginChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMouseCaptureChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMouseClick(System.Windows.Forms.MouseEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMouseDoubleClick(System.Windows.Forms.MouseEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMouseEnter(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMouseHover(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMouseLeave(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMouseMove(System.Windows.Forms.MouseEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMouseUp(System.Windows.Forms.MouseEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMouseWheel(System.Windows.Forms.MouseEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMove(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnNotifyMessage(System.Windows.Forms.Message m) { } - protected virtual void OnPaddingChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnPaintBackground(System.Windows.Forms.PaintEventArgs pevent) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnParentBackColorChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnParentBackgroundImageChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnParentBindingContextChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnParentChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnParentCursorChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnParentEnabledChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnParentFontChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnParentForeColorChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnParentRightToLeftChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnParentVisibleChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnPreviewKeyDown(System.Windows.Forms.PreviewKeyDownEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnPrint(System.Windows.Forms.PaintEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnQueryContinueDrag(System.Windows.Forms.QueryContinueDragEventArgs qcdevent) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnRegionChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnResize(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnRightToLeftChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnSizeChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnStyleChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnSystemColorsChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnTabIndexChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnTabStopChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnTextChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnValidated(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnValidating(System.ComponentModel.CancelEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnVisibleChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public void PerformLayout() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public void PerformLayout(System.Windows.Forms.Control affectedControl, string affectedProperty) { } - public System.Drawing.Point PointToClient(System.Drawing.Point p) { throw null; } - public System.Drawing.Point PointToScreen(System.Drawing.Point p) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.PreProcessControlState PreProcessControlMessage(ref System.Windows.Forms.Message msg) { throw null; } - public virtual bool PreProcessMessage(ref System.Windows.Forms.Message msg) { throw null; } - protected virtual bool ProcessCmdKey(ref System.Windows.Forms.Message msg, System.Windows.Forms.Keys keyData) { throw null; } - protected virtual bool ProcessDialogChar(char charCode) { throw null; } - protected virtual bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected virtual bool ProcessKeyEventArgs(ref System.Windows.Forms.Message m) { throw null; } - protected internal virtual bool ProcessKeyMessage(ref System.Windows.Forms.Message m) { throw null; } - protected virtual bool ProcessKeyPreview(ref System.Windows.Forms.Message m) { throw null; } - protected internal virtual bool ProcessMnemonic(char charCode) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaiseDragEvent(object key, System.Windows.Forms.DragEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaiseKeyEvent(object key, System.Windows.Forms.KeyEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaiseMouseEvent(object key, System.Windows.Forms.MouseEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RaisePaintEvent(object key, System.Windows.Forms.PaintEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void RecreateHandle() { } - public System.Drawing.Rectangle RectangleToClient(System.Drawing.Rectangle r) { throw null; } - public System.Drawing.Rectangle RectangleToScreen(System.Drawing.Rectangle r) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected static bool ReflectMessage(System.IntPtr hWnd, ref System.Windows.Forms.Message m) { throw null; } - public virtual void Refresh() { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetBackColor() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void ResetBindings() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetCursor() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetFont() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetForeColor() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void ResetImeMode() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void ResetMouseEventArgs() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetRightToLeft() { } - public virtual void ResetText() { } - public void ResumeLayout() { } - public void ResumeLayout(bool performLayout) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected System.Drawing.ContentAlignment RtlTranslateAlignment(System.Drawing.ContentAlignment align) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected System.Windows.Forms.HorizontalAlignment RtlTranslateAlignment(System.Windows.Forms.HorizontalAlignment align) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected System.Windows.Forms.LeftRightAlignment RtlTranslateAlignment(System.Windows.Forms.LeftRightAlignment align) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected internal System.Drawing.ContentAlignment RtlTranslateContent(System.Drawing.ContentAlignment align) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected System.Windows.Forms.HorizontalAlignment RtlTranslateHorizontal(System.Windows.Forms.HorizontalAlignment align) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected System.Windows.Forms.LeftRightAlignment RtlTranslateLeftRight(System.Windows.Forms.LeftRightAlignment align) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public void Scale(System.Drawing.SizeF factor) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ObsoleteAttribute("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")] - public void Scale(float ratio) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ObsoleteAttribute("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")] - public void Scale(float dx, float dy) { } - public void ScaleBitmapLogicalToDevice(ref System.Drawing.Bitmap logicalBitmap) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void ScaleControl(System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected virtual void ScaleCore(float dx, float dy) { } - public void Select() { } - protected virtual void Select(bool directed, bool forward) { } - public bool SelectNextControl(System.Windows.Forms.Control ctl, bool forward, bool tabStopOnly, bool nested, bool wrap) { throw null; } - public void SendToBack() { } - protected void SetAutoSizeMode(System.Windows.Forms.AutoSizeMode mode) { } - public void SetBounds(int x, int y, int width, int height) { } - public void SetBounds(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void SetClientSizeCore(int x, int y) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void SetStyle(System.Windows.Forms.ControlStyles flag, bool value) { } - protected void SetTopLevel(bool value) { } - protected virtual void SetVisibleCore(bool value) { } - public void Show() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual System.Drawing.Size SizeFromClientSize(System.Drawing.Size clientSize) { throw null; } - public void SuspendLayout() { } - void System.Windows.Forms.IDropTarget.OnDragDrop(System.Windows.Forms.DragEventArgs drgEvent) { } - void System.Windows.Forms.IDropTarget.OnDragEnter(System.Windows.Forms.DragEventArgs drgEvent) { } - void System.Windows.Forms.IDropTarget.OnDragLeave(System.EventArgs e) { } - void System.Windows.Forms.IDropTarget.OnDragOver(System.Windows.Forms.DragEventArgs drgEvent) { } - public void Update() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected internal void UpdateBounds() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void UpdateBounds(int x, int y, int width, int height) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void UpdateBounds(int x, int y, int width, int height, int clientWidth, int clientHeight) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void UpdateStyles() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected void UpdateZOrder() { } - protected virtual void WndProc(ref System.Windows.Forms.Message m) { } - public partial class ControlAccessibleObject : System.Windows.Forms.AccessibleObject - { - public ControlAccessibleObject(System.Windows.Forms.Control ownerControl) { } - public override string DefaultAction { get { throw null; } } - public override string Description { get { throw null; } } - public System.IntPtr Handle { get { throw null; } set { } } - public override string Help { get { throw null; } } - public override string KeyboardShortcut { get { throw null; } } - public override string Name { get { throw null; } set { } } - public System.Windows.Forms.Control Owner { get { throw null; } } - public override System.Windows.Forms.AccessibleObject Parent { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override int GetHelpTopic(out string fileName) { throw null; } - public void NotifyClients(System.Windows.Forms.AccessibleEvents accEvent) { } - public void NotifyClients(System.Windows.Forms.AccessibleEvents accEvent, int childID) { } - public void NotifyClients(System.Windows.Forms.AccessibleEvents accEvent, int objectID, int childID) { } - public override bool RaiseLiveRegionChanged() { throw null; } - public override string ToString() { throw null; } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class ControlCollection : System.Windows.Forms.Layout.ArrangedElementCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ICloneable - { - public ControlCollection(System.Windows.Forms.Control owner) { } - public virtual System.Windows.Forms.Control this[int index] { get { throw null; } } - public virtual System.Windows.Forms.Control this[string key] { get { throw null; } } - public System.Windows.Forms.Control Owner { get { throw null; } } - public virtual void Add(System.Windows.Forms.Control value) { } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual void AddRange(System.Windows.Forms.Control[] controls) { } - public virtual void Clear() { } - public bool Contains(System.Windows.Forms.Control control) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public System.Windows.Forms.Control[] Find(string key, bool searchAllChildren) { throw null; } - public int GetChildIndex(System.Windows.Forms.Control child) { throw null; } - public virtual int GetChildIndex(System.Windows.Forms.Control child, bool throwException) { throw null; } - public override System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.Control control) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - public virtual void Remove(System.Windows.Forms.Control value) { } - public void RemoveAt(int index) { } - public virtual void RemoveByKey(string key) { } - public virtual void SetChildIndex(System.Windows.Forms.Control child, int newIndex) { } - int System.Collections.IList.Add(object control) { throw null; } - void System.Collections.IList.Remove(object control) { } - object System.ICloneable.Clone() { throw null; } - } - } - [System.ComponentModel.DefaultEventAttribute("CollectionChanged")] - [System.ComponentModel.TypeConverterAttribute("System.Windows.Forms.Design.ControlBindingsConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - public partial class ControlBindingsCollection : System.Windows.Forms.BindingsCollection - { - public ControlBindingsCollection(System.Windows.Forms.IBindableComponent control) { } - public System.Windows.Forms.IBindableComponent BindableComponent { get { throw null; } } - public System.Windows.Forms.Control Control { get { throw null; } } - public System.Windows.Forms.DataSourceUpdateMode DefaultDataSourceUpdateMode { get { throw null; } set { } } - public System.Windows.Forms.Binding this[string propertyName] { get { throw null; } } - public System.Windows.Forms.Binding Add(string propertyName, object dataSource, string dataMember) { throw null; } - public System.Windows.Forms.Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled) { throw null; } - public System.Windows.Forms.Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled, System.Windows.Forms.DataSourceUpdateMode updateMode) { throw null; } - public System.Windows.Forms.Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled, System.Windows.Forms.DataSourceUpdateMode updateMode, object nullValue) { throw null; } - public System.Windows.Forms.Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled, System.Windows.Forms.DataSourceUpdateMode updateMode, object nullValue, string formatString) { throw null; } - public System.Windows.Forms.Binding Add(string propertyName, object dataSource, string dataMember, bool formattingEnabled, System.Windows.Forms.DataSourceUpdateMode updateMode, object nullValue, string formatString, System.IFormatProvider formatInfo) { throw null; } - public new void Add(System.Windows.Forms.Binding binding) { } - protected override void AddCore(System.Windows.Forms.Binding dataBinding) { } - public new void Clear() { } - protected override void ClearCore() { } - public new void Remove(System.Windows.Forms.Binding binding) { } - public new void RemoveAt(int index) { } - protected override void RemoveCore(System.Windows.Forms.Binding dataBinding) { } - } - public partial class ControlEventArgs : System.EventArgs - { - public ControlEventArgs(System.Windows.Forms.Control control) { } - public System.Windows.Forms.Control Control { get { throw null; } } - } - public delegate void ControlEventHandler(object sender, System.Windows.Forms.ControlEventArgs e); - public sealed partial class ControlPaint - { - internal ControlPaint() { } - public static System.Drawing.Color ContrastControlDark { get { throw null; } } - public static System.IntPtr CreateHBitmap16Bit(System.Drawing.Bitmap bitmap, System.Drawing.Color background) { throw null; } - public static System.IntPtr CreateHBitmapColorMask(System.Drawing.Bitmap bitmap, System.IntPtr monochromeMask) { throw null; } - public static System.IntPtr CreateHBitmapTransparencyMask(System.Drawing.Bitmap bitmap) { throw null; } - public static System.Drawing.Color Dark(System.Drawing.Color baseColor) { throw null; } - public static System.Drawing.Color Dark(System.Drawing.Color baseColor, float percOfDarkDark) { throw null; } - public static System.Drawing.Color DarkDark(System.Drawing.Color baseColor) { throw null; } - public static void DrawBorder(System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds, System.Drawing.Color leftColor, int leftWidth, System.Windows.Forms.ButtonBorderStyle leftStyle, System.Drawing.Color topColor, int topWidth, System.Windows.Forms.ButtonBorderStyle topStyle, System.Drawing.Color rightColor, int rightWidth, System.Windows.Forms.ButtonBorderStyle rightStyle, System.Drawing.Color bottomColor, int bottomWidth, System.Windows.Forms.ButtonBorderStyle bottomStyle) { } - public static void DrawBorder(System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds, System.Drawing.Color color, System.Windows.Forms.ButtonBorderStyle style) { } - public static void DrawBorder3D(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle) { } - public static void DrawBorder3D(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.Border3DStyle style) { } - public static void DrawBorder3D(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.Border3DStyle style, System.Windows.Forms.Border3DSide sides) { } - public static void DrawBorder3D(System.Drawing.Graphics graphics, int x, int y, int width, int height) { } - public static void DrawBorder3D(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.Border3DStyle style) { } - public static void DrawBorder3D(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.Border3DStyle style, System.Windows.Forms.Border3DSide sides) { } - public static void DrawButton(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.ButtonState state) { } - public static void DrawButton(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.ButtonState state) { } - public static void DrawCaptionButton(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.CaptionButton button, System.Windows.Forms.ButtonState state) { } - public static void DrawCaptionButton(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.CaptionButton button, System.Windows.Forms.ButtonState state) { } - public static void DrawCheckBox(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.ButtonState state) { } - public static void DrawCheckBox(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.ButtonState state) { } - public static void DrawComboButton(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.ButtonState state) { } - public static void DrawComboButton(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.ButtonState state) { } - public static void DrawContainerGrabHandle(System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds) { } - public static void DrawFocusRectangle(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle) { } - public static void DrawFocusRectangle(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Drawing.Color foreColor, System.Drawing.Color backColor) { } - public static void DrawGrabHandle(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, bool primary, bool enabled) { } - public static void DrawGrid(System.Drawing.Graphics graphics, System.Drawing.Rectangle area, System.Drawing.Size pixelsBetweenDots, System.Drawing.Color backColor) { } - public static void DrawImageDisabled(System.Drawing.Graphics graphics, System.Drawing.Image image, int x, int y, System.Drawing.Color background) { } - public static void DrawLockedFrame(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, bool primary) { } - public static void DrawMenuGlyph(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.MenuGlyph glyph) { } - public static void DrawMenuGlyph(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.MenuGlyph glyph, System.Drawing.Color foreColor, System.Drawing.Color backColor) { } - public static void DrawMenuGlyph(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.MenuGlyph glyph) { } - public static void DrawMenuGlyph(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.MenuGlyph glyph, System.Drawing.Color foreColor, System.Drawing.Color backColor) { } - public static void DrawMixedCheckBox(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.ButtonState state) { } - public static void DrawMixedCheckBox(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.ButtonState state) { } - public static void DrawRadioButton(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.ButtonState state) { } - public static void DrawRadioButton(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.ButtonState state) { } - public static void DrawReversibleFrame(System.Drawing.Rectangle rectangle, System.Drawing.Color backColor, System.Windows.Forms.FrameStyle style) { } - public static void DrawReversibleLine(System.Drawing.Point start, System.Drawing.Point end, System.Drawing.Color backColor) { } - public static void DrawScrollButton(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.ScrollButton button, System.Windows.Forms.ButtonState state) { } - public static void DrawScrollButton(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.ScrollButton button, System.Windows.Forms.ButtonState state) { } - public static void DrawSelectionFrame(System.Drawing.Graphics graphics, bool active, System.Drawing.Rectangle outsideRect, System.Drawing.Rectangle insideRect, System.Drawing.Color backColor) { } - public static void DrawSizeGrip(System.Drawing.Graphics graphics, System.Drawing.Color backColor, System.Drawing.Rectangle bounds) { } - public static void DrawSizeGrip(System.Drawing.Graphics graphics, System.Drawing.Color backColor, int x, int y, int width, int height) { } - public static void DrawStringDisabled(System.Drawing.Graphics graphics, string s, System.Drawing.Font font, System.Drawing.Color color, System.Drawing.RectangleF layoutRectangle, System.Drawing.StringFormat format) { } - public static void DrawStringDisabled(System.Drawing.IDeviceContext dc, string s, System.Drawing.Font font, System.Drawing.Color color, System.Drawing.Rectangle layoutRectangle, System.Windows.Forms.TextFormatFlags format) { } - public static void DrawVisualStyleBorder(System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds) { } - public static void FillReversibleRectangle(System.Drawing.Rectangle rectangle, System.Drawing.Color backColor) { } - public static System.Drawing.Color Light(System.Drawing.Color baseColor) { throw null; } - public static System.Drawing.Color Light(System.Drawing.Color baseColor, float percOfLightLight) { throw null; } - public static System.Drawing.Color LightLight(System.Drawing.Color baseColor) { throw null; } - } - [System.FlagsAttribute] - public enum ControlStyles - { - AllPaintingInWmPaint = 8192, - CacheText = 16384, - ContainerControl = 1, - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - DoubleBuffer = 65536, - EnableNotifyMessage = 32768, - FixedHeight = 64, - FixedWidth = 32, - Opaque = 4, - OptimizedDoubleBuffer = 131072, - ResizeRedraw = 16, - Selectable = 512, - StandardClick = 256, - StandardDoubleClick = 4096, - SupportsTransparentBackColor = 2048, - UserMouse = 1024, - UserPaint = 2, - UseTextForAccessibility = 262144, - } - public enum ControlUpdateMode - { - Never = 1, - OnPropertyChanged = 0, - } - public partial class ConvertEventArgs : System.EventArgs - { - public ConvertEventArgs(object value, System.Type desiredType) { } - public System.Type DesiredType { get { throw null; } } - public object Value { get { throw null; } set { } } - } - public delegate void ConvertEventHandler(object sender, System.Windows.Forms.ConvertEventArgs e); - public partial class CreateParams - { - public CreateParams() { } - public string Caption { get { throw null; } set { } } - public string ClassName { get { throw null; } set { } } - public int ClassStyle { get { throw null; } set { } } - public int ExStyle { get { throw null; } set { } } - public int Height { get { throw null; } set { } } - public object Param { get { throw null; } set { } } - public System.IntPtr Parent { get { throw null; } set { } } - public int Style { get { throw null; } set { } } - public int Width { get { throw null; } set { } } - public int X { get { throw null; } set { } } - public int Y { get { throw null; } set { } } - public override string ToString() { throw null; } - } - public partial class CurrencyManager : System.Windows.Forms.BindingManagerBase - { - internal CurrencyManager() { } - protected System.Type finalType; - protected int listposition; - public override int Count { get { throw null; } } - public override object Current { get { throw null; } } - public System.Collections.IList List { get { throw null; } } - public override int Position { get { throw null; } set { } } - public event System.Windows.Forms.ItemChangedEventHandler ItemChanged { add { } remove { } } - public event System.ComponentModel.ListChangedEventHandler ListChanged { add { } remove { } } - public event System.EventHandler MetaDataChanged { add { } remove { } } - public override void AddNew() { } - public override void CancelCurrentEdit() { } - protected void CheckEmpty() { } - public override void EndCurrentEdit() { } - public override System.ComponentModel.PropertyDescriptorCollection GetItemProperties() { throw null; } - protected internal override string GetListName(System.Collections.ArrayList listAccessors) { throw null; } - protected internal override void OnCurrentChanged(System.EventArgs e) { } - protected internal override void OnCurrentItemChanged(System.EventArgs e) { } - protected virtual void OnItemChanged(System.Windows.Forms.ItemChangedEventArgs e) { } - protected internal void OnMetaDataChanged(System.EventArgs e) { } - protected virtual void OnPositionChanged(System.EventArgs e) { } - public void Refresh() { } - public override void RemoveAt(int index) { } - public override void ResumeBinding() { } - public override void SuspendBinding() { } - protected override void UpdateIsBinding() { } - } - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.CursorConverter))] - public sealed partial class Cursor : System.IDisposable, System.Runtime.Serialization.ISerializable - { - public Cursor(System.IntPtr handle) { } - public Cursor(System.IO.Stream stream) { } - public Cursor(string fileName) { } - public Cursor(System.Type type, string resource) { } - public static System.Drawing.Rectangle Clip { get { throw null; } set { } } - public static System.Windows.Forms.Cursor Current { get { throw null; } set { } } - public System.IntPtr Handle { get { throw null; } } - public System.Drawing.Point HotSpot { get { throw null; } } - public static System.Drawing.Point Position { get { throw null; } set { } } - public System.Drawing.Size Size { get { throw null; } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - public System.IntPtr CopyHandle() { throw null; } - public void Dispose() { } - public void Draw(System.Drawing.Graphics g, System.Drawing.Rectangle targetRect) { } - public void DrawStretched(System.Drawing.Graphics g, System.Drawing.Rectangle targetRect) { } - public override bool Equals(object obj) { throw null; } - ~Cursor() { } - public override int GetHashCode() { throw null; } - public static void Hide() { } - public static bool operator ==(System.Windows.Forms.Cursor left, System.Windows.Forms.Cursor right) { throw null; } - public static bool operator !=(System.Windows.Forms.Cursor left, System.Windows.Forms.Cursor right) { throw null; } - public static void Show() { } - void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } - public override string ToString() { throw null; } - } - public partial class CursorConverter : System.ComponentModel.TypeConverter - { - public CursorConverter() { } - public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - public sealed partial class Cursors - { - internal Cursors() { } - public static System.Windows.Forms.Cursor AppStarting { get { throw null; } } - public static System.Windows.Forms.Cursor Arrow { get { throw null; } } - public static System.Windows.Forms.Cursor Cross { get { throw null; } } - public static System.Windows.Forms.Cursor Default { get { throw null; } } - public static System.Windows.Forms.Cursor Hand { get { throw null; } } - public static System.Windows.Forms.Cursor Help { get { throw null; } } - public static System.Windows.Forms.Cursor HSplit { get { throw null; } } - public static System.Windows.Forms.Cursor IBeam { get { throw null; } } - public static System.Windows.Forms.Cursor No { get { throw null; } } - public static System.Windows.Forms.Cursor NoMove2D { get { throw null; } } - public static System.Windows.Forms.Cursor NoMoveHoriz { get { throw null; } } - public static System.Windows.Forms.Cursor NoMoveVert { get { throw null; } } - public static System.Windows.Forms.Cursor PanEast { get { throw null; } } - public static System.Windows.Forms.Cursor PanNE { get { throw null; } } - public static System.Windows.Forms.Cursor PanNorth { get { throw null; } } - public static System.Windows.Forms.Cursor PanNW { get { throw null; } } - public static System.Windows.Forms.Cursor PanSE { get { throw null; } } - public static System.Windows.Forms.Cursor PanSouth { get { throw null; } } - public static System.Windows.Forms.Cursor PanSW { get { throw null; } } - public static System.Windows.Forms.Cursor PanWest { get { throw null; } } - public static System.Windows.Forms.Cursor SizeAll { get { throw null; } } - public static System.Windows.Forms.Cursor SizeNESW { get { throw null; } } - public static System.Windows.Forms.Cursor SizeNS { get { throw null; } } - public static System.Windows.Forms.Cursor SizeNWSE { get { throw null; } } - public static System.Windows.Forms.Cursor SizeWE { get { throw null; } } - public static System.Windows.Forms.Cursor UpArrow { get { throw null; } } - public static System.Windows.Forms.Cursor VSplit { get { throw null; } } - public static System.Windows.Forms.Cursor WaitCursor { get { throw null; } } - } - public partial class DataFormats - { - internal DataFormats() { } - public static readonly string Bitmap; - public static readonly string CommaSeparatedValue; - public static readonly string Dib; - public static readonly string Dif; - public static readonly string EnhancedMetafile; - public static readonly string FileDrop; - public static readonly string Html; - public static readonly string Locale; - public static readonly string MetafilePict; - public static readonly string OemText; - public static readonly string Palette; - public static readonly string PenData; - public static readonly string Riff; - public static readonly string Rtf; - public static readonly string Serializable; - public static readonly string StringFormat; - public static readonly string SymbolicLink; - public static readonly string Text; - public static readonly string Tiff; - public static readonly string UnicodeText; - public static readonly string WaveAudio; - public static System.Windows.Forms.DataFormats.Format GetFormat(int id) { throw null; } - public static System.Windows.Forms.DataFormats.Format GetFormat(string format) { throw null; } - public partial class Format - { - public Format(string name, int id) { } - public int Id { get { throw null; } } - public string Name { get { throw null; } } - } - } - [System.ComponentModel.ComplexBindingPropertiesAttribute("DataSource", "DataMember")] - [System.ComponentModel.DefaultEventAttribute("Navigate")] - [System.ComponentModel.DefaultPropertyAttribute("DataSource")] - public partial class DataGrid : System.Windows.Forms.Control, System.ComponentModel.ISupportInitialize, System.Windows.Forms.IDataGridEditingService - { - public DataGrid() { } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowNavigation { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowSorting { get { throw null; } set { } } - public System.Drawing.Color AlternatingBackColor { get { throw null; } set { } } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - public System.Drawing.Color BackgroundColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.Fixed3D)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - public System.Drawing.Color CaptionBackColor { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Font CaptionFont { get { throw null; } set { } } - public System.Drawing.Color CaptionForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string CaptionText { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool CaptionVisible { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ColumnHeadersVisible { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.DataGridCell CurrentCell { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int CurrentRowIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.Cursor Cursor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public string DataMember { get { throw null; } set { } } - [System.ComponentModel.AttributeProviderAttribute(typeof(System.ComponentModel.IListSource))] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public object DataSource { get { throw null; } set { } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public int FirstVisibleColumn { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool FlatMode { get { throw null; } set { } } - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - public System.Drawing.Color GridLineColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridLineStyle.Solid)] - public System.Windows.Forms.DataGridLineStyle GridLineStyle { get { throw null; } set { } } - public System.Drawing.Color HeaderBackColor { get { throw null; } set { } } - public System.Drawing.Font HeaderFont { get { throw null; } set { } } - public System.Drawing.Color HeaderForeColor { get { throw null; } set { } } - protected System.Windows.Forms.ScrollBar HorizScrollBar { get { throw null; } } - public object this[int rowIndex, int columnIndex] { get { throw null; } set { } } - public object this[System.Windows.Forms.DataGridCell cell] { get { throw null; } set { } } - public System.Drawing.Color LinkColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public System.Drawing.Color LinkHoverColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected internal System.Windows.Forms.CurrencyManager ListManager { get { throw null; } set { } } - public System.Drawing.Color ParentRowsBackColor { get { throw null; } set { } } - public System.Drawing.Color ParentRowsForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridParentRowsLabelStyle.Both)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.DataGridParentRowsLabelStyle ParentRowsLabelStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ParentRowsVisible { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(75)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.DataGridPreferredColumnWidthTypeConverter))] - public int PreferredColumnWidth { get { throw null; } set { } } - public int PreferredRowHeight { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool RowHeadersVisible { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(35)] - public int RowHeaderWidth { get { throw null; } set { } } - public System.Drawing.Color SelectionBackColor { get { throw null; } set { } } - public System.Drawing.Color SelectionForeColor { get { throw null; } set { } } - public override System.ComponentModel.ISite Site { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.GridTableStylesCollection TableStyles { get { throw null; } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected System.Windows.Forms.ScrollBar VertScrollBar { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public int VisibleColumnCount { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public int VisibleRowCount { get { throw null; } } - public event System.EventHandler AllowNavigationChanged { add { } remove { } } - public event System.EventHandler BackButtonClick { add { } remove { } } - public event System.EventHandler BackgroundColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - public event System.EventHandler BorderStyleChanged { add { } remove { } } - public event System.EventHandler CaptionVisibleChanged { add { } remove { } } - public event System.EventHandler CurrentCellChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler CursorChanged { add { } remove { } } - public event System.EventHandler DataSourceChanged { add { } remove { } } - public event System.EventHandler FlatModeChanged { add { } remove { } } - public event System.Windows.Forms.NavigateEventHandler Navigate { add { } remove { } } - public event System.EventHandler ParentRowsLabelStyleChanged { add { } remove { } } - public event System.EventHandler ParentRowsVisibleChanged { add { } remove { } } - public event System.EventHandler ReadOnlyChanged { add { } remove { } } - protected event System.EventHandler RowHeaderClick { add { } remove { } } - public event System.EventHandler Scroll { add { } remove { } } - public event System.EventHandler ShowParentDetailsButtonClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - public bool BeginEdit(System.Windows.Forms.DataGridColumnStyle gridColumn, int rowNumber) { throw null; } - public void BeginInit() { } - protected virtual void CancelEditing() { } - public void Collapse(int row) { } - protected internal virtual void ColumnStartedEditing(System.Drawing.Rectangle bounds) { } - protected internal virtual void ColumnStartedEditing(System.Windows.Forms.Control editingControl) { } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected virtual System.Windows.Forms.DataGridColumnStyle CreateGridColumn(System.ComponentModel.PropertyDescriptor prop) { throw null; } - protected virtual System.Windows.Forms.DataGridColumnStyle CreateGridColumn(System.ComponentModel.PropertyDescriptor prop, bool isDefault) { throw null; } - protected override void Dispose(bool disposing) { } - public bool EndEdit(System.Windows.Forms.DataGridColumnStyle gridColumn, int rowNumber, bool shouldAbort) { throw null; } - public void EndInit() { } - public void Expand(int row) { } - public System.Drawing.Rectangle GetCellBounds(int row, int col) { throw null; } - public System.Drawing.Rectangle GetCellBounds(System.Windows.Forms.DataGridCell dgc) { throw null; } - public System.Drawing.Rectangle GetCurrentCellBounds() { throw null; } - protected virtual string GetOutputTextDelimiter() { throw null; } - protected virtual void GridHScrolled(object sender, System.Windows.Forms.ScrollEventArgs se) { } - protected virtual void GridVScrolled(object sender, System.Windows.Forms.ScrollEventArgs se) { } - public System.Windows.Forms.DataGrid.HitTestInfo HitTest(System.Drawing.Point position) { throw null; } - public System.Windows.Forms.DataGrid.HitTestInfo HitTest(int x, int y) { throw null; } - public bool IsExpanded(int rowNumber) { throw null; } - public bool IsSelected(int row) { throw null; } - public void NavigateBack() { } - public void NavigateTo(int rowNumber, string relationName) { } - protected virtual void OnAllowNavigationChanged(System.EventArgs e) { } - protected void OnBackButtonClicked(object sender, System.EventArgs e) { } - protected override void OnBackColorChanged(System.EventArgs e) { } - protected virtual void OnBackgroundColorChanged(System.EventArgs e) { } - protected override void OnBindingContextChanged(System.EventArgs e) { } - protected virtual void OnBorderStyleChanged(System.EventArgs e) { } - protected virtual void OnCaptionVisibleChanged(System.EventArgs e) { } - protected virtual void OnCurrentCellChanged(System.EventArgs e) { } - protected virtual void OnDataSourceChanged(System.EventArgs e) { } - protected override void OnEnter(System.EventArgs e) { } - protected virtual void OnFlatModeChanged(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnForeColorChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs ke) { } - protected override void OnKeyPress(System.Windows.Forms.KeyPressEventArgs kpe) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs levent) { } - protected override void OnLeave(System.EventArgs e) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseWheel(System.Windows.Forms.MouseEventArgs e) { } - protected void OnNavigate(System.Windows.Forms.NavigateEventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs pe) { } - protected override void OnPaintBackground(System.Windows.Forms.PaintEventArgs ebe) { } - protected virtual void OnParentRowsLabelStyleChanged(System.EventArgs e) { } - protected virtual void OnParentRowsVisibleChanged(System.EventArgs e) { } - protected virtual void OnReadOnlyChanged(System.EventArgs e) { } - protected override void OnResize(System.EventArgs e) { } - protected void OnRowHeaderClick(System.EventArgs e) { } - protected void OnScroll(System.EventArgs e) { } - protected void OnShowParentDetailsButtonClicked(object sender, System.EventArgs e) { } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessGridKey(System.Windows.Forms.KeyEventArgs ke) { throw null; } - protected override bool ProcessKeyPreview(ref System.Windows.Forms.Message m) { throw null; } - protected bool ProcessTabKey(System.Windows.Forms.Keys keyData) { throw null; } - public void ResetAlternatingBackColor() { } - public override void ResetBackColor() { } - public override void ResetForeColor() { } - public void ResetGridLineColor() { } - public void ResetHeaderBackColor() { } - public void ResetHeaderFont() { } - public void ResetHeaderForeColor() { } - public void ResetLinkColor() { } - public void ResetLinkHoverColor() { } - protected void ResetSelection() { } - public void ResetSelectionBackColor() { } - public void ResetSelectionForeColor() { } - public void Select(int row) { } - public void SetDataBinding(object dataSource, string dataMember) { } - protected virtual bool ShouldSerializeAlternatingBackColor() { throw null; } - protected virtual bool ShouldSerializeBackgroundColor() { throw null; } - protected virtual bool ShouldSerializeCaptionBackColor() { throw null; } - protected virtual bool ShouldSerializeCaptionForeColor() { throw null; } - protected virtual bool ShouldSerializeGridLineColor() { throw null; } - protected virtual bool ShouldSerializeHeaderBackColor() { throw null; } - protected bool ShouldSerializeHeaderFont() { throw null; } - protected virtual bool ShouldSerializeHeaderForeColor() { throw null; } - protected virtual bool ShouldSerializeLinkHoverColor() { throw null; } - protected virtual bool ShouldSerializeParentRowsBackColor() { throw null; } - protected virtual bool ShouldSerializeParentRowsForeColor() { throw null; } - protected bool ShouldSerializePreferredRowHeight() { throw null; } - protected bool ShouldSerializeSelectionBackColor() { throw null; } - protected virtual bool ShouldSerializeSelectionForeColor() { throw null; } - public void SubObjectsSiteChange(bool site) { } - public void UnSelect(int row) { } - public sealed partial class HitTestInfo - { - internal HitTestInfo() { } - public static readonly System.Windows.Forms.DataGrid.HitTestInfo Nowhere; - public int Column { get { throw null; } } - public int Row { get { throw null; } } - public System.Windows.Forms.DataGrid.HitTestType Type { get { throw null; } } - public override bool Equals(object value) { throw null; } - public override int GetHashCode() { throw null; } - public override string ToString() { throw null; } - } - [System.FlagsAttribute] - public enum HitTestType - { - Caption = 32, - Cell = 1, - ColumnHeader = 2, - ColumnResize = 8, - None = 0, - ParentRows = 64, - RowHeader = 4, - RowResize = 16, - } - } - public partial class DataGridBoolColumn : System.Windows.Forms.DataGridColumnStyle - { - public DataGridBoolColumn() { } - public DataGridBoolColumn(System.ComponentModel.PropertyDescriptor prop) { } - public DataGridBoolColumn(System.ComponentModel.PropertyDescriptor prop, bool isDefault) { } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowNull { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object FalseValue { get { throw null; } set { } } - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object NullValue { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object TrueValue { get { throw null; } set { } } - public event System.EventHandler AllowNullChanged { add { } remove { } } - public event System.EventHandler FalseValueChanged { add { } remove { } } - public event System.EventHandler TrueValueChanged { add { } remove { } } - protected internal override void Abort(int rowNum) { } - protected internal override bool Commit(System.Windows.Forms.CurrencyManager dataSource, int rowNum) { throw null; } - protected internal override void ConcedeFocus() { } - protected internal override void Edit(System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Rectangle bounds, bool readOnly, string displayText, bool cellIsVisible) { } - protected internal override void EnterNullValue() { } - protected internal override object GetColumnValueAtRow(System.Windows.Forms.CurrencyManager lm, int row) { throw null; } - protected internal override int GetMinimumHeight() { throw null; } - protected internal override int GetPreferredHeight(System.Drawing.Graphics g, object value) { throw null; } - protected internal override System.Drawing.Size GetPreferredSize(System.Drawing.Graphics g, object value) { throw null; } - protected internal override void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum) { } - protected internal override void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, bool alignToRight) { } - protected internal override void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Brush backBrush, System.Drawing.Brush foreBrush, bool alignToRight) { } - protected internal override void SetColumnValueAtRow(System.Windows.Forms.CurrencyManager lm, int row, object value) { } - } - public partial struct DataGridCell - { - private int _dummyPrimitive; - public DataGridCell(int r, int c) { throw null; } - public int ColumnNumber { get { throw null; } set { } } - public int RowNumber { get { throw null; } set { } } - public override bool Equals(object o) { throw null; } - public override int GetHashCode() { throw null; } - public override string ToString() { throw null; } - } - [System.ComponentModel.DefaultPropertyAttribute("Header")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public abstract partial class DataGridColumnStyle : System.ComponentModel.Component, System.Windows.Forms.IDataGridColumnStyleEditingNotificationService - { - public DataGridColumnStyle() { } - public DataGridColumnStyle(System.ComponentModel.PropertyDescriptor prop) { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.HorizontalAlignment.Left)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Windows.Forms.HorizontalAlignment Alignment { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual System.Windows.Forms.DataGridTableStyle DataGridTableStyle { get { throw null; } } - protected int FontHeight { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.AccessibleObject HeaderAccessibleObject { get { throw null; } } - [System.ComponentModel.LocalizableAttribute(true)] - public virtual string HeaderText { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string MappingName { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public virtual string NullText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.ComponentModel.PropertyDescriptor PropertyDescriptor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public virtual bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(100)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual int Width { get { throw null; } set { } } - public event System.EventHandler AlignmentChanged { add { } remove { } } - public event System.EventHandler FontChanged { add { } remove { } } - public event System.EventHandler HeaderTextChanged { add { } remove { } } - public event System.EventHandler MappingNameChanged { add { } remove { } } - public event System.EventHandler NullTextChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler PropertyDescriptorChanged { add { } remove { } } - public event System.EventHandler ReadOnlyChanged { add { } remove { } } - public event System.EventHandler WidthChanged { add { } remove { } } - protected internal abstract void Abort(int rowNum); - protected void BeginUpdate() { } - protected void CheckValidDataSource(System.Windows.Forms.CurrencyManager value) { } - protected internal virtual void ColumnStartedEditing(System.Windows.Forms.Control editingControl) { } - protected internal abstract bool Commit(System.Windows.Forms.CurrencyManager dataSource, int rowNum); - protected internal virtual void ConcedeFocus() { } - protected virtual System.Windows.Forms.AccessibleObject CreateHeaderAccessibleObject() { throw null; } - protected internal virtual void Edit(System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Rectangle bounds, bool readOnly) { } - protected internal virtual void Edit(System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Rectangle bounds, bool readOnly, string displayText) { } - protected internal abstract void Edit(System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Rectangle bounds, bool readOnly, string displayText, bool cellIsVisible); - protected void EndUpdate() { } - protected internal virtual void EnterNullValue() { } - protected internal virtual object GetColumnValueAtRow(System.Windows.Forms.CurrencyManager source, int rowNum) { throw null; } - protected internal abstract int GetMinimumHeight(); - protected internal abstract int GetPreferredHeight(System.Drawing.Graphics g, object value); - protected internal abstract System.Drawing.Size GetPreferredSize(System.Drawing.Graphics g, object value); - protected virtual void Invalidate() { } - protected internal abstract void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum); - protected internal abstract void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, bool alignToRight); - protected internal virtual void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Brush backBrush, System.Drawing.Brush foreBrush, bool alignToRight) { } - protected internal virtual void ReleaseHostedControl() { } - public void ResetHeaderText() { } - protected internal virtual void SetColumnValueAtRow(System.Windows.Forms.CurrencyManager source, int rowNum, object value) { } - protected virtual void SetDataGrid(System.Windows.Forms.DataGrid value) { } - protected virtual void SetDataGridInColumn(System.Windows.Forms.DataGrid value) { } - void System.Windows.Forms.IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing(System.Windows.Forms.Control editingControl) { } - protected internal virtual void UpdateUI(System.Windows.Forms.CurrencyManager source, int rowNum, string displayText) { } - protected partial class CompModSwitches - { - public CompModSwitches() { } - public static System.Diagnostics.TraceSwitch DGEditColumnEditing { get { throw null; } } - } - protected partial class DataGridColumnHeaderAccessibleObject : System.Windows.Forms.AccessibleObject - { - public DataGridColumnHeaderAccessibleObject() { } - public DataGridColumnHeaderAccessibleObject(System.Windows.Forms.DataGridColumnStyle owner) { } - public override System.Drawing.Rectangle Bounds { get { throw null; } } - public override string Name { get { throw null; } } - protected System.Windows.Forms.DataGridColumnStyle Owner { get { throw null; } } - public override System.Windows.Forms.AccessibleObject Parent { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleObject Navigate(System.Windows.Forms.AccessibleNavigation navdir) { throw null; } - } - } - public enum DataGridLineStyle - { - None = 0, - Solid = 1, - } - public enum DataGridParentRowsLabelStyle - { - Both = 3, - ColumnName = 2, - None = 0, - TableName = 1, - } - public partial class DataGridPreferredColumnWidthTypeConverter : System.ComponentModel.TypeConverter - { - public DataGridPreferredColumnWidthTypeConverter() { } - public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - } - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public partial class DataGridTableStyle : System.ComponentModel.Component, System.Windows.Forms.IDataGridEditingService - { - public static readonly System.Windows.Forms.DataGridTableStyle DefaultTableStyle; - public DataGridTableStyle() { } - public DataGridTableStyle(bool isDefaultTableStyle) { } - public DataGridTableStyle(System.Windows.Forms.CurrencyManager listManager) { } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowSorting { get { throw null; } set { } } - public System.Drawing.Color AlternatingBackColor { get { throw null; } set { } } - public System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ColumnHeadersVisible { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual System.Windows.Forms.DataGrid DataGrid { get { throw null; } set { } } - public System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Windows.Forms.GridColumnStylesCollection GridColumnStyles { get { throw null; } } - public System.Drawing.Color GridLineColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridLineStyle.Solid)] - public System.Windows.Forms.DataGridLineStyle GridLineStyle { get { throw null; } set { } } - public System.Drawing.Color HeaderBackColor { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Font HeaderFont { get { throw null; } set { } } - public System.Drawing.Color HeaderForeColor { get { throw null; } set { } } - public System.Drawing.Color LinkColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public System.Drawing.Color LinkHoverColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - public string MappingName { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(75)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.DataGridPreferredColumnWidthTypeConverter))] - public int PreferredColumnWidth { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public int PreferredRowHeight { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public virtual bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool RowHeadersVisible { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(35)] - [System.ComponentModel.LocalizableAttribute(true)] - public int RowHeaderWidth { get { throw null; } set { } } - public System.Drawing.Color SelectionBackColor { get { throw null; } set { } } - [System.ComponentModel.DescriptionAttribute("The foreground color for the current data grid row")] - public System.Drawing.Color SelectionForeColor { get { throw null; } set { } } - public event System.EventHandler AllowSortingChanged { add { } remove { } } - public event System.EventHandler AlternatingBackColorChanged { add { } remove { } } - public event System.EventHandler BackColorChanged { add { } remove { } } - public event System.EventHandler ColumnHeadersVisibleChanged { add { } remove { } } - public event System.EventHandler ForeColorChanged { add { } remove { } } - public event System.EventHandler GridLineColorChanged { add { } remove { } } - public event System.EventHandler GridLineStyleChanged { add { } remove { } } - public event System.EventHandler HeaderBackColorChanged { add { } remove { } } - public event System.EventHandler HeaderFontChanged { add { } remove { } } - public event System.EventHandler HeaderForeColorChanged { add { } remove { } } - public event System.EventHandler LinkColorChanged { add { } remove { } } - public event System.EventHandler LinkHoverColorChanged { add { } remove { } } - public event System.EventHandler MappingNameChanged { add { } remove { } } - public event System.EventHandler PreferredColumnWidthChanged { add { } remove { } } - public event System.EventHandler PreferredRowHeightChanged { add { } remove { } } - public event System.EventHandler ReadOnlyChanged { add { } remove { } } - public event System.EventHandler RowHeadersVisibleChanged { add { } remove { } } - public event System.EventHandler RowHeaderWidthChanged { add { } remove { } } - public event System.EventHandler SelectionBackColorChanged { add { } remove { } } - public event System.EventHandler SelectionForeColorChanged { add { } remove { } } - public bool BeginEdit(System.Windows.Forms.DataGridColumnStyle gridColumn, int rowNumber) { throw null; } - protected internal virtual System.Windows.Forms.DataGridColumnStyle CreateGridColumn(System.ComponentModel.PropertyDescriptor prop) { throw null; } - protected internal virtual System.Windows.Forms.DataGridColumnStyle CreateGridColumn(System.ComponentModel.PropertyDescriptor prop, bool isDefault) { throw null; } - protected override void Dispose(bool disposing) { } - public bool EndEdit(System.Windows.Forms.DataGridColumnStyle gridColumn, int rowNumber, bool shouldAbort) { throw null; } - protected virtual void OnAllowSortingChanged(System.EventArgs e) { } - protected virtual void OnAlternatingBackColorChanged(System.EventArgs e) { } - protected virtual void OnBackColorChanged(System.EventArgs e) { } - protected virtual void OnColumnHeadersVisibleChanged(System.EventArgs e) { } - protected virtual void OnForeColorChanged(System.EventArgs e) { } - protected virtual void OnGridLineColorChanged(System.EventArgs e) { } - protected virtual void OnGridLineStyleChanged(System.EventArgs e) { } - protected virtual void OnHeaderBackColorChanged(System.EventArgs e) { } - protected virtual void OnHeaderFontChanged(System.EventArgs e) { } - protected virtual void OnHeaderForeColorChanged(System.EventArgs e) { } - protected virtual void OnLinkColorChanged(System.EventArgs e) { } - protected virtual void OnLinkHoverColorChanged(System.EventArgs e) { } - protected virtual void OnMappingNameChanged(System.EventArgs e) { } - protected virtual void OnPreferredColumnWidthChanged(System.EventArgs e) { } - protected virtual void OnPreferredRowHeightChanged(System.EventArgs e) { } - protected virtual void OnReadOnlyChanged(System.EventArgs e) { } - protected virtual void OnRowHeadersVisibleChanged(System.EventArgs e) { } - protected virtual void OnRowHeaderWidthChanged(System.EventArgs e) { } - protected virtual void OnSelectionBackColorChanged(System.EventArgs e) { } - protected virtual void OnSelectionForeColorChanged(System.EventArgs e) { } - public void ResetAlternatingBackColor() { } - public void ResetBackColor() { } - public void ResetForeColor() { } - public void ResetGridLineColor() { } - public void ResetHeaderBackColor() { } - public void ResetHeaderFont() { } - public void ResetHeaderForeColor() { } - public void ResetLinkColor() { } - public void ResetLinkHoverColor() { } - public void ResetSelectionBackColor() { } - public void ResetSelectionForeColor() { } - protected virtual bool ShouldSerializeAlternatingBackColor() { throw null; } - protected bool ShouldSerializeBackColor() { throw null; } - protected bool ShouldSerializeForeColor() { throw null; } - protected virtual bool ShouldSerializeGridLineColor() { throw null; } - protected virtual bool ShouldSerializeHeaderBackColor() { throw null; } - protected virtual bool ShouldSerializeHeaderForeColor() { throw null; } - protected virtual bool ShouldSerializeLinkColor() { throw null; } - protected virtual bool ShouldSerializeLinkHoverColor() { throw null; } - protected bool ShouldSerializePreferredRowHeight() { throw null; } - protected bool ShouldSerializeSelectionBackColor() { throw null; } - protected virtual bool ShouldSerializeSelectionForeColor() { throw null; } - } - [System.ComponentModel.DefaultPropertyAttribute("GridEditName")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public partial class DataGridTextBox : System.Windows.Forms.TextBox - { - public DataGridTextBox() { } - public bool IsInEditOrNavigateMode { get { throw null; } set { } } - protected override void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e) { } - protected override void OnMouseWheel(System.Windows.Forms.MouseEventArgs e) { } - protected internal override bool ProcessKeyMessage(ref System.Windows.Forms.Message m) { throw null; } - public void SetDataGrid(System.Windows.Forms.DataGrid parentGrid) { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public partial class DataGridTextBoxColumn : System.Windows.Forms.DataGridColumnStyle - { - public DataGridTextBoxColumn() { } - public DataGridTextBoxColumn(System.ComponentModel.PropertyDescriptor prop) { } - public DataGridTextBoxColumn(System.ComponentModel.PropertyDescriptor prop, bool isDefault) { } - public DataGridTextBoxColumn(System.ComponentModel.PropertyDescriptor prop, string format) { } - public DataGridTextBoxColumn(System.ComponentModel.PropertyDescriptor prop, string format, bool isDefault) { } - [System.ComponentModel.DefaultValueAttribute(null)] - public string Format { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IFormatProvider FormatInfo { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public override System.ComponentModel.PropertyDescriptor PropertyDescriptor { set { } } - public override bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual System.Windows.Forms.TextBox TextBox { get { throw null; } } - protected internal override void Abort(int rowNum) { } - protected internal override bool Commit(System.Windows.Forms.CurrencyManager dataSource, int rowNum) { throw null; } - protected internal override void ConcedeFocus() { } - protected internal override void Edit(System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Rectangle bounds, bool readOnly, string displayText, bool cellIsVisible) { } - protected void EndEdit() { } - protected internal override void EnterNullValue() { } - protected internal override int GetMinimumHeight() { throw null; } - protected internal override int GetPreferredHeight(System.Drawing.Graphics g, object value) { throw null; } - protected internal override System.Drawing.Size GetPreferredSize(System.Drawing.Graphics g, object value) { throw null; } - protected void HideEditBox() { } - protected internal override void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum) { } - protected internal override void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, bool alignToRight) { } - protected internal override void Paint(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Brush backBrush, System.Drawing.Brush foreBrush, bool alignToRight) { } - protected void PaintText(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string text, bool alignToRight) { } - protected void PaintText(System.Drawing.Graphics g, System.Drawing.Rectangle textBounds, string text, System.Drawing.Brush backBrush, System.Drawing.Brush foreBrush, bool alignToRight) { } - protected internal override void ReleaseHostedControl() { } - protected override void SetDataGridInColumn(System.Windows.Forms.DataGrid value) { } - protected internal override void UpdateUI(System.Windows.Forms.CurrencyManager source, int rowNum, string displayText) { } - } - [System.ComponentModel.ComplexBindingPropertiesAttribute("DataSource", "DataMember")] - [System.ComponentModel.DefaultEventAttribute("CellContentClick")] - [System.Windows.Forms.DockingAttribute(System.Windows.Forms.DockingBehavior.Ask)] - public partial class DataGridView : System.Windows.Forms.Control, System.ComponentModel.ISupportInitialize - { - public DataGridView() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Windows.Forms.DataGridViewAdvancedBorderStyle AdjustedTopLeftHeaderBorderStyle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.DataGridViewAdvancedBorderStyle AdvancedCellBorderStyle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.DataGridViewAdvancedBorderStyle AdvancedColumnHeadersBorderStyle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.DataGridViewAdvancedBorderStyle AdvancedRowHeadersBorderStyle { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowUserToAddRows { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowUserToDeleteRows { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool AllowUserToOrderColumns { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowUserToResizeColumns { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowUserToResizeRows { get { throw null; } set { } } - public System.Windows.Forms.DataGridViewCellStyle AlternatingRowsDefaultCellStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool AutoGenerateColumns { get { throw null; } set { } } - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.None)] - public System.Windows.Forms.DataGridViewAutoSizeColumnsMode AutoSizeColumnsMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewAutoSizeRowsMode.None)] - public System.Windows.Forms.DataGridViewAutoSizeRowsMode AutoSizeRowsMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color BackColor { get { throw null; } set { } } - public System.Drawing.Color BackgroundColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.FixedSingle)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - protected override bool CanEnableIme { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewCellBorderStyle.Single)] - public System.Windows.Forms.DataGridViewCellBorderStyle CellBorderStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithAutoHeaderText)] - public System.Windows.Forms.DataGridViewClipboardCopyMode ClipboardCopyMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public int ColumnCount { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewHeaderBorderStyle.Raised)] - public System.Windows.Forms.DataGridViewHeaderBorderStyle ColumnHeadersBorderStyle { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(null)] - public System.Windows.Forms.DataGridViewCellStyle ColumnHeadersDefaultCellStyle { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public int ColumnHeadersHeight { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.EnableResizing)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode ColumnHeadersHeightSizeMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ColumnHeadersVisible { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.DataGridViewColumnCollection Columns { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.DataGridViewCell CurrentCell { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Point CurrentCellAddress { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.DataGridViewRow CurrentRow { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute("")] - public string DataMember { get { throw null; } set { } } - [System.ComponentModel.AttributeProviderAttribute(typeof(System.ComponentModel.IListSource))] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public object DataSource { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(null)] - public System.Windows.Forms.DataGridViewCellStyle DefaultCellStyle { get { throw null; } set { } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - public override System.Drawing.Rectangle DisplayRectangle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.Control EditingControl { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.Panel EditingPanel { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewEditMode.EditOnKeystrokeOrF2)] - public System.Windows.Forms.DataGridViewEditMode EditMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool EnableHeadersVisualStyles { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.DataGridViewCell FirstDisplayedCell { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public int FirstDisplayedScrollingColumnHiddenWidth { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int FirstDisplayedScrollingColumnIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int FirstDisplayedScrollingRowIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - public System.Drawing.Color GridColor { get { throw null; } set { } } - protected System.Windows.Forms.ScrollBar HorizontalScrollBar { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int HorizontalScrollingOffset { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsCurrentCellDirty { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsCurrentCellInEditMode { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsCurrentRowDirty { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.DataGridViewCell this[int columnIndex, int rowIndex] { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.DataGridViewCell this[string columnName, int rowIndex] { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool MultiSelect { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int NewRowIndex { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public int RowCount { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewHeaderBorderStyle.Raised)] - public System.Windows.Forms.DataGridViewHeaderBorderStyle RowHeadersBorderStyle { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(null)] - public System.Windows.Forms.DataGridViewCellStyle RowHeadersDefaultCellStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool RowHeadersVisible { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public int RowHeadersWidth { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.EnableResizing)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode RowHeadersWidthSizeMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.DataGridViewRowCollection Rows { get { throw null; } } - public System.Windows.Forms.DataGridViewCellStyle RowsDefaultCellStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - public System.Windows.Forms.DataGridViewRow RowTemplate { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ScrollBars.Both)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.ScrollBars ScrollBars { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.DataGridViewSelectedCellCollection SelectedCells { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.DataGridViewSelectedColumnCollection SelectedColumns { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.DataGridViewSelectedRowCollection SelectedRows { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewSelectionMode.RowHeaderSelect)] - public System.Windows.Forms.DataGridViewSelectionMode SelectionMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowCellErrors { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowCellToolTips { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowEditingIcon { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowRowErrors { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.DataGridViewColumn SortedColumn { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.SortOrder SortOrder { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool StandardTab { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.DataGridViewHeaderCell TopLeftHeaderCell { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.Cursor UserSetCursor { get { throw null; } } - protected System.Windows.Forms.ScrollBar VerticalScrollBar { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int VerticalScrollingOffset { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool VirtualMode { get { throw null; } set { } } - public event System.EventHandler AllowUserToAddRowsChanged { add { } remove { } } - public event System.EventHandler AllowUserToDeleteRowsChanged { add { } remove { } } - public event System.EventHandler AllowUserToOrderColumnsChanged { add { } remove { } } - public event System.EventHandler AllowUserToResizeColumnsChanged { add { } remove { } } - public event System.EventHandler AllowUserToResizeRowsChanged { add { } remove { } } - public event System.EventHandler AlternatingRowsDefaultCellStyleChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler AutoGenerateColumnsChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewAutoSizeColumnModeEventHandler AutoSizeColumnModeChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewAutoSizeColumnsModeEventHandler AutoSizeColumnsModeChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewAutoSizeModeEventHandler AutoSizeRowsModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackColorChanged { add { } remove { } } - public event System.EventHandler BackgroundColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - public event System.EventHandler BorderStyleChanged { add { } remove { } } - public event System.Windows.Forms.QuestionEventHandler CancelRowEdit { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellCancelEventHandler CellBeginEdit { add { } remove { } } - public event System.EventHandler CellBorderStyleChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellClick { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellContentClick { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellContentDoubleClick { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewCellEventHandler CellContextMenuStripChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewCellContextMenuStripNeededEventHandler CellContextMenuStripNeeded { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellDoubleClick { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellEndEdit { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellEnter { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellErrorTextChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewCellErrorTextNeededEventHandler CellErrorTextNeeded { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellFormattingEventHandler CellFormatting { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellLeave { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellMouseEventHandler CellMouseClick { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellMouseEventHandler CellMouseDoubleClick { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellMouseEventHandler CellMouseDown { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellMouseEnter { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellMouseLeave { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellMouseEventHandler CellMouseMove { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellMouseEventHandler CellMouseUp { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellPaintingEventHandler CellPainting { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellParsingEventHandler CellParsing { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellStateChangedEventHandler CellStateChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellStyleChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellStyleContentChangedEventHandler CellStyleContentChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellToolTipTextChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewCellToolTipTextNeededEventHandler CellToolTipTextNeeded { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellValidated { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellValidatingEventHandler CellValidating { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler CellValueChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewCellValueEventHandler CellValueNeeded { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewCellValueEventHandler CellValuePushed { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnAdded { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnContextMenuStripChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnDataPropertyNameChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnDefaultCellStyleChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnDisplayIndexChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnDividerDoubleClickEventHandler ColumnDividerDoubleClick { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnDividerWidthChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnHeaderCellChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellMouseEventHandler ColumnHeaderMouseClick { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellMouseEventHandler ColumnHeaderMouseDoubleClick { add { } remove { } } - public event System.EventHandler ColumnHeadersBorderStyleChanged { add { } remove { } } - public event System.EventHandler ColumnHeadersDefaultCellStyleChanged { add { } remove { } } - public event System.EventHandler ColumnHeadersHeightChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewAutoSizeModeEventHandler ColumnHeadersHeightSizeModeChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnMinimumWidthChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnNameChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnRemoved { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnSortModeChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnStateChangedEventHandler ColumnStateChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnToolTipTextChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewColumnEventHandler ColumnWidthChanged { add { } remove { } } - public event System.EventHandler CurrentCellChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler CurrentCellDirtyStateChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewBindingCompleteEventHandler DataBindingComplete { add { } remove { } } - public event System.Windows.Forms.DataGridViewDataErrorEventHandler DataError { add { } remove { } } - public event System.EventHandler DataMemberChanged { add { } remove { } } - public event System.EventHandler DataSourceChanged { add { } remove { } } - public event System.EventHandler DefaultCellStyleChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewRowEventHandler DefaultValuesNeeded { add { } remove { } } - public event System.Windows.Forms.DataGridViewEditingControlShowingEventHandler EditingControlShowing { add { } remove { } } - public event System.EventHandler EditModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.EventHandler FontChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - public event System.EventHandler GridColorChanged { add { } remove { } } - public event System.EventHandler MultiSelectChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowEventHandler NewRowNeeded { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - public event System.EventHandler ReadOnlyChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowEventHandler RowContextMenuStripChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewRowContextMenuStripNeededEventHandler RowContextMenuStripNeeded { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowEventHandler RowDefaultCellStyleChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.QuestionEventHandler RowDirtyStateNeeded { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowDividerDoubleClickEventHandler RowDividerDoubleClick { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowEventHandler RowDividerHeightChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler RowEnter { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowEventHandler RowErrorTextChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewRowErrorTextNeededEventHandler RowErrorTextNeeded { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowEventHandler RowHeaderCellChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellMouseEventHandler RowHeaderMouseClick { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellMouseEventHandler RowHeaderMouseDoubleClick { add { } remove { } } - public event System.EventHandler RowHeadersBorderStyleChanged { add { } remove { } } - public event System.EventHandler RowHeadersDefaultCellStyleChanged { add { } remove { } } - public event System.EventHandler RowHeadersWidthChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewAutoSizeModeEventHandler RowHeadersWidthSizeModeChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowEventHandler RowHeightChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewRowHeightInfoNeededEventHandler RowHeightInfoNeeded { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewRowHeightInfoPushedEventHandler RowHeightInfoPushed { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler RowLeave { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowEventHandler RowMinimumHeightChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowPostPaintEventHandler RowPostPaint { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowPrePaintEventHandler RowPrePaint { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowsAddedEventHandler RowsAdded { add { } remove { } } - public event System.EventHandler RowsDefaultCellStyleChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowsRemovedEventHandler RowsRemoved { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowStateChangedEventHandler RowStateChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewRowEventHandler RowUnshared { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellEventHandler RowValidated { add { } remove { } } - public event System.Windows.Forms.DataGridViewCellCancelEventHandler RowValidating { add { } remove { } } - public event System.Windows.Forms.ScrollEventHandler Scroll { add { } remove { } } - public event System.EventHandler SelectionChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DataGridViewSortCompareEventHandler SortCompare { add { } remove { } } - public event System.EventHandler Sorted { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler StyleChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowEventHandler UserAddedRow { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowEventHandler UserDeletedRow { add { } remove { } } - public event System.Windows.Forms.DataGridViewRowCancelEventHandler UserDeletingRow { add { } remove { } } - protected virtual void AccessibilityNotifyCurrentCellChanged(System.Drawing.Point cellAddress) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Windows.Forms.DataGridViewAdvancedBorderStyle AdjustColumnHeaderBorderStyle(System.Windows.Forms.DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStyleInput, System.Windows.Forms.DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStylePlaceholder, bool isFirstDisplayedColumn, bool isLastVisibleColumn) { throw null; } - public bool AreAllCellsSelected(bool includeInvisibleCells) { throw null; } - public void AutoResizeColumn(int columnIndex) { } - public void AutoResizeColumn(int columnIndex, System.Windows.Forms.DataGridViewAutoSizeColumnMode autoSizeColumnMode) { } - protected void AutoResizeColumn(int columnIndex, System.Windows.Forms.DataGridViewAutoSizeColumnMode autoSizeColumnMode, bool fixedHeight) { } - public void AutoResizeColumnHeadersHeight() { } - protected void AutoResizeColumnHeadersHeight(bool fixedRowHeadersWidth, bool fixedColumnsWidth) { } - public void AutoResizeColumnHeadersHeight(int columnIndex) { } - protected void AutoResizeColumnHeadersHeight(int columnIndex, bool fixedRowHeadersWidth, bool fixedColumnWidth) { } - public void AutoResizeColumns() { } - public void AutoResizeColumns(System.Windows.Forms.DataGridViewAutoSizeColumnsMode autoSizeColumnsMode) { } - protected void AutoResizeColumns(System.Windows.Forms.DataGridViewAutoSizeColumnsMode autoSizeColumnsMode, bool fixedHeight) { } - public void AutoResizeRow(int rowIndex) { } - public void AutoResizeRow(int rowIndex, System.Windows.Forms.DataGridViewAutoSizeRowMode autoSizeRowMode) { } - protected void AutoResizeRow(int rowIndex, System.Windows.Forms.DataGridViewAutoSizeRowMode autoSizeRowMode, bool fixedWidth) { } - public void AutoResizeRowHeadersWidth(int rowIndex, System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode rowHeadersWidthSizeMode) { } - protected void AutoResizeRowHeadersWidth(int rowIndex, System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode rowHeadersWidthSizeMode, bool fixedColumnHeadersHeight, bool fixedRowHeight) { } - public void AutoResizeRowHeadersWidth(System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode rowHeadersWidthSizeMode) { } - protected void AutoResizeRowHeadersWidth(System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode rowHeadersWidthSizeMode, bool fixedColumnHeadersHeight, bool fixedRowsHeight) { } - public void AutoResizeRows() { } - protected void AutoResizeRows(int rowIndexStart, int rowsCount, System.Windows.Forms.DataGridViewAutoSizeRowMode autoSizeRowMode, bool fixedWidth) { } - public void AutoResizeRows(System.Windows.Forms.DataGridViewAutoSizeRowsMode autoSizeRowsMode) { } - protected void AutoResizeRows(System.Windows.Forms.DataGridViewAutoSizeRowsMode autoSizeRowsMode, bool fixedWidth) { } - public virtual bool BeginEdit(bool selectAll) { throw null; } - public bool CancelEdit() { throw null; } - public void ClearSelection() { } - protected void ClearSelection(int columnIndexException, int rowIndexException, bool selectExceptionElement) { } - public bool CommitEdit(System.Windows.Forms.DataGridViewDataErrorContexts context) { throw null; } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual System.Windows.Forms.DataGridViewColumnCollection CreateColumnsInstance() { throw null; } - protected override System.Windows.Forms.Control.ControlCollection CreateControlsInstance() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual System.Windows.Forms.DataGridViewRowCollection CreateRowsInstance() { throw null; } - public int DisplayedColumnCount(bool includePartialColumns) { throw null; } - public int DisplayedRowCount(bool includePartialRow) { throw null; } - protected override void Dispose(bool disposing) { } - public bool EndEdit() { throw null; } - public bool EndEdit(System.Windows.Forms.DataGridViewDataErrorContexts context) { throw null; } - protected override System.Windows.Forms.AccessibleObject GetAccessibilityObjectById(int objectId) { throw null; } - public int GetCellCount(System.Windows.Forms.DataGridViewElementStates includeFilter) { throw null; } - public System.Drawing.Rectangle GetCellDisplayRectangle(int columnIndex, int rowIndex, bool cutOverflow) { throw null; } - public virtual System.Windows.Forms.DataObject GetClipboardContent() { throw null; } - public System.Drawing.Rectangle GetColumnDisplayRectangle(int columnIndex, bool cutOverflow) { throw null; } - public System.Drawing.Rectangle GetRowDisplayRectangle(int rowIndex, bool cutOverflow) { throw null; } - public System.Windows.Forms.DataGridView.HitTestInfo HitTest(int x, int y) { throw null; } - public void InvalidateCell(int columnIndex, int rowIndex) { } - public void InvalidateCell(System.Windows.Forms.DataGridViewCell dataGridViewCell) { } - public void InvalidateColumn(int columnIndex) { } - public void InvalidateRow(int rowIndex) { } - protected override bool IsInputChar(char charCode) { throw null; } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - public virtual void NotifyCurrentCellDirty(bool dirty) { } - protected virtual void OnAllowUserToAddRowsChanged(System.EventArgs e) { } - protected virtual void OnAllowUserToDeleteRowsChanged(System.EventArgs e) { } - protected virtual void OnAllowUserToOrderColumnsChanged(System.EventArgs e) { } - protected virtual void OnAllowUserToResizeColumnsChanged(System.EventArgs e) { } - protected virtual void OnAllowUserToResizeRowsChanged(System.EventArgs e) { } - protected virtual void OnAlternatingRowsDefaultCellStyleChanged(System.EventArgs e) { } - protected virtual void OnAutoGenerateColumnsChanged(System.EventArgs e) { } - protected virtual void OnAutoSizeColumnModeChanged(System.Windows.Forms.DataGridViewAutoSizeColumnModeEventArgs e) { } - protected virtual void OnAutoSizeColumnsModeChanged(System.Windows.Forms.DataGridViewAutoSizeColumnsModeEventArgs e) { } - protected virtual void OnAutoSizeRowsModeChanged(System.Windows.Forms.DataGridViewAutoSizeModeEventArgs e) { } - protected virtual void OnBackgroundColorChanged(System.EventArgs e) { } - protected override void OnBindingContextChanged(System.EventArgs e) { } - protected virtual void OnBorderStyleChanged(System.EventArgs e) { } - protected virtual void OnCancelRowEdit(System.Windows.Forms.QuestionEventArgs e) { } - protected virtual void OnCellBeginEdit(System.Windows.Forms.DataGridViewCellCancelEventArgs e) { } - protected virtual void OnCellBorderStyleChanged(System.EventArgs e) { } - protected virtual void OnCellClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellContentClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellContentDoubleClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellContextMenuStripChanged(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellContextMenuStripNeeded(System.Windows.Forms.DataGridViewCellContextMenuStripNeededEventArgs e) { } - protected virtual void OnCellDoubleClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellEndEdit(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellEnter(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellErrorTextChanged(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellErrorTextNeeded(System.Windows.Forms.DataGridViewCellErrorTextNeededEventArgs e) { } - protected virtual void OnCellFormatting(System.Windows.Forms.DataGridViewCellFormattingEventArgs e) { } - protected virtual void OnCellLeave(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellMouseClick(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void OnCellMouseDoubleClick(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void OnCellMouseDown(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void OnCellMouseEnter(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellMouseLeave(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellMouseMove(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void OnCellMouseUp(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected internal virtual void OnCellPainting(System.Windows.Forms.DataGridViewCellPaintingEventArgs e) { } - protected virtual void OnCellParsing(System.Windows.Forms.DataGridViewCellParsingEventArgs e) { } - protected virtual void OnCellStateChanged(System.Windows.Forms.DataGridViewCellStateChangedEventArgs e) { } - protected virtual void OnCellStyleChanged(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellStyleContentChanged(System.Windows.Forms.DataGridViewCellStyleContentChangedEventArgs e) { } - protected virtual void OnCellToolTipTextChanged(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellToolTipTextNeeded(System.Windows.Forms.DataGridViewCellToolTipTextNeededEventArgs e) { } - protected virtual void OnCellValidated(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellValidating(System.Windows.Forms.DataGridViewCellValidatingEventArgs e) { } - protected virtual void OnCellValueChanged(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnCellValueNeeded(System.Windows.Forms.DataGridViewCellValueEventArgs e) { } - protected virtual void OnCellValuePushed(System.Windows.Forms.DataGridViewCellValueEventArgs e) { } - protected virtual void OnColumnAdded(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnColumnContextMenuStripChanged(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnColumnDataPropertyNameChanged(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnColumnDefaultCellStyleChanged(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnColumnDisplayIndexChanged(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnColumnDividerDoubleClick(System.Windows.Forms.DataGridViewColumnDividerDoubleClickEventArgs e) { } - protected virtual void OnColumnDividerWidthChanged(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnColumnHeaderCellChanged(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnColumnHeaderMouseClick(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void OnColumnHeaderMouseDoubleClick(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void OnColumnHeadersBorderStyleChanged(System.EventArgs e) { } - protected virtual void OnColumnHeadersDefaultCellStyleChanged(System.EventArgs e) { } - protected virtual void OnColumnHeadersHeightChanged(System.EventArgs e) { } - protected virtual void OnColumnHeadersHeightSizeModeChanged(System.Windows.Forms.DataGridViewAutoSizeModeEventArgs e) { } - protected virtual void OnColumnMinimumWidthChanged(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnColumnNameChanged(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnColumnRemoved(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnColumnSortModeChanged(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnColumnStateChanged(System.Windows.Forms.DataGridViewColumnStateChangedEventArgs e) { } - protected virtual void OnColumnToolTipTextChanged(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnColumnWidthChanged(System.Windows.Forms.DataGridViewColumnEventArgs e) { } - protected virtual void OnCurrentCellChanged(System.EventArgs e) { } - protected virtual void OnCurrentCellDirtyStateChanged(System.EventArgs e) { } - protected override void OnCursorChanged(System.EventArgs e) { } - protected virtual void OnDataBindingComplete(System.Windows.Forms.DataGridViewBindingCompleteEventArgs e) { } - protected virtual void OnDataError(bool displayErrorDialogIfNoHandler, System.Windows.Forms.DataGridViewDataErrorEventArgs e) { } - protected virtual void OnDataMemberChanged(System.EventArgs e) { } - protected virtual void OnDataSourceChanged(System.EventArgs e) { } - protected virtual void OnDefaultCellStyleChanged(System.EventArgs e) { } - protected virtual void OnDefaultValuesNeeded(System.Windows.Forms.DataGridViewRowEventArgs e) { } - protected override void OnDoubleClick(System.EventArgs e) { } - protected virtual void OnEditingControlShowing(System.Windows.Forms.DataGridViewEditingControlShowingEventArgs e) { } - protected virtual void OnEditModeChanged(System.EventArgs e) { } - protected override void OnEnabledChanged(System.EventArgs e) { } - protected override void OnEnter(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnForeColorChanged(System.EventArgs e) { } - protected override void OnGotFocus(System.EventArgs e) { } - protected virtual void OnGridColorChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnKeyUp(System.Windows.Forms.KeyEventArgs e) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs e) { } - protected override void OnLeave(System.EventArgs e) { } - protected override void OnLostFocus(System.EventArgs e) { } - protected override void OnMouseClick(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseDoubleClick(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseEnter(System.EventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseWheel(System.Windows.Forms.MouseEventArgs e) { } - protected virtual void OnMultiSelectChanged(System.EventArgs e) { } - protected virtual void OnNewRowNeeded(System.Windows.Forms.DataGridViewRowEventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected virtual void OnReadOnlyChanged(System.EventArgs e) { } - protected override void OnResize(System.EventArgs e) { } - protected override void OnRightToLeftChanged(System.EventArgs e) { } - protected virtual void OnRowContextMenuStripChanged(System.Windows.Forms.DataGridViewRowEventArgs e) { } - protected virtual void OnRowContextMenuStripNeeded(System.Windows.Forms.DataGridViewRowContextMenuStripNeededEventArgs e) { } - protected virtual void OnRowDefaultCellStyleChanged(System.Windows.Forms.DataGridViewRowEventArgs e) { } - protected virtual void OnRowDirtyStateNeeded(System.Windows.Forms.QuestionEventArgs e) { } - protected virtual void OnRowDividerDoubleClick(System.Windows.Forms.DataGridViewRowDividerDoubleClickEventArgs e) { } - protected virtual void OnRowDividerHeightChanged(System.Windows.Forms.DataGridViewRowEventArgs e) { } - protected virtual void OnRowEnter(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnRowErrorTextChanged(System.Windows.Forms.DataGridViewRowEventArgs e) { } - protected virtual void OnRowErrorTextNeeded(System.Windows.Forms.DataGridViewRowErrorTextNeededEventArgs e) { } - protected virtual void OnRowHeaderCellChanged(System.Windows.Forms.DataGridViewRowEventArgs e) { } - protected virtual void OnRowHeaderMouseClick(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void OnRowHeaderMouseDoubleClick(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void OnRowHeadersBorderStyleChanged(System.EventArgs e) { } - protected virtual void OnRowHeadersDefaultCellStyleChanged(System.EventArgs e) { } - protected virtual void OnRowHeadersWidthChanged(System.EventArgs e) { } - protected virtual void OnRowHeadersWidthSizeModeChanged(System.Windows.Forms.DataGridViewAutoSizeModeEventArgs e) { } - protected virtual void OnRowHeightChanged(System.Windows.Forms.DataGridViewRowEventArgs e) { } - protected virtual void OnRowHeightInfoNeeded(System.Windows.Forms.DataGridViewRowHeightInfoNeededEventArgs e) { } - protected virtual void OnRowHeightInfoPushed(System.Windows.Forms.DataGridViewRowHeightInfoPushedEventArgs e) { } - protected virtual void OnRowLeave(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnRowMinimumHeightChanged(System.Windows.Forms.DataGridViewRowEventArgs e) { } - protected internal virtual void OnRowPostPaint(System.Windows.Forms.DataGridViewRowPostPaintEventArgs e) { } - protected internal virtual void OnRowPrePaint(System.Windows.Forms.DataGridViewRowPrePaintEventArgs e) { } - protected virtual void OnRowsAdded(System.Windows.Forms.DataGridViewRowsAddedEventArgs e) { } - protected virtual void OnRowsDefaultCellStyleChanged(System.EventArgs e) { } - protected virtual void OnRowsRemoved(System.Windows.Forms.DataGridViewRowsRemovedEventArgs e) { } - protected virtual void OnRowStateChanged(int rowIndex, System.Windows.Forms.DataGridViewRowStateChangedEventArgs e) { } - protected virtual void OnRowUnshared(System.Windows.Forms.DataGridViewRowEventArgs e) { } - protected virtual void OnRowValidated(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnRowValidating(System.Windows.Forms.DataGridViewCellCancelEventArgs e) { } - protected virtual void OnScroll(System.Windows.Forms.ScrollEventArgs e) { } - protected virtual void OnSelectionChanged(System.EventArgs e) { } - protected virtual void OnSortCompare(System.Windows.Forms.DataGridViewSortCompareEventArgs e) { } - protected virtual void OnSorted(System.EventArgs e) { } - protected virtual void OnUserAddedRow(System.Windows.Forms.DataGridViewRowEventArgs e) { } - protected virtual void OnUserDeletedRow(System.Windows.Forms.DataGridViewRowEventArgs e) { } - protected virtual void OnUserDeletingRow(System.Windows.Forms.DataGridViewRowCancelEventArgs e) { } - protected override void OnValidating(System.ComponentModel.CancelEventArgs e) { } - protected override void OnVisibleChanged(System.EventArgs e) { } - protected virtual void PaintBackground(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle gridBounds) { } - protected bool ProcessAKey(System.Windows.Forms.Keys keyData) { throw null; } - protected virtual bool ProcessDataGridViewKey(System.Windows.Forms.KeyEventArgs e) { throw null; } - protected bool ProcessDeleteKey(System.Windows.Forms.Keys keyData) { throw null; } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessDownKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessEndKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessEnterKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessEscapeKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessF2Key(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessF3Key(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessHomeKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessInsertKey(System.Windows.Forms.Keys keyData) { throw null; } - protected override bool ProcessKeyEventArgs(ref System.Windows.Forms.Message m) { throw null; } - protected override bool ProcessKeyPreview(ref System.Windows.Forms.Message m) { throw null; } - protected bool ProcessLeftKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessNextKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessPriorKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessRightKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessSpaceKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessTabKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessUpKey(System.Windows.Forms.Keys keyData) { throw null; } - protected bool ProcessZeroKey(System.Windows.Forms.Keys keyData) { throw null; } - public bool RefreshEdit() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override void ResetText() { } - public void SelectAll() { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - protected virtual bool SetCurrentCellAddressCore(int columnIndex, int rowIndex, bool setAnchorCellAddress, bool validateCurrentCell, bool throughMouseClick) { throw null; } - protected virtual void SetSelectedCellCore(int columnIndex, int rowIndex, bool selected) { } - protected virtual void SetSelectedColumnCore(int columnIndex, bool selected) { } - protected virtual void SetSelectedRowCore(int rowIndex, bool selected) { } - public virtual void Sort(System.Collections.IComparer comparer) { } - public virtual void Sort(System.Windows.Forms.DataGridViewColumn dataGridViewColumn, System.ComponentModel.ListSortDirection direction) { } - void System.ComponentModel.ISupportInitialize.BeginInit() { } - void System.ComponentModel.ISupportInitialize.EndInit() { } - public void UpdateCellErrorText(int columnIndex, int rowIndex) { } - public void UpdateCellValue(int columnIndex, int rowIndex) { } - public void UpdateRowErrorText(int rowIndex) { } - public void UpdateRowErrorText(int rowIndexStart, int rowIndexEnd) { } - public void UpdateRowHeightInfo(int rowIndex, bool updateToEnd) { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - protected partial class DataGridViewAccessibleObject : System.Windows.Forms.Control.ControlAccessibleObject - { - public DataGridViewAccessibleObject(System.Windows.Forms.DataGridView owner) : base (default(System.Windows.Forms.Control)) { } - public override string Name { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleObject GetChild(int index) { throw null; } - public override int GetChildCount() { throw null; } - public override System.Windows.Forms.AccessibleObject GetFocused() { throw null; } - public override System.Windows.Forms.AccessibleObject GetSelected() { throw null; } - public override System.Windows.Forms.AccessibleObject HitTest(int x, int y) { throw null; } - public override System.Windows.Forms.AccessibleObject Navigate(System.Windows.Forms.AccessibleNavigation navigationDirection) { throw null; } - } - public partial class DataGridViewControlCollection : System.Windows.Forms.Control.ControlCollection - { - public DataGridViewControlCollection(System.Windows.Forms.DataGridView owner) : base (default(System.Windows.Forms.Control)) { } - public override void Clear() { } - public void CopyTo(System.Windows.Forms.Control[] array, int index) { } - public void Insert(int index, System.Windows.Forms.Control value) { } - public override void Remove(System.Windows.Forms.Control value) { } - } - protected partial class DataGridViewTopRowAccessibleObject : System.Windows.Forms.AccessibleObject - { - public DataGridViewTopRowAccessibleObject() { } - public DataGridViewTopRowAccessibleObject(System.Windows.Forms.DataGridView owner) { } - public override System.Drawing.Rectangle Bounds { get { throw null; } } - public override string Name { get { throw null; } } - public System.Windows.Forms.DataGridView Owner { get { throw null; } set { } } - public override System.Windows.Forms.AccessibleObject Parent { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override string Value { get { throw null; } } - public override System.Windows.Forms.AccessibleObject GetChild(int index) { throw null; } - public override int GetChildCount() { throw null; } - public override System.Windows.Forms.AccessibleObject Navigate(System.Windows.Forms.AccessibleNavigation navigationDirection) { throw null; } - } - public sealed partial class HitTestInfo - { - internal HitTestInfo() { } - public static readonly System.Windows.Forms.DataGridView.HitTestInfo Nowhere; - public int ColumnIndex { get { throw null; } } - public int ColumnX { get { throw null; } } - public int RowIndex { get { throw null; } } - public int RowY { get { throw null; } } - public System.Windows.Forms.DataGridViewHitTestType Type { get { throw null; } } - public override bool Equals(object value) { throw null; } - public override int GetHashCode() { throw null; } - public override string ToString() { throw null; } - } - } - public sealed partial class DataGridViewAdvancedBorderStyle : System.ICloneable - { - public DataGridViewAdvancedBorderStyle() { } - public System.Windows.Forms.DataGridViewAdvancedCellBorderStyle All { get { throw null; } set { } } - public System.Windows.Forms.DataGridViewAdvancedCellBorderStyle Bottom { get { throw null; } set { } } - public System.Windows.Forms.DataGridViewAdvancedCellBorderStyle Left { get { throw null; } set { } } - public System.Windows.Forms.DataGridViewAdvancedCellBorderStyle Right { get { throw null; } set { } } - public System.Windows.Forms.DataGridViewAdvancedCellBorderStyle Top { get { throw null; } set { } } - public override bool Equals(object other) { throw null; } - public override int GetHashCode() { throw null; } - object System.ICloneable.Clone() { throw null; } - public override string ToString() { throw null; } - } - public enum DataGridViewAdvancedCellBorderStyle - { - Inset = 3, - InsetDouble = 4, - None = 1, - NotSet = 0, - Outset = 5, - OutsetDouble = 6, - OutsetPartial = 7, - Single = 2, - } - public enum DataGridViewAutoSizeColumnMode - { - AllCells = 6, - AllCellsExceptHeader = 4, - ColumnHeader = 2, - DisplayedCells = 10, - DisplayedCellsExceptHeader = 8, - Fill = 16, - None = 1, - NotSet = 0, - } - public partial class DataGridViewAutoSizeColumnModeEventArgs : System.EventArgs - { - public DataGridViewAutoSizeColumnModeEventArgs(System.Windows.Forms.DataGridViewColumn dataGridViewColumn, System.Windows.Forms.DataGridViewAutoSizeColumnMode previousMode) { } - public System.Windows.Forms.DataGridViewColumn Column { get { throw null; } } - public System.Windows.Forms.DataGridViewAutoSizeColumnMode PreviousMode { get { throw null; } } - } - public delegate void DataGridViewAutoSizeColumnModeEventHandler(object sender, System.Windows.Forms.DataGridViewAutoSizeColumnModeEventArgs e); - public enum DataGridViewAutoSizeColumnsMode - { - AllCells = 6, - AllCellsExceptHeader = 4, - ColumnHeader = 2, - DisplayedCells = 10, - DisplayedCellsExceptHeader = 8, - Fill = 16, - None = 1, - } - public partial class DataGridViewAutoSizeColumnsModeEventArgs : System.EventArgs - { - public DataGridViewAutoSizeColumnsModeEventArgs(System.Windows.Forms.DataGridViewAutoSizeColumnMode[] previousModes) { } - public System.Windows.Forms.DataGridViewAutoSizeColumnMode[] PreviousModes { get { throw null; } } - } - public delegate void DataGridViewAutoSizeColumnsModeEventHandler(object sender, System.Windows.Forms.DataGridViewAutoSizeColumnsModeEventArgs e); - public partial class DataGridViewAutoSizeModeEventArgs : System.EventArgs - { - public DataGridViewAutoSizeModeEventArgs(bool previousModeAutoSized) { } - public bool PreviousModeAutoSized { get { throw null; } } - } - public delegate void DataGridViewAutoSizeModeEventHandler(object sender, System.Windows.Forms.DataGridViewAutoSizeModeEventArgs e); - public enum DataGridViewAutoSizeRowMode - { - AllCells = 3, - AllCellsExceptHeader = 2, - RowHeader = 1, - } - public enum DataGridViewAutoSizeRowsMode - { - AllCells = 7, - AllCellsExceptHeaders = 6, - AllHeaders = 5, - DisplayedCells = 11, - DisplayedCellsExceptHeaders = 10, - DisplayedHeaders = 9, - None = 0, - } - public partial class DataGridViewBand : System.Windows.Forms.DataGridViewElement, System.ICloneable, System.IDisposable - { - internal DataGridViewBand() { } - [System.ComponentModel.DefaultValueAttribute(null)] - public virtual System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual System.Windows.Forms.DataGridViewCellStyle DefaultCellStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Type DefaultHeaderCellType { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual bool Displayed { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public virtual bool Frozen { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool HasDefaultCellStyle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - protected System.Windows.Forms.DataGridViewHeaderCell HeaderCellCore { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public int Index { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual System.Windows.Forms.DataGridViewCellStyle InheritedStyle { get { throw null; } } - protected bool IsRow { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public virtual bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - public virtual System.Windows.Forms.DataGridViewTriState Resizable { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual bool Selected { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public virtual bool Visible { get { throw null; } set { } } - public virtual object Clone() { throw null; } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - ~DataGridViewBand() { } - protected override void OnDataGridViewChanged() { } - public override string ToString() { throw null; } - } - public partial class DataGridViewBindingCompleteEventArgs : System.EventArgs - { - public DataGridViewBindingCompleteEventArgs(System.ComponentModel.ListChangedType listChangedType) { } - public System.ComponentModel.ListChangedType ListChangedType { get { throw null; } } - } - public delegate void DataGridViewBindingCompleteEventHandler(object sender, System.Windows.Forms.DataGridViewBindingCompleteEventArgs e); - public partial class DataGridViewButtonCell : System.Windows.Forms.DataGridViewCell - { - public DataGridViewButtonCell() { } - public override System.Type EditType { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlatStyle.Standard)] - public System.Windows.Forms.FlatStyle FlatStyle { get { throw null; } set { } } - public override System.Type FormattedValueType { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseColumnTextForButtonValue { get { throw null; } set { } } - public override System.Type ValueType { get { throw null; } } - public override object Clone() { throw null; } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override System.Drawing.Rectangle GetContentBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override System.Drawing.Rectangle GetErrorIconBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override System.Drawing.Size GetPreferredSize(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex, System.Drawing.Size constraintSize) { throw null; } - protected override object GetValue(int rowIndex) { throw null; } - protected override bool KeyDownUnsharesRow(System.Windows.Forms.KeyEventArgs e, int rowIndex) { throw null; } - protected override bool KeyUpUnsharesRow(System.Windows.Forms.KeyEventArgs e, int rowIndex) { throw null; } - protected override bool MouseDownUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected override bool MouseEnterUnsharesRow(int rowIndex) { throw null; } - protected override bool MouseLeaveUnsharesRow(int rowIndex) { throw null; } - protected override bool MouseUpUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e, int rowIndex) { } - protected override void OnKeyUp(System.Windows.Forms.KeyEventArgs e, int rowIndex) { } - protected override void OnLeave(int rowIndex, bool throughMouseClick) { } - protected override void OnMouseDown(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void OnMouseLeave(int rowIndex) { } - protected override void OnMouseMove(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates elementState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - public override string ToString() { throw null; } - protected partial class DataGridViewButtonCellAccessibleObject : System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject - { - public DataGridViewButtonCellAccessibleObject(System.Windows.Forms.DataGridViewCell owner) { } - public override string DefaultAction { get { throw null; } } - public override void DoDefaultAction() { } - public override int GetChildCount() { throw null; } - } - } - [System.Drawing.ToolboxBitmapAttribute(typeof(System.Windows.Forms.DataGridViewButtonColumn), "DataGridViewButtonColumn.bmp")] - public partial class DataGridViewButtonColumn : System.Windows.Forms.DataGridViewColumn - { - public DataGridViewButtonColumn() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override System.Windows.Forms.DataGridViewCell CellTemplate { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - public override System.Windows.Forms.DataGridViewCellStyle DefaultCellStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlatStyle.Standard)] - public System.Windows.Forms.FlatStyle FlatStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseColumnTextForButtonValue { get { throw null; } set { } } - public override object Clone() { throw null; } - public override string ToString() { throw null; } - } - public abstract partial class DataGridViewCell : System.Windows.Forms.DataGridViewElement, System.ICloneable, System.IDisposable - { - protected DataGridViewCell() { } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.AccessibleObject AccessibilityObject { get { throw null; } } - public int ColumnIndex { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Rectangle ContentBounds { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(null)] - public virtual System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual object DefaultNewRowValue { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool Displayed { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public object EditedFormattedValue { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Type EditType { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Drawing.Rectangle ErrorIconBounds { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public string ErrorText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public object FormattedValue { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual System.Type FormattedValueType { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool Frozen { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool HasStyle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.DataGridViewElementStates InheritedState { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.DataGridViewCellStyle InheritedStyle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsInEditMode { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.DataGridViewColumn OwningColumn { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.DataGridViewRow OwningRow { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Size PreferredSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool Resizable { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public int RowIndex { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual bool Selected { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Size Size { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(true)] - public System.Windows.Forms.DataGridViewCellStyle Style { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string ToolTipText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public object Value { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual System.Type ValueType { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool Visible { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Windows.Forms.DataGridViewAdvancedBorderStyle AdjustCellBorderStyle(System.Windows.Forms.DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStyleInput, System.Windows.Forms.DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStylePlaceholder, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow) { throw null; } - protected virtual System.Drawing.Rectangle BorderWidths(System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle) { throw null; } - protected virtual bool ClickUnsharesRow(System.Windows.Forms.DataGridViewCellEventArgs e) { throw null; } - public virtual object Clone() { throw null; } - protected virtual bool ContentClickUnsharesRow(System.Windows.Forms.DataGridViewCellEventArgs e) { throw null; } - protected virtual bool ContentDoubleClickUnsharesRow(System.Windows.Forms.DataGridViewCellEventArgs e) { throw null; } - protected virtual System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual void DetachEditingControl() { } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - protected virtual bool DoubleClickUnsharesRow(System.Windows.Forms.DataGridViewCellEventArgs e) { throw null; } - protected virtual bool EnterUnsharesRow(int rowIndex, bool throughMouseClick) { throw null; } - ~DataGridViewCell() { } - protected virtual object GetClipboardContent(int rowIndex, bool firstCell, bool lastCell, bool inFirstRow, bool inLastRow, string format) { throw null; } - protected virtual System.Drawing.Rectangle GetContentBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - public System.Drawing.Rectangle GetContentBounds(int rowIndex) { throw null; } - public object GetEditedFormattedValue(int rowIndex, System.Windows.Forms.DataGridViewDataErrorContexts context) { throw null; } - protected virtual System.Drawing.Rectangle GetErrorIconBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected internal virtual string GetErrorText(int rowIndex) { throw null; } - protected virtual object GetFormattedValue(object value, int rowIndex, ref System.Windows.Forms.DataGridViewCellStyle cellStyle, System.ComponentModel.TypeConverter valueTypeConverter, System.ComponentModel.TypeConverter formattedValueTypeConverter, System.Windows.Forms.DataGridViewDataErrorContexts context) { throw null; } - public virtual System.Windows.Forms.ContextMenuStrip GetInheritedContextMenuStrip(int rowIndex) { throw null; } - public virtual System.Windows.Forms.DataGridViewElementStates GetInheritedState(int rowIndex) { throw null; } - public virtual System.Windows.Forms.DataGridViewCellStyle GetInheritedStyle(System.Windows.Forms.DataGridViewCellStyle inheritedCellStyle, int rowIndex, bool includeColors) { throw null; } - protected virtual System.Drawing.Size GetPreferredSize(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex, System.Drawing.Size constraintSize) { throw null; } - protected virtual System.Drawing.Size GetSize(int rowIndex) { throw null; } - protected virtual object GetValue(int rowIndex) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual void InitializeEditingControl(int rowIndex, object initialFormattedValue, System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle) { } - protected virtual bool KeyDownUnsharesRow(System.Windows.Forms.KeyEventArgs e, int rowIndex) { throw null; } - public virtual bool KeyEntersEditMode(System.Windows.Forms.KeyEventArgs e) { throw null; } - protected virtual bool KeyPressUnsharesRow(System.Windows.Forms.KeyPressEventArgs e, int rowIndex) { throw null; } - protected virtual bool KeyUpUnsharesRow(System.Windows.Forms.KeyEventArgs e, int rowIndex) { throw null; } - protected virtual bool LeaveUnsharesRow(int rowIndex, bool throughMouseClick) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static int MeasureTextHeight(System.Drawing.Graphics graphics, string text, System.Drawing.Font font, int maxWidth, System.Windows.Forms.TextFormatFlags flags) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static int MeasureTextHeight(System.Drawing.Graphics graphics, string text, System.Drawing.Font font, int maxWidth, System.Windows.Forms.TextFormatFlags flags, out bool widthTruncated) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Drawing.Size MeasureTextPreferredSize(System.Drawing.Graphics graphics, string text, System.Drawing.Font font, float maxRatio, System.Windows.Forms.TextFormatFlags flags) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Drawing.Size MeasureTextSize(System.Drawing.Graphics graphics, string text, System.Drawing.Font font, System.Windows.Forms.TextFormatFlags flags) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static int MeasureTextWidth(System.Drawing.Graphics graphics, string text, System.Drawing.Font font, int maxHeight, System.Windows.Forms.TextFormatFlags flags) { throw null; } - protected virtual bool MouseClickUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected virtual bool MouseDoubleClickUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected virtual bool MouseDownUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected virtual bool MouseEnterUnsharesRow(int rowIndex) { throw null; } - protected virtual bool MouseLeaveUnsharesRow(int rowIndex) { throw null; } - protected virtual bool MouseMoveUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected virtual bool MouseUpUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected virtual void OnClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnContentClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnContentDoubleClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected override void OnDataGridViewChanged() { } - protected virtual void OnDoubleClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected virtual void OnEnter(int rowIndex, bool throughMouseClick) { } - protected virtual void OnKeyDown(System.Windows.Forms.KeyEventArgs e, int rowIndex) { } - protected virtual void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e, int rowIndex) { } - protected virtual void OnKeyUp(System.Windows.Forms.KeyEventArgs e, int rowIndex) { } - protected virtual void OnLeave(int rowIndex, bool throughMouseClick) { } - protected virtual void OnMouseClick(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void OnMouseDoubleClick(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void OnMouseDown(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void OnMouseEnter(int rowIndex) { } - protected virtual void OnMouseLeave(int rowIndex) { } - protected virtual void OnMouseMove(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void OnMouseUp(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected virtual void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - protected virtual void PaintBorder(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle bounds, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle) { } - protected virtual void PaintErrorIcon(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellValueBounds, string errorText) { } - public virtual object ParseFormattedValue(object formattedValue, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.ComponentModel.TypeConverter formattedValueTypeConverter, System.ComponentModel.TypeConverter valueTypeConverter) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual void PositionEditingControl(bool setLocation, bool setSize, System.Drawing.Rectangle cellBounds, System.Drawing.Rectangle cellClip, System.Windows.Forms.DataGridViewCellStyle cellStyle, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Drawing.Rectangle PositionEditingPanel(System.Drawing.Rectangle cellBounds, System.Drawing.Rectangle cellClip, System.Windows.Forms.DataGridViewCellStyle cellStyle, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow) { throw null; } - protected virtual bool SetValue(int rowIndex, object value) { throw null; } - public override string ToString() { throw null; } - protected partial class DataGridViewCellAccessibleObject : System.Windows.Forms.AccessibleObject - { - public DataGridViewCellAccessibleObject() { } - public DataGridViewCellAccessibleObject(System.Windows.Forms.DataGridViewCell owner) { } - public override System.Drawing.Rectangle Bounds { get { throw null; } } - public override string DefaultAction { get { throw null; } } - public override string Help { get { throw null; } } - public override string Name { get { throw null; } } - public System.Windows.Forms.DataGridViewCell Owner { get { throw null; } set { } } - public override System.Windows.Forms.AccessibleObject Parent { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public override string Value { get { throw null; } set { } } - public override void DoDefaultAction() { } - public override System.Windows.Forms.AccessibleObject GetChild(int index) { throw null; } - public override int GetChildCount() { throw null; } - public override System.Windows.Forms.AccessibleObject GetFocused() { throw null; } - public override System.Windows.Forms.AccessibleObject GetSelected() { throw null; } - public override System.Windows.Forms.AccessibleObject Navigate(System.Windows.Forms.AccessibleNavigation navigationDirection) { throw null; } - public override void Select(System.Windows.Forms.AccessibleSelection flags) { } - } - } - public enum DataGridViewCellBorderStyle - { - Custom = 0, - None = 4, - Raised = 2, - RaisedHorizontal = 9, - RaisedVertical = 6, - Single = 1, - SingleHorizontal = 8, - SingleVertical = 5, - Sunken = 3, - SunkenHorizontal = 10, - SunkenVertical = 7, - } - public partial class DataGridViewCellCancelEventArgs : System.ComponentModel.CancelEventArgs - { - public DataGridViewCellCancelEventArgs(int columnIndex, int rowIndex) { } - public int ColumnIndex { get { throw null; } } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewCellCancelEventHandler(object sender, System.Windows.Forms.DataGridViewCellCancelEventArgs e); - [System.ComponentModel.ListBindableAttribute(false)] - public partial class DataGridViewCellCollection : System.Windows.Forms.BaseCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public DataGridViewCellCollection(System.Windows.Forms.DataGridViewRow dataGridViewRow) { } - public System.Windows.Forms.DataGridViewCell this[int index] { get { throw null; } set { } } - public System.Windows.Forms.DataGridViewCell this[string columnName] { get { throw null; } set { } } - protected override System.Collections.ArrayList List { get { throw null; } } - int System.Collections.ICollection.Count { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public event System.ComponentModel.CollectionChangeEventHandler CollectionChanged { add { } remove { } } - public virtual int Add(System.Windows.Forms.DataGridViewCell dataGridViewCell) { throw null; } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual void AddRange(params System.Windows.Forms.DataGridViewCell[] dataGridViewCells) { } - public virtual void Clear() { } - public virtual bool Contains(System.Windows.Forms.DataGridViewCell dataGridViewCell) { throw null; } - public void CopyTo(System.Windows.Forms.DataGridViewCell[] array, int index) { } - public int IndexOf(System.Windows.Forms.DataGridViewCell dataGridViewCell) { throw null; } - public virtual void Insert(int index, System.Windows.Forms.DataGridViewCell dataGridViewCell) { } - protected void OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs e) { } - public virtual void Remove(System.Windows.Forms.DataGridViewCell cell) { } - public virtual void RemoveAt(int index) { } - void System.Collections.ICollection.CopyTo(System.Array array, int index) { } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - public partial class DataGridViewCellContextMenuStripNeededEventArgs : System.Windows.Forms.DataGridViewCellEventArgs - { - public DataGridViewCellContextMenuStripNeededEventArgs(int columnIndex, int rowIndex) : base (default(int), default(int)) { } - public System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - } - public delegate void DataGridViewCellContextMenuStripNeededEventHandler(object sender, System.Windows.Forms.DataGridViewCellContextMenuStripNeededEventArgs e); - public partial class DataGridViewCellErrorTextNeededEventArgs : System.Windows.Forms.DataGridViewCellEventArgs - { - internal DataGridViewCellErrorTextNeededEventArgs() : base (default(int), default(int)) { } - public string ErrorText { get { throw null; } set { } } - } - public delegate void DataGridViewCellErrorTextNeededEventHandler(object sender, System.Windows.Forms.DataGridViewCellErrorTextNeededEventArgs e); - public partial class DataGridViewCellEventArgs : System.EventArgs - { - public DataGridViewCellEventArgs(int columnIndex, int rowIndex) { } - public int ColumnIndex { get { throw null; } } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewCellEventHandler(object sender, System.Windows.Forms.DataGridViewCellEventArgs e); - public partial class DataGridViewCellFormattingEventArgs : System.Windows.Forms.ConvertEventArgs - { - public DataGridViewCellFormattingEventArgs(int columnIndex, int rowIndex, object value, System.Type desiredType, System.Windows.Forms.DataGridViewCellStyle cellStyle) : base (default(object), default(System.Type)) { } - public System.Windows.Forms.DataGridViewCellStyle CellStyle { get { throw null; } set { } } - public int ColumnIndex { get { throw null; } } - public bool FormattingApplied { get { throw null; } set { } } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewCellFormattingEventHandler(object sender, System.Windows.Forms.DataGridViewCellFormattingEventArgs e); - public partial class DataGridViewCellMouseEventArgs : System.Windows.Forms.MouseEventArgs - { - public DataGridViewCellMouseEventArgs(int columnIndex, int rowIndex, int localX, int localY, System.Windows.Forms.MouseEventArgs e) : base (default(System.Windows.Forms.MouseButtons), default(int), default(int), default(int), default(int)) { } - public int ColumnIndex { get { throw null; } } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewCellMouseEventHandler(object sender, System.Windows.Forms.DataGridViewCellMouseEventArgs e); - public partial class DataGridViewCellPaintingEventArgs : System.ComponentModel.HandledEventArgs - { - public DataGridViewCellPaintingEventArgs(System.Windows.Forms.DataGridView dataGridView, System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, int columnIndex, System.Windows.Forms.DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - public System.Windows.Forms.DataGridViewAdvancedBorderStyle AdvancedBorderStyle { get { throw null; } } - public System.Drawing.Rectangle CellBounds { get { throw null; } } - public System.Windows.Forms.DataGridViewCellStyle CellStyle { get { throw null; } } - public System.Drawing.Rectangle ClipBounds { get { throw null; } } - public int ColumnIndex { get { throw null; } } - public string ErrorText { get { throw null; } } - public object FormattedValue { get { throw null; } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public System.Windows.Forms.DataGridViewPaintParts PaintParts { get { throw null; } } - public int RowIndex { get { throw null; } } - public System.Windows.Forms.DataGridViewElementStates State { get { throw null; } } - public object Value { get { throw null; } } - public void Paint(System.Drawing.Rectangle clipBounds, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - public void PaintBackground(System.Drawing.Rectangle clipBounds, bool cellsPaintSelectionBackground) { } - public void PaintContent(System.Drawing.Rectangle clipBounds) { } - } - public delegate void DataGridViewCellPaintingEventHandler(object sender, System.Windows.Forms.DataGridViewCellPaintingEventArgs e); - public partial class DataGridViewCellParsingEventArgs : System.Windows.Forms.ConvertEventArgs - { - public DataGridViewCellParsingEventArgs(int rowIndex, int columnIndex, object value, System.Type desiredType, System.Windows.Forms.DataGridViewCellStyle inheritedCellStyle) : base (default(object), default(System.Type)) { } - public int ColumnIndex { get { throw null; } } - public System.Windows.Forms.DataGridViewCellStyle InheritedCellStyle { get { throw null; } set { } } - public bool ParsingApplied { get { throw null; } set { } } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewCellParsingEventHandler(object sender, System.Windows.Forms.DataGridViewCellParsingEventArgs e); - public partial class DataGridViewCellStateChangedEventArgs : System.EventArgs - { - public DataGridViewCellStateChangedEventArgs(System.Windows.Forms.DataGridViewCell dataGridViewCell, System.Windows.Forms.DataGridViewElementStates stateChanged) { } - public System.Windows.Forms.DataGridViewCell Cell { get { throw null; } } - public System.Windows.Forms.DataGridViewElementStates StateChanged { get { throw null; } } - } - public delegate void DataGridViewCellStateChangedEventHandler(object sender, System.Windows.Forms.DataGridViewCellStateChangedEventArgs e); - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.DataGridViewCellStyleConverter))] - public partial class DataGridViewCellStyle : System.ICloneable - { - public DataGridViewCellStyle() { } - public DataGridViewCellStyle(System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle) { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewContentAlignment.NotSet)] - public System.Windows.Forms.DataGridViewContentAlignment Alignment { get { throw null; } set { } } - public System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public object DataSourceNullValue { get { throw null; } set { } } - public System.Drawing.Font Font { get { throw null; } set { } } - public System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string Format { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IFormatProvider FormatProvider { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool IsDataSourceNullValueDefault { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool IsFormatProviderDefault { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool IsNullValueDefault { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object NullValue { get { throw null; } set { } } - public System.Windows.Forms.Padding Padding { get { throw null; } set { } } - public System.Drawing.Color SelectionBackColor { get { throw null; } set { } } - public System.Drawing.Color SelectionForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewTriState.NotSet)] - public System.Windows.Forms.DataGridViewTriState WrapMode { get { throw null; } set { } } - public virtual void ApplyStyle(System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle) { } - public virtual System.Windows.Forms.DataGridViewCellStyle Clone() { throw null; } - public override bool Equals(object o) { throw null; } - public override int GetHashCode() { throw null; } - object System.ICloneable.Clone() { throw null; } - public override string ToString() { throw null; } - } - public partial class DataGridViewCellStyleContentChangedEventArgs : System.EventArgs - { - internal DataGridViewCellStyleContentChangedEventArgs() { } - public System.Windows.Forms.DataGridViewCellStyle CellStyle { get { throw null; } } - public System.Windows.Forms.DataGridViewCellStyleScopes CellStyleScope { get { throw null; } } - } - public delegate void DataGridViewCellStyleContentChangedEventHandler(object sender, System.Windows.Forms.DataGridViewCellStyleContentChangedEventArgs e); - public partial class DataGridViewCellStyleConverter : System.ComponentModel.TypeConverter - { - public DataGridViewCellStyleConverter() { } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - } - [System.FlagsAttribute] - public enum DataGridViewCellStyleScopes - { - AlternatingRows = 128, - Cell = 1, - Column = 2, - ColumnHeaders = 16, - DataGridView = 8, - None = 0, - Row = 4, - RowHeaders = 32, - Rows = 64, - } - public partial class DataGridViewCellToolTipTextNeededEventArgs : System.Windows.Forms.DataGridViewCellEventArgs - { - internal DataGridViewCellToolTipTextNeededEventArgs() : base (default(int), default(int)) { } - public string ToolTipText { get { throw null; } set { } } - } - public delegate void DataGridViewCellToolTipTextNeededEventHandler(object sender, System.Windows.Forms.DataGridViewCellToolTipTextNeededEventArgs e); - public partial class DataGridViewCellValidatingEventArgs : System.ComponentModel.CancelEventArgs - { - internal DataGridViewCellValidatingEventArgs() { } - public int ColumnIndex { get { throw null; } } - public object FormattedValue { get { throw null; } } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewCellValidatingEventHandler(object sender, System.Windows.Forms.DataGridViewCellValidatingEventArgs e); - public partial class DataGridViewCellValueEventArgs : System.EventArgs - { - public DataGridViewCellValueEventArgs(int columnIndex, int rowIndex) { } - public int ColumnIndex { get { throw null; } } - public int RowIndex { get { throw null; } } - public object Value { get { throw null; } set { } } - } - public delegate void DataGridViewCellValueEventHandler(object sender, System.Windows.Forms.DataGridViewCellValueEventArgs e); - public partial class DataGridViewCheckBoxCell : System.Windows.Forms.DataGridViewCell, System.Windows.Forms.IDataGridViewEditingCell - { - public DataGridViewCheckBoxCell() { } - public DataGridViewCheckBoxCell(bool threeState) { } - public virtual object EditingCellFormattedValue { get { throw null; } set { } } - public virtual bool EditingCellValueChanged { get { throw null; } set { } } - public override System.Type EditType { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(null)] - public object FalseValue { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlatStyle.Standard)] - public System.Windows.Forms.FlatStyle FlatStyle { get { throw null; } set { } } - public override System.Type FormattedValueType { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(null)] - public object IndeterminateValue { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ThreeState { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public object TrueValue { get { throw null; } set { } } - public override System.Type ValueType { get { throw null; } set { } } - public override object Clone() { throw null; } - protected override bool ContentClickUnsharesRow(System.Windows.Forms.DataGridViewCellEventArgs e) { throw null; } - protected override bool ContentDoubleClickUnsharesRow(System.Windows.Forms.DataGridViewCellEventArgs e) { throw null; } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override System.Drawing.Rectangle GetContentBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - public virtual object GetEditingCellFormattedValue(System.Windows.Forms.DataGridViewDataErrorContexts context) { throw null; } - protected override System.Drawing.Rectangle GetErrorIconBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override object GetFormattedValue(object value, int rowIndex, ref System.Windows.Forms.DataGridViewCellStyle cellStyle, System.ComponentModel.TypeConverter valueTypeConverter, System.ComponentModel.TypeConverter formattedValueTypeConverter, System.Windows.Forms.DataGridViewDataErrorContexts context) { throw null; } - protected override System.Drawing.Size GetPreferredSize(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex, System.Drawing.Size constraintSize) { throw null; } - protected override bool KeyDownUnsharesRow(System.Windows.Forms.KeyEventArgs e, int rowIndex) { throw null; } - protected override bool KeyUpUnsharesRow(System.Windows.Forms.KeyEventArgs e, int rowIndex) { throw null; } - protected override bool MouseDownUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected override bool MouseEnterUnsharesRow(int rowIndex) { throw null; } - protected override bool MouseLeaveUnsharesRow(int rowIndex) { throw null; } - protected override bool MouseUpUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected override void OnContentClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected override void OnContentDoubleClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e, int rowIndex) { } - protected override void OnKeyUp(System.Windows.Forms.KeyEventArgs e, int rowIndex) { } - protected override void OnLeave(int rowIndex, bool throughMouseClick) { } - protected override void OnMouseDown(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void OnMouseLeave(int rowIndex) { } - protected override void OnMouseMove(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates elementState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - public override object ParseFormattedValue(object formattedValue, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.ComponentModel.TypeConverter formattedValueTypeConverter, System.ComponentModel.TypeConverter valueTypeConverter) { throw null; } - public virtual void PrepareEditingCellForEdit(bool selectAll) { } - public override string ToString() { throw null; } - protected partial class DataGridViewCheckBoxCellAccessibleObject : System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject - { - public DataGridViewCheckBoxCellAccessibleObject(System.Windows.Forms.DataGridViewCell owner) { } - public override string DefaultAction { get { throw null; } } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public override void DoDefaultAction() { } - public override int GetChildCount() { throw null; } - } - } - [System.Drawing.ToolboxBitmapAttribute(typeof(System.Windows.Forms.DataGridViewCheckBoxColumn), "DataGridViewCheckBoxColumn.bmp")] - public partial class DataGridViewCheckBoxColumn : System.Windows.Forms.DataGridViewColumn - { - public DataGridViewCheckBoxColumn() { } - public DataGridViewCheckBoxColumn(bool threeState) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override System.Windows.Forms.DataGridViewCell CellTemplate { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - public override System.Windows.Forms.DataGridViewCellStyle DefaultCellStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object FalseValue { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlatStyle.Standard)] - public System.Windows.Forms.FlatStyle FlatStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object IndeterminateValue { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ThreeState { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object TrueValue { get { throw null; } set { } } - public override string ToString() { throw null; } - } - public enum DataGridViewClipboardCopyMode - { - Disable = 0, - EnableAlwaysIncludeHeaderText = 3, - EnableWithAutoHeaderText = 1, - EnableWithoutHeaderText = 2, - } - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public partial class DataGridViewColumn : System.Windows.Forms.DataGridViewBand, System.ComponentModel.IComponent, System.IDisposable - { - public DataGridViewColumn() { } - public DataGridViewColumn(System.Windows.Forms.DataGridViewCell cellTemplate) { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewAutoSizeColumnMode.NotSet)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.DataGridViewAutoSizeColumnMode AutoSizeMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Windows.Forms.DataGridViewCell CellTemplate { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Type CellType { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(null)] - public override System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.TypeConverterAttribute("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - public string DataPropertyName { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - public override System.Windows.Forms.DataGridViewCellStyle DefaultCellStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int DisplayIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - public int DividerWidth { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(100f)] - public float FillWeight { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public override bool Frozen { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.DataGridViewColumnHeaderCell HeaderCell { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public string HeaderText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.DataGridViewAutoSizeColumnMode InheritedAutoSizeMode { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public override System.Windows.Forms.DataGridViewCellStyle InheritedStyle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool IsDataBound { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(5)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int MinimumWidth { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public string Name { get { throw null; } set { } } - public override bool ReadOnly { get { throw null; } set { } } - public override System.Windows.Forms.DataGridViewTriState Resizable { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.ComponentModel.ISite Site { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewColumnSortMode.NotSortable)] - public System.Windows.Forms.DataGridViewColumnSortMode SortMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string ToolTipText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Type ValueType { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public override bool Visible { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int Width { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler Disposed { add { } remove { } } - public override object Clone() { throw null; } - protected override void Dispose(bool disposing) { } - public virtual int GetPreferredWidth(System.Windows.Forms.DataGridViewAutoSizeColumnMode autoSizeColumnMode, bool fixedHeight) { throw null; } - public override string ToString() { throw null; } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class DataGridViewColumnCollection : System.Windows.Forms.BaseCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public DataGridViewColumnCollection(System.Windows.Forms.DataGridView dataGridView) { } - protected System.Windows.Forms.DataGridView DataGridView { get { throw null; } } - public System.Windows.Forms.DataGridViewColumn this[int index] { get { throw null; } } - public System.Windows.Forms.DataGridViewColumn this[string columnName] { get { throw null; } } - protected override System.Collections.ArrayList List { get { throw null; } } - int System.Collections.ICollection.Count { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public event System.ComponentModel.CollectionChangeEventHandler CollectionChanged { add { } remove { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual int Add(string columnName, string headerText) { throw null; } - public virtual int Add(System.Windows.Forms.DataGridViewColumn dataGridViewColumn) { throw null; } - public virtual void AddRange(params System.Windows.Forms.DataGridViewColumn[] dataGridViewColumns) { } - public virtual void Clear() { } - public virtual bool Contains(string columnName) { throw null; } - public virtual bool Contains(System.Windows.Forms.DataGridViewColumn dataGridViewColumn) { throw null; } - public void CopyTo(System.Windows.Forms.DataGridViewColumn[] array, int index) { } - public int GetColumnCount(System.Windows.Forms.DataGridViewElementStates includeFilter) { throw null; } - public int GetColumnsWidth(System.Windows.Forms.DataGridViewElementStates includeFilter) { throw null; } - public System.Windows.Forms.DataGridViewColumn GetFirstColumn(System.Windows.Forms.DataGridViewElementStates includeFilter) { throw null; } - public System.Windows.Forms.DataGridViewColumn GetFirstColumn(System.Windows.Forms.DataGridViewElementStates includeFilter, System.Windows.Forms.DataGridViewElementStates excludeFilter) { throw null; } - public System.Windows.Forms.DataGridViewColumn GetLastColumn(System.Windows.Forms.DataGridViewElementStates includeFilter, System.Windows.Forms.DataGridViewElementStates excludeFilter) { throw null; } - public System.Windows.Forms.DataGridViewColumn GetNextColumn(System.Windows.Forms.DataGridViewColumn dataGridViewColumnStart, System.Windows.Forms.DataGridViewElementStates includeFilter, System.Windows.Forms.DataGridViewElementStates excludeFilter) { throw null; } - public System.Windows.Forms.DataGridViewColumn GetPreviousColumn(System.Windows.Forms.DataGridViewColumn dataGridViewColumnStart, System.Windows.Forms.DataGridViewElementStates includeFilter, System.Windows.Forms.DataGridViewElementStates excludeFilter) { throw null; } - public int IndexOf(System.Windows.Forms.DataGridViewColumn dataGridViewColumn) { throw null; } - public virtual void Insert(int columnIndex, System.Windows.Forms.DataGridViewColumn dataGridViewColumn) { } - protected virtual void OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs e) { } - public virtual void Remove(string columnName) { } - public virtual void Remove(System.Windows.Forms.DataGridViewColumn dataGridViewColumn) { } - public virtual void RemoveAt(int index) { } - void System.Collections.ICollection.CopyTo(System.Array array, int index) { } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Class)] - public sealed partial class DataGridViewColumnDesignTimeVisibleAttribute : System.Attribute - { - public static readonly System.Windows.Forms.DataGridViewColumnDesignTimeVisibleAttribute Default; - public static readonly System.Windows.Forms.DataGridViewColumnDesignTimeVisibleAttribute No; - public static readonly System.Windows.Forms.DataGridViewColumnDesignTimeVisibleAttribute Yes; - public DataGridViewColumnDesignTimeVisibleAttribute() { } - public DataGridViewColumnDesignTimeVisibleAttribute(bool visible) { } - public bool Visible { get { throw null; } } - public override bool Equals(object obj) { throw null; } - public override int GetHashCode() { throw null; } - public override bool IsDefaultAttribute() { throw null; } - } - public partial class DataGridViewColumnDividerDoubleClickEventArgs : System.Windows.Forms.HandledMouseEventArgs - { - public DataGridViewColumnDividerDoubleClickEventArgs(int columnIndex, System.Windows.Forms.HandledMouseEventArgs e) : base (default(System.Windows.Forms.MouseButtons), default(int), default(int), default(int), default(int)) { } - public int ColumnIndex { get { throw null; } } - } - public delegate void DataGridViewColumnDividerDoubleClickEventHandler(object sender, System.Windows.Forms.DataGridViewColumnDividerDoubleClickEventArgs e); - public partial class DataGridViewColumnEventArgs : System.EventArgs - { - public DataGridViewColumnEventArgs(System.Windows.Forms.DataGridViewColumn dataGridViewColumn) { } - public System.Windows.Forms.DataGridViewColumn Column { get { throw null; } } - } - public delegate void DataGridViewColumnEventHandler(object sender, System.Windows.Forms.DataGridViewColumnEventArgs e); - public partial class DataGridViewColumnHeaderCell : System.Windows.Forms.DataGridViewHeaderCell - { - public DataGridViewColumnHeaderCell() { } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.SortOrder SortGlyphDirection { get { throw null; } set { } } - public override object Clone() { throw null; } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override object GetClipboardContent(int rowIndex, bool firstCell, bool lastCell, bool inFirstRow, bool inLastRow, string format) { throw null; } - protected override System.Drawing.Rectangle GetContentBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - public override System.Windows.Forms.ContextMenuStrip GetInheritedContextMenuStrip(int rowIndex) { throw null; } - public override System.Windows.Forms.DataGridViewCellStyle GetInheritedStyle(System.Windows.Forms.DataGridViewCellStyle inheritedCellStyle, int rowIndex, bool includeColors) { throw null; } - protected override System.Drawing.Size GetPreferredSize(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex, System.Drawing.Size constraintSize) { throw null; } - protected override object GetValue(int rowIndex) { throw null; } - protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates dataGridViewElementState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - protected override bool SetValue(int rowIndex, object value) { throw null; } - public override string ToString() { throw null; } - protected partial class DataGridViewColumnHeaderCellAccessibleObject : System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject - { - public DataGridViewColumnHeaderCellAccessibleObject(System.Windows.Forms.DataGridViewColumnHeaderCell owner) { } - public override System.Drawing.Rectangle Bounds { get { throw null; } } - public override string DefaultAction { get { throw null; } } - public override string Name { get { throw null; } } - public override System.Windows.Forms.AccessibleObject Parent { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public override string Value { get { throw null; } } - public override void DoDefaultAction() { } - public override System.Windows.Forms.AccessibleObject Navigate(System.Windows.Forms.AccessibleNavigation navigationDirection) { throw null; } - public override void Select(System.Windows.Forms.AccessibleSelection flags) { } - } - } - public enum DataGridViewColumnHeadersHeightSizeMode - { - AutoSize = 2, - DisableResizing = 1, - EnableResizing = 0, - } - public enum DataGridViewColumnSortMode - { - Automatic = 1, - NotSortable = 0, - Programmatic = 2, - } - public partial class DataGridViewColumnStateChangedEventArgs : System.EventArgs - { - public DataGridViewColumnStateChangedEventArgs(System.Windows.Forms.DataGridViewColumn dataGridViewColumn, System.Windows.Forms.DataGridViewElementStates stateChanged) { } - public System.Windows.Forms.DataGridViewColumn Column { get { throw null; } } - public System.Windows.Forms.DataGridViewElementStates StateChanged { get { throw null; } } - } - public delegate void DataGridViewColumnStateChangedEventHandler(object sender, System.Windows.Forms.DataGridViewColumnStateChangedEventArgs e); - public partial class DataGridViewComboBoxCell : System.Windows.Forms.DataGridViewCell - { - public DataGridViewComboBoxCell() { } - [System.ComponentModel.DefaultValueAttribute(true)] - public virtual bool AutoComplete { get { throw null; } set { } } - public virtual object DataSource { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - public virtual string DisplayMember { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.DropDownButton)] - public System.Windows.Forms.DataGridViewComboBoxDisplayStyle DisplayStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool DisplayStyleForCurrentCellOnly { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(1)] - public virtual int DropDownWidth { get { throw null; } set { } } - public override System.Type EditType { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlatStyle.Standard)] - public System.Windows.Forms.FlatStyle FlatStyle { get { throw null; } set { } } - public override System.Type FormattedValueType { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual System.Windows.Forms.DataGridViewComboBoxCell.ObjectCollection Items { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(8)] - public virtual int MaxDropDownItems { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public virtual bool Sorted { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - public virtual string ValueMember { get { throw null; } set { } } - public override System.Type ValueType { get { throw null; } } - public override object Clone() { throw null; } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - public override void DetachEditingControl() { } - protected override System.Drawing.Rectangle GetContentBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override System.Drawing.Rectangle GetErrorIconBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override object GetFormattedValue(object value, int rowIndex, ref System.Windows.Forms.DataGridViewCellStyle cellStyle, System.ComponentModel.TypeConverter valueTypeConverter, System.ComponentModel.TypeConverter formattedValueTypeConverter, System.Windows.Forms.DataGridViewDataErrorContexts context) { throw null; } - protected override System.Drawing.Size GetPreferredSize(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex, System.Drawing.Size constraintSize) { throw null; } - public override void InitializeEditingControl(int rowIndex, object initialFormattedValue, System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle) { } - public override bool KeyEntersEditMode(System.Windows.Forms.KeyEventArgs e) { throw null; } - protected override void OnDataGridViewChanged() { } - protected override void OnEnter(int rowIndex, bool throughMouseClick) { } - protected override void OnLeave(int rowIndex, bool throughMouseClick) { } - protected override void OnMouseClick(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void OnMouseEnter(int rowIndex) { } - protected override void OnMouseLeave(int rowIndex) { } - protected override void OnMouseMove(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates elementState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - public override object ParseFormattedValue(object formattedValue, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.ComponentModel.TypeConverter formattedValueTypeConverter, System.ComponentModel.TypeConverter valueTypeConverter) { throw null; } - public override string ToString() { throw null; } - protected partial class DataGridViewComboBoxCellAccessibleObject : System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject - { - public DataGridViewComboBoxCellAccessibleObject(System.Windows.Forms.DataGridViewCell owner) { } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class ObjectCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public ObjectCollection(System.Windows.Forms.DataGridViewComboBoxCell owner) { } - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public virtual object this[int index] { get { throw null; } set { } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - public int Add(object item) { throw null; } - public void AddRange(params object[] items) { } - public void AddRange(System.Windows.Forms.DataGridViewComboBoxCell.ObjectCollection value) { } - public void Clear() { } - public bool Contains(object value) { throw null; } - public void CopyTo(object[] destination, int arrayIndex) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(object value) { throw null; } - public void Insert(int index, object item) { } - public void Remove(object value) { } - public void RemoveAt(int index) { } - void System.Collections.ICollection.CopyTo(System.Array destination, int index) { } - int System.Collections.IList.Add(object item) { throw null; } - } - } - [System.Drawing.ToolboxBitmapAttribute(typeof(System.Windows.Forms.DataGridViewComboBoxColumn), "DataGridViewComboBoxColumn.bmp")] - public partial class DataGridViewComboBoxColumn : System.Windows.Forms.DataGridViewColumn - { - public DataGridViewComboBoxColumn() { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AutoComplete { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override System.Windows.Forms.DataGridViewCell CellTemplate { get { throw null; } set { } } - [System.ComponentModel.AttributeProviderAttribute(typeof(System.ComponentModel.IListSource))] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public object DataSource { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.TypeConverterAttribute("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - public string DisplayMember { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.DropDownButton)] - public System.Windows.Forms.DataGridViewComboBoxDisplayStyle DisplayStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool DisplayStyleForCurrentCellOnly { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(1)] - public int DropDownWidth { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlatStyle.Standard)] - public System.Windows.Forms.FlatStyle FlatStyle { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - public System.Windows.Forms.DataGridViewComboBoxCell.ObjectCollection Items { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(8)] - public int MaxDropDownItems { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Sorted { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.TypeConverterAttribute("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - public string ValueMember { get { throw null; } set { } } - public override object Clone() { throw null; } - public override string ToString() { throw null; } - } - public enum DataGridViewComboBoxDisplayStyle - { - ComboBox = 0, - DropDownButton = 1, - Nothing = 2, - } - public partial class DataGridViewComboBoxEditingControl : System.Windows.Forms.ComboBox, System.Windows.Forms.IDataGridViewEditingControl - { - public DataGridViewComboBoxEditingControl() { } - public virtual System.Windows.Forms.DataGridView EditingControlDataGridView { get { throw null; } set { } } - public virtual object EditingControlFormattedValue { get { throw null; } set { } } - public virtual int EditingControlRowIndex { get { throw null; } set { } } - public virtual bool EditingControlValueChanged { get { throw null; } set { } } - public virtual System.Windows.Forms.Cursor EditingPanelCursor { get { throw null; } } - public virtual bool RepositionEditingControlOnValueChange { get { throw null; } } - public virtual void ApplyCellStyleToEditingControl(System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle) { } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - public virtual bool EditingControlWantsInputKey(System.Windows.Forms.Keys keyData, bool dataGridViewWantsInputKey) { throw null; } - public virtual object GetEditingControlFormattedValue(System.Windows.Forms.DataGridViewDataErrorContexts context) { throw null; } - protected override void OnSelectedIndexChanged(System.EventArgs e) { } - public virtual void PrepareEditingControlForEdit(bool selectAll) { } - } - public enum DataGridViewContentAlignment - { - BottomCenter = 512, - BottomLeft = 256, - BottomRight = 1024, - MiddleCenter = 32, - MiddleLeft = 16, - MiddleRight = 64, - NotSet = 0, - TopCenter = 2, - TopLeft = 1, - TopRight = 4, - } - [System.FlagsAttribute] - public enum DataGridViewDataErrorContexts - { - ClipboardContent = 16384, - Commit = 512, - CurrentCellChange = 4096, - Display = 2, - Formatting = 1, - InitialValueRestoration = 1024, - LeaveControl = 2048, - Parsing = 256, - PreferredSize = 4, - RowDeletion = 8, - Scroll = 8192, - } - public partial class DataGridViewDataErrorEventArgs : System.Windows.Forms.DataGridViewCellCancelEventArgs - { - public DataGridViewDataErrorEventArgs(System.Exception exception, int columnIndex, int rowIndex, System.Windows.Forms.DataGridViewDataErrorContexts context) : base (default(int), default(int)) { } - public System.Windows.Forms.DataGridViewDataErrorContexts Context { get { throw null; } } - public System.Exception Exception { get { throw null; } } - public bool ThrowException { get { throw null; } set { } } - } - public delegate void DataGridViewDataErrorEventHandler(object sender, System.Windows.Forms.DataGridViewDataErrorEventArgs e); - public partial class DataGridViewEditingControlShowingEventArgs : System.EventArgs - { - public DataGridViewEditingControlShowingEventArgs(System.Windows.Forms.Control control, System.Windows.Forms.DataGridViewCellStyle cellStyle) { } - public System.Windows.Forms.DataGridViewCellStyle CellStyle { get { throw null; } set { } } - public System.Windows.Forms.Control Control { get { throw null; } } - } - public delegate void DataGridViewEditingControlShowingEventHandler(object sender, System.Windows.Forms.DataGridViewEditingControlShowingEventArgs e); - public enum DataGridViewEditMode - { - EditOnEnter = 0, - EditOnF2 = 3, - EditOnKeystroke = 1, - EditOnKeystrokeOrF2 = 2, - EditProgrammatically = 4, - } - public partial class DataGridViewElement - { - public DataGridViewElement() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.DataGridView DataGridView { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Windows.Forms.DataGridViewElementStates State { get { throw null; } } - protected virtual void OnDataGridViewChanged() { } - protected void RaiseCellClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected void RaiseCellContentClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected void RaiseCellContentDoubleClick(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected void RaiseCellValueChanged(System.Windows.Forms.DataGridViewCellEventArgs e) { } - protected void RaiseDataError(System.Windows.Forms.DataGridViewDataErrorEventArgs e) { } - protected void RaiseMouseWheel(System.Windows.Forms.MouseEventArgs e) { } - } - [System.FlagsAttribute] - public enum DataGridViewElementStates - { - Displayed = 1, - Frozen = 2, - None = 0, - ReadOnly = 4, - Resizable = 8, - ResizableSet = 16, - Selected = 32, - Visible = 64, - } - public enum DataGridViewHeaderBorderStyle - { - Custom = 0, - None = 4, - Raised = 2, - Single = 1, - Sunken = 3, - } - public partial class DataGridViewHeaderCell : System.Windows.Forms.DataGridViewCell - { - public DataGridViewHeaderCell() { } - protected System.Windows.Forms.ButtonState ButtonState { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public override bool Displayed { get { throw null; } } - public override System.Type FormattedValueType { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public override bool Frozen { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public override bool Resizable { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override bool Selected { get { throw null; } set { } } - public override System.Type ValueType { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public override bool Visible { get { throw null; } } - public override object Clone() { throw null; } - protected override void Dispose(bool disposing) { } - public override System.Windows.Forms.ContextMenuStrip GetInheritedContextMenuStrip(int rowIndex) { throw null; } - public override System.Windows.Forms.DataGridViewElementStates GetInheritedState(int rowIndex) { throw null; } - protected override System.Drawing.Size GetSize(int rowIndex) { throw null; } - protected override object GetValue(int rowIndex) { throw null; } - protected override bool MouseDownUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected override bool MouseEnterUnsharesRow(int rowIndex) { throw null; } - protected override bool MouseLeaveUnsharesRow(int rowIndex) { throw null; } - protected override bool MouseUpUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected override void OnMouseDown(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void OnMouseEnter(int rowIndex) { } - protected override void OnMouseLeave(int rowIndex) { } - protected override void OnMouseUp(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates dataGridViewElementState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - public override string ToString() { throw null; } - } - public enum DataGridViewHitTestType - { - Cell = 1, - ColumnHeader = 2, - HorizontalScrollBar = 5, - None = 0, - RowHeader = 3, - TopLeftHeader = 4, - VerticalScrollBar = 6, - } - public partial class DataGridViewImageCell : System.Windows.Forms.DataGridViewCell - { - public DataGridViewImageCell() { } - public DataGridViewImageCell(bool valueIsIcon) { } - public override object DefaultNewRowValue { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute("")] - public string Description { get { throw null; } set { } } - public override System.Type EditType { get { throw null; } } - public override System.Type FormattedValueType { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewImageCellLayout.NotSet)] - public System.Windows.Forms.DataGridViewImageCellLayout ImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ValueIsIcon { get { throw null; } set { } } - public override System.Type ValueType { get { throw null; } set { } } - public override object Clone() { throw null; } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override System.Drawing.Rectangle GetContentBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override System.Drawing.Rectangle GetErrorIconBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override object GetFormattedValue(object value, int rowIndex, ref System.Windows.Forms.DataGridViewCellStyle cellStyle, System.ComponentModel.TypeConverter valueTypeConverter, System.ComponentModel.TypeConverter formattedValueTypeConverter, System.Windows.Forms.DataGridViewDataErrorContexts context) { throw null; } - protected override System.Drawing.Size GetPreferredSize(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex, System.Drawing.Size constraintSize) { throw null; } - protected override object GetValue(int rowIndex) { throw null; } - protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates elementState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - public override string ToString() { throw null; } - protected partial class DataGridViewImageCellAccessibleObject : System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject - { - public DataGridViewImageCellAccessibleObject(System.Windows.Forms.DataGridViewCell owner) { } - public override string DefaultAction { get { throw null; } } - public override string Description { get { throw null; } } - public override string Value { get { throw null; } set { } } - public override void DoDefaultAction() { } - public override int GetChildCount() { throw null; } - } - } - public enum DataGridViewImageCellLayout - { - Normal = 1, - NotSet = 0, - Stretch = 2, - Zoom = 3, - } - [System.Drawing.ToolboxBitmapAttribute(typeof(System.Windows.Forms.DataGridViewImageColumn), "DataGridViewImageColumn.bmp")] - public partial class DataGridViewImageColumn : System.Windows.Forms.DataGridViewColumn - { - public DataGridViewImageColumn() { } - public DataGridViewImageColumn(bool valuesAreIcons) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override System.Windows.Forms.DataGridViewCell CellTemplate { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - public override System.Windows.Forms.DataGridViewCellStyle DefaultCellStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute("")] - public string Description { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Icon Icon { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Drawing.Image Image { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewImageCellLayout.Normal)] - public System.Windows.Forms.DataGridViewImageCellLayout ImageLayout { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool ValuesAreIcons { get { throw null; } set { } } - public override object Clone() { throw null; } - public override string ToString() { throw null; } - } - public partial class DataGridViewLinkCell : System.Windows.Forms.DataGridViewCell - { - public DataGridViewLinkCell() { } - public System.Drawing.Color ActiveLinkColor { get { throw null; } set { } } - public override System.Type EditType { get { throw null; } } - public override System.Type FormattedValueType { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.LinkBehavior.SystemDefault)] - public System.Windows.Forms.LinkBehavior LinkBehavior { get { throw null; } set { } } - public System.Drawing.Color LinkColor { get { throw null; } set { } } - public bool LinkVisited { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool TrackVisitedState { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseColumnTextForLinkValue { get { throw null; } set { } } - public override System.Type ValueType { get { throw null; } } - public System.Drawing.Color VisitedLinkColor { get { throw null; } set { } } - public override object Clone() { throw null; } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override System.Drawing.Rectangle GetContentBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override System.Drawing.Rectangle GetErrorIconBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override System.Drawing.Size GetPreferredSize(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex, System.Drawing.Size constraintSize) { throw null; } - protected override object GetValue(int rowIndex) { throw null; } - protected override bool KeyUpUnsharesRow(System.Windows.Forms.KeyEventArgs e, int rowIndex) { throw null; } - protected override bool MouseDownUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected override bool MouseLeaveUnsharesRow(int rowIndex) { throw null; } - protected override bool MouseMoveUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected override bool MouseUpUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { throw null; } - protected override void OnKeyUp(System.Windows.Forms.KeyEventArgs e, int rowIndex) { } - protected override void OnMouseDown(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void OnMouseLeave(int rowIndex) { } - protected override void OnMouseMove(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - public override string ToString() { throw null; } - protected partial class DataGridViewLinkCellAccessibleObject : System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject - { - public DataGridViewLinkCellAccessibleObject(System.Windows.Forms.DataGridViewCell owner) { } - public override string DefaultAction { get { throw null; } } - public override void DoDefaultAction() { } - public override int GetChildCount() { throw null; } - } - } - [System.Drawing.ToolboxBitmapAttribute(typeof(System.Windows.Forms.DataGridViewLinkColumn), "DataGridViewLinkColumn.bmp")] - public partial class DataGridViewLinkColumn : System.Windows.Forms.DataGridViewColumn - { - public DataGridViewLinkColumn() { } - public System.Drawing.Color ActiveLinkColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override System.Windows.Forms.DataGridViewCell CellTemplate { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.LinkBehavior.SystemDefault)] - public System.Windows.Forms.LinkBehavior LinkBehavior { get { throw null; } set { } } - public System.Drawing.Color LinkColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool TrackVisitedState { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseColumnTextForLinkValue { get { throw null; } set { } } - public System.Drawing.Color VisitedLinkColor { get { throw null; } set { } } - public override object Clone() { throw null; } - public override string ToString() { throw null; } - } - [System.FlagsAttribute] - public enum DataGridViewPaintParts - { - All = 127, - Background = 1, - Border = 2, - ContentBackground = 4, - ContentForeground = 8, - ErrorIcon = 16, - Focus = 32, - None = 0, - SelectionBackground = 64, - } - public partial class DataGridViewRow : System.Windows.Forms.DataGridViewBand - { - public DataGridViewRow() { } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.AccessibleObject AccessibilityObject { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - public System.Windows.Forms.DataGridViewCellCollection Cells { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(null)] - public override System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public object DataBoundItem { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.NotifyParentPropertyAttribute(true)] - public override System.Windows.Forms.DataGridViewCellStyle DefaultCellStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public override bool Displayed { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.NotifyParentPropertyAttribute(true)] - public int DividerHeight { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.NotifyParentPropertyAttribute(true)] - public string ErrorText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public override bool Frozen { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.DataGridViewRowHeaderCell HeaderCell { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(22)] - [System.ComponentModel.NotifyParentPropertyAttribute(true)] - public int Height { get { throw null; } set { } } - public override System.Windows.Forms.DataGridViewCellStyle InheritedStyle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool IsNewRow { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int MinimumHeight { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.NotifyParentPropertyAttribute(true)] - public override bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.NotifyParentPropertyAttribute(true)] - public override System.Windows.Forms.DataGridViewTriState Resizable { get { throw null; } set { } } - public override bool Selected { get { throw null; } set { } } - public override System.Windows.Forms.DataGridViewElementStates State { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public override bool Visible { get { throw null; } set { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Windows.Forms.DataGridViewAdvancedBorderStyle AdjustRowHeaderBorderStyle(System.Windows.Forms.DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStyleInput, System.Windows.Forms.DataGridViewAdvancedBorderStyle dataGridViewAdvancedBorderStylePlaceholder, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedRow, bool isLastVisibleRow) { throw null; } - public override object Clone() { throw null; } - protected virtual System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - public void CreateCells(System.Windows.Forms.DataGridView dataGridView) { } - public void CreateCells(System.Windows.Forms.DataGridView dataGridView, params object[] values) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual System.Windows.Forms.DataGridViewCellCollection CreateCellsInstance() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected internal virtual void DrawFocus(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle bounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, System.Windows.Forms.DataGridViewCellStyle cellStyle, bool cellsPaintSelectionBackground) { } - public System.Windows.Forms.ContextMenuStrip GetContextMenuStrip(int rowIndex) { throw null; } - public string GetErrorText(int rowIndex) { throw null; } - public virtual int GetPreferredHeight(int rowIndex, System.Windows.Forms.DataGridViewAutoSizeRowMode autoSizeRowMode, bool fixedWidth) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual System.Windows.Forms.DataGridViewElementStates GetState(int rowIndex) { throw null; } - protected internal virtual void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle rowBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, bool isFirstDisplayedRow, bool isLastVisibleRow) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected internal virtual void PaintCells(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle rowBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, bool isFirstDisplayedRow, bool isLastVisibleRow, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected internal virtual void PaintHeader(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle rowBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, bool isFirstDisplayedRow, bool isLastVisibleRow, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - public bool SetValues(params object[] values) { throw null; } - public override string ToString() { throw null; } - protected partial class DataGridViewRowAccessibleObject : System.Windows.Forms.AccessibleObject - { - public DataGridViewRowAccessibleObject() { } - public DataGridViewRowAccessibleObject(System.Windows.Forms.DataGridViewRow owner) { } - public override System.Drawing.Rectangle Bounds { get { throw null; } } - public override string Name { get { throw null; } } - public System.Windows.Forms.DataGridViewRow Owner { get { throw null; } set { } } - public override System.Windows.Forms.AccessibleObject Parent { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public override string Value { get { throw null; } } - public override System.Windows.Forms.AccessibleObject GetChild(int index) { throw null; } - public override int GetChildCount() { throw null; } - public override System.Windows.Forms.AccessibleObject GetFocused() { throw null; } - public override System.Windows.Forms.AccessibleObject GetSelected() { throw null; } - public override System.Windows.Forms.AccessibleObject Navigate(System.Windows.Forms.AccessibleNavigation navigationDirection) { throw null; } - public override void Select(System.Windows.Forms.AccessibleSelection flags) { } - } - } - public partial class DataGridViewRowCancelEventArgs : System.ComponentModel.CancelEventArgs - { - public DataGridViewRowCancelEventArgs(System.Windows.Forms.DataGridViewRow dataGridViewRow) { } - public System.Windows.Forms.DataGridViewRow Row { get { throw null; } } - } - public delegate void DataGridViewRowCancelEventHandler(object sender, System.Windows.Forms.DataGridViewRowCancelEventArgs e); - [System.ComponentModel.ListBindableAttribute(false)] - public partial class DataGridViewRowCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public DataGridViewRowCollection(System.Windows.Forms.DataGridView dataGridView) { } - public int Count { get { throw null; } } - protected System.Windows.Forms.DataGridView DataGridView { get { throw null; } } - public System.Windows.Forms.DataGridViewRow this[int index] { get { throw null; } } - protected System.Collections.ArrayList List { get { throw null; } } - int System.Collections.ICollection.Count { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public event System.ComponentModel.CollectionChangeEventHandler CollectionChanged { add { } remove { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual int Add() { throw null; } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual int Add(int count) { throw null; } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual int Add(params object[] values) { throw null; } - public virtual int Add(System.Windows.Forms.DataGridViewRow dataGridViewRow) { throw null; } - public virtual int AddCopies(int indexSource, int count) { throw null; } - public virtual int AddCopy(int indexSource) { throw null; } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual void AddRange(params System.Windows.Forms.DataGridViewRow[] dataGridViewRows) { } - public virtual void Clear() { } - public virtual bool Contains(System.Windows.Forms.DataGridViewRow dataGridViewRow) { throw null; } - public void CopyTo(System.Windows.Forms.DataGridViewRow[] array, int index) { } - public int GetFirstRow(System.Windows.Forms.DataGridViewElementStates includeFilter) { throw null; } - public int GetFirstRow(System.Windows.Forms.DataGridViewElementStates includeFilter, System.Windows.Forms.DataGridViewElementStates excludeFilter) { throw null; } - public int GetLastRow(System.Windows.Forms.DataGridViewElementStates includeFilter) { throw null; } - public int GetNextRow(int indexStart, System.Windows.Forms.DataGridViewElementStates includeFilter) { throw null; } - public int GetNextRow(int indexStart, System.Windows.Forms.DataGridViewElementStates includeFilter, System.Windows.Forms.DataGridViewElementStates excludeFilter) { throw null; } - public int GetPreviousRow(int indexStart, System.Windows.Forms.DataGridViewElementStates includeFilter) { throw null; } - public int GetPreviousRow(int indexStart, System.Windows.Forms.DataGridViewElementStates includeFilter, System.Windows.Forms.DataGridViewElementStates excludeFilter) { throw null; } - public int GetRowCount(System.Windows.Forms.DataGridViewElementStates includeFilter) { throw null; } - public int GetRowsHeight(System.Windows.Forms.DataGridViewElementStates includeFilter) { throw null; } - public virtual System.Windows.Forms.DataGridViewElementStates GetRowState(int rowIndex) { throw null; } - public int IndexOf(System.Windows.Forms.DataGridViewRow dataGridViewRow) { throw null; } - public virtual void Insert(int rowIndex, int count) { } - public virtual void Insert(int rowIndex, params object[] values) { } - public virtual void Insert(int rowIndex, System.Windows.Forms.DataGridViewRow dataGridViewRow) { } - public virtual void InsertCopies(int indexSource, int indexDestination, int count) { } - public virtual void InsertCopy(int indexSource, int indexDestination) { } - public virtual void InsertRange(int rowIndex, params System.Windows.Forms.DataGridViewRow[] dataGridViewRows) { } - protected virtual void OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs e) { } - public virtual void Remove(System.Windows.Forms.DataGridViewRow dataGridViewRow) { } - public virtual void RemoveAt(int index) { } - public System.Windows.Forms.DataGridViewRow SharedRow(int rowIndex) { throw null; } - void System.Collections.ICollection.CopyTo(System.Array array, int index) { } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - public partial class DataGridViewRowContextMenuStripNeededEventArgs : System.EventArgs - { - public DataGridViewRowContextMenuStripNeededEventArgs(int rowIndex) { } - public System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewRowContextMenuStripNeededEventHandler(object sender, System.Windows.Forms.DataGridViewRowContextMenuStripNeededEventArgs e); - public partial class DataGridViewRowDividerDoubleClickEventArgs : System.Windows.Forms.HandledMouseEventArgs - { - public DataGridViewRowDividerDoubleClickEventArgs(int rowIndex, System.Windows.Forms.HandledMouseEventArgs e) : base (default(System.Windows.Forms.MouseButtons), default(int), default(int), default(int), default(int)) { } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewRowDividerDoubleClickEventHandler(object sender, System.Windows.Forms.DataGridViewRowDividerDoubleClickEventArgs e); - public partial class DataGridViewRowErrorTextNeededEventArgs : System.EventArgs - { - internal DataGridViewRowErrorTextNeededEventArgs() { } - public string ErrorText { get { throw null; } set { } } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewRowErrorTextNeededEventHandler(object sender, System.Windows.Forms.DataGridViewRowErrorTextNeededEventArgs e); - public partial class DataGridViewRowEventArgs : System.EventArgs - { - public DataGridViewRowEventArgs(System.Windows.Forms.DataGridViewRow dataGridViewRow) { } - public System.Windows.Forms.DataGridViewRow Row { get { throw null; } } - } - public delegate void DataGridViewRowEventHandler(object sender, System.Windows.Forms.DataGridViewRowEventArgs e); - public partial class DataGridViewRowHeaderCell : System.Windows.Forms.DataGridViewHeaderCell - { - public DataGridViewRowHeaderCell() { } - public override object Clone() { throw null; } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override object GetClipboardContent(int rowIndex, bool firstCell, bool lastCell, bool inFirstRow, bool inLastRow, string format) { throw null; } - protected override System.Drawing.Rectangle GetContentBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override System.Drawing.Rectangle GetErrorIconBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected internal override string GetErrorText(int rowIndex) { throw null; } - public override System.Windows.Forms.ContextMenuStrip GetInheritedContextMenuStrip(int rowIndex) { throw null; } - public override System.Windows.Forms.DataGridViewCellStyle GetInheritedStyle(System.Windows.Forms.DataGridViewCellStyle inheritedCellStyle, int rowIndex, bool includeColors) { throw null; } - protected override System.Drawing.Size GetPreferredSize(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex, System.Drawing.Size constraintSize) { throw null; } - protected override object GetValue(int rowIndex) { throw null; } - protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - protected override bool SetValue(int rowIndex, object value) { throw null; } - public override string ToString() { throw null; } - protected partial class DataGridViewRowHeaderCellAccessibleObject : System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject - { - public DataGridViewRowHeaderCellAccessibleObject(System.Windows.Forms.DataGridViewRowHeaderCell owner) { } - public override System.Drawing.Rectangle Bounds { get { throw null; } } - public override string DefaultAction { get { throw null; } } - public override string Name { get { throw null; } } - public override System.Windows.Forms.AccessibleObject Parent { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public override string Value { get { throw null; } } - public override void DoDefaultAction() { } - public override System.Windows.Forms.AccessibleObject Navigate(System.Windows.Forms.AccessibleNavigation navigationDirection) { throw null; } - public override void Select(System.Windows.Forms.AccessibleSelection flags) { } - } - } - public enum DataGridViewRowHeadersWidthSizeMode - { - AutoSizeToAllHeaders = 2, - AutoSizeToDisplayedHeaders = 3, - AutoSizeToFirstHeader = 4, - DisableResizing = 1, - EnableResizing = 0, - } - public partial class DataGridViewRowHeightInfoNeededEventArgs : System.EventArgs - { - internal DataGridViewRowHeightInfoNeededEventArgs() { } - public int Height { get { throw null; } set { } } - public int MinimumHeight { get { throw null; } set { } } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewRowHeightInfoNeededEventHandler(object sender, System.Windows.Forms.DataGridViewRowHeightInfoNeededEventArgs e); - public partial class DataGridViewRowHeightInfoPushedEventArgs : System.ComponentModel.HandledEventArgs - { - internal DataGridViewRowHeightInfoPushedEventArgs() { } - public int Height { get { throw null; } } - public int MinimumHeight { get { throw null; } } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewRowHeightInfoPushedEventHandler(object sender, System.Windows.Forms.DataGridViewRowHeightInfoPushedEventArgs e); - public partial class DataGridViewRowPostPaintEventArgs : System.EventArgs - { - public DataGridViewRowPostPaintEventArgs(System.Windows.Forms.DataGridView dataGridView, System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle rowBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, string errorText, System.Windows.Forms.DataGridViewCellStyle inheritedRowStyle, bool isFirstDisplayedRow, bool isLastVisibleRow) { } - public System.Drawing.Rectangle ClipBounds { get { throw null; } set { } } - public string ErrorText { get { throw null; } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public System.Windows.Forms.DataGridViewCellStyle InheritedRowStyle { get { throw null; } } - public bool IsFirstDisplayedRow { get { throw null; } } - public bool IsLastVisibleRow { get { throw null; } } - public System.Drawing.Rectangle RowBounds { get { throw null; } } - public int RowIndex { get { throw null; } } - public System.Windows.Forms.DataGridViewElementStates State { get { throw null; } } - public void DrawFocus(System.Drawing.Rectangle bounds, bool cellsPaintSelectionBackground) { } - public void PaintCells(System.Drawing.Rectangle clipBounds, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - public void PaintCellsBackground(System.Drawing.Rectangle clipBounds, bool cellsPaintSelectionBackground) { } - public void PaintCellsContent(System.Drawing.Rectangle clipBounds) { } - public void PaintHeader(bool paintSelectionBackground) { } - public void PaintHeader(System.Windows.Forms.DataGridViewPaintParts paintParts) { } - } - public delegate void DataGridViewRowPostPaintEventHandler(object sender, System.Windows.Forms.DataGridViewRowPostPaintEventArgs e); - public partial class DataGridViewRowPrePaintEventArgs : System.ComponentModel.HandledEventArgs - { - public DataGridViewRowPrePaintEventArgs(System.Windows.Forms.DataGridView dataGridView, System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle rowBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, string errorText, System.Windows.Forms.DataGridViewCellStyle inheritedRowStyle, bool isFirstDisplayedRow, bool isLastVisibleRow) { } - public System.Drawing.Rectangle ClipBounds { get { throw null; } set { } } - public string ErrorText { get { throw null; } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public System.Windows.Forms.DataGridViewCellStyle InheritedRowStyle { get { throw null; } } - public bool IsFirstDisplayedRow { get { throw null; } } - public bool IsLastVisibleRow { get { throw null; } } - public System.Windows.Forms.DataGridViewPaintParts PaintParts { get { throw null; } set { } } - public System.Drawing.Rectangle RowBounds { get { throw null; } } - public int RowIndex { get { throw null; } } - public System.Windows.Forms.DataGridViewElementStates State { get { throw null; } } - public void DrawFocus(System.Drawing.Rectangle bounds, bool cellsPaintSelectionBackground) { } - public void PaintCells(System.Drawing.Rectangle clipBounds, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - public void PaintCellsBackground(System.Drawing.Rectangle clipBounds, bool cellsPaintSelectionBackground) { } - public void PaintCellsContent(System.Drawing.Rectangle clipBounds) { } - public void PaintHeader(bool paintSelectionBackground) { } - public void PaintHeader(System.Windows.Forms.DataGridViewPaintParts paintParts) { } - } - public delegate void DataGridViewRowPrePaintEventHandler(object sender, System.Windows.Forms.DataGridViewRowPrePaintEventArgs e); - public partial class DataGridViewRowsAddedEventArgs : System.EventArgs - { - public DataGridViewRowsAddedEventArgs(int rowIndex, int rowCount) { } - public int RowCount { get { throw null; } } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewRowsAddedEventHandler(object sender, System.Windows.Forms.DataGridViewRowsAddedEventArgs e); - public partial class DataGridViewRowsRemovedEventArgs : System.EventArgs - { - public DataGridViewRowsRemovedEventArgs(int rowIndex, int rowCount) { } - public int RowCount { get { throw null; } } - public int RowIndex { get { throw null; } } - } - public delegate void DataGridViewRowsRemovedEventHandler(object sender, System.Windows.Forms.DataGridViewRowsRemovedEventArgs e); - public partial class DataGridViewRowStateChangedEventArgs : System.EventArgs - { - public DataGridViewRowStateChangedEventArgs(System.Windows.Forms.DataGridViewRow dataGridViewRow, System.Windows.Forms.DataGridViewElementStates stateChanged) { } - public System.Windows.Forms.DataGridViewRow Row { get { throw null; } } - public System.Windows.Forms.DataGridViewElementStates StateChanged { get { throw null; } } - } - public delegate void DataGridViewRowStateChangedEventHandler(object sender, System.Windows.Forms.DataGridViewRowStateChangedEventArgs e); - [System.ComponentModel.ListBindableAttribute(false)] - public partial class DataGridViewSelectedCellCollection : System.Windows.Forms.BaseCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - internal DataGridViewSelectedCellCollection() { } - public System.Windows.Forms.DataGridViewCell this[int index] { get { throw null; } } - protected override System.Collections.ArrayList List { get { throw null; } } - int System.Collections.ICollection.Count { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Clear() { } - public bool Contains(System.Windows.Forms.DataGridViewCell dataGridViewCell) { throw null; } - public void CopyTo(System.Windows.Forms.DataGridViewCell[] array, int index) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Insert(int index, System.Windows.Forms.DataGridViewCell dataGridViewCell) { } - void System.Collections.ICollection.CopyTo(System.Array array, int index) { } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class DataGridViewSelectedColumnCollection : System.Windows.Forms.BaseCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - internal DataGridViewSelectedColumnCollection() { } - public System.Windows.Forms.DataGridViewColumn this[int index] { get { throw null; } } - protected override System.Collections.ArrayList List { get { throw null; } } - int System.Collections.ICollection.Count { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Clear() { } - public bool Contains(System.Windows.Forms.DataGridViewColumn dataGridViewColumn) { throw null; } - public void CopyTo(System.Windows.Forms.DataGridViewColumn[] array, int index) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Insert(int index, System.Windows.Forms.DataGridViewColumn dataGridViewColumn) { } - void System.Collections.ICollection.CopyTo(System.Array array, int index) { } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class DataGridViewSelectedRowCollection : System.Windows.Forms.BaseCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - internal DataGridViewSelectedRowCollection() { } - public System.Windows.Forms.DataGridViewRow this[int index] { get { throw null; } } - protected override System.Collections.ArrayList List { get { throw null; } } - int System.Collections.ICollection.Count { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Clear() { } - public bool Contains(System.Windows.Forms.DataGridViewRow dataGridViewRow) { throw null; } - public void CopyTo(System.Windows.Forms.DataGridViewRow[] array, int index) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Insert(int index, System.Windows.Forms.DataGridViewRow dataGridViewRow) { } - void System.Collections.ICollection.CopyTo(System.Array array, int index) { } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - public enum DataGridViewSelectionMode - { - CellSelect = 0, - ColumnHeaderSelect = 4, - FullColumnSelect = 2, - FullRowSelect = 1, - RowHeaderSelect = 3, - } - public partial class DataGridViewSortCompareEventArgs : System.ComponentModel.HandledEventArgs - { - public DataGridViewSortCompareEventArgs(System.Windows.Forms.DataGridViewColumn dataGridViewColumn, object cellValue1, object cellValue2, int rowIndex1, int rowIndex2) { } - public object CellValue1 { get { throw null; } } - public object CellValue2 { get { throw null; } } - public System.Windows.Forms.DataGridViewColumn Column { get { throw null; } } - public int RowIndex1 { get { throw null; } } - public int RowIndex2 { get { throw null; } } - public int SortResult { get { throw null; } set { } } - } - public delegate void DataGridViewSortCompareEventHandler(object sender, System.Windows.Forms.DataGridViewSortCompareEventArgs e); - public partial class DataGridViewTextBoxCell : System.Windows.Forms.DataGridViewCell - { - public DataGridViewTextBoxCell() { } - public override System.Type FormattedValueType { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(32767)] - public virtual int MaxInputLength { get { throw null; } set { } } - public override System.Type ValueType { get { throw null; } } - public override object Clone() { throw null; } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public override void DetachEditingControl() { } - protected override System.Drawing.Rectangle GetContentBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override System.Drawing.Rectangle GetErrorIconBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override System.Drawing.Size GetPreferredSize(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex, System.Drawing.Size constraintSize) { throw null; } - public override void InitializeEditingControl(int rowIndex, object initialFormattedValue, System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle) { } - public override bool KeyEntersEditMode(System.Windows.Forms.KeyEventArgs e) { throw null; } - protected override void OnEnter(int rowIndex, bool throughMouseClick) { } - protected override void OnLeave(int rowIndex, bool throughMouseClick) { } - protected override void OnMouseClick(System.Windows.Forms.DataGridViewCellMouseEventArgs e) { } - protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - public override void PositionEditingControl(bool setLocation, bool setSize, System.Drawing.Rectangle cellBounds, System.Drawing.Rectangle cellClip, System.Windows.Forms.DataGridViewCellStyle cellStyle, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow) { } - public override string ToString() { throw null; } - protected partial class DataGridViewTextBoxCellAccessibleObject : System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject - { - public DataGridViewTextBoxCellAccessibleObject(System.Windows.Forms.DataGridViewCell owner) { } - } - } - [System.Drawing.ToolboxBitmapAttribute(typeof(System.Windows.Forms.DataGridViewTextBoxColumn), "DataGridViewTextBoxColumn.bmp")] - public partial class DataGridViewTextBoxColumn : System.Windows.Forms.DataGridViewColumn - { - public DataGridViewTextBoxColumn() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override System.Windows.Forms.DataGridViewCell CellTemplate { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(32767)] - public int MaxInputLength { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DataGridViewColumnSortMode.Automatic)] - public new System.Windows.Forms.DataGridViewColumnSortMode SortMode { get { throw null; } set { } } - public override string ToString() { throw null; } - } - public partial class DataGridViewTextBoxEditingControl : System.Windows.Forms.TextBox, System.Windows.Forms.IDataGridViewEditingControl - { - public DataGridViewTextBoxEditingControl() { } - public virtual System.Windows.Forms.DataGridView EditingControlDataGridView { get { throw null; } set { } } - public virtual object EditingControlFormattedValue { get { throw null; } set { } } - public virtual int EditingControlRowIndex { get { throw null; } set { } } - public virtual bool EditingControlValueChanged { get { throw null; } set { } } - public virtual System.Windows.Forms.Cursor EditingPanelCursor { get { throw null; } } - public virtual bool RepositionEditingControlOnValueChange { get { throw null; } } - public virtual void ApplyCellStyleToEditingControl(System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle) { } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - public virtual bool EditingControlWantsInputKey(System.Windows.Forms.Keys keyData, bool dataGridViewWantsInputKey) { throw null; } - public virtual object GetEditingControlFormattedValue(System.Windows.Forms.DataGridViewDataErrorContexts context) { throw null; } - protected override void OnMouseWheel(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnTextChanged(System.EventArgs e) { } - public virtual void PrepareEditingControlForEdit(bool selectAll) { } - protected override bool ProcessKeyEventArgs(ref System.Windows.Forms.Message m) { throw null; } - } - public partial class DataGridViewTopLeftHeaderCell : System.Windows.Forms.DataGridViewColumnHeaderCell - { - public DataGridViewTopLeftHeaderCell() { } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override System.Drawing.Rectangle GetContentBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override System.Drawing.Rectangle GetErrorIconBounds(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex) { throw null; } - protected override System.Drawing.Size GetPreferredSize(System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex, System.Drawing.Size constraintSize) { throw null; } - protected override void Paint(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts) { } - protected override void PaintBorder(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle bounds, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle) { } - public override string ToString() { throw null; } - protected partial class DataGridViewTopLeftHeaderCellAccessibleObject : System.Windows.Forms.DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject - { - public DataGridViewTopLeftHeaderCellAccessibleObject(System.Windows.Forms.DataGridViewTopLeftHeaderCell owner) : base (default(System.Windows.Forms.DataGridViewColumnHeaderCell)) { } - public override System.Drawing.Rectangle Bounds { get { throw null; } } - public override string DefaultAction { get { throw null; } } - public override string Name { get { throw null; } } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public override string Value { get { throw null; } } - public override void DoDefaultAction() { } - public override System.Windows.Forms.AccessibleObject Navigate(System.Windows.Forms.AccessibleNavigation navigationDirection) { throw null; } - public override void Select(System.Windows.Forms.AccessibleSelection flags) { } - } - } - public enum DataGridViewTriState - { - False = 2, - NotSet = 0, - True = 1, - } - public partial class DataObject : System.Runtime.InteropServices.ComTypes.IDataObject, System.Windows.Forms.IDataObject - { - public DataObject() { } - public DataObject(object data) { } - public DataObject(string format, object data) { } - public virtual bool ContainsAudio() { throw null; } - public virtual bool ContainsFileDropList() { throw null; } - public virtual bool ContainsImage() { throw null; } - public virtual bool ContainsText() { throw null; } - public virtual bool ContainsText(System.Windows.Forms.TextDataFormat format) { throw null; } - public virtual System.IO.Stream GetAudioStream() { throw null; } - public virtual object GetData(string format) { throw null; } - public virtual object GetData(string format, bool autoConvert) { throw null; } - public virtual object GetData(System.Type format) { throw null; } - public virtual bool GetDataPresent(string format) { throw null; } - public virtual bool GetDataPresent(string format, bool autoConvert) { throw null; } - public virtual bool GetDataPresent(System.Type format) { throw null; } - public virtual System.Collections.Specialized.StringCollection GetFileDropList() { throw null; } - public virtual string[] GetFormats() { throw null; } - public virtual string[] GetFormats(bool autoConvert) { throw null; } - public virtual System.Drawing.Image GetImage() { throw null; } - public virtual string GetText() { throw null; } - public virtual string GetText(System.Windows.Forms.TextDataFormat format) { throw null; } - public virtual void SetAudio(byte[] audioBytes) { } - public virtual void SetAudio(System.IO.Stream audioStream) { } - public virtual void SetData(object data) { } - public virtual void SetData(string format, bool autoConvert, object data) { } - public virtual void SetData(string format, object data) { } - public virtual void SetData(System.Type format, object data) { } - public virtual void SetFileDropList(System.Collections.Specialized.StringCollection filePaths) { } - public virtual void SetImage(System.Drawing.Image image) { } - public virtual void SetText(string textData) { } - public virtual void SetText(string textData, System.Windows.Forms.TextDataFormat format) { } - int System.Runtime.InteropServices.ComTypes.IDataObject.DAdvise(ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetc, System.Runtime.InteropServices.ComTypes.ADVF advf, System.Runtime.InteropServices.ComTypes.IAdviseSink pAdvSink, out int pdwConnection) { throw null; } - void System.Runtime.InteropServices.ComTypes.IDataObject.DUnadvise(int dwConnection) { } - int System.Runtime.InteropServices.ComTypes.IDataObject.EnumDAdvise(out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA enumAdvise) { throw null; } - System.Runtime.InteropServices.ComTypes.IEnumFORMATETC System.Runtime.InteropServices.ComTypes.IDataObject.EnumFormatEtc(System.Runtime.InteropServices.ComTypes.DATADIR dwDirection) { throw null; } - int System.Runtime.InteropServices.ComTypes.IDataObject.GetCanonicalFormatEtc(ref System.Runtime.InteropServices.ComTypes.FORMATETC pformatetcIn, out System.Runtime.InteropServices.ComTypes.FORMATETC pformatetcOut) { throw null; } - void System.Runtime.InteropServices.ComTypes.IDataObject.GetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatetc, out System.Runtime.InteropServices.ComTypes.STGMEDIUM medium) { throw null; } - void System.Runtime.InteropServices.ComTypes.IDataObject.GetDataHere(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatetc, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM medium) { } - int System.Runtime.InteropServices.ComTypes.IDataObject.QueryGetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatetc) { throw null; } - void System.Runtime.InteropServices.ComTypes.IDataObject.SetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetcIn, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM pmedium, bool fRelease) { } - } - public enum DataSourceUpdateMode - { - Never = 2, - OnPropertyChanged = 1, - OnValidation = 0, - } - public partial class DateBoldEventArgs : System.EventArgs - { - internal DateBoldEventArgs() { } - public int[] DaysToBold { get { throw null; } set { } } - public int Size { get { throw null; } } - public System.DateTime StartDate { get { throw null; } } - } - public delegate void DateBoldEventHandler(object sender, System.Windows.Forms.DateBoldEventArgs e); - public partial class DateRangeEventArgs : System.EventArgs - { - public DateRangeEventArgs(System.DateTime start, System.DateTime end) { } - public System.DateTime End { get { throw null; } } - public System.DateTime Start { get { throw null; } } - } - public delegate void DateRangeEventHandler(object sender, System.Windows.Forms.DateRangeEventArgs e); - [System.ComponentModel.DefaultBindingPropertyAttribute("Value")] - [System.ComponentModel.DefaultEventAttribute("ValueChanged")] - [System.ComponentModel.DefaultPropertyAttribute("Value")] - public partial class DateTimePicker : System.Windows.Forms.Control - { - protected static readonly System.Drawing.Color DefaultMonthBackColor; - protected static readonly System.Drawing.Color DefaultTitleBackColor; - protected static readonly System.Drawing.Color DefaultTitleForeColor; - protected static readonly System.Drawing.Color DefaultTrailingForeColor; - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public static readonly System.DateTime MaxDateTime; - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public static readonly System.DateTime MinDateTime; - public DateTimePicker() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Font CalendarFont { get { throw null; } set { } } - public System.Drawing.Color CalendarForeColor { get { throw null; } set { } } - public System.Drawing.Color CalendarMonthBackground { get { throw null; } set { } } - public System.Drawing.Color CalendarTitleBackColor { get { throw null; } set { } } - public System.Drawing.Color CalendarTitleForeColor { get { throw null; } set { } } - public System.Drawing.Color CalendarTrailingForeColor { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool Checked { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public string CustomFormat { get { throw null; } set { } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override bool DoubleBuffered { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.LeftRightAlignment.Left)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.LeftRightAlignment DropDownAlign { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.DateTimePickerFormat Format { get { throw null; } set { } } - public System.DateTime MaxDate { get { throw null; } set { } } - public static System.DateTime MaximumDateTime { get { throw null; } } - public System.DateTime MinDate { get { throw null; } set { } } - public static System.DateTime MinimumDateTime { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int PreferredHeight { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool RightToLeftLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowCheckBox { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowUpDown { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public System.DateTime Value { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Click { add { } remove { } } - public event System.EventHandler CloseUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DoubleClick { add { } remove { } } - public event System.EventHandler DropDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - public event System.EventHandler FormatChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseDoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.EventHandler RightToLeftLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.EventHandler TextChanged { add { } remove { } } - public event System.EventHandler ValueChanged { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void CreateHandle() { } - protected override void DestroyHandle() { } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected virtual void OnCloseUp(System.EventArgs eventargs) { } - protected virtual void OnDropDown(System.EventArgs eventargs) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected virtual void OnFormatChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnRightToLeftLayoutChanged(System.EventArgs e) { } - protected override void OnSystemColorsChanged(System.EventArgs e) { } - protected virtual void OnValueChanged(System.EventArgs eventargs) { } - public override string ToString() { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public partial class DateTimePickerAccessibleObject : System.Windows.Forms.Control.ControlAccessibleObject - { - public DateTimePickerAccessibleObject(System.Windows.Forms.DateTimePicker owner) : base (default(System.Windows.Forms.Control)) { } - public override string KeyboardShortcut { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public override string Value { get { throw null; } } - } - } - public enum DateTimePickerFormat - { - Custom = 8, - Long = 1, - Short = 2, - Time = 4, - } - public enum Day - { - Default = 7, - Friday = 4, - Monday = 0, - Saturday = 5, - Sunday = 6, - Thursday = 3, - Tuesday = 1, - Wednesday = 2, - } - public enum DialogResult - { - Abort = 3, - Cancel = 2, - Ignore = 5, - No = 7, - None = 0, - OK = 1, - Retry = 4, - Yes = 6, - } - [System.AttributeUsageAttribute(System.AttributeTargets.Class)] - public sealed partial class DockingAttribute : System.Attribute - { - public static readonly System.Windows.Forms.DockingAttribute Default; - public DockingAttribute() { } - public DockingAttribute(System.Windows.Forms.DockingBehavior dockingBehavior) { } - public System.Windows.Forms.DockingBehavior DockingBehavior { get { throw null; } } - public override bool Equals(object obj) { throw null; } - public override int GetHashCode() { throw null; } - public override bool IsDefaultAttribute() { throw null; } - } - public enum DockingBehavior - { - Ask = 1, - AutoDock = 2, - Never = 0, - } - public enum DockStyle - { - Bottom = 2, - Fill = 5, - Left = 3, - None = 0, - Right = 4, - Top = 1, - } - [System.ComponentModel.DefaultBindingPropertyAttribute("SelectedItem")] - [System.ComponentModel.DefaultEventAttribute("SelectedItemChanged")] - [System.ComponentModel.DefaultPropertyAttribute("Items")] - public partial class DomainUpDown : System.Windows.Forms.UpDownBase - { - public DomainUpDown() { } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.DomainUpDown.DomainUpDownItemCollection Items { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(-1)] - public int SelectedIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public object SelectedItem { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Sorted { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool Wrap { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - public event System.EventHandler SelectedItemChanged { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - public override void DownButton() { } - protected override void OnChanged(object source, System.EventArgs e) { } - protected void OnSelectedItemChanged(object source, System.EventArgs e) { } - protected override void OnTextBoxKeyPress(object source, System.Windows.Forms.KeyPressEventArgs e) { } - public override string ToString() { throw null; } - public override void UpButton() { } - protected override void UpdateEditText() { } - public partial class DomainItemAccessibleObject : System.Windows.Forms.AccessibleObject - { - public DomainItemAccessibleObject(string name, System.Windows.Forms.AccessibleObject parent) { } - public override string Name { get { throw null; } set { } } - public override System.Windows.Forms.AccessibleObject Parent { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public override string Value { get { throw null; } } - } - public partial class DomainUpDownAccessibleObject : System.Windows.Forms.Control.ControlAccessibleObject - { - public DomainUpDownAccessibleObject(System.Windows.Forms.Control owner) : base (default(System.Windows.Forms.Control)) { } - public override string Name { get { throw null; } set { } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleObject GetChild(int index) { throw null; } - public override int GetChildCount() { throw null; } - } - public partial class DomainUpDownItemCollection : System.Collections.ArrayList - { - internal DomainUpDownItemCollection() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override object this[int index] { get { throw null; } set { } } - public override int Add(object item) { throw null; } - public override void Insert(int index, object item) { } - public override void Remove(object item) { } - public override void RemoveAt(int item) { } - } - } - public sealed partial class DpiChangedEventArgs : System.ComponentModel.CancelEventArgs - { - internal DpiChangedEventArgs() { } - public int DeviceDpiNew { get { throw null; } } - public int DeviceDpiOld { get { throw null; } } - public System.Drawing.Rectangle SuggestedRectangle { get { throw null; } } - public override string ToString() { throw null; } - } - public delegate void DpiChangedEventHandler(object sender, System.Windows.Forms.DpiChangedEventArgs e); - public enum DragAction - { - Cancel = 2, - Continue = 0, - Drop = 1, - } - [System.FlagsAttribute] - public enum DragDropEffects - { - All = -2147483645, - Copy = 1, - Link = 4, - Move = 2, - None = 0, - Scroll = -2147483648, - } - public partial class DragEventArgs : System.EventArgs - { - public DragEventArgs(System.Windows.Forms.IDataObject data, int keyState, int x, int y, System.Windows.Forms.DragDropEffects allowedEffect, System.Windows.Forms.DragDropEffects effect) { } - public System.Windows.Forms.DragDropEffects AllowedEffect { get { throw null; } } - public System.Windows.Forms.IDataObject Data { get { throw null; } } - public System.Windows.Forms.DragDropEffects Effect { get { throw null; } set { } } - public int KeyState { get { throw null; } } - public int X { get { throw null; } } - public int Y { get { throw null; } } - } - public delegate void DragEventHandler(object sender, System.Windows.Forms.DragEventArgs e); - public partial class DrawItemEventArgs : System.EventArgs - { - public DrawItemEventArgs(System.Drawing.Graphics graphics, System.Drawing.Font font, System.Drawing.Rectangle rect, int index, System.Windows.Forms.DrawItemState state) { } - public DrawItemEventArgs(System.Drawing.Graphics graphics, System.Drawing.Font font, System.Drawing.Rectangle rect, int index, System.Windows.Forms.DrawItemState state, System.Drawing.Color foreColor, System.Drawing.Color backColor) { } - public System.Drawing.Color BackColor { get { throw null; } } - public System.Drawing.Rectangle Bounds { get { throw null; } } - public System.Drawing.Font Font { get { throw null; } } - public System.Drawing.Color ForeColor { get { throw null; } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public int Index { get { throw null; } } - public System.Windows.Forms.DrawItemState State { get { throw null; } } - public virtual void DrawBackground() { } - public virtual void DrawFocusRectangle() { } - } - public delegate void DrawItemEventHandler(object sender, System.Windows.Forms.DrawItemEventArgs e); - [System.FlagsAttribute] - public enum DrawItemState - { - Checked = 8, - ComboBoxEdit = 4096, - Default = 32, - Disabled = 4, - Focus = 16, - Grayed = 2, - HotLight = 64, - Inactive = 128, - NoAccelerator = 256, - NoFocusRect = 512, - None = 0, - Selected = 1, - } - public partial class DrawListViewColumnHeaderEventArgs : System.EventArgs - { - public DrawListViewColumnHeaderEventArgs(System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds, int columnIndex, System.Windows.Forms.ColumnHeader header, System.Windows.Forms.ListViewItemStates state, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font font) { } - public System.Drawing.Color BackColor { get { throw null; } } - public System.Drawing.Rectangle Bounds { get { throw null; } } - public int ColumnIndex { get { throw null; } } - public bool DrawDefault { get { throw null; } set { } } - public System.Drawing.Font Font { get { throw null; } } - public System.Drawing.Color ForeColor { get { throw null; } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public System.Windows.Forms.ColumnHeader Header { get { throw null; } } - public System.Windows.Forms.ListViewItemStates State { get { throw null; } } - public void DrawBackground() { } - public void DrawText() { } - public void DrawText(System.Windows.Forms.TextFormatFlags flags) { } - } - public delegate void DrawListViewColumnHeaderEventHandler(object sender, System.Windows.Forms.DrawListViewColumnHeaderEventArgs e); - public partial class DrawListViewItemEventArgs : System.EventArgs - { - public DrawListViewItemEventArgs(System.Drawing.Graphics graphics, System.Windows.Forms.ListViewItem item, System.Drawing.Rectangle bounds, int itemIndex, System.Windows.Forms.ListViewItemStates state) { } - public System.Drawing.Rectangle Bounds { get { throw null; } } - public bool DrawDefault { get { throw null; } set { } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public System.Windows.Forms.ListViewItem Item { get { throw null; } } - public int ItemIndex { get { throw null; } } - public System.Windows.Forms.ListViewItemStates State { get { throw null; } } - public void DrawBackground() { } - public void DrawFocusRectangle() { } - public void DrawText() { } - public void DrawText(System.Windows.Forms.TextFormatFlags flags) { } - } - public delegate void DrawListViewItemEventHandler(object sender, System.Windows.Forms.DrawListViewItemEventArgs e); - public partial class DrawListViewSubItemEventArgs : System.EventArgs - { - public DrawListViewSubItemEventArgs(System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds, System.Windows.Forms.ListViewItem item, System.Windows.Forms.ListViewItem.ListViewSubItem subItem, int itemIndex, int columnIndex, System.Windows.Forms.ColumnHeader header, System.Windows.Forms.ListViewItemStates itemState) { } - public System.Drawing.Rectangle Bounds { get { throw null; } } - public int ColumnIndex { get { throw null; } } - public bool DrawDefault { get { throw null; } set { } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public System.Windows.Forms.ColumnHeader Header { get { throw null; } } - public System.Windows.Forms.ListViewItem Item { get { throw null; } } - public int ItemIndex { get { throw null; } } - public System.Windows.Forms.ListViewItemStates ItemState { get { throw null; } } - public System.Windows.Forms.ListViewItem.ListViewSubItem SubItem { get { throw null; } } - public void DrawBackground() { } - public void DrawFocusRectangle(System.Drawing.Rectangle bounds) { } - public void DrawText() { } - public void DrawText(System.Windows.Forms.TextFormatFlags flags) { } - } - public delegate void DrawListViewSubItemEventHandler(object sender, System.Windows.Forms.DrawListViewSubItemEventArgs e); - public enum DrawMode - { - Normal = 0, - OwnerDrawFixed = 1, - OwnerDrawVariable = 2, - } - public partial class DrawToolTipEventArgs : System.EventArgs - { - public DrawToolTipEventArgs(System.Drawing.Graphics graphics, System.Windows.Forms.IWin32Window associatedWindow, System.Windows.Forms.Control associatedControl, System.Drawing.Rectangle bounds, string toolTipText, System.Drawing.Color backColor, System.Drawing.Color foreColor, System.Drawing.Font font) { } - public System.Windows.Forms.Control AssociatedControl { get { throw null; } } - public System.Windows.Forms.IWin32Window AssociatedWindow { get { throw null; } } - public System.Drawing.Rectangle Bounds { get { throw null; } } - public System.Drawing.Font Font { get { throw null; } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public string ToolTipText { get { throw null; } } - public void DrawBackground() { } - public void DrawBorder() { } - public void DrawText() { } - public void DrawText(System.Windows.Forms.TextFormatFlags flags) { } - } - public delegate void DrawToolTipEventHandler(object sender, System.Windows.Forms.DrawToolTipEventArgs e); - public partial class DrawTreeNodeEventArgs : System.EventArgs - { - public DrawTreeNodeEventArgs(System.Drawing.Graphics graphics, System.Windows.Forms.TreeNode node, System.Drawing.Rectangle bounds, System.Windows.Forms.TreeNodeStates state) { } - public System.Drawing.Rectangle Bounds { get { throw null; } } - public bool DrawDefault { get { throw null; } set { } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public System.Windows.Forms.TreeNode Node { get { throw null; } } - public System.Windows.Forms.TreeNodeStates State { get { throw null; } } - } - public delegate void DrawTreeNodeEventHandler(object sender, System.Windows.Forms.DrawTreeNodeEventArgs e); - public enum ErrorBlinkStyle - { - AlwaysBlink = 1, - BlinkIfDifferentError = 0, - NeverBlink = 2, - } - public enum ErrorIconAlignment - { - BottomLeft = 4, - BottomRight = 5, - MiddleLeft = 2, - MiddleRight = 3, - TopLeft = 0, - TopRight = 1, - } - [System.ComponentModel.ComplexBindingPropertiesAttribute("DataSource", "DataMember")] - [System.ComponentModel.ProvidePropertyAttribute("Error", typeof(System.Windows.Forms.Control))] - [System.ComponentModel.ProvidePropertyAttribute("IconAlignment", typeof(System.Windows.Forms.Control))] - [System.ComponentModel.ProvidePropertyAttribute("IconPadding", typeof(System.Windows.Forms.Control))] - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms")] - public partial class ErrorProvider : System.ComponentModel.Component, System.ComponentModel.IExtenderProvider, System.ComponentModel.ISupportInitialize - { - public ErrorProvider() { } - public ErrorProvider(System.ComponentModel.IContainer container) { } - public ErrorProvider(System.Windows.Forms.ContainerControl parentControl) { } - [System.ComponentModel.DefaultValueAttribute(250)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int BlinkRate { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ErrorBlinkStyle.BlinkIfDifferentError)] - public System.Windows.Forms.ErrorBlinkStyle BlinkStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.ContainerControl ContainerControl { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public string DataMember { get { throw null; } set { } } - [System.ComponentModel.AttributeProviderAttribute(typeof(System.ComponentModel.IListSource))] - [System.ComponentModel.DefaultValueAttribute(null)] - public object DataSource { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Icon Icon { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool RightToLeft { get { throw null; } set { } } - public override System.ComponentModel.ISite Site { set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - public event System.EventHandler RightToLeftChanged { add { } remove { } } - public void BindToDataAndErrors(object newDataSource, string newDataMember) { } - public bool CanExtend(object extendee) { throw null; } - public void Clear() { } - protected override void Dispose(bool disposing) { } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string GetError(System.Windows.Forms.Control control) { throw null; } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ErrorIconAlignment.MiddleRight)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.ErrorIconAlignment GetIconAlignment(System.Windows.Forms.Control control) { throw null; } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.LocalizableAttribute(true)] - public int GetIconPadding(System.Windows.Forms.Control control) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnRightToLeftChanged(System.EventArgs e) { } - public void SetError(System.Windows.Forms.Control control, string value) { } - public void SetIconAlignment(System.Windows.Forms.Control control, System.Windows.Forms.ErrorIconAlignment value) { } - public void SetIconPadding(System.Windows.Forms.Control control, int padding) { } - void System.ComponentModel.ISupportInitialize.BeginInit() { } - void System.ComponentModel.ISupportInitialize.EndInit() { } - public void UpdateBinding() { } - } - public abstract partial class FeatureSupport : System.Windows.Forms.IFeatureSupport - { - protected FeatureSupport() { } - public abstract System.Version GetVersionPresent(object feature); - public static System.Version GetVersionPresent(string featureClassName, string featureConstName) { throw null; } - public virtual bool IsPresent(object feature) { throw null; } - public virtual bool IsPresent(object feature, System.Version minimumVersion) { throw null; } - public static bool IsPresent(string featureClassName, string featureConstName) { throw null; } - public static bool IsPresent(string featureClassName, string featureConstName, System.Version minimumVersion) { throw null; } - } - [System.ComponentModel.DefaultEventAttribute("FileOk")] - [System.ComponentModel.DefaultPropertyAttribute("FileName")] - public abstract partial class FileDialog : System.Windows.Forms.CommonDialog - { - internal FileDialog() { } - protected static readonly object EventFileOk; - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AddExtension { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AutoUpgradeEnabled { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public virtual bool CheckFileExists { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool CheckPathExists { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.FileDialogCustomPlacesCollection CustomPlaces { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute("")] - public string DefaultExt { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool DereferenceLinks { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - public string FileName { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string[] FileNames { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string Filter { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(1)] - public int FilterIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - public string InitialDirectory { get { throw null; } set { } } - protected virtual System.IntPtr Instance { get { throw null; } } - protected int Options { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool RestoreDirectory { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowHelp { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool SupportMultiDottedExtensions { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string Title { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ValidateNames { get { throw null; } set { } } - public event System.ComponentModel.CancelEventHandler FileOk { add { } remove { } } - protected override System.IntPtr HookProc(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) { throw null; } - protected void OnFileOk(System.ComponentModel.CancelEventArgs e) { } - public override void Reset() { } - protected override bool RunDialog(System.IntPtr hWndOwner) { throw null; } - public override string ToString() { throw null; } - } - public partial class FileDialogCustomPlace - { - public FileDialogCustomPlace(System.Guid knownFolderGuid) { } - public FileDialogCustomPlace(string path) { } - public System.Guid KnownFolderGuid { get { throw null; } set { } } - public string Path { get { throw null; } set { } } - public override string ToString() { throw null; } - } - public partial class FileDialogCustomPlacesCollection : System.Collections.ObjectModel.Collection - { - public FileDialogCustomPlacesCollection() { } - public void Add(System.Guid knownFolderGuid) { } - public void Add(string path) { } - } - public enum FixedPanel - { - None = 0, - Panel1 = 1, - Panel2 = 2, - } - public partial class FlatButtonAppearance - { - internal FlatButtonAppearance() { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - [System.ComponentModel.NotifyParentPropertyAttribute(true)] - public System.Drawing.Color BorderColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(1)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - [System.ComponentModel.NotifyParentPropertyAttribute(true)] - public int BorderSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - [System.ComponentModel.NotifyParentPropertyAttribute(true)] - public System.Drawing.Color CheckedBackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - [System.ComponentModel.NotifyParentPropertyAttribute(true)] - public System.Drawing.Color MouseDownBackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - [System.ComponentModel.NotifyParentPropertyAttribute(true)] - public System.Drawing.Color MouseOverBackColor { get { throw null; } set { } } - } - public enum FlatStyle - { - Flat = 0, - Popup = 1, - Standard = 2, - System = 3, - } - public enum FlowDirection - { - BottomUp = 3, - LeftToRight = 0, - RightToLeft = 2, - TopDown = 1, - } - [System.ComponentModel.DefaultPropertyAttribute("FlowDirection")] - [System.ComponentModel.ProvidePropertyAttribute("FlowBreak", typeof(System.Windows.Forms.Control))] - [System.Windows.Forms.DockingAttribute(System.Windows.Forms.DockingBehavior.Ask)] - public partial class FlowLayoutPanel : System.Windows.Forms.Panel, System.ComponentModel.IExtenderProvider - { - public FlowLayoutPanel() { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlowDirection.LeftToRight)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.FlowDirection FlowDirection { get { throw null; } set { } } - public override System.Windows.Forms.Layout.LayoutEngine LayoutEngine { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool WrapContents { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.DisplayNameAttribute("FlowBreak")] - public bool GetFlowBreak(System.Windows.Forms.Control control) { throw null; } - [System.ComponentModel.DisplayNameAttribute("FlowBreak")] - public void SetFlowBreak(System.Windows.Forms.Control control, bool value) { } - bool System.ComponentModel.IExtenderProvider.CanExtend(object obj) { throw null; } - } - [System.ComponentModel.DefaultPropertyAttribute("FlowDirection")] - public partial class FlowLayoutSettings : System.Windows.Forms.LayoutSettings - { - internal FlowLayoutSettings() { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlowDirection.LeftToRight)] - public System.Windows.Forms.FlowDirection FlowDirection { get { throw null; } set { } } - public override System.Windows.Forms.Layout.LayoutEngine LayoutEngine { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool WrapContents { get { throw null; } set { } } - public bool GetFlowBreak(object child) { throw null; } - public void SetFlowBreak(object child, bool value) { } - } - [System.ComponentModel.DefaultEventAttribute("HelpRequest")] - [System.ComponentModel.DefaultPropertyAttribute("SelectedPath")] - public sealed partial class FolderBrowserDialog : System.Windows.Forms.CommonDialog - { - public FolderBrowserDialog() { } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AutoUpgradeEnabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string Description { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Environment.SpecialFolder.Desktop)] - [System.ComponentModel.LocalizableAttribute(false)] - public System.Environment.SpecialFolder RootFolder { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string SelectedPath { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(false)] - public bool ShowNewFolderButton { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool UseDescriptionForTitle { get{ throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler HelpRequest { add { } remove { } } - public override void Reset() { } - protected override bool RunDialog(System.IntPtr hWndOwner) { throw null; } - } - [System.ComponentModel.DefaultEventAttribute("Apply")] - [System.ComponentModel.DefaultPropertyAttribute("Font")] - public partial class FontDialog : System.Windows.Forms.CommonDialog - { - protected static readonly object EventApply; - public FontDialog() { } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowScriptChange { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowSimulations { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowVectorFonts { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowVerticalFonts { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "Black")] - public System.Drawing.Color Color { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool FixedPitchOnly { get { throw null; } set { } } - public System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool FontMustExist { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - public int MaxSize { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - public int MinSize { get { throw null; } set { } } - protected int Options { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ScriptsOnly { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowApply { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowEffects { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowHelp { get { throw null; } set { } } - public event System.EventHandler Apply { add { } remove { } } - protected override System.IntPtr HookProc(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) { throw null; } - protected virtual void OnApply(System.EventArgs e) { } - public override void Reset() { } - protected override bool RunDialog(System.IntPtr hWndOwner) { throw null; } - public override string ToString() { throw null; } - } - [System.ComponentModel.DefaultEventAttribute("Load")] - [System.ComponentModel.DesignerCategoryAttribute("Form")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.InitializationEventAttribute("Load")] - [System.ComponentModel.ToolboxItemAttribute(false)] - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms.Control.TopLevel")] - public partial class Form : System.Windows.Forms.ContainerControl - { - public Form() { } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.IButtonControl AcceptButton { get { throw null; } set { } } - public static System.Windows.Forms.Form ActiveForm { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.Form ActiveMdiChild { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool AllowTransparency { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ObsoleteAttribute("This property has been deprecated. Use the AutoScaleMode property instead. http://go.microsoft.com/fwlink/?linkid=14202")] - public bool AutoScale { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Drawing.Size AutoScaleBaseSize { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public override bool AutoScroll { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoSizeMode.GrowOnly)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.AutoSizeMode AutoSizeMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override System.Windows.Forms.AutoValidate AutoValidate { get { throw null; } set { } } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.IButtonControl CancelButton { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.LocalizableAttribute(true)] - public new System.Drawing.Size ClientSize { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ControlBox { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.ImeMode DefaultImeMode { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Rectangle DesktopBounds { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Point DesktopLocation { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.DialogResult DialogResult { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FormBorderStyle.Sizable)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.FormBorderStyle FormBorderStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool HelpButton { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Icon Icon { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool IsMdiChild { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool IsMdiContainer { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool IsRestrictedWindow { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool KeyPreview { get { throw null; } set { } } - [System.ComponentModel.SettingsBindableAttribute(true)] - public new System.Drawing.Point Location { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.MenuStrip MainMenuStrip { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Margin { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool MaximizeBox { get { throw null; } set { } } - protected System.Drawing.Rectangle MaximizedBounds { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Size), "0, 0")] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public override System.Drawing.Size MaximumSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.Form[] MdiChildren { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.Form MdiParent { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.MainMenu Menu { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.MainMenu MergedMenu { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool MinimizeBox { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public override System.Drawing.Size MinimumSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool Modal { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(1)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.OpacityConverter))] - public double Opacity { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.Form[] OwnedForms { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.Form Owner { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Rectangle RestoreBounds { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool RightToLeftLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowIcon { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowInTaskbar { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - protected virtual bool ShowWithoutActivation { get { throw null; } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.LocalizableAttribute(false)] - public new System.Drawing.Size Size { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.SizeGripStyle.Auto)] - public System.Windows.Forms.SizeGripStyle SizeGripStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FormStartPosition.WindowsDefaultLocation)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.FormStartPosition StartPosition { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new int TabIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.Runtime.InteropServices.DispIdAttribute(-516)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.SettingsBindableAttribute(true)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool TopLevel { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool TopMost { get { throw null; } set { } } - public System.Drawing.Color TransparencyKey { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FormWindowState.Normal)] - public System.Windows.Forms.FormWindowState WindowState { get { throw null; } set { } } - public event System.EventHandler Activated { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoValidateChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public event System.EventHandler Closed { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public event System.ComponentModel.CancelEventHandler Closing { add { } remove { } } - public event System.EventHandler Deactivate { add { } remove { } } - public event System.Windows.Forms.DpiChangedEventHandler DpiChanged { add { } remove { } } - public event System.Windows.Forms.FormClosedEventHandler FormClosed { add { } remove { } } - public event System.Windows.Forms.FormClosingEventHandler FormClosing { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public event System.ComponentModel.CancelEventHandler HelpButtonClicked { add { } remove { } } - public event System.Windows.Forms.InputLanguageChangedEventHandler InputLanguageChanged { add { } remove { } } - public event System.Windows.Forms.InputLanguageChangingEventHandler InputLanguageChanging { add { } remove { } } - public event System.EventHandler Load { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MarginChanged { add { } remove { } } - public event System.EventHandler MaximizedBoundsChanged { add { } remove { } } - public event System.EventHandler MaximumSizeChanged { add { } remove { } } - public event System.EventHandler MdiChildActivate { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public event System.EventHandler MenuComplete { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public event System.EventHandler MenuStart { add { } remove { } } - public event System.EventHandler MinimumSizeChanged { add { } remove { } } - public event System.EventHandler ResizeBegin { add { } remove { } } - public event System.EventHandler ResizeEnd { add { } remove { } } - public event System.EventHandler RightToLeftLayoutChanged { add { } remove { } } - public event System.EventHandler Shown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabIndexChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - public void Activate() { } - protected void ActivateMdiChild(System.Windows.Forms.Form form) { } - public void AddOwnedForm(System.Windows.Forms.Form ownedForm) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void AdjustFormScrollbars(bool displayScrollbars) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ObsoleteAttribute("This method has been deprecated. Use the ApplyAutoScaling method instead. http://go.microsoft.com/fwlink/?linkid=14202")] - protected void ApplyAutoScaling() { } - protected void CenterToParent() { } - protected void CenterToScreen() { } - public void Close() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override System.Windows.Forms.Control.ControlCollection CreateControlsInstance() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void CreateHandle() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void DefWndProc(ref System.Windows.Forms.Message m) { } - protected override void Dispose(bool disposing) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ObsoleteAttribute("This method has been deprecated. Use the AutoScaleDimensions property instead. http://go.microsoft.com/fwlink/?linkid=14202")] - public static System.Drawing.SizeF GetAutoScaleSize(System.Drawing.Font font) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override System.Drawing.Rectangle GetScaledBounds(System.Drawing.Rectangle bounds, System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { throw null; } - public void LayoutMdi(System.Windows.Forms.MdiLayout value) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnActivated(System.EventArgs e) { } - protected override void OnBackgroundImageChanged(System.EventArgs e) { } - protected override void OnBackgroundImageLayoutChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnClosed(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnClosing(System.ComponentModel.CancelEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnCreateControl() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnDeactivate(System.EventArgs e) { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - protected virtual void OnDpiChanged(System.Windows.Forms.DpiChangedEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnEnabledChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnEnter(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnFontChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnFormClosed(System.Windows.Forms.FormClosedEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnFormClosing(System.Windows.Forms.FormClosingEventArgs e) { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual bool OnGetDpiScaledSize(int deviceDpiOld, int deviceDpiNew, ref System.Drawing.Size desiredSize) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnHandleCreated(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnHandleDestroyed(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnHelpButtonClicked(System.ComponentModel.CancelEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnInputLanguageChanged(System.Windows.Forms.InputLanguageChangedEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnInputLanguageChanging(System.Windows.Forms.InputLanguageChangingEventArgs e) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs levent) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnLoad(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMaximizedBoundsChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMaximumSizeChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMdiChildActivate(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMenuComplete(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMenuStart(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMinimumSizeChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnResize(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnResizeBegin(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnResizeEnd(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnRightToLeftLayoutChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnShown(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnStyleChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnTextChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnVisibleChanged(System.EventArgs e) { } - protected override bool ProcessCmdKey(ref System.Windows.Forms.Message msg, System.Windows.Forms.Keys keyData) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override bool ProcessDialogChar(char charCode) { throw null; } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected override bool ProcessKeyPreview(ref System.Windows.Forms.Message m) { throw null; } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - protected override bool ProcessTabKey(bool forward) { throw null; } - public void RemoveOwnedForm(System.Windows.Forms.Form ownedForm) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void ScaleControl(System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override void ScaleCore(float x, float y) { } - protected override void Select(bool directed, bool forward) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void SetClientSizeCore(int x, int y) { } - public void SetDesktopBounds(int x, int y, int width, int height) { } - public void SetDesktopLocation(int x, int y) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void SetVisibleCore(bool value) { } - public void Show(System.Windows.Forms.IWin32Window owner) { } - public System.Windows.Forms.DialogResult ShowDialog() { throw null; } - public System.Windows.Forms.DialogResult ShowDialog(System.Windows.Forms.IWin32Window owner) { throw null; } - public override string ToString() { throw null; } - protected override void UpdateDefaultButton() { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override bool ValidateChildren() { throw null; } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override bool ValidateChildren(System.Windows.Forms.ValidationConstraints validationConstraints) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public new partial class ControlCollection : System.Windows.Forms.Control.ControlCollection - { - public ControlCollection(System.Windows.Forms.Form owner) : base (default(System.Windows.Forms.Control)) { } - public override void Add(System.Windows.Forms.Control value) { } - public override void Remove(System.Windows.Forms.Control value) { } - } - } - public enum FormBorderStyle - { - Fixed3D = 2, - FixedDialog = 3, - FixedSingle = 1, - FixedToolWindow = 5, - None = 0, - Sizable = 4, - SizableToolWindow = 6, - } - public partial class FormClosedEventArgs : System.EventArgs - { - public FormClosedEventArgs(System.Windows.Forms.CloseReason closeReason) { } - public System.Windows.Forms.CloseReason CloseReason { get { throw null; } } - } - public delegate void FormClosedEventHandler(object sender, System.Windows.Forms.FormClosedEventArgs e); - public partial class FormClosingEventArgs : System.ComponentModel.CancelEventArgs - { - public FormClosingEventArgs(System.Windows.Forms.CloseReason closeReason, bool cancel) { } - public System.Windows.Forms.CloseReason CloseReason { get { throw null; } } - } - public delegate void FormClosingEventHandler(object sender, System.Windows.Forms.FormClosingEventArgs e); - public partial class FormCollection : System.Collections.ReadOnlyCollectionBase - { - public FormCollection() { } - public virtual System.Windows.Forms.Form this[int index] { get { throw null; } } - public virtual System.Windows.Forms.Form this[string name] { get { throw null; } } - } - public enum FormStartPosition - { - CenterParent = 4, - CenterScreen = 1, - Manual = 0, - WindowsDefaultBounds = 3, - WindowsDefaultLocation = 2, - } - public enum FormWindowState - { - Maximized = 2, - Minimized = 1, - Normal = 0, - } - public enum FrameStyle - { - Dashed = 0, - Thick = 1, - } - [System.FlagsAttribute] - public enum GetChildAtPointSkip - { - Disabled = 2, - Invisible = 1, - None = 0, - Transparent = 4, - } - public partial class GiveFeedbackEventArgs : System.EventArgs - { - public GiveFeedbackEventArgs(System.Windows.Forms.DragDropEffects effect, bool useDefaultCursors) { } - public System.Windows.Forms.DragDropEffects Effect { get { throw null; } } - public bool UseDefaultCursors { get { throw null; } set { } } - } - public delegate void GiveFeedbackEventHandler(object sender, System.Windows.Forms.GiveFeedbackEventArgs e); - [System.ComponentModel.ListBindableAttribute(false)] - public partial class GridColumnStylesCollection : System.Windows.Forms.BaseCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - internal GridColumnStylesCollection() { } - public System.Windows.Forms.DataGridColumnStyle this[System.ComponentModel.PropertyDescriptor propertyDesciptor] { get { throw null; } } - public System.Windows.Forms.DataGridColumnStyle this[int index] { get { throw null; } } - public System.Windows.Forms.DataGridColumnStyle this[string columnName] { get { throw null; } } - protected override System.Collections.ArrayList List { get { throw null; } } - int System.Collections.ICollection.Count { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public event System.ComponentModel.CollectionChangeEventHandler CollectionChanged { add { } remove { } } - public virtual int Add(System.Windows.Forms.DataGridColumnStyle column) { throw null; } - public void AddRange(System.Windows.Forms.DataGridColumnStyle[] columns) { } - public void Clear() { } - public bool Contains(System.ComponentModel.PropertyDescriptor propertyDescriptor) { throw null; } - public bool Contains(string name) { throw null; } - public bool Contains(System.Windows.Forms.DataGridColumnStyle column) { throw null; } - public int IndexOf(System.Windows.Forms.DataGridColumnStyle element) { throw null; } - protected void OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs e) { } - public void Remove(System.Windows.Forms.DataGridColumnStyle column) { } - public void RemoveAt(int index) { } - public void ResetPropertyDescriptors() { } - void System.Collections.ICollection.CopyTo(System.Array array, int index) { } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - public abstract partial class GridItem - { - protected GridItem() { } - public virtual bool Expandable { get { throw null; } } - public virtual bool Expanded { get { throw null; } set { } } - public abstract System.Windows.Forms.GridItemCollection GridItems { get; } - public abstract System.Windows.Forms.GridItemType GridItemType { get; } - public abstract string Label { get; } - public abstract System.Windows.Forms.GridItem Parent { get; } - public abstract System.ComponentModel.PropertyDescriptor PropertyDescriptor { get; } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - public abstract object Value { get; } - public abstract bool Select(); - } - public partial class GridItemCollection : System.Collections.ICollection, System.Collections.IEnumerable - { - internal GridItemCollection() { } - public static System.Windows.Forms.GridItemCollection Empty; - public int Count { get { throw null; } } - public System.Windows.Forms.GridItem this[int index] { get { throw null; } } - public System.Windows.Forms.GridItem this[string label] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - void System.Collections.ICollection.CopyTo(System.Array dest, int index) { } - } - public enum GridItemType - { - ArrayValue = 2, - Category = 1, - Property = 0, - Root = 3, - } - public sealed partial class GridTablesFactory - { - internal GridTablesFactory() { } - public static System.Windows.Forms.DataGridTableStyle[] CreateGridTables(System.Windows.Forms.DataGridTableStyle gridTable, object dataSource, string dataMember, System.Windows.Forms.BindingContext bindingManager) { throw null; } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class GridTableStylesCollection : System.Windows.Forms.BaseCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - internal GridTableStylesCollection() { } - public System.Windows.Forms.DataGridTableStyle this[int index] { get { throw null; } } - public System.Windows.Forms.DataGridTableStyle this[string tableName] { get { throw null; } } - protected override System.Collections.ArrayList List { get { throw null; } } - int System.Collections.ICollection.Count { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public event System.ComponentModel.CollectionChangeEventHandler CollectionChanged { add { } remove { } } - public virtual int Add(System.Windows.Forms.DataGridTableStyle table) { throw null; } - public virtual void AddRange(System.Windows.Forms.DataGridTableStyle[] tables) { } - public void Clear() { } - public bool Contains(string name) { throw null; } - public bool Contains(System.Windows.Forms.DataGridTableStyle table) { throw null; } - protected void OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs e) { } - public void Remove(System.Windows.Forms.DataGridTableStyle table) { } - public void RemoveAt(int index) { } - void System.Collections.ICollection.CopyTo(System.Array array, int index) { } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - [System.ComponentModel.DefaultEventAttribute("Enter")] - [System.ComponentModel.DefaultPropertyAttribute("Text")] - public partial class GroupBox : System.Windows.Forms.Control - { - public GroupBox() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public override bool AllowDrop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoSizeMode.GrowOnly)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.AutoSizeMode AutoSizeMode { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.Padding DefaultPadding { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - public override System.Drawing.Rectangle DisplayRectangle { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlatStyle.Standard)] - public System.Windows.Forms.FlatStyle FlatStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseCompatibleTextRendering { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.EventHandler Click { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.EventHandler DoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.MouseEventHandler MouseClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.MouseEventHandler MouseDoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.MouseEventHandler MouseDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.EventHandler MouseEnter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.EventHandler MouseLeave { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.MouseEventHandler MouseMove { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.MouseEventHandler MouseUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - protected override void ScaleControl(System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { } - public override string ToString() { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public sealed partial class GroupBoxRenderer - { - internal GroupBoxRenderer() { } - public static bool RenderMatchingApplicationState { get { throw null; } set { } } - public static void DrawGroupBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string groupBoxText, System.Drawing.Font font, System.Drawing.Color textColor, System.Windows.Forms.TextFormatFlags flags, System.Windows.Forms.VisualStyles.GroupBoxState state) { } - public static void DrawGroupBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string groupBoxText, System.Drawing.Font font, System.Drawing.Color textColor, System.Windows.Forms.VisualStyles.GroupBoxState state) { } - public static void DrawGroupBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string groupBoxText, System.Drawing.Font font, System.Windows.Forms.TextFormatFlags flags, System.Windows.Forms.VisualStyles.GroupBoxState state) { } - public static void DrawGroupBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string groupBoxText, System.Drawing.Font font, System.Windows.Forms.VisualStyles.GroupBoxState state) { } - public static void DrawGroupBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.GroupBoxState state) { } - public static void DrawParentBackground(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.Control childControl) { } - public static bool IsBackgroundPartiallyTransparent(System.Windows.Forms.VisualStyles.GroupBoxState state) { throw null; } - } - public partial class HandledMouseEventArgs : System.Windows.Forms.MouseEventArgs - { - public HandledMouseEventArgs(System.Windows.Forms.MouseButtons button, int clicks, int x, int y, int delta) : base (default(System.Windows.Forms.MouseButtons), default(int), default(int), default(int), default(int)) { } - public HandledMouseEventArgs(System.Windows.Forms.MouseButtons button, int clicks, int x, int y, int delta, bool defaultHandledValue) : base (default(System.Windows.Forms.MouseButtons), default(int), default(int), default(int), default(int)) { } - public bool Handled { get { throw null; } set { } } - } - public partial class Help - { - internal Help() { } - public static void ShowHelp(System.Windows.Forms.Control parent, string url) { } - public static void ShowHelp(System.Windows.Forms.Control parent, string url, string keyword) { } - public static void ShowHelp(System.Windows.Forms.Control parent, string url, System.Windows.Forms.HelpNavigator navigator) { } - public static void ShowHelp(System.Windows.Forms.Control parent, string url, System.Windows.Forms.HelpNavigator command, object parameter) { } - public static void ShowHelpIndex(System.Windows.Forms.Control parent, string url) { } - public static void ShowPopup(System.Windows.Forms.Control parent, string caption, System.Drawing.Point location) { } - } - public partial class HelpEventArgs : System.EventArgs - { - public HelpEventArgs(System.Drawing.Point mousePos) { } - public bool Handled { get { throw null; } set { } } - public System.Drawing.Point MousePos { get { throw null; } } - } - public delegate void HelpEventHandler(object sender, System.Windows.Forms.HelpEventArgs hlpevent); - public enum HelpNavigator - { - AssociateIndex = -2147483643, - Find = -2147483644, - Index = -2147483645, - KeywordIndex = -2147483642, - TableOfContents = -2147483646, - Topic = -2147483647, - TopicId = -2147483641, - } - [System.ComponentModel.ProvidePropertyAttribute("HelpKeyword", typeof(System.Windows.Forms.Control))] - [System.ComponentModel.ProvidePropertyAttribute("HelpNavigator", typeof(System.Windows.Forms.Control))] - [System.ComponentModel.ProvidePropertyAttribute("HelpString", typeof(System.Windows.Forms.Control))] - [System.ComponentModel.ProvidePropertyAttribute("ShowHelp", typeof(System.Windows.Forms.Control))] - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms")] - public partial class HelpProvider : System.ComponentModel.Component, System.ComponentModel.IExtenderProvider - { - public HelpProvider() { } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual string HelpNamespace { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - public virtual bool CanExtend(object target) { throw null; } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual string GetHelpKeyword(System.Windows.Forms.Control ctl) { throw null; } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.HelpNavigator.AssociateIndex)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Windows.Forms.HelpNavigator GetHelpNavigator(System.Windows.Forms.Control ctl) { throw null; } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual string GetHelpString(System.Windows.Forms.Control ctl) { throw null; } - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool GetShowHelp(System.Windows.Forms.Control ctl) { throw null; } - public virtual void ResetShowHelp(System.Windows.Forms.Control ctl) { } - public virtual void SetHelpKeyword(System.Windows.Forms.Control ctl, string keyword) { } - public virtual void SetHelpNavigator(System.Windows.Forms.Control ctl, System.Windows.Forms.HelpNavigator navigator) { } - public virtual void SetHelpString(System.Windows.Forms.Control ctl, string helpString) { } - public virtual void SetShowHelp(System.Windows.Forms.Control ctl, bool value) { } - public override string ToString() { throw null; } - } - - public enum HighDpiMode - { - DpiUnaware, - SystemAware, - PerMonitor, - PerMonitorV2, - DpiUnawareGdiScaled - } - - public enum HorizontalAlignment - { - Center = 2, - Left = 0, - Right = 1, - } - public partial class HScrollBar : System.Windows.Forms.ScrollBar - { - public HScrollBar() { } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - } - public partial class HScrollProperties : System.Windows.Forms.ScrollProperties - { - public HScrollProperties(System.Windows.Forms.ScrollableControl container) : base (default(System.Windows.Forms.ScrollableControl)) { } - } - public sealed partial class HtmlDocument - { - internal HtmlDocument() { } - public System.Windows.Forms.HtmlElement ActiveElement { get { throw null; } } - public System.Drawing.Color ActiveLinkColor { get { throw null; } set { } } - public System.Windows.Forms.HtmlElementCollection All { get { throw null; } } - public System.Drawing.Color BackColor { get { throw null; } set { } } - public System.Windows.Forms.HtmlElement Body { get { throw null; } } - public string Cookie { get { throw null; } set { } } - public string DefaultEncoding { get { throw null; } } - public string Domain { get { throw null; } set { } } - public object DomDocument { get { throw null; } } - public string Encoding { get { throw null; } set { } } - public bool Focused { get { throw null; } } - public System.Drawing.Color ForeColor { get { throw null; } set { } } - public System.Windows.Forms.HtmlElementCollection Forms { get { throw null; } } - public System.Windows.Forms.HtmlElementCollection Images { get { throw null; } } - public System.Drawing.Color LinkColor { get { throw null; } set { } } - public System.Windows.Forms.HtmlElementCollection Links { get { throw null; } } - public bool RightToLeft { get { throw null; } set { } } - public string Title { get { throw null; } set { } } - public System.Uri Url { get { throw null; } } - public System.Drawing.Color VisitedLinkColor { get { throw null; } set { } } - public System.Windows.Forms.HtmlWindow Window { get { throw null; } } - public event System.Windows.Forms.HtmlElementEventHandler Click { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler ContextMenuShowing { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler Focusing { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler LosingFocus { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler MouseDown { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler MouseLeave { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler MouseMove { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler MouseOver { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler MouseUp { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler Stop { add { } remove { } } - public void AttachEventHandler(string eventName, System.EventHandler eventHandler) { } - public System.Windows.Forms.HtmlElement CreateElement(string elementTag) { throw null; } - public void DetachEventHandler(string eventName, System.EventHandler eventHandler) { } - public override bool Equals(object obj) { throw null; } - public void ExecCommand(string command, bool showUI, object value) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public void Focus() { } - public System.Windows.Forms.HtmlElement GetElementById(string id) { throw null; } - public System.Windows.Forms.HtmlElement GetElementFromPoint(System.Drawing.Point point) { throw null; } - public System.Windows.Forms.HtmlElementCollection GetElementsByTagName(string tagName) { throw null; } - public override int GetHashCode() { throw null; } - public object InvokeScript(string scriptName) { throw null; } - public object InvokeScript(string scriptName, object[] args) { throw null; } - public System.Windows.Forms.HtmlDocument OpenNew(bool replaceInHistory) { throw null; } - public static bool operator ==(System.Windows.Forms.HtmlDocument left, System.Windows.Forms.HtmlDocument right) { throw null; } - public static bool operator !=(System.Windows.Forms.HtmlDocument left, System.Windows.Forms.HtmlDocument right) { throw null; } - public void Write(string text) { } - } - public sealed partial class HtmlElement - { - internal HtmlElement() { } - public System.Windows.Forms.HtmlElementCollection All { get { throw null; } } - public bool CanHaveChildren { get { throw null; } } - public System.Windows.Forms.HtmlElementCollection Children { get { throw null; } } - public System.Drawing.Rectangle ClientRectangle { get { throw null; } } - public System.Windows.Forms.HtmlDocument Document { get { throw null; } } - public object DomElement { get { throw null; } } - public bool Enabled { get { throw null; } set { } } - public System.Windows.Forms.HtmlElement FirstChild { get { throw null; } } - public string Id { get { throw null; } set { } } - public string InnerHtml { get { throw null; } set { } } - public string InnerText { get { throw null; } set { } } - public string Name { get { throw null; } set { } } - public System.Windows.Forms.HtmlElement NextSibling { get { throw null; } } - public System.Windows.Forms.HtmlElement OffsetParent { get { throw null; } } - public System.Drawing.Rectangle OffsetRectangle { get { throw null; } } - public string OuterHtml { get { throw null; } set { } } - public string OuterText { get { throw null; } set { } } - public System.Windows.Forms.HtmlElement Parent { get { throw null; } } - public int ScrollLeft { get { throw null; } set { } } - public System.Drawing.Rectangle ScrollRectangle { get { throw null; } } - public int ScrollTop { get { throw null; } set { } } - public string Style { get { throw null; } set { } } - public short TabIndex { get { throw null; } set { } } - public string TagName { get { throw null; } } - public event System.Windows.Forms.HtmlElementEventHandler Click { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler DoubleClick { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler Drag { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler DragEnd { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler DragLeave { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler DragOver { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler Focusing { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler GotFocus { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler KeyDown { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler KeyPress { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler KeyUp { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler LosingFocus { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler LostFocus { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler MouseDown { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler MouseEnter { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler MouseLeave { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler MouseMove { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler MouseOver { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler MouseUp { add { } remove { } } - public System.Windows.Forms.HtmlElement AppendChild(System.Windows.Forms.HtmlElement newElement) { throw null; } - public void AttachEventHandler(string eventName, System.EventHandler eventHandler) { } - public void DetachEventHandler(string eventName, System.EventHandler eventHandler) { } - public override bool Equals(object obj) { throw null; } - public void Focus() { } - public string GetAttribute(string attributeName) { throw null; } - public System.Windows.Forms.HtmlElementCollection GetElementsByTagName(string tagName) { throw null; } - public override int GetHashCode() { throw null; } - public System.Windows.Forms.HtmlElement InsertAdjacentElement(System.Windows.Forms.HtmlElementInsertionOrientation orient, System.Windows.Forms.HtmlElement newElement) { throw null; } - public object InvokeMember(string methodName) { throw null; } - public object InvokeMember(string methodName, params object[] parameter) { throw null; } - public static bool operator ==(System.Windows.Forms.HtmlElement left, System.Windows.Forms.HtmlElement right) { throw null; } - public static bool operator !=(System.Windows.Forms.HtmlElement left, System.Windows.Forms.HtmlElement right) { throw null; } - public void RaiseEvent(string eventName) { } - public void RemoveFocus() { } - public void ScrollIntoView(bool alignWithTop) { } - public void SetAttribute(string attributeName, string value) { } - } - public sealed partial class HtmlElementCollection : System.Collections.ICollection, System.Collections.IEnumerable - { - internal HtmlElementCollection() { } - public int Count { get { throw null; } } - public System.Windows.Forms.HtmlElement this[int index] { get { throw null; } } - public System.Windows.Forms.HtmlElement this[string elementId] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - public System.Windows.Forms.HtmlElementCollection GetElementsByName(string name) { throw null; } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - void System.Collections.ICollection.CopyTo(System.Array dest, int index) { } - } - public sealed partial class HtmlElementErrorEventArgs : System.EventArgs - { - internal HtmlElementErrorEventArgs() { } - public string Description { get { throw null; } } - public bool Handled { get { throw null; } set { } } - public int LineNumber { get { throw null; } } - public System.Uri Url { get { throw null; } } - } - public delegate void HtmlElementErrorEventHandler(object sender, System.Windows.Forms.HtmlElementErrorEventArgs e); - public sealed partial class HtmlElementEventArgs : System.EventArgs - { - internal HtmlElementEventArgs() { } - public bool AltKeyPressed { get { throw null; } } - public bool BubbleEvent { get { throw null; } set { } } - public System.Drawing.Point ClientMousePosition { get { throw null; } } - public bool CtrlKeyPressed { get { throw null; } } - public string EventType { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.HtmlElement FromElement { get { throw null; } } - public int KeyPressedCode { get { throw null; } } - public System.Windows.Forms.MouseButtons MouseButtonsPressed { get { throw null; } } - public System.Drawing.Point MousePosition { get { throw null; } } - public System.Drawing.Point OffsetMousePosition { get { throw null; } } - public bool ReturnValue { get { throw null; } set { } } - public bool ShiftKeyPressed { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.HtmlElement ToElement { get { throw null; } } - } - public delegate void HtmlElementEventHandler(object sender, System.Windows.Forms.HtmlElementEventArgs e); - public enum HtmlElementInsertionOrientation - { - AfterBegin = 1, - AfterEnd = 3, - BeforeBegin = 0, - BeforeEnd = 2, - } - public sealed partial class HtmlHistory : System.IDisposable - { - internal HtmlHistory() { } - public object DomHistory { get { throw null; } } - public int Length { get { throw null; } } - public void Back(int numberBack) { } - public void Dispose() { } - public void Forward(int numberForward) { } - public void Go(int relativePosition) { } - public void Go(string urlString) { } - public void Go(System.Uri url) { } - } - public sealed partial class HtmlWindow - { - internal HtmlWindow() { } - public System.Windows.Forms.HtmlDocument Document { get { throw null; } } - public object DomWindow { get { throw null; } } - public System.Windows.Forms.HtmlWindowCollection Frames { get { throw null; } } - public System.Windows.Forms.HtmlHistory History { get { throw null; } } - public bool IsClosed { get { throw null; } } - public string Name { get { throw null; } set { } } - public System.Windows.Forms.HtmlWindow Opener { get { throw null; } } - public System.Windows.Forms.HtmlWindow Parent { get { throw null; } } - public System.Drawing.Point Position { get { throw null; } } - public System.Drawing.Size Size { get { throw null; } set { } } - public string StatusBarText { get { throw null; } set { } } - public System.Uri Url { get { throw null; } } - public System.Windows.Forms.HtmlElement WindowFrameElement { get { throw null; } } - public event System.Windows.Forms.HtmlElementErrorEventHandler Error { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler GotFocus { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler Load { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler LostFocus { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler Resize { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler Scroll { add { } remove { } } - public event System.Windows.Forms.HtmlElementEventHandler Unload { add { } remove { } } - public void Alert(string message) { } - public void AttachEventHandler(string eventName, System.EventHandler eventHandler) { } - public void Close() { } - public bool Confirm(string message) { throw null; } - public void DetachEventHandler(string eventName, System.EventHandler eventHandler) { } - public override bool Equals(object obj) { throw null; } - public void Focus() { } - public override int GetHashCode() { throw null; } - public void MoveTo(System.Drawing.Point point) { } - public void MoveTo(int x, int y) { } - public void Navigate(string urlString) { } - public void Navigate(System.Uri url) { } - public System.Windows.Forms.HtmlWindow Open(string urlString, string target, string windowOptions, bool replaceEntry) { throw null; } - public System.Windows.Forms.HtmlWindow Open(System.Uri url, string target, string windowOptions, bool replaceEntry) { throw null; } - public System.Windows.Forms.HtmlWindow OpenNew(string urlString, string windowOptions) { throw null; } - public System.Windows.Forms.HtmlWindow OpenNew(System.Uri url, string windowOptions) { throw null; } - public static bool operator ==(System.Windows.Forms.HtmlWindow left, System.Windows.Forms.HtmlWindow right) { throw null; } - public static bool operator !=(System.Windows.Forms.HtmlWindow left, System.Windows.Forms.HtmlWindow right) { throw null; } - public string Prompt(string message, string defaultInputValue) { throw null; } - public void RemoveFocus() { } - public void ResizeTo(System.Drawing.Size size) { } - public void ResizeTo(int width, int height) { } - public void ScrollTo(System.Drawing.Point point) { } - public void ScrollTo(int x, int y) { } - } - public partial class HtmlWindowCollection : System.Collections.ICollection, System.Collections.IEnumerable - { - internal HtmlWindowCollection() { } - public int Count { get { throw null; } } - public System.Windows.Forms.HtmlWindow this[int index] { get { throw null; } } - public System.Windows.Forms.HtmlWindow this[string windowId] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - void System.Collections.ICollection.CopyTo(System.Array dest, int index) { } - } - public partial interface IBindableComponent : System.ComponentModel.IComponent, System.IDisposable - { - System.Windows.Forms.BindingContext BindingContext { get; set; } - System.Windows.Forms.ControlBindingsCollection DataBindings { get; } - } - public partial interface IButtonControl - { - System.Windows.Forms.DialogResult DialogResult { get; set; } - void NotifyDefault(bool value); - void PerformClick(); - } - public partial interface ICommandExecutor - { - void Execute(); - } - public partial interface IComponentEditorPageSite - { - System.Windows.Forms.Control GetControl(); - void SetDirty(); - } - public partial interface IContainerControl - { - System.Windows.Forms.Control ActiveControl { get; set; } - bool ActivateControl(System.Windows.Forms.Control active); - } - public partial interface ICurrencyManagerProvider - { - System.Windows.Forms.CurrencyManager CurrencyManager { get; } - System.Windows.Forms.CurrencyManager GetRelatedCurrencyManager(string dataMember); - } - public partial interface IDataGridColumnStyleEditingNotificationService - { - void ColumnStartedEditing(System.Windows.Forms.Control editingControl); - } - public partial interface IDataGridEditingService - { - bool BeginEdit(System.Windows.Forms.DataGridColumnStyle gridColumn, int rowNumber); - bool EndEdit(System.Windows.Forms.DataGridColumnStyle gridColumn, int rowNumber, bool shouldAbort); - } - public partial interface IDataGridViewEditingCell - { - object EditingCellFormattedValue { get; set; } - bool EditingCellValueChanged { get; set; } - object GetEditingCellFormattedValue(System.Windows.Forms.DataGridViewDataErrorContexts context); - void PrepareEditingCellForEdit(bool selectAll); - } - public partial interface IDataGridViewEditingControl - { - System.Windows.Forms.DataGridView EditingControlDataGridView { get; set; } - object EditingControlFormattedValue { get; set; } - int EditingControlRowIndex { get; set; } - bool EditingControlValueChanged { get; set; } - System.Windows.Forms.Cursor EditingPanelCursor { get; } - bool RepositionEditingControlOnValueChange { get; } - void ApplyCellStyleToEditingControl(System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle); - bool EditingControlWantsInputKey(System.Windows.Forms.Keys keyData, bool dataGridViewWantsInputKey); - object GetEditingControlFormattedValue(System.Windows.Forms.DataGridViewDataErrorContexts context); - void PrepareEditingControlForEdit(bool selectAll); - } - public partial interface IDataObject - { - object GetData(string format); - object GetData(string format, bool autoConvert); - object GetData(System.Type format); - bool GetDataPresent(string format); - bool GetDataPresent(string format, bool autoConvert); - bool GetDataPresent(System.Type format); - string[] GetFormats(); - string[] GetFormats(bool autoConvert); - void SetData(object data); - void SetData(string format, bool autoConvert, object data); - void SetData(string format, object data); - void SetData(System.Type format, object data); - } - public partial interface IDropTarget - { - void OnDragDrop(System.Windows.Forms.DragEventArgs e); - void OnDragEnter(System.Windows.Forms.DragEventArgs e); - void OnDragLeave(System.EventArgs e); - void OnDragOver(System.Windows.Forms.DragEventArgs e); - } - public partial interface IFeatureSupport - { - System.Version GetVersionPresent(object feature); - bool IsPresent(object feature); - bool IsPresent(object feature, System.Version minimumVersion); - } - public partial interface IFileReaderService - { - System.IO.Stream OpenFileFromSource(string relativePath); - } - public partial class ImageIndexConverter : System.ComponentModel.Int32Converter - { - public ImageIndexConverter() { } - protected virtual bool IncludeNoneAsStandardValue { get { throw null; } } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public override bool GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - public partial class ImageKeyConverter : System.ComponentModel.StringConverter - { - public ImageKeyConverter() { } - protected virtual bool IncludeNoneAsStandardValue { get { throw null; } } - public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public override bool GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - public enum ImageLayout - { - Center = 2, - None = 0, - Stretch = 3, - Tile = 1, - Zoom = 4, - } - [System.ComponentModel.DefaultPropertyAttribute("Images")] - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms")] - public sealed partial class ImageList : System.ComponentModel.Component - { - public ImageList() { } - public ImageList(System.ComponentModel.IContainer container) { } - public System.Windows.Forms.ColorDepth ColorDepth { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IntPtr Handle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool HandleCreated { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.ImageList.ImageCollection Images { get { throw null; } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Size ImageSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.ImageListStreamer ImageStream { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - public System.Drawing.Color TransparentColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler RecreateHandle { add { } remove { } } - protected override void Dispose(bool disposing) { } - public void Draw(System.Drawing.Graphics g, System.Drawing.Point pt, int index) { } - public void Draw(System.Drawing.Graphics g, int x, int y, int index) { } - public void Draw(System.Drawing.Graphics g, int x, int y, int width, int height, int index) { } - public override string ToString() { throw null; } - public sealed partial class ImageCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - internal ImageCollection() { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool Empty { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Image this[int index] { get { throw null; } set { } } - public System.Drawing.Image this[string key] { get { throw null; } } - public System.Collections.Specialized.StringCollection Keys { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public void Add(System.Drawing.Icon value) { } - public void Add(System.Drawing.Image value) { } - public int Add(System.Drawing.Image value, System.Drawing.Color transparentColor) { throw null; } - public void Add(string key, System.Drawing.Icon icon) { } - public void Add(string key, System.Drawing.Image image) { } - public void AddRange(System.Drawing.Image[] images) { } - public int AddStrip(System.Drawing.Image value) { throw null; } - public void Clear() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public bool Contains(System.Drawing.Image image) { throw null; } - public bool ContainsKey(string key) { throw null; } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public int IndexOf(System.Drawing.Image image) { throw null; } - public int IndexOfKey(string key) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Remove(System.Drawing.Image image) { } - public void RemoveAt(int index) { } - public void RemoveByKey(string key) { } - public void SetKeyName(int index, string name) { } - void System.Collections.ICollection.CopyTo(System.Array dest, int index) { } - int System.Collections.IList.Add(object value) { throw null; } - bool System.Collections.IList.Contains(object image) { throw null; } - int System.Collections.IList.IndexOf(object image) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object image) { } - } - } - public sealed partial class ImageListStreamer : System.IDisposable, System.Runtime.Serialization.ISerializable - { - internal ImageListStreamer() { } - public void Dispose() { } - public void GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } - } - public static partial class ImeContext - { - public static void Disable(System.IntPtr handle) { } - public static void Enable(System.IntPtr handle) { } - public static System.Windows.Forms.ImeMode GetImeMode(System.IntPtr handle) { throw null; } - public static bool IsOpen(System.IntPtr handle) { throw null; } - public static void SetImeStatus(System.Windows.Forms.ImeMode imeMode, System.IntPtr handle) { } - public static void SetOpenStatus(bool open, System.IntPtr handle) { } - } - public enum ImeMode - { - Alpha = 8, - AlphaFull = 7, - Close = 11, - Disable = 3, - Hangul = 10, - HangulFull = 9, - Hiragana = 4, - Inherit = -1, - Katakana = 5, - KatakanaHalf = 6, - NoControl = 0, - Off = 2, - On = 1, - OnHalf = 12, - } - public partial struct ImeModeConversion - { - private int _dummyPrimitive; - public static System.Collections.Generic.Dictionary ImeModeConversionBits { get { throw null; } } - public static bool IsCurrentConversionTableSupported { get { throw null; } } - } - public partial interface IMessageFilter - { - bool PreFilterMessage(ref System.Windows.Forms.Message m); - } - public sealed partial class InputLanguage - { - internal InputLanguage() { } - public System.Globalization.CultureInfo Culture { get { throw null; } } - public static System.Windows.Forms.InputLanguage CurrentInputLanguage { get { throw null; } set { } } - public static System.Windows.Forms.InputLanguage DefaultInputLanguage { get { throw null; } } - public System.IntPtr Handle { get { throw null; } } - public static System.Windows.Forms.InputLanguageCollection InstalledInputLanguages { get { throw null; } } - public string LayoutName { get { throw null; } } - public override bool Equals(object value) { throw null; } - public static System.Windows.Forms.InputLanguage FromCulture(System.Globalization.CultureInfo culture) { throw null; } - public override int GetHashCode() { throw null; } - } - public partial class InputLanguageChangedEventArgs : System.EventArgs - { - public InputLanguageChangedEventArgs(System.Globalization.CultureInfo culture, byte charSet) { } - public InputLanguageChangedEventArgs(System.Windows.Forms.InputLanguage inputLanguage, byte charSet) { } - public byte CharSet { get { throw null; } } - public System.Globalization.CultureInfo Culture { get { throw null; } } - public System.Windows.Forms.InputLanguage InputLanguage { get { throw null; } } - } - public delegate void InputLanguageChangedEventHandler(object sender, System.Windows.Forms.InputLanguageChangedEventArgs e); - public partial class InputLanguageChangingEventArgs : System.ComponentModel.CancelEventArgs - { - public InputLanguageChangingEventArgs(System.Globalization.CultureInfo culture, bool sysCharSet) { } - public InputLanguageChangingEventArgs(System.Windows.Forms.InputLanguage inputLanguage, bool sysCharSet) { } - public System.Globalization.CultureInfo Culture { get { throw null; } } - public System.Windows.Forms.InputLanguage InputLanguage { get { throw null; } } - public bool SysCharSet { get { throw null; } } - } - public delegate void InputLanguageChangingEventHandler(object sender, System.Windows.Forms.InputLanguageChangingEventArgs e); - public partial class InputLanguageCollection : System.Collections.ReadOnlyCollectionBase - { - internal InputLanguageCollection() { } - public System.Windows.Forms.InputLanguage this[int index] { get { throw null; } } - public bool Contains(System.Windows.Forms.InputLanguage value) { throw null; } - public void CopyTo(System.Windows.Forms.InputLanguage[] array, int index) { } - public int IndexOf(System.Windows.Forms.InputLanguage value) { throw null; } - } - public enum InsertKeyMode - { - Default = 0, - Insert = 1, - Overwrite = 2, - } - public partial class InvalidateEventArgs : System.EventArgs - { - public InvalidateEventArgs(System.Drawing.Rectangle invalidRect) { } - public System.Drawing.Rectangle InvalidRect { get { throw null; } } - } - public delegate void InvalidateEventHandler(object sender, System.Windows.Forms.InvalidateEventArgs e); - public enum ItemActivation - { - OneClick = 1, - Standard = 0, - TwoClick = 2, - } - public enum ItemBoundsPortion - { - Entire = 0, - Icon = 1, - ItemOnly = 3, - Label = 2, - } - public partial class ItemChangedEventArgs : System.EventArgs - { - internal ItemChangedEventArgs() { } - public int Index { get { throw null; } } - } - public delegate void ItemChangedEventHandler(object sender, System.Windows.Forms.ItemChangedEventArgs e); - public partial class ItemCheckedEventArgs : System.EventArgs - { - public ItemCheckedEventArgs(System.Windows.Forms.ListViewItem item) { } - public System.Windows.Forms.ListViewItem Item { get { throw null; } } - } - public delegate void ItemCheckedEventHandler(object sender, System.Windows.Forms.ItemCheckedEventArgs e); - public partial class ItemCheckEventArgs : System.EventArgs - { - public ItemCheckEventArgs(int index, System.Windows.Forms.CheckState newCheckValue, System.Windows.Forms.CheckState currentValue) { } - public System.Windows.Forms.CheckState CurrentValue { get { throw null; } } - public int Index { get { throw null; } } - public System.Windows.Forms.CheckState NewValue { get { throw null; } set { } } - } - public delegate void ItemCheckEventHandler(object sender, System.Windows.Forms.ItemCheckEventArgs e); - public partial class ItemDragEventArgs : System.EventArgs - { - public ItemDragEventArgs(System.Windows.Forms.MouseButtons button) { } - public ItemDragEventArgs(System.Windows.Forms.MouseButtons button, object item) { } - public System.Windows.Forms.MouseButtons Button { get { throw null; } } - public object Item { get { throw null; } } - } - public delegate void ItemDragEventHandler(object sender, System.Windows.Forms.ItemDragEventArgs e); - public partial interface IWin32Window - { - System.IntPtr Handle { get; } - } - public partial interface IWindowTarget - { - void OnHandleChange(System.IntPtr newHandle); - void OnMessage(ref System.Windows.Forms.Message m); - } - public partial class KeyEventArgs : System.EventArgs - { - public KeyEventArgs(System.Windows.Forms.Keys keyData) { } - public virtual bool Alt { get { throw null; } } - public bool Control { get { throw null; } } - public bool Handled { get { throw null; } set { } } - public System.Windows.Forms.Keys KeyCode { get { throw null; } } - public System.Windows.Forms.Keys KeyData { get { throw null; } } - public int KeyValue { get { throw null; } } - public System.Windows.Forms.Keys Modifiers { get { throw null; } } - public virtual bool Shift { get { throw null; } } - public bool SuppressKeyPress { get { throw null; } set { } } - } - public delegate void KeyEventHandler(object sender, System.Windows.Forms.KeyEventArgs e); - public partial class KeyPressEventArgs : System.EventArgs - { - public KeyPressEventArgs(char keyChar) { } - public bool Handled { get { throw null; } set { } } - public char KeyChar { get { throw null; } set { } } - } - public delegate void KeyPressEventHandler(object sender, System.Windows.Forms.KeyPressEventArgs e); - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.KeysConverter))] - [System.FlagsAttribute] - public enum Keys - { - A = 65, - Add = 107, - Alt = 262144, - Apps = 93, - Attn = 246, - B = 66, - Back = 8, - BrowserBack = 166, - BrowserFavorites = 171, - BrowserForward = 167, - BrowserHome = 172, - BrowserRefresh = 168, - BrowserSearch = 170, - BrowserStop = 169, - C = 67, - Cancel = 3, - Capital = 20, - CapsLock = 20, - Clear = 12, - Control = 131072, - ControlKey = 17, - Crsel = 247, - D = 68, - D0 = 48, - D1 = 49, - D2 = 50, - D3 = 51, - D4 = 52, - D5 = 53, - D6 = 54, - D7 = 55, - D8 = 56, - D9 = 57, - Decimal = 110, - Delete = 46, - Divide = 111, - Down = 40, - E = 69, - End = 35, - Enter = 13, - EraseEof = 249, - Escape = 27, - Execute = 43, - Exsel = 248, - F = 70, - F1 = 112, - F10 = 121, - F11 = 122, - F12 = 123, - F13 = 124, - F14 = 125, - F15 = 126, - F16 = 127, - F17 = 128, - F18 = 129, - F19 = 130, - F2 = 113, - F20 = 131, - F21 = 132, - F22 = 133, - F23 = 134, - F24 = 135, - F3 = 114, - F4 = 115, - F5 = 116, - F6 = 117, - F7 = 118, - F8 = 119, - F9 = 120, - FinalMode = 24, - G = 71, - H = 72, - HanguelMode = 21, - HangulMode = 21, - HanjaMode = 25, - Help = 47, - Home = 36, - I = 73, - IMEAccept = 30, - IMEAceept = 30, - IMEConvert = 28, - IMEModeChange = 31, - IMENonconvert = 29, - Insert = 45, - J = 74, - JunjaMode = 23, - K = 75, - KanaMode = 21, - KanjiMode = 25, - KeyCode = 65535, - L = 76, - LaunchApplication1 = 182, - LaunchApplication2 = 183, - LaunchMail = 180, - LButton = 1, - LControlKey = 162, - Left = 37, - LineFeed = 10, - LMenu = 164, - LShiftKey = 160, - LWin = 91, - M = 77, - MButton = 4, - MediaNextTrack = 176, - MediaPlayPause = 179, - MediaPreviousTrack = 177, - MediaStop = 178, - Menu = 18, - Modifiers = -65536, - Multiply = 106, - N = 78, - Next = 34, - NoName = 252, - None = 0, - NumLock = 144, - NumPad0 = 96, - NumPad1 = 97, - NumPad2 = 98, - NumPad3 = 99, - NumPad4 = 100, - NumPad5 = 101, - NumPad6 = 102, - NumPad7 = 103, - NumPad8 = 104, - NumPad9 = 105, - O = 79, - Oem1 = 186, - Oem102 = 226, - Oem2 = 191, - Oem3 = 192, - Oem4 = 219, - Oem5 = 220, - Oem6 = 221, - Oem7 = 222, - Oem8 = 223, - OemBackslash = 226, - OemClear = 254, - OemCloseBrackets = 221, - Oemcomma = 188, - OemMinus = 189, - OemOpenBrackets = 219, - OemPeriod = 190, - OemPipe = 220, - Oemplus = 187, - OemQuestion = 191, - OemQuotes = 222, - OemSemicolon = 186, - Oemtilde = 192, - P = 80, - Pa1 = 253, - Packet = 231, - PageDown = 34, - PageUp = 33, - Pause = 19, - Play = 250, - Print = 42, - PrintScreen = 44, - Prior = 33, - ProcessKey = 229, - Q = 81, - R = 82, - RButton = 2, - RControlKey = 163, - Return = 13, - Right = 39, - RMenu = 165, - RShiftKey = 161, - RWin = 92, - S = 83, - Scroll = 145, - Select = 41, - SelectMedia = 181, - Separator = 108, - Shift = 65536, - ShiftKey = 16, - Sleep = 95, - Snapshot = 44, - Space = 32, - Subtract = 109, - T = 84, - Tab = 9, - U = 85, - Up = 38, - V = 86, - VolumeDown = 174, - VolumeMute = 173, - VolumeUp = 175, - W = 87, - X = 88, - XButton1 = 5, - XButton2 = 6, - Y = 89, - Z = 90, - Zoom = 251, - } - public partial class KeysConverter : System.ComponentModel.TypeConverter, System.Collections.IComparer - { - public KeysConverter() { } - public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public int Compare(object a, object b) { throw null; } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public override bool GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - [System.ComponentModel.DefaultBindingPropertyAttribute("Text")] - [System.ComponentModel.DefaultPropertyAttribute("Text")] - [System.ComponentModel.ToolboxItemAttribute("System.Windows.Forms.Design.AutoSizeToolboxItem,System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - public partial class Label : System.Windows.Forms.Control, System.Windows.Forms.Automation.IAutomationLiveRegion - { - public Label() { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public bool AutoEllipsis { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.None)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public virtual System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.ImeMode DefaultImeMode { get { throw null; } } - protected override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlatStyle.Standard)] - public System.Windows.Forms.FlatStyle FlatStyle { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Image Image { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Drawing.ContentAlignment.MiddleCenter)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.ContentAlignment ImageAlign { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageIndexConverter))] - public int ImageIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageKeyConverter))] - public string ImageKey { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.ImageList ImageList { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.Automation.AutomationLiveSetting.Off)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.Automation.AutomationLiveSetting LiveSetting { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual int PreferredHeight { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual int PreferredWidth { get { throw null; } } - [System.ObsoleteAttribute("This property has been deprecated. Use BackColor instead. http://go.microsoft.com/fwlink/?linkid=14202")] - protected virtual bool RenderTransparent { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.SettingsBindableAttribute(true)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Drawing.ContentAlignment.TopLeft)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Drawing.ContentAlignment TextAlign { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseCompatibleTextRendering { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool UseMnemonic { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - public event System.EventHandler TextAlignChanged { add { } remove { } } - protected System.Drawing.Rectangle CalcImageRenderBounds(System.Drawing.Image image, System.Drawing.Rectangle r, System.Drawing.ContentAlignment align) { throw null; } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void Dispose(bool disposing) { } - protected void DrawImage(System.Drawing.Graphics g, System.Drawing.Image image, System.Drawing.Rectangle r, System.Drawing.ContentAlignment align) { } - public override System.Drawing.Size GetPreferredSize(System.Drawing.Size proposedSize) { throw null; } - protected override void OnEnabledChanged(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected override void OnMouseEnter(System.EventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected override void OnPaddingChanged(System.EventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected override void OnParentChanged(System.EventArgs e) { } - protected override void OnRightToLeftChanged(System.EventArgs e) { } - protected virtual void OnTextAlignChanged(System.EventArgs e) { } - protected override void OnTextChanged(System.EventArgs e) { } - protected override void OnVisibleChanged(System.EventArgs e) { } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - public override string ToString() { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public partial class LabelEditEventArgs : System.EventArgs - { - public LabelEditEventArgs(int item) { } - public LabelEditEventArgs(int item, string label) { } - public bool CancelEdit { get { throw null; } set { } } - public int Item { get { throw null; } } - public string Label { get { throw null; } } - } - public delegate void LabelEditEventHandler(object sender, System.Windows.Forms.LabelEditEventArgs e); - public sealed partial class LayoutEventArgs : System.EventArgs - { - public LayoutEventArgs(System.ComponentModel.IComponent affectedComponent, string affectedProperty) { } - public LayoutEventArgs(System.Windows.Forms.Control affectedControl, string affectedProperty) { } - public System.ComponentModel.IComponent AffectedComponent { get { throw null; } } - public System.Windows.Forms.Control AffectedControl { get { throw null; } } - public string AffectedProperty { get { throw null; } } - } - public delegate void LayoutEventHandler(object sender, System.Windows.Forms.LayoutEventArgs e); - public abstract partial class LayoutSettings - { - protected LayoutSettings() { } - public virtual System.Windows.Forms.Layout.LayoutEngine LayoutEngine { get { throw null; } } - } - public enum LeftRightAlignment - { - Left = 0, - Right = 1, - } - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.LinkArea.LinkAreaConverter))] - public partial struct LinkArea - { - private int _dummyPrimitive; - public LinkArea(int start, int length) { throw null; } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool IsEmpty { get { throw null; } } - public int Length { get { throw null; } set { } } - public int Start { get { throw null; } set { } } - public override bool Equals(object o) { throw null; } - public override int GetHashCode() { throw null; } - public static bool operator ==(System.Windows.Forms.LinkArea linkArea1, System.Windows.Forms.LinkArea linkArea2) { throw null; } - public static bool operator !=(System.Windows.Forms.LinkArea linkArea1, System.Windows.Forms.LinkArea linkArea2) { throw null; } - public override string ToString() { throw null; } - public partial class LinkAreaConverter : System.ComponentModel.TypeConverter - { - public LinkAreaConverter() { } - public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext context, System.Collections.IDictionary propertyValues) { throw null; } - public override bool GetCreateInstanceSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, System.Attribute[] attributes) { throw null; } - public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - } - public enum LinkBehavior - { - AlwaysUnderline = 1, - HoverUnderline = 2, - NeverUnderline = 3, - SystemDefault = 0, - } - public partial class LinkClickedEventArgs : System.EventArgs - { - public LinkClickedEventArgs(string linkText) { } - public string LinkText { get { throw null; } } - } - public delegate void LinkClickedEventHandler(object sender, System.Windows.Forms.LinkClickedEventArgs e); - public partial class LinkConverter : System.ComponentModel.TypeConverter - { - public LinkConverter() { } - public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - } - [System.ComponentModel.DefaultEventAttribute("LinkClicked")] - [System.ComponentModel.ToolboxItemAttribute("System.Windows.Forms.Design.AutoSizeToolboxItem,System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - public partial class LinkLabel : System.Windows.Forms.Label, System.Windows.Forms.IButtonControl - { - public LinkLabel() { } - public System.Drawing.Color ActiveLinkColor { get { throw null; } set { } } - public System.Drawing.Color DisabledLinkColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.FlatStyle FlatStyle { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.LinkArea LinkArea { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.LinkBehavior.SystemDefault)] - public System.Windows.Forms.LinkBehavior LinkBehavior { get { throw null; } set { } } - public System.Drawing.Color LinkColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.LinkLabel.LinkCollection Links { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool LinkVisited { get { throw null; } set { } } - protected System.Windows.Forms.Cursor OverrideCursor { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - System.Windows.Forms.DialogResult System.Windows.Forms.IButtonControl.DialogResult { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public new bool UseCompatibleTextRendering { get { throw null; } set { } } - public System.Drawing.Color VisitedLinkColor { get { throw null; } set { } } - public event System.Windows.Forms.LinkLabelLinkClickedEventHandler LinkClicked { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void CreateHandle() { } - protected override void OnAutoSizeChanged(System.EventArgs e) { } - protected override void OnEnabledChanged(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnGotFocus(System.EventArgs e) { } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e) { } - protected virtual void OnLinkClicked(System.Windows.Forms.LinkLabelLinkClickedEventArgs e) { } - protected override void OnLostFocus(System.EventArgs e) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnPaddingChanged(System.EventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected override void OnPaintBackground(System.Windows.Forms.PaintEventArgs e) { } - protected override void OnTextAlignChanged(System.EventArgs e) { } - protected override void OnTextChanged(System.EventArgs e) { } - protected System.Windows.Forms.LinkLabel.Link PointInLink(int x, int y) { throw null; } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected override void Select(bool directed, bool forward) { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - void System.Windows.Forms.IButtonControl.NotifyDefault(bool value) { } - void System.Windows.Forms.IButtonControl.PerformClick() { } - protected override void WndProc(ref System.Windows.Forms.Message msg) { } - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.LinkConverter))] - public partial class Link - { - public Link() { } - public Link(int start, int length) { } - public Link(int start, int length, object linkData) { } - public string Description { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool Enabled { get { throw null; } set { } } - public int Length { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public object LinkData { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - public string Name { get { throw null; } set { } } - public int Start { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Visited { get { throw null; } set { } } - } - public partial class LinkCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public LinkCollection(System.Windows.Forms.LinkLabel owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public virtual System.Windows.Forms.LinkLabel.Link this[int index] { get { throw null; } set { } } - public virtual System.Windows.Forms.LinkLabel.Link this[string key] { get { throw null; } } - public bool LinksAdded { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public System.Windows.Forms.LinkLabel.Link Add(int start, int length) { throw null; } - public System.Windows.Forms.LinkLabel.Link Add(int start, int length, object linkData) { throw null; } - public int Add(System.Windows.Forms.LinkLabel.Link value) { throw null; } - public virtual void Clear() { } - public bool Contains(System.Windows.Forms.LinkLabel.Link link) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.LinkLabel.Link link) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - public void Remove(System.Windows.Forms.LinkLabel.Link value) { } - public void RemoveAt(int index) { } - public virtual void RemoveByKey(string key) { } - void System.Collections.ICollection.CopyTo(System.Array dest, int index) { } - int System.Collections.IList.Add(object value) { throw null; } - bool System.Collections.IList.Contains(object link) { throw null; } - int System.Collections.IList.IndexOf(object link) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - } - } - public partial class LinkLabelLinkClickedEventArgs : System.EventArgs - { - public LinkLabelLinkClickedEventArgs(System.Windows.Forms.LinkLabel.Link link) { } - public LinkLabelLinkClickedEventArgs(System.Windows.Forms.LinkLabel.Link link, System.Windows.Forms.MouseButtons button) { } - public System.Windows.Forms.MouseButtons Button { get { throw null; } } - public System.Windows.Forms.LinkLabel.Link Link { get { throw null; } } - } - public delegate void LinkLabelLinkClickedEventHandler(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e); - public enum LinkState - { - Active = 2, - Hover = 1, - Normal = 0, - Visited = 4, - } - public partial class ListBindingConverter : System.ComponentModel.TypeConverter - { - public ListBindingConverter() { } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext context, System.Collections.IDictionary propertyValues) { throw null; } - public override bool GetCreateInstanceSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - public static partial class ListBindingHelper - { - public static object GetList(object list) { throw null; } - public static object GetList(object dataSource, string dataMember) { throw null; } - public static System.ComponentModel.PropertyDescriptorCollection GetListItemProperties(object list) { throw null; } - public static System.ComponentModel.PropertyDescriptorCollection GetListItemProperties(object list, System.ComponentModel.PropertyDescriptor[] listAccessors) { throw null; } - public static System.ComponentModel.PropertyDescriptorCollection GetListItemProperties(object dataSource, string dataMember, System.ComponentModel.PropertyDescriptor[] listAccessors) { throw null; } - public static System.Type GetListItemType(object list) { throw null; } - public static System.Type GetListItemType(object dataSource, string dataMember) { throw null; } - public static string GetListName(object list, System.ComponentModel.PropertyDescriptor[] listAccessors) { throw null; } - } - [System.ComponentModel.DefaultBindingPropertyAttribute("SelectedValue")] - [System.ComponentModel.DefaultEventAttribute("SelectedIndexChanged")] - [System.ComponentModel.DefaultPropertyAttribute("Items")] - public partial class ListBox : System.Windows.Forms.ListControl - { - public const int DefaultItemHeight = 13; - public const int NoMatches = -1; - public ListBox() { } - protected override bool AllowSelection { get { throw null; } } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.Fixed3D)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.LocalizableAttribute(true)] - public int ColumnWidth { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - public System.Windows.Forms.ListBox.IntegerCollection CustomTabOffsets { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DrawMode.Normal)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public virtual System.Windows.Forms.DrawMode DrawMode { get { throw null; } set { } } - public override System.Drawing.Font Font { get { throw null; } set { } } - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.LocalizableAttribute(true)] - public int HorizontalExtent { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool HorizontalScrollbar { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public bool IntegralHeight { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(13)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public virtual int ItemHeight { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.ListBox.ObjectCollection Items { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool MultiColumn { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public int PreferredHeight { get { throw null; } } - public override System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool ScrollAlwaysVisible { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override int SelectedIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ListBox.SelectedIndexCollection SelectedIndices { get { throw null; } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public object SelectedItem { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ListBox.SelectedObjectCollection SelectedItems { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.SelectionMode.One)] - public virtual System.Windows.Forms.SelectionMode SelectionMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Sorted { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int TopIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseCustomTabOffsets { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool UseTabStops { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler Click { add { } remove { } } - public event System.Windows.Forms.DrawItemEventHandler DrawItem { add { } remove { } } - public event System.Windows.Forms.MeasureItemEventHandler MeasureItem { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.Windows.Forms.MouseEventHandler MouseClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.EventHandler SelectedIndexChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.EventHandler TextChanged { add { } remove { } } - [System.ObsoleteAttribute("This method has been deprecated. There is no replacement. http://go.microsoft.com/fwlink/?linkid=14202")] - protected virtual void AddItemsCore(object[] value) { } - public void BeginUpdate() { } - public void ClearSelected() { } - protected virtual System.Windows.Forms.ListBox.ObjectCollection CreateItemCollection() { throw null; } - public void EndUpdate() { } - public int FindString(string s) { throw null; } - public int FindString(string s, int startIndex) { throw null; } - public int FindStringExact(string s) { throw null; } - public int FindStringExact(string s, int startIndex) { throw null; } - public int GetItemHeight(int index) { throw null; } - public System.Drawing.Rectangle GetItemRectangle(int index) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override System.Drawing.Rectangle GetScaledBounds(System.Drawing.Rectangle bounds, System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { throw null; } - public bool GetSelected(int index) { throw null; } - public int IndexFromPoint(System.Drawing.Point p) { throw null; } - public int IndexFromPoint(int x, int y) { throw null; } - protected override void OnChangeUICues(System.Windows.Forms.UICuesEventArgs e) { } - protected override void OnDataSourceChanged(System.EventArgs e) { } - protected override void OnDisplayMemberChanged(System.EventArgs e) { } - protected virtual void OnDrawItem(System.Windows.Forms.DrawItemEventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected virtual void OnMeasureItem(System.Windows.Forms.MeasureItemEventArgs e) { } - protected override void OnParentChanged(System.EventArgs e) { } - protected override void OnResize(System.EventArgs e) { } - protected override void OnSelectedIndexChanged(System.EventArgs e) { } - protected override void OnSelectedValueChanged(System.EventArgs e) { } - public override void Refresh() { } - protected override void RefreshItem(int index) { } - protected override void RefreshItems() { } - protected override void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew) { } - public override void ResetBackColor() { } - public override void ResetForeColor() { } - protected override void ScaleControl(System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - protected override void SetItemCore(int index, object value) { } - protected override void SetItemsCore(System.Collections.IList value) { } - public void SetSelected(int index, bool value) { } - protected virtual void Sort() { } - public override string ToString() { throw null; } - protected virtual void WmReflectCommand(ref System.Windows.Forms.Message m) { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public partial class IntegerCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public IntegerCollection(System.Windows.Forms.ListBox owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public int this[int index] { get { throw null; } set { } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public int Add(int item) { throw null; } - public void AddRange(int[] items) { } - public void AddRange(System.Windows.Forms.ListBox.IntegerCollection value) { } - public void Clear() { } - public bool Contains(int item) { throw null; } - public void CopyTo(System.Array destination, int index) { } - public int IndexOf(int item) { throw null; } - public void Remove(int item) { } - public void RemoveAt(int index) { } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object item) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object item) { throw null; } - int System.Collections.IList.IndexOf(object item) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class ObjectCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public ObjectCollection(System.Windows.Forms.ListBox owner) { } - public ObjectCollection(System.Windows.Forms.ListBox owner, object[] value) { } - public ObjectCollection(System.Windows.Forms.ListBox owner, System.Windows.Forms.ListBox.ObjectCollection value) { } - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual object this[int index] { get { throw null; } set { } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - public int Add(object item) { throw null; } - public void AddRange(object[] items) { } - public void AddRange(System.Windows.Forms.ListBox.ObjectCollection value) { } - public virtual void Clear() { } - public bool Contains(object value) { throw null; } - public void CopyTo(object[] destination, int arrayIndex) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(object value) { throw null; } - public void Insert(int index, object item) { } - public void Remove(object value) { } - public void RemoveAt(int index) { } - void System.Collections.ICollection.CopyTo(System.Array destination, int index) { } - int System.Collections.IList.Add(object item) { throw null; } - } - public partial class SelectedIndexCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public SelectedIndexCollection(System.Windows.Forms.ListBox owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public int this[int index] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public void Add(int index) { } - public void Clear() { } - public bool Contains(int selectedIndex) { throw null; } - public void CopyTo(System.Array destination, int index) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(int selectedIndex) { throw null; } - public void Remove(int index) { } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object selectedIndex) { throw null; } - int System.Collections.IList.IndexOf(object selectedIndex) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - public partial class SelectedObjectCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public SelectedObjectCollection(System.Windows.Forms.ListBox owner) { } - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public object this[int index] { get { throw null; } set { } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - public void Add(object value) { } - public void Clear() { } - public bool Contains(object selectedObject) { throw null; } - public void CopyTo(System.Array destination, int index) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(object selectedObject) { throw null; } - public void Remove(object value) { } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - } - [System.ComponentModel.LookupBindingPropertiesAttribute("DataSource", "DisplayMember", "ValueMember", "SelectedValue")] - public abstract partial class ListControl : System.Windows.Forms.Control - { - protected ListControl() { } - protected virtual bool AllowSelection { get { throw null; } } - protected System.Windows.Forms.CurrencyManager DataManager { get { throw null; } } - [System.ComponentModel.AttributeProviderAttribute(typeof(System.ComponentModel.IListSource))] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public object DataSource { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.TypeConverterAttribute("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - public string DisplayMember { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IFormatProvider FormatInfo { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.MergablePropertyAttribute(false)] - public string FormatString { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool FormattingEnabled { get { throw null; } set { } } - public abstract int SelectedIndex { get; set; } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public object SelectedValue { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - public string ValueMember { get { throw null; } set { } } - public event System.EventHandler DataSourceChanged { add { } remove { } } - public event System.EventHandler DisplayMemberChanged { add { } remove { } } - public event System.Windows.Forms.ListControlConvertEventHandler Format { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler FormatInfoChanged { add { } remove { } } - public event System.EventHandler FormatStringChanged { add { } remove { } } - public event System.EventHandler FormattingEnabledChanged { add { } remove { } } - public event System.EventHandler SelectedValueChanged { add { } remove { } } - public event System.EventHandler ValueMemberChanged { add { } remove { } } - protected object FilterItemOnProperty(object item) { throw null; } - protected object FilterItemOnProperty(object item, string field) { throw null; } - public string GetItemText(object item) { throw null; } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected override void OnBindingContextChanged(System.EventArgs e) { } - protected virtual void OnDataSourceChanged(System.EventArgs e) { } - protected virtual void OnDisplayMemberChanged(System.EventArgs e) { } - protected virtual void OnFormat(System.Windows.Forms.ListControlConvertEventArgs e) { } - protected virtual void OnFormatInfoChanged(System.EventArgs e) { } - protected virtual void OnFormatStringChanged(System.EventArgs e) { } - protected virtual void OnFormattingEnabledChanged(System.EventArgs e) { } - protected virtual void OnSelectedIndexChanged(System.EventArgs e) { } - protected virtual void OnSelectedValueChanged(System.EventArgs e) { } - protected virtual void OnValueMemberChanged(System.EventArgs e) { } - protected abstract void RefreshItem(int index); - protected virtual void RefreshItems() { } - protected virtual void SetItemCore(int index, object value) { } - protected abstract void SetItemsCore(System.Collections.IList items); - } - public partial class ListControlConvertEventArgs : System.Windows.Forms.ConvertEventArgs - { - public ListControlConvertEventArgs(object value, System.Type desiredType, object listItem) : base (default(object), default(System.Type)) { } - public object ListItem { get { throw null; } } - } - public delegate void ListControlConvertEventHandler(object sender, System.Windows.Forms.ListControlConvertEventArgs e); - [System.ComponentModel.DefaultEventAttribute("SelectedIndexChanged")] - [System.ComponentModel.DefaultPropertyAttribute("Items")] - [System.Windows.Forms.DockingAttribute(System.Windows.Forms.DockingBehavior.Ask)] - public partial class ListView : System.Windows.Forms.Control - { - public ListView() { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ItemActivation.Standard)] - public System.Windows.Forms.ItemActivation Activation { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ListViewAlignment.Top)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.ListViewAlignment Alignment { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool AllowColumnReorder { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AutoArrange { get { throw null; } set { } } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool BackgroundImageTiled { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.Fixed3D)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool CheckBoxes { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ListView.CheckedIndexCollection CheckedIndices { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ListView.CheckedListViewItemCollection CheckedItems { get { throw null; } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.ListView.ColumnHeaderCollection Columns { get { throw null; } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - protected override bool DoubleBuffered { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ListViewItem FocusedItem { get { throw null; } set { } } - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool FullRowSelect { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool GridLines { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.ListViewGroupCollection Groups { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ColumnHeaderStyle.Clickable)] - public System.Windows.Forms.ColumnHeaderStyle HeaderStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool HideSelection { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool HotTracking { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool HoverSelection { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ListViewInsertionMark InsertionMark { get { throw null; } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.ListView.ListViewItemCollection Items { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool LabelEdit { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool LabelWrap { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.ImageList LargeImageList { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Collections.IComparer ListViewItemSorter { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool MultiSelect { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool OwnerDraw { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool RightToLeftLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool Scrollable { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ListView.SelectedIndexCollection SelectedIndices { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ListView.SelectedListViewItemCollection SelectedItems { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowGroups { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowItemToolTips { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.ImageList SmallImageList { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.SortOrder.None)] - public System.Windows.Forms.SortOrder Sorting { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.ImageList StateImageList { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - public System.Drawing.Size TileSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ListViewItem TopItem { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool UseCompatibleStateImageBehavior { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.View.LargeIcon)] - public System.Windows.Forms.View View { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int VirtualListSize { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public bool VirtualMode { get { throw null; } set { } } - public event System.Windows.Forms.LabelEditEventHandler AfterLabelEdit { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - public event System.Windows.Forms.LabelEditEventHandler BeforeLabelEdit { add { } remove { } } - public event System.Windows.Forms.CacheVirtualItemsEventHandler CacheVirtualItems { add { } remove { } } - public event System.Windows.Forms.ColumnClickEventHandler ColumnClick { add { } remove { } } - public event System.Windows.Forms.ColumnReorderedEventHandler ColumnReordered { add { } remove { } } - public event System.Windows.Forms.ColumnWidthChangedEventHandler ColumnWidthChanged { add { } remove { } } - public event System.Windows.Forms.ColumnWidthChangingEventHandler ColumnWidthChanging { add { } remove { } } - public event System.Windows.Forms.DrawListViewColumnHeaderEventHandler DrawColumnHeader { add { } remove { } } - public event System.Windows.Forms.DrawListViewItemEventHandler DrawItem { add { } remove { } } - public event System.Windows.Forms.DrawListViewSubItemEventHandler DrawSubItem { add { } remove { } } - public event System.EventHandler ItemActivate { add { } remove { } } - public event System.Windows.Forms.ItemCheckEventHandler ItemCheck { add { } remove { } } - public event System.Windows.Forms.ItemCheckedEventHandler ItemChecked { add { } remove { } } - public event System.Windows.Forms.ItemDragEventHandler ItemDrag { add { } remove { } } - public event System.Windows.Forms.ListViewItemMouseHoverEventHandler ItemMouseHover { add { } remove { } } - public event System.Windows.Forms.ListViewItemSelectionChangedEventHandler ItemSelectionChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.Windows.Forms.RetrieveVirtualItemEventHandler RetrieveVirtualItem { add { } remove { } } - public event System.EventHandler RightToLeftLayoutChanged { add { } remove { } } - public event System.Windows.Forms.SearchForVirtualItemEventHandler SearchForVirtualItem { add { } remove { } } - public event System.EventHandler SelectedIndexChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - public event System.Windows.Forms.ListViewVirtualItemsSelectionRangeChangedEventHandler VirtualItemsSelectionRangeChanged { add { } remove { } } - public void ArrangeIcons() { } - public void ArrangeIcons(System.Windows.Forms.ListViewAlignment value) { } - public void AutoResizeColumn(int columnIndex, System.Windows.Forms.ColumnHeaderAutoResizeStyle headerAutoResize) { } - public void AutoResizeColumns(System.Windows.Forms.ColumnHeaderAutoResizeStyle headerAutoResize) { } - public void BeginUpdate() { } - public void Clear() { } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void CreateHandle() { } - protected override void Dispose(bool disposing) { } - public void EndUpdate() { } - public void EnsureVisible(int index) { } - public System.Windows.Forms.ListViewItem FindItemWithText(string text) { throw null; } - public System.Windows.Forms.ListViewItem FindItemWithText(string text, bool includeSubItemsInSearch, int startIndex) { throw null; } - public System.Windows.Forms.ListViewItem FindItemWithText(string text, bool includeSubItemsInSearch, int startIndex, bool isPrefixSearch) { throw null; } - public System.Windows.Forms.ListViewItem FindNearestItem(System.Windows.Forms.SearchDirectionHint dir, System.Drawing.Point point) { throw null; } - public System.Windows.Forms.ListViewItem FindNearestItem(System.Windows.Forms.SearchDirectionHint searchDirection, int x, int y) { throw null; } - public System.Windows.Forms.ListViewItem GetItemAt(int x, int y) { throw null; } - public System.Drawing.Rectangle GetItemRect(int index) { throw null; } - public System.Drawing.Rectangle GetItemRect(int index, System.Windows.Forms.ItemBoundsPortion portion) { throw null; } - public System.Windows.Forms.ListViewHitTestInfo HitTest(System.Drawing.Point point) { throw null; } - public System.Windows.Forms.ListViewHitTestInfo HitTest(int x, int y) { throw null; } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected virtual void OnAfterLabelEdit(System.Windows.Forms.LabelEditEventArgs e) { } - protected override void OnBackgroundImageChanged(System.EventArgs e) { } - protected virtual void OnBeforeLabelEdit(System.Windows.Forms.LabelEditEventArgs e) { } - protected virtual void OnCacheVirtualItems(System.Windows.Forms.CacheVirtualItemsEventArgs e) { } - protected virtual void OnColumnClick(System.Windows.Forms.ColumnClickEventArgs e) { } - protected virtual void OnColumnReordered(System.Windows.Forms.ColumnReorderedEventArgs e) { } - protected virtual void OnColumnWidthChanged(System.Windows.Forms.ColumnWidthChangedEventArgs e) { } - protected virtual void OnColumnWidthChanging(System.Windows.Forms.ColumnWidthChangingEventArgs e) { } - protected virtual void OnDrawColumnHeader(System.Windows.Forms.DrawListViewColumnHeaderEventArgs e) { } - protected virtual void OnDrawItem(System.Windows.Forms.DrawListViewItemEventArgs e) { } - protected virtual void OnDrawSubItem(System.Windows.Forms.DrawListViewSubItemEventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected virtual void OnItemActivate(System.EventArgs e) { } - protected virtual void OnItemCheck(System.Windows.Forms.ItemCheckEventArgs ice) { } - protected virtual void OnItemChecked(System.Windows.Forms.ItemCheckedEventArgs e) { } - protected virtual void OnItemDrag(System.Windows.Forms.ItemDragEventArgs e) { } - protected virtual void OnItemMouseHover(System.Windows.Forms.ListViewItemMouseHoverEventArgs e) { } - protected virtual void OnItemSelectionChanged(System.Windows.Forms.ListViewItemSelectionChangedEventArgs e) { } - protected override void OnMouseHover(System.EventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected override void OnParentChanged(System.EventArgs e) { } - protected override void OnResize(System.EventArgs e) { } - protected virtual void OnRetrieveVirtualItem(System.Windows.Forms.RetrieveVirtualItemEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnRightToLeftLayoutChanged(System.EventArgs e) { } - protected virtual void OnSearchForVirtualItem(System.Windows.Forms.SearchForVirtualItemEventArgs e) { } - protected virtual void OnSelectedIndexChanged(System.EventArgs e) { } - protected override void OnSystemColorsChanged(System.EventArgs e) { } - protected virtual void OnVirtualItemsSelectionRangeChanged(System.Windows.Forms.ListViewVirtualItemsSelectionRangeChangedEventArgs e) { } - protected void RealizeProperties() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public void RedrawItems(int startIndex, int endIndex, bool invalidateOnly) { } - public void Sort() { } - public override string ToString() { throw null; } - protected void UpdateExtendedStyles() { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class CheckedIndexCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public CheckedIndexCollection(System.Windows.Forms.ListView owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public int this[int index] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public bool Contains(int checkedIndex) { throw null; } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(int checkedIndex) { throw null; } - void System.Collections.ICollection.CopyTo(System.Array dest, int index) { } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object checkedIndex) { throw null; } - int System.Collections.IList.IndexOf(object checkedIndex) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class CheckedListViewItemCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public CheckedListViewItemCollection(System.Windows.Forms.ListView owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public System.Windows.Forms.ListViewItem this[int index] { get { throw null; } } - public virtual System.Windows.Forms.ListViewItem this[string key] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public bool Contains(System.Windows.Forms.ListViewItem item) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public void CopyTo(System.Array dest, int index) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.ListViewItem item) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object item) { throw null; } - int System.Collections.IList.IndexOf(object item) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class ColumnHeaderCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public ColumnHeaderCollection(System.Windows.Forms.ListView owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public virtual System.Windows.Forms.ColumnHeader this[int index] { get { throw null; } } - public virtual System.Windows.Forms.ColumnHeader this[string key] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public virtual System.Windows.Forms.ColumnHeader Add(string text) { throw null; } - public virtual System.Windows.Forms.ColumnHeader Add(string text, int width) { throw null; } - public virtual System.Windows.Forms.ColumnHeader Add(string text, int width, System.Windows.Forms.HorizontalAlignment textAlign) { throw null; } - public virtual System.Windows.Forms.ColumnHeader Add(string key, string text) { throw null; } - public virtual System.Windows.Forms.ColumnHeader Add(string key, string text, int width) { throw null; } - public virtual System.Windows.Forms.ColumnHeader Add(string key, string text, int width, System.Windows.Forms.HorizontalAlignment textAlign, int imageIndex) { throw null; } - public virtual System.Windows.Forms.ColumnHeader Add(string key, string text, int width, System.Windows.Forms.HorizontalAlignment textAlign, string imageKey) { throw null; } - public virtual int Add(System.Windows.Forms.ColumnHeader value) { throw null; } - public virtual void AddRange(System.Windows.Forms.ColumnHeader[] values) { } - public virtual void Clear() { } - public bool Contains(System.Windows.Forms.ColumnHeader value) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.ColumnHeader value) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - public void Insert(int index, string text) { } - public void Insert(int index, string text, int width) { } - public void Insert(int index, string text, int width, System.Windows.Forms.HorizontalAlignment textAlign) { } - public void Insert(int index, string key, string text) { } - public void Insert(int index, string key, string text, int width) { } - public void Insert(int index, string key, string text, int width, System.Windows.Forms.HorizontalAlignment textAlign, int imageIndex) { } - public void Insert(int index, string key, string text, int width, System.Windows.Forms.HorizontalAlignment textAlign, string imageKey) { } - public void Insert(int index, System.Windows.Forms.ColumnHeader value) { } - public virtual void Remove(System.Windows.Forms.ColumnHeader column) { } - public virtual void RemoveAt(int index) { } - public virtual void RemoveByKey(string key) { } - void System.Collections.ICollection.CopyTo(System.Array dest, int index) { } - int System.Collections.IList.Add(object value) { throw null; } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class ListViewItemCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public ListViewItemCollection(System.Windows.Forms.ListView owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public virtual System.Windows.Forms.ListViewItem this[int index] { get { throw null; } set { } } - public virtual System.Windows.Forms.ListViewItem this[string key] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public virtual System.Windows.Forms.ListViewItem Add(string text) { throw null; } - public virtual System.Windows.Forms.ListViewItem Add(string text, int imageIndex) { throw null; } - public virtual System.Windows.Forms.ListViewItem Add(string text, string imageKey) { throw null; } - public virtual System.Windows.Forms.ListViewItem Add(string key, string text, int imageIndex) { throw null; } - public virtual System.Windows.Forms.ListViewItem Add(string key, string text, string imageKey) { throw null; } - public virtual System.Windows.Forms.ListViewItem Add(System.Windows.Forms.ListViewItem value) { throw null; } - public void AddRange(System.Windows.Forms.ListView.ListViewItemCollection items) { } - public void AddRange(System.Windows.Forms.ListViewItem[] items) { } - public virtual void Clear() { } - public bool Contains(System.Windows.Forms.ListViewItem item) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public void CopyTo(System.Array dest, int index) { } - public System.Windows.Forms.ListViewItem[] Find(string key, bool searchAllSubItems) { throw null; } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.ListViewItem item) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - public System.Windows.Forms.ListViewItem Insert(int index, string text) { throw null; } - public System.Windows.Forms.ListViewItem Insert(int index, string text, int imageIndex) { throw null; } - public System.Windows.Forms.ListViewItem Insert(int index, string text, string imageKey) { throw null; } - public virtual System.Windows.Forms.ListViewItem Insert(int index, string key, string text, int imageIndex) { throw null; } - public virtual System.Windows.Forms.ListViewItem Insert(int index, string key, string text, string imageKey) { throw null; } - public System.Windows.Forms.ListViewItem Insert(int index, System.Windows.Forms.ListViewItem item) { throw null; } - public virtual void Remove(System.Windows.Forms.ListViewItem item) { } - public virtual void RemoveAt(int index) { } - public virtual void RemoveByKey(string key) { } - int System.Collections.IList.Add(object item) { throw null; } - bool System.Collections.IList.Contains(object item) { throw null; } - int System.Collections.IList.IndexOf(object item) { throw null; } - void System.Collections.IList.Insert(int index, object item) { } - void System.Collections.IList.Remove(object item) { } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class SelectedIndexCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public SelectedIndexCollection(System.Windows.Forms.ListView owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public int this[int index] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public int Add(int itemIndex) { throw null; } - public void Clear() { } - public bool Contains(int selectedIndex) { throw null; } - public void CopyTo(System.Array dest, int index) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(int selectedIndex) { throw null; } - public void Remove(int itemIndex) { } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object selectedIndex) { throw null; } - int System.Collections.IList.IndexOf(object selectedIndex) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class SelectedListViewItemCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public SelectedListViewItemCollection(System.Windows.Forms.ListView owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public System.Windows.Forms.ListViewItem this[int index] { get { throw null; } } - public virtual System.Windows.Forms.ListViewItem this[string key] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public void Clear() { } - public bool Contains(System.Windows.Forms.ListViewItem item) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public void CopyTo(System.Array dest, int index) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.ListViewItem item) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - bool System.Collections.IList.Contains(object item) { throw null; } - int System.Collections.IList.IndexOf(object item) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - } - public enum ListViewAlignment - { - Default = 0, - Left = 1, - SnapToGrid = 5, - Top = 2, - } - [System.ComponentModel.DefaultPropertyAttribute("Header")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public sealed partial class ListViewGroup : System.Runtime.Serialization.ISerializable - { - public ListViewGroup() { } - public ListViewGroup(string header) { } - public ListViewGroup(string key, string headerText) { } - public ListViewGroup(string header, System.Windows.Forms.HorizontalAlignment headerAlignment) { } - public string Header { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.HorizontalAlignment.Left)] - public System.Windows.Forms.HorizontalAlignment HeaderAlignment { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.ListView.ListViewItemCollection Items { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ListView ListView { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute("")] - public string Name { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public override string ToString() { throw null; } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class ListViewGroupCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - internal ListViewGroupCollection() { } - public int Count { get { throw null; } } - public System.Windows.Forms.ListViewGroup this[int index] { get { throw null; } set { } } - public System.Windows.Forms.ListViewGroup this[string key] { get { throw null; } set { } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public System.Windows.Forms.ListViewGroup Add(string key, string headerText) { throw null; } - public int Add(System.Windows.Forms.ListViewGroup group) { throw null; } - public void AddRange(System.Windows.Forms.ListViewGroupCollection groups) { } - public void AddRange(System.Windows.Forms.ListViewGroup[] groups) { } - public void Clear() { } - public bool Contains(System.Windows.Forms.ListViewGroup value) { throw null; } - public void CopyTo(System.Array array, int index) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.ListViewGroup value) { throw null; } - public void Insert(int index, System.Windows.Forms.ListViewGroup group) { } - public void Remove(System.Windows.Forms.ListViewGroup group) { } - public void RemoveAt(int index) { } - int System.Collections.IList.Add(object value) { throw null; } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - } - public partial class ListViewHitTestInfo - { - public ListViewHitTestInfo(System.Windows.Forms.ListViewItem hitItem, System.Windows.Forms.ListViewItem.ListViewSubItem hitSubItem, System.Windows.Forms.ListViewHitTestLocations hitLocation) { } - public System.Windows.Forms.ListViewItem Item { get { throw null; } } - public System.Windows.Forms.ListViewHitTestLocations Location { get { throw null; } } - public System.Windows.Forms.ListViewItem.ListViewSubItem SubItem { get { throw null; } } - } - [System.FlagsAttribute] - public enum ListViewHitTestLocations - { - AboveClientArea = 256, - BelowClientArea = 16, - Image = 2, - Label = 4, - LeftOfClientArea = 64, - None = 1, - RightOfClientArea = 32, - StateImage = 512, - } - public sealed partial class ListViewInsertionMark - { - internal ListViewInsertionMark() { } - public bool AppearsAfterItem { get { throw null; } set { } } - public System.Drawing.Rectangle Bounds { get { throw null; } } - public System.Drawing.Color Color { get { throw null; } set { } } - public int Index { get { throw null; } set { } } - public int NearestIndex(System.Drawing.Point pt) { throw null; } - } - [System.ComponentModel.DefaultPropertyAttribute("Text")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ListViewItemConverter))] - public partial class ListViewItem : System.ICloneable, System.Runtime.Serialization.ISerializable - { - public ListViewItem() { } - protected ListViewItem(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public ListViewItem(string text) { } - public ListViewItem(string text, int imageIndex) { } - public ListViewItem(string text, int imageIndex, System.Windows.Forms.ListViewGroup group) { } - public ListViewItem(string text, string imageKey) { } - public ListViewItem(string text, string imageKey, System.Windows.Forms.ListViewGroup group) { } - public ListViewItem(string text, System.Windows.Forms.ListViewGroup group) { } - public ListViewItem(string[] items) { } - public ListViewItem(string[] items, int imageIndex) { } - public ListViewItem(string[] items, int imageIndex, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font font) { } - public ListViewItem(string[] items, int imageIndex, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font font, System.Windows.Forms.ListViewGroup group) { } - public ListViewItem(string[] items, int imageIndex, System.Windows.Forms.ListViewGroup group) { } - public ListViewItem(string[] items, string imageKey) { } - public ListViewItem(string[] items, string imageKey, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font font) { } - public ListViewItem(string[] items, string imageKey, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font font, System.Windows.Forms.ListViewGroup group) { } - public ListViewItem(string[] items, string imageKey, System.Windows.Forms.ListViewGroup group) { } - public ListViewItem(string[] items, System.Windows.Forms.ListViewGroup group) { } - public ListViewItem(System.Windows.Forms.ListViewGroup group) { } - public ListViewItem(System.Windows.Forms.ListViewItem.ListViewSubItem[] subItems, int imageIndex) { } - public ListViewItem(System.Windows.Forms.ListViewItem.ListViewSubItem[] subItems, int imageIndex, System.Windows.Forms.ListViewGroup group) { } - public ListViewItem(System.Windows.Forms.ListViewItem.ListViewSubItem[] subItems, string imageKey) { } - public ListViewItem(System.Windows.Forms.ListViewItem.ListViewSubItem[] subItems, string imageKey, System.Windows.Forms.ListViewGroup group) { } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Rectangle Bounds { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public bool Checked { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool Focused { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.ListViewGroup Group { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int ImageIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageKeyConverter))] - public string ImageKey { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.ImageList ImageList { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(0)] - public int IndentCount { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public int Index { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.ListView ListView { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.LocalizableAttribute(true)] - public string Name { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Point Position { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool Selected { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.Windows.Forms.RelatedImageListAttribute("ListView.StateImageList")] - public int StateImageIndex { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ListViewItem.ListViewSubItemCollection SubItems { get { throw null; } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.LocalizableAttribute(true)] - public string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - public string ToolTipText { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool UseItemStyleForSubItems { get { throw null; } set { } } - public void BeginEdit() { } - public virtual object Clone() { throw null; } - protected virtual void Deserialize(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public virtual void EnsureVisible() { } - public System.Windows.Forms.ListViewItem FindNearestItem(System.Windows.Forms.SearchDirectionHint searchDirection) { throw null; } - public System.Drawing.Rectangle GetBounds(System.Windows.Forms.ItemBoundsPortion portion) { throw null; } - public System.Windows.Forms.ListViewItem.ListViewSubItem GetSubItemAt(int x, int y) { throw null; } - public virtual void Remove() { } - protected virtual void Serialize(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public override string ToString() { throw null; } - [System.ComponentModel.DefaultPropertyAttribute("Text")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public partial class ListViewSubItem - { - public ListViewSubItem() { } - public ListViewSubItem(System.Windows.Forms.ListViewItem owner, string text) { } - public ListViewSubItem(System.Windows.Forms.ListViewItem owner, string text, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font font) { } - public System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Rectangle Bounds { get { throw null; } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Font Font { get { throw null; } set { } } - public System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public string Name { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public string Text { get { throw null; } set { } } - public void ResetStyle() { } - public override string ToString() { throw null; } - } - public partial class ListViewSubItemCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public ListViewSubItemCollection(System.Windows.Forms.ListViewItem owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public System.Windows.Forms.ListViewItem.ListViewSubItem this[int index] { get { throw null; } set { } } - public virtual System.Windows.Forms.ListViewItem.ListViewSubItem this[string key] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public System.Windows.Forms.ListViewItem.ListViewSubItem Add(string text) { throw null; } - public System.Windows.Forms.ListViewItem.ListViewSubItem Add(string text, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font font) { throw null; } - public System.Windows.Forms.ListViewItem.ListViewSubItem Add(System.Windows.Forms.ListViewItem.ListViewSubItem item) { throw null; } - public void AddRange(string[] items) { } - public void AddRange(string[] items, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font font) { } - public void AddRange(System.Windows.Forms.ListViewItem.ListViewSubItem[] items) { } - public void Clear() { } - public bool Contains(System.Windows.Forms.ListViewItem.ListViewSubItem subItem) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.ListViewItem.ListViewSubItem subItem) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - public void Insert(int index, System.Windows.Forms.ListViewItem.ListViewSubItem item) { } - public void Remove(System.Windows.Forms.ListViewItem.ListViewSubItem item) { } - public void RemoveAt(int index) { } - public virtual void RemoveByKey(string key) { } - void System.Collections.ICollection.CopyTo(System.Array dest, int index) { } - int System.Collections.IList.Add(object item) { throw null; } - bool System.Collections.IList.Contains(object subItem) { throw null; } - int System.Collections.IList.IndexOf(object subItem) { throw null; } - void System.Collections.IList.Insert(int index, object item) { } - void System.Collections.IList.Remove(object item) { } - } - } - public partial class ListViewItemConverter : System.ComponentModel.ExpandableObjectConverter - { - public ListViewItemConverter() { } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - } - public partial class ListViewItemMouseHoverEventArgs : System.EventArgs - { - public ListViewItemMouseHoverEventArgs(System.Windows.Forms.ListViewItem item) { } - public System.Windows.Forms.ListViewItem Item { get { throw null; } } - } - public delegate void ListViewItemMouseHoverEventHandler(object sender, System.Windows.Forms.ListViewItemMouseHoverEventArgs e); - public partial class ListViewItemSelectionChangedEventArgs : System.EventArgs - { - public ListViewItemSelectionChangedEventArgs(System.Windows.Forms.ListViewItem item, int itemIndex, bool isSelected) { } - public bool IsSelected { get { throw null; } } - public System.Windows.Forms.ListViewItem Item { get { throw null; } } - public int ItemIndex { get { throw null; } } - } - public delegate void ListViewItemSelectionChangedEventHandler(object sender, System.Windows.Forms.ListViewItemSelectionChangedEventArgs e); - [System.FlagsAttribute] - public enum ListViewItemStates - { - Checked = 8, - Default = 32, - Focused = 16, - Grayed = 2, - Hot = 64, - Indeterminate = 256, - Marked = 128, - Selected = 1, - ShowKeyboardCues = 512, - } - public partial class ListViewVirtualItemsSelectionRangeChangedEventArgs : System.EventArgs - { - public ListViewVirtualItemsSelectionRangeChangedEventArgs(int startIndex, int endIndex, bool isSelected) { } - public int EndIndex { get { throw null; } } - public bool IsSelected { get { throw null; } } - public int StartIndex { get { throw null; } } - } - public delegate void ListViewVirtualItemsSelectionRangeChangedEventHandler(object sender, System.Windows.Forms.ListViewVirtualItemsSelectionRangeChangedEventArgs e); - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms.MainMenu")] - public partial class MainMenu : System.Windows.Forms.Menu - { - public MainMenu() : base (default(System.Windows.Forms.MenuItem[])) { } - public MainMenu(System.ComponentModel.IContainer container) : base (default(System.Windows.Forms.MenuItem[])) { } - public MainMenu(System.Windows.Forms.MenuItem[] items) : base (default(System.Windows.Forms.MenuItem[])) { } - [System.ComponentModel.AmbientValueAttribute(System.Windows.Forms.RightToLeft.Inherit)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - public event System.EventHandler Collapse { add { } remove { } } - public virtual System.Windows.Forms.MainMenu CloneMenu() { throw null; } - protected override System.IntPtr CreateMenuHandle() { throw null; } - protected override void Dispose(bool disposing) { } - public System.Windows.Forms.Form GetForm() { throw null; } - protected internal virtual void OnCollapse(System.EventArgs e) { } - public override string ToString() { throw null; } - } - [System.ComponentModel.DefaultBindingPropertyAttribute("Text")] - [System.ComponentModel.DefaultEventAttribute("MaskInputRejected")] - [System.ComponentModel.DefaultPropertyAttribute("Mask")] - public partial class MaskedTextBox : System.Windows.Forms.TextBoxBase - { - public MaskedTextBox() { } - public MaskedTextBox(System.ComponentModel.MaskedTextProvider maskedTextProvider) { } - public MaskedTextBox(string mask) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool AcceptsTab { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowPromptAsInput { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public bool AsciiOnly { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool BeepOnError { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool CanUndo { get { throw null; } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Globalization.CultureInfo Culture { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.MaskFormat.IncludeLiterals)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.MaskFormat CutCopyMaskFormat { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.IFormatProvider FormatProvider { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public bool HidePromptOnLeave { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.InsertKeyMode.Default)] - public System.Windows.Forms.InsertKeyMode InsertKeyMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsOverwriteMode { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new string[] Lines { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.MergablePropertyAttribute(false)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public string Mask { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool MaskCompleted { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.ComponentModel.MaskedTextProvider MaskedTextProvider { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool MaskFull { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int MaxLength { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Multiline { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute('\0')] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public char PasswordChar { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute('_')] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public char PromptChar { get { throw null; } set { } } - public new bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool RejectInputOnFirstFailure { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ResetOnPrompt { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ResetOnSpace { get { throw null; } set { } } - public override string SelectedText { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool SkipLiterals { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.HorizontalAlignment.Left)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.HorizontalAlignment TextAlign { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public override int TextLength { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.MaskFormat.IncludeLiterals)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.MaskFormat TextMaskFormat { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public bool UseSystemPasswordChar { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Type ValidatingType { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool WordWrap { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler AcceptsTabChanged { add { } remove { } } - public event System.EventHandler IsOverwriteModeChanged { add { } remove { } } - public event System.EventHandler MaskChanged { add { } remove { } } - public event System.Windows.Forms.MaskInputRejectedEventHandler MaskInputRejected { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MultilineChanged { add { } remove { } } - public event System.EventHandler TextAlignChanged { add { } remove { } } - public event System.Windows.Forms.TypeValidationEventHandler TypeValidationCompleted { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new void ClearUndo() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void CreateHandle() { } - public override char GetCharFromPosition(System.Drawing.Point pt) { throw null; } - public override int GetCharIndexFromPosition(System.Drawing.Point pt) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new int GetFirstCharIndexFromLine(int lineNumber) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new int GetFirstCharIndexOfCurrentLine() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetLineFromCharIndex(int index) { throw null; } - public override System.Drawing.Point GetPositionFromCharIndex(int index) { throw null; } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected override void OnBackColorChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnIsOverwriteModeChanged(System.EventArgs e) { } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e) { } - protected override void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e) { } - protected override void OnKeyUp(System.Windows.Forms.KeyEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnMaskChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override void OnMultilineChanged(System.EventArgs e) { } - protected virtual void OnTextAlignChanged(System.EventArgs e) { } - protected override void OnTextChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnValidating(System.ComponentModel.CancelEventArgs e) { } - protected override bool ProcessCmdKey(ref System.Windows.Forms.Message msg, System.Windows.Forms.Keys keyData) { throw null; } - protected internal override bool ProcessKeyMessage(ref System.Windows.Forms.Message m) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new void ScrollToCaret() { } - public override string ToString() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new void Undo() { } - public object ValidateText() { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public enum MaskFormat - { - ExcludePromptAndLiterals = 0, - IncludeLiterals = 2, - IncludePrompt = 1, - IncludePromptAndLiterals = 3, - } - public partial class MaskInputRejectedEventArgs : System.EventArgs - { - public MaskInputRejectedEventArgs(int position, System.ComponentModel.MaskedTextResultHint rejectionHint) { } - public int Position { get { throw null; } } - public System.ComponentModel.MaskedTextResultHint RejectionHint { get { throw null; } } - } - public delegate void MaskInputRejectedEventHandler(object sender, System.Windows.Forms.MaskInputRejectedEventArgs e); - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public sealed partial class MdiClient : System.Windows.Forms.Control - { - public MdiClient() { } - [System.ComponentModel.LocalizableAttribute(true)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - public System.Windows.Forms.Form[] MdiChildren { get { throw null; } } - protected override System.Windows.Forms.Control.ControlCollection CreateControlsInstance() { throw null; } - public void LayoutMdi(System.Windows.Forms.MdiLayout value) { } - protected override void OnResize(System.EventArgs e) { } - protected override void ScaleControl(System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override void ScaleCore(float dx, float dy) { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public new partial class ControlCollection : System.Windows.Forms.Control.ControlCollection - { - public ControlCollection(System.Windows.Forms.MdiClient owner) : base (default(System.Windows.Forms.Control)) { } - public override void Add(System.Windows.Forms.Control value) { } - public override void Remove(System.Windows.Forms.Control value) { } - } - } - public enum MdiLayout - { - ArrangeIcons = 3, - Cascade = 0, - TileHorizontal = 1, - TileVertical = 2, - } - public partial class MeasureItemEventArgs : System.EventArgs - { - public MeasureItemEventArgs(System.Drawing.Graphics graphics, int index) { } - public MeasureItemEventArgs(System.Drawing.Graphics graphics, int index, int itemHeight) { } - public System.Drawing.Graphics Graphics { get { throw null; } } - public int Index { get { throw null; } } - public int ItemHeight { get { throw null; } set { } } - public int ItemWidth { get { throw null; } set { } } - } - public delegate void MeasureItemEventHandler(object sender, System.Windows.Forms.MeasureItemEventArgs e); - [System.ComponentModel.ListBindableAttribute(false)] - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms")] - public abstract partial class Menu : System.ComponentModel.Component - { - public const int FindHandle = 0; - public const int FindShortcut = 1; - protected Menu(System.Windows.Forms.MenuItem[] items) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.IntPtr Handle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual bool IsParent { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.MenuItem MdiListItem { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.Menu.MenuItemCollection MenuItems { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string Name { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - protected internal void CloneMenu(System.Windows.Forms.Menu menuSrc) { } - protected virtual System.IntPtr CreateMenuHandle() { throw null; } - protected override void Dispose(bool disposing) { } - public System.Windows.Forms.MenuItem FindMenuItem(int type, System.IntPtr value) { throw null; } - protected int FindMergePosition(int mergeOrder) { throw null; } - public System.Windows.Forms.ContextMenu GetContextMenu() { throw null; } - public System.Windows.Forms.MainMenu GetMainMenu() { throw null; } - public virtual void MergeMenu(System.Windows.Forms.Menu menuSrc) { } - protected internal virtual bool ProcessCmdKey(ref System.Windows.Forms.Message msg, System.Windows.Forms.Keys keyData) { throw null; } - public override string ToString() { throw null; } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class MenuItemCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public MenuItemCollection(System.Windows.Forms.Menu owner) { } - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public virtual System.Windows.Forms.MenuItem this[int index] { get { throw null; } } - public virtual System.Windows.Forms.MenuItem this[string key] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public virtual int Add(int index, System.Windows.Forms.MenuItem item) { throw null; } - public virtual System.Windows.Forms.MenuItem Add(string caption) { throw null; } - public virtual System.Windows.Forms.MenuItem Add(string caption, System.EventHandler onClick) { throw null; } - public virtual System.Windows.Forms.MenuItem Add(string caption, System.Windows.Forms.MenuItem[] items) { throw null; } - public virtual int Add(System.Windows.Forms.MenuItem item) { throw null; } - public virtual void AddRange(System.Windows.Forms.MenuItem[] items) { } - public virtual void Clear() { } - public bool Contains(System.Windows.Forms.MenuItem value) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public void CopyTo(System.Array dest, int index) { } - public System.Windows.Forms.MenuItem[] Find(string key, bool searchAllChildren) { throw null; } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.MenuItem value) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - public virtual void Remove(System.Windows.Forms.MenuItem item) { } - public virtual void RemoveAt(int index) { } - public virtual void RemoveByKey(string key) { } - int System.Collections.IList.Add(object value) { throw null; } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - } - } - public enum MenuGlyph - { - Arrow = 0, - Bullet = 2, - Checkmark = 1, - Max = 2, - Min = 0, - } - [System.ComponentModel.DefaultEventAttribute("Click")] - [System.ComponentModel.DefaultPropertyAttribute("Text")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public partial class MenuItem : System.Windows.Forms.Menu - { - public MenuItem() : base (default(System.Windows.Forms.MenuItem[])) { } - public MenuItem(string text) : base (default(System.Windows.Forms.MenuItem[])) { } - public MenuItem(string text, System.EventHandler onClick) : base (default(System.Windows.Forms.MenuItem[])) { } - public MenuItem(string text, System.EventHandler onClick, System.Windows.Forms.Shortcut shortcut) : base (default(System.Windows.Forms.MenuItem[])) { } - public MenuItem(string text, System.Windows.Forms.MenuItem[] items) : base (default(System.Windows.Forms.MenuItem[])) { } - public MenuItem(System.Windows.Forms.MenuMerge mergeType, int mergeOrder, System.Windows.Forms.Shortcut shortcut, string text, System.EventHandler onClick, System.EventHandler onPopup, System.EventHandler onSelect, System.Windows.Forms.MenuItem[] items) : base (default(System.Windows.Forms.MenuItem[])) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool BarBreak { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Break { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Checked { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool DefaultItem { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool Enabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public int Index { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public override bool IsParent { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool MdiList { get { throw null; } set { } } - protected int MenuID { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(0)] - public int MergeOrder { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.MenuMerge.Add)] - public System.Windows.Forms.MenuMerge MergeType { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public char Mnemonic { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool OwnerDraw { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.Menu Parent { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool RadioCheck { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.Shortcut.None)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.Shortcut Shortcut { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool ShowShortcut { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool Visible { get { throw null; } set { } } - public event System.EventHandler Click { add { } remove { } } - public event System.Windows.Forms.DrawItemEventHandler DrawItem { add { } remove { } } - public event System.Windows.Forms.MeasureItemEventHandler MeasureItem { add { } remove { } } - public event System.EventHandler Popup { add { } remove { } } - public event System.EventHandler Select { add { } remove { } } - public virtual System.Windows.Forms.MenuItem CloneMenu() { throw null; } - protected void CloneMenu(System.Windows.Forms.MenuItem itemSrc) { } - protected override void Dispose(bool disposing) { } - public virtual System.Windows.Forms.MenuItem MergeMenu() { throw null; } - public void MergeMenu(System.Windows.Forms.MenuItem itemSrc) { } - protected virtual void OnClick(System.EventArgs e) { } - protected virtual void OnDrawItem(System.Windows.Forms.DrawItemEventArgs e) { } - protected virtual void OnInitMenuPopup(System.EventArgs e) { } - protected virtual void OnMeasureItem(System.Windows.Forms.MeasureItemEventArgs e) { } - protected virtual void OnPopup(System.EventArgs e) { } - protected virtual void OnSelect(System.EventArgs e) { } - public void PerformClick() { } - public virtual void PerformSelect() { } - public override string ToString() { throw null; } - } - public enum MenuMerge - { - Add = 0, - MergeItems = 2, - Remove = 3, - Replace = 1, - } - public partial class MenuStrip : System.Windows.Forms.ToolStrip - { - public MenuStrip() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - public new bool CanOverflow { get { throw null; } set { } } - protected override System.Windows.Forms.Padding DefaultGripMargin { get { throw null; } } - protected override System.Windows.Forms.Padding DefaultPadding { get { throw null; } } - protected override bool DefaultShowItemToolTips { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripGripStyle.Hidden)] - public new System.Windows.Forms.ToolStripGripStyle GripStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.ToolStripMenuItem MdiWindowListItem { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public new bool ShowItemToolTips { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public new bool Stretch { get { throw null; } set { } } - public event System.EventHandler MenuActivate { add { } remove { } } - public event System.EventHandler MenuDeactivate { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected internal override System.Windows.Forms.ToolStripItem CreateDefaultItem(string text, System.Drawing.Image image, System.EventHandler onClick) { throw null; } - protected virtual void OnMenuActivate(System.EventArgs e) { } - protected virtual void OnMenuDeactivate(System.EventArgs e) { } - protected override bool ProcessCmdKey(ref System.Windows.Forms.Message m, System.Windows.Forms.Keys keyData) { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public enum MergeAction - { - Append = 0, - Insert = 1, - MatchOnly = 4, - Remove = 3, - Replace = 2, - } - public partial struct Message - { - private int _dummyPrimitive; - public System.IntPtr HWnd { get { throw null; } set { } } - public System.IntPtr LParam { get { throw null; } set { } } - public int Msg { get { throw null; } set { } } - public System.IntPtr Result { get { throw null; } set { } } - public System.IntPtr WParam { get { throw null; } set { } } - public static System.Windows.Forms.Message Create(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) { throw null; } - public override bool Equals(object o) { throw null; } - public override int GetHashCode() { throw null; } - public object GetLParam(System.Type cls) { throw null; } - public static bool operator ==(System.Windows.Forms.Message a, System.Windows.Forms.Message b) { throw null; } - public static bool operator !=(System.Windows.Forms.Message a, System.Windows.Forms.Message b) { throw null; } - public override string ToString() { throw null; } - } - public partial class MessageBox - { - internal MessageBox() { } - public static System.Windows.Forms.DialogResult Show(string text) { throw null; } - public static System.Windows.Forms.DialogResult Show(string text, string caption) { throw null; } - public static System.Windows.Forms.DialogResult Show(string text, string caption, System.Windows.Forms.MessageBoxButtons buttons) { throw null; } - public static System.Windows.Forms.DialogResult Show(string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) { throw null; } - public static System.Windows.Forms.DialogResult Show(string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton) { throw null; } - public static System.Windows.Forms.DialogResult Show(string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options) { throw null; } - public static System.Windows.Forms.DialogResult Show(string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, bool displayHelpButton) { throw null; } - public static System.Windows.Forms.DialogResult Show(string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath) { throw null; } - public static System.Windows.Forms.DialogResult Show(string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath, string keyword) { throw null; } - public static System.Windows.Forms.DialogResult Show(string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath, System.Windows.Forms.HelpNavigator navigator) { throw null; } - public static System.Windows.Forms.DialogResult Show(string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath, System.Windows.Forms.HelpNavigator navigator, object param) { throw null; } - public static System.Windows.Forms.DialogResult Show(System.Windows.Forms.IWin32Window owner, string text) { throw null; } - public static System.Windows.Forms.DialogResult Show(System.Windows.Forms.IWin32Window owner, string text, string caption) { throw null; } - public static System.Windows.Forms.DialogResult Show(System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons) { throw null; } - public static System.Windows.Forms.DialogResult Show(System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) { throw null; } - public static System.Windows.Forms.DialogResult Show(System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton) { throw null; } - public static System.Windows.Forms.DialogResult Show(System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options) { throw null; } - public static System.Windows.Forms.DialogResult Show(System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath) { throw null; } - public static System.Windows.Forms.DialogResult Show(System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath, string keyword) { throw null; } - public static System.Windows.Forms.DialogResult Show(System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath, System.Windows.Forms.HelpNavigator navigator) { throw null; } - public static System.Windows.Forms.DialogResult Show(System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, string helpFilePath, System.Windows.Forms.HelpNavigator navigator, object param) { throw null; } - } - public enum MessageBoxButtons - { - AbortRetryIgnore = 2, - OK = 0, - OKCancel = 1, - RetryCancel = 5, - YesNo = 4, - YesNoCancel = 3, - } - public enum MessageBoxDefaultButton - { - Button1 = 0, - Button2 = 256, - Button3 = 512, - } - public enum MessageBoxIcon - { - Asterisk = 64, - Error = 16, - Exclamation = 48, - Hand = 16, - Information = 64, - None = 0, - Question = 32, - Stop = 16, - Warning = 48, - } - [System.FlagsAttribute] - public enum MessageBoxOptions - { - DefaultDesktopOnly = 131072, - RightAlign = 524288, - RtlReading = 1048576, - ServiceNotification = 2097152, - } - public delegate void MethodInvoker(); - [System.ComponentModel.DefaultBindingPropertyAttribute("SelectionRange")] - [System.ComponentModel.DefaultEventAttribute("DateChanged")] - [System.ComponentModel.DefaultPropertyAttribute("SelectionRange")] - public partial class MonthCalendar : System.Windows.Forms.Control - { - public MonthCalendar() { } - [System.ComponentModel.LocalizableAttribute(true)] - public System.DateTime[] AnnuallyBoldedDates { get { throw null; } set { } } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.DateTime[] BoldedDates { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Size CalendarDimensions { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.ImeMode DefaultImeMode { get { throw null; } } - protected override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override bool DoubleBuffered { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.Day.Default)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.Day FirstDayOfWeek { get { throw null; } set { } } - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - public System.DateTime MaxDate { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(7)] - public int MaxSelectionCount { get { throw null; } set { } } - public System.DateTime MinDate { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.DateTime[] MonthlyBoldedDates { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool RightToLeftLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - public int ScrollChange { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.DateTime SelectionEnd { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - public System.Windows.Forms.SelectionRange SelectionRange { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.DateTime SelectionStart { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowToday { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowTodayCircle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool ShowWeekNumbers { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Size SingleMonthSize { get { throw null; } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.LocalizableAttribute(false)] - public new System.Drawing.Size Size { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - public System.Drawing.Color TitleBackColor { get { throw null; } set { } } - public System.Drawing.Color TitleForeColor { get { throw null; } set { } } - public System.DateTime TodayDate { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool TodayDateSet { get { throw null; } } - public System.Drawing.Color TrailingForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Click { add { } remove { } } - public event System.Windows.Forms.DateRangeEventHandler DateChanged { add { } remove { } } - public event System.Windows.Forms.DateRangeEventHandler DateSelected { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseDoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.EventHandler RightToLeftLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - public void AddAnnuallyBoldedDate(System.DateTime date) { } - public void AddBoldedDate(System.DateTime date) { } - public void AddMonthlyBoldedDate(System.DateTime date) { } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void CreateHandle() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void DefWndProc(ref System.Windows.Forms.Message m) { } - protected override void Dispose(bool disposing) { } - public System.Windows.Forms.SelectionRange GetDisplayRange(bool visible) { throw null; } - public System.Windows.Forms.MonthCalendar.HitTestInfo HitTest(System.Drawing.Point point) { throw null; } - public System.Windows.Forms.MonthCalendar.HitTestInfo HitTest(int x, int y) { throw null; } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected override void OnBackColorChanged(System.EventArgs e) { } - protected virtual void OnDateChanged(System.Windows.Forms.DateRangeEventArgs drevent) { } - protected virtual void OnDateSelected(System.Windows.Forms.DateRangeEventArgs drevent) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnForeColorChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnRightToLeftLayoutChanged(System.EventArgs e) { } - public void RemoveAllAnnuallyBoldedDates() { } - public void RemoveAllBoldedDates() { } - public void RemoveAllMonthlyBoldedDates() { } - public void RemoveAnnuallyBoldedDate(System.DateTime date) { } - public void RemoveBoldedDate(System.DateTime date) { } - public void RemoveMonthlyBoldedDate(System.DateTime date) { } - protected override void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew) { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - public void SetCalendarDimensions(int x, int y) { } - public void SetDate(System.DateTime date) { } - public void SetSelectionRange(System.DateTime date1, System.DateTime date2) { } - public override string ToString() { throw null; } - public void UpdateBoldedDates() { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public enum HitArea - { - CalendarBackground = 6, - Date = 7, - DayOfWeek = 10, - NextMonthButton = 4, - NextMonthDate = 8, - Nowhere = 0, - PrevMonthButton = 5, - PrevMonthDate = 9, - TitleBackground = 1, - TitleMonth = 2, - TitleYear = 3, - TodayLink = 12, - WeekNumbers = 11, - } - public sealed partial class HitTestInfo - { - internal HitTestInfo() { } - public System.Windows.Forms.MonthCalendar.HitArea HitArea { get { throw null; } } - public System.Drawing.Point Point { get { throw null; } } - public System.DateTime Time { get { throw null; } } - } - } - [System.FlagsAttribute] - public enum MouseButtons - { - Left = 1048576, - Middle = 4194304, - None = 0, - Right = 2097152, - XButton1 = 8388608, - XButton2 = 16777216, - } - public partial class MouseEventArgs : System.EventArgs - { - public MouseEventArgs(System.Windows.Forms.MouseButtons button, int clicks, int x, int y, int delta) { } - public System.Windows.Forms.MouseButtons Button { get { throw null; } } - public int Clicks { get { throw null; } } - public int Delta { get { throw null; } } - public System.Drawing.Point Location { get { throw null; } } - public int X { get { throw null; } } - public int Y { get { throw null; } } - } - public delegate void MouseEventHandler(object sender, System.Windows.Forms.MouseEventArgs e); - public partial class NativeWindow : System.MarshalByRefObject, System.Windows.Forms.IWin32Window - { - public NativeWindow() { } - public System.IntPtr Handle { get { throw null; } } - public void AssignHandle(System.IntPtr handle) { } - public virtual void CreateHandle(System.Windows.Forms.CreateParams cp) { } - public void DefWndProc(ref System.Windows.Forms.Message m) { } - public virtual void DestroyHandle() { } - ~NativeWindow() { } - public static System.Windows.Forms.NativeWindow FromHandle(System.IntPtr handle) { throw null; } - protected virtual void OnHandleChange() { } - protected virtual void OnThreadException(System.Exception e) { } - public virtual void ReleaseHandle() { } - protected virtual void WndProc(ref System.Windows.Forms.Message m) { } - } - public partial class NavigateEventArgs : System.EventArgs - { - public NavigateEventArgs(bool isForward) { } - public bool Forward { get { throw null; } } - } - public delegate void NavigateEventHandler(object sender, System.Windows.Forms.NavigateEventArgs ne); - public partial class NodeLabelEditEventArgs : System.EventArgs - { - public NodeLabelEditEventArgs(System.Windows.Forms.TreeNode node) { } - public NodeLabelEditEventArgs(System.Windows.Forms.TreeNode node, string label) { } - public bool CancelEdit { get { throw null; } set { } } - public string Label { get { throw null; } } - public System.Windows.Forms.TreeNode Node { get { throw null; } } - } - public delegate void NodeLabelEditEventHandler(object sender, System.Windows.Forms.NodeLabelEditEventArgs e); - [System.ComponentModel.DefaultEventAttribute("MouseDoubleClick")] - [System.ComponentModel.DefaultPropertyAttribute("Text")] - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms")] - public sealed partial class NotifyIcon : System.ComponentModel.Component - { - public NotifyIcon() { } - public NotifyIcon(System.ComponentModel.IContainer container) { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolTipIcon.None)] - public System.Windows.Forms.ToolTipIcon BalloonTipIcon { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string BalloonTipText { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string BalloonTipTitle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.ContextMenu ContextMenu { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Icon Icon { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool Visible { get { throw null; } set { } } - public event System.EventHandler BalloonTipClicked { add { } remove { } } - public event System.EventHandler BalloonTipClosed { add { } remove { } } - public event System.EventHandler BalloonTipShown { add { } remove { } } - public event System.EventHandler Click { add { } remove { } } - public event System.EventHandler DoubleClick { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseClick { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseDoubleClick { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseDown { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseMove { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseUp { add { } remove { } } - protected override void Dispose(bool disposing) { } - public void ShowBalloonTip(int timeout) { } - public void ShowBalloonTip(int timeout, string tipTitle, string tipText, System.Windows.Forms.ToolTipIcon tipIcon) { } - } - [System.ComponentModel.DefaultBindingPropertyAttribute("Value")] - [System.ComponentModel.DefaultEventAttribute("ValueChanged")] - [System.ComponentModel.DefaultPropertyAttribute("Value")] - public partial class NumericUpDown : System.Windows.Forms.UpDownBase, System.ComponentModel.ISupportInitialize - { - public NumericUpDown() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.NumericUpDownAccelerationCollection Accelerations { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(0)] - public int DecimalPlaces { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Hexadecimal { get { throw null; } set { } } - public decimal Increment { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public decimal Maximum { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public decimal Minimum { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool ThousandsSeparator { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - public decimal Value { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - public event System.EventHandler ValueChanged { add { } remove { } } - public void BeginInit() { } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - public override void DownButton() { } - public void EndInit() { } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e) { } - protected override void OnKeyUp(System.Windows.Forms.KeyEventArgs e) { } - protected override void OnLostFocus(System.EventArgs e) { } - protected override void OnTextBoxKeyPress(object source, System.Windows.Forms.KeyPressEventArgs e) { } - protected virtual void OnValueChanged(System.EventArgs e) { } - protected void ParseEditText() { } - public override string ToString() { throw null; } - public override void UpButton() { } - protected override void UpdateEditText() { } - protected override void ValidateEditText() { } - } - public partial class NumericUpDownAcceleration - { - public NumericUpDownAcceleration(int seconds, decimal increment) { } - public decimal Increment { get { throw null; } set { } } - public int Seconds { get { throw null; } set { } } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class NumericUpDownAccelerationCollection : System.MarshalByRefObject, System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable - { - public NumericUpDownAccelerationCollection() { } - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public System.Windows.Forms.NumericUpDownAcceleration this[int index] { get { throw null; } } - public void Add(System.Windows.Forms.NumericUpDownAcceleration acceleration) { } - public void AddRange(params System.Windows.Forms.NumericUpDownAcceleration[] accelerations) { } - public void Clear() { } - public bool Contains(System.Windows.Forms.NumericUpDownAcceleration acceleration) { throw null; } - public void CopyTo(System.Windows.Forms.NumericUpDownAcceleration[] array, int index) { } - public bool Remove(System.Windows.Forms.NumericUpDownAcceleration acceleration) { throw null; } - System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - } - public partial class OpacityConverter : System.ComponentModel.TypeConverter - { - public OpacityConverter() { } - public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - } - public sealed partial class OpenFileDialog : System.Windows.Forms.FileDialog - { - public OpenFileDialog() { } - [System.ComponentModel.DefaultValueAttribute(true)] - public override bool CheckFileExists { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Multiselect { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ReadOnlyChecked { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string SafeFileName { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string[] SafeFileNames { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowReadOnly { get { throw null; } set { } } - public System.IO.Stream OpenFile() { throw null; } - public override void Reset() { } - } - public enum Orientation - { - Horizontal = 0, - Vertical = 1, - } - public partial class OSFeature : System.Windows.Forms.FeatureSupport - { - public static readonly object LayeredWindows; - public static readonly object Themes; - protected OSFeature() { } - public static System.Windows.Forms.OSFeature Feature { get { throw null; } } - public override System.Version GetVersionPresent(object feature) { throw null; } - public static bool IsPresent(System.Windows.Forms.SystemParameter enumVal) { throw null; } - } - public partial class OwnerDrawPropertyBag : System.MarshalByRefObject, System.Runtime.Serialization.ISerializable - { - protected OwnerDrawPropertyBag(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public System.Drawing.Color BackColor { get { throw null; } set { } } - public System.Drawing.Font Font { get { throw null; } set { } } - public System.Drawing.Color ForeColor { get { throw null; } set { } } - public static System.Windows.Forms.OwnerDrawPropertyBag Copy(System.Windows.Forms.OwnerDrawPropertyBag value) { throw null; } - public virtual bool IsEmpty() { throw null; } - void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } - } - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.PaddingConverter))] - public partial struct Padding - { - private int _dummyPrimitive; - public static readonly System.Windows.Forms.Padding Empty; - public Padding(int all) { throw null; } - public Padding(int left, int top, int right, int bottom) { throw null; } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int All { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int Bottom { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public int Horizontal { get { throw null; } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int Left { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int Right { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Size Size { get { throw null; } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int Top { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public int Vertical { get { throw null; } } - public static System.Windows.Forms.Padding Add(System.Windows.Forms.Padding p1, System.Windows.Forms.Padding p2) { throw null; } - public override bool Equals(object other) { throw null; } - public override int GetHashCode() { throw null; } - public static System.Windows.Forms.Padding operator +(System.Windows.Forms.Padding p1, System.Windows.Forms.Padding p2) { throw null; } - public static bool operator ==(System.Windows.Forms.Padding p1, System.Windows.Forms.Padding p2) { throw null; } - public static bool operator !=(System.Windows.Forms.Padding p1, System.Windows.Forms.Padding p2) { throw null; } - public static System.Windows.Forms.Padding operator -(System.Windows.Forms.Padding p1, System.Windows.Forms.Padding p2) { throw null; } - public static System.Windows.Forms.Padding Subtract(System.Windows.Forms.Padding p1, System.Windows.Forms.Padding p2) { throw null; } - public override string ToString() { throw null; } - } - public partial class PaddingConverter : System.ComponentModel.TypeConverter - { - public PaddingConverter() { } - public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext context, System.Collections.IDictionary propertyValues) { throw null; } - public override bool GetCreateInstanceSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, System.Attribute[] attributes) { throw null; } - public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - [System.ComponentModel.DefaultPropertyAttribute("Document")] - public sealed partial class PageSetupDialog : System.Windows.Forms.CommonDialog - { - public PageSetupDialog() { } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowMargins { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowOrientation { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowPaper { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowPrinter { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Drawing.Printing.PrintDocument Document { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public bool EnableMetric { get { throw null; } set { } } - public System.Drawing.Printing.Margins MinMargins { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Printing.PageSettings PageSettings { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Printing.PrinterSettings PrinterSettings { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowHelp { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowNetwork { get { throw null; } set { } } - public override void Reset() { } - protected override bool RunDialog(System.IntPtr hwndOwner) { throw null; } - } - public partial class PaintEventArgs : System.EventArgs, System.IDisposable - { - public PaintEventArgs(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipRect) { } - public System.Drawing.Rectangle ClipRectangle { get { throw null; } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - ~PaintEventArgs() { } - } - public delegate void PaintEventHandler(object sender, System.Windows.Forms.PaintEventArgs e); - [System.ComponentModel.DefaultEventAttribute("Paint")] - [System.ComponentModel.DefaultPropertyAttribute("BorderStyle")] - [System.Windows.Forms.DockingAttribute(System.Windows.Forms.DockingBehavior.Ask)] - public partial class Panel : System.Windows.Forms.ScrollableControl - { - public Panel() { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoSizeMode.GrowOnly)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Windows.Forms.AutoSizeMode AutoSizeMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.None)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - protected override void OnResize(System.EventArgs eventargs) { } - public override string ToString() { throw null; } - } - [System.ComponentModel.DefaultBindingPropertyAttribute("Image")] - [System.ComponentModel.DefaultPropertyAttribute("Image")] - [System.Windows.Forms.DockingAttribute(System.Windows.Forms.DockingBehavior.Ask)] - public partial class PictureBox : System.Windows.Forms.Control, System.ComponentModel.ISupportInitialize - { - public PictureBox() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AllowDrop { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.None)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool CausesValidation { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.ImeMode DefaultImeMode { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public System.Drawing.Image ErrorImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Image Image { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public string ImageLocation { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public System.Drawing.Image InitialImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.PictureBoxSizeMode.Normal)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.PictureBoxSizeMode SizeMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new int TabIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool WaitOnLoad { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler CausesValidationChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Enter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler FontChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Leave { add { } remove { } } - public event System.ComponentModel.AsyncCompletedEventHandler LoadCompleted { add { } remove { } } - public event System.ComponentModel.ProgressChangedEventHandler LoadProgressChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler RightToLeftChanged { add { } remove { } } - public event System.EventHandler SizeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabIndexChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - public void CancelAsync() { } - protected override void Dispose(bool disposing) { } - public void Load() { } - public void Load(string url) { } - public void LoadAsync() { } - public void LoadAsync(string url) { } - protected override void OnEnabledChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnHandleCreated(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected virtual void OnLoadCompleted(System.ComponentModel.AsyncCompletedEventArgs e) { } - protected virtual void OnLoadProgressChanged(System.ComponentModel.ProgressChangedEventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs pe) { } - protected override void OnParentChanged(System.EventArgs e) { } - protected override void OnResize(System.EventArgs e) { } - protected virtual void OnSizeModeChanged(System.EventArgs e) { } - protected override void OnVisibleChanged(System.EventArgs e) { } - void System.ComponentModel.ISupportInitialize.BeginInit() { } - void System.ComponentModel.ISupportInitialize.EndInit() { } - public override string ToString() { throw null; } - } - public enum PictureBoxSizeMode - { - AutoSize = 2, - CenterImage = 3, - Normal = 0, - StretchImage = 1, - Zoom = 4, - } - public partial class PopupEventArgs : System.ComponentModel.CancelEventArgs - { - public PopupEventArgs(System.Windows.Forms.IWin32Window associatedWindow, System.Windows.Forms.Control associatedControl, bool isBalloon, System.Drawing.Size size) { } - public System.Windows.Forms.Control AssociatedControl { get { throw null; } } - public System.Windows.Forms.IWin32Window AssociatedWindow { get { throw null; } } - public bool IsBalloon { get { throw null; } } - public System.Drawing.Size ToolTipSize { get { throw null; } set { } } - } - public delegate void PopupEventHandler(object sender, System.Windows.Forms.PopupEventArgs e); - public enum PowerLineStatus - { - Offline = 0, - Online = 1, - Unknown = 255, - } - public enum PowerState - { - Hibernate = 1, - Suspend = 0, - } - public partial class PowerStatus - { - internal PowerStatus() { } - public System.Windows.Forms.BatteryChargeStatus BatteryChargeStatus { get { throw null; } } - public int BatteryFullLifetime { get { throw null; } } - public float BatteryLifePercent { get { throw null; } } - public int BatteryLifeRemaining { get { throw null; } } - public System.Windows.Forms.PowerLineStatus PowerLineStatus { get { throw null; } } - } - public enum PreProcessControlState - { - MessageNeeded = 1, - MessageNotNeeded = 2, - MessageProcessed = 0, - } - public partial class PreviewKeyDownEventArgs : System.EventArgs - { - public PreviewKeyDownEventArgs(System.Windows.Forms.Keys keyData) { } - public bool Alt { get { throw null; } } - public bool Control { get { throw null; } } - public bool IsInputKey { get { throw null; } set { } } - public System.Windows.Forms.Keys KeyCode { get { throw null; } } - public System.Windows.Forms.Keys KeyData { get { throw null; } } - public int KeyValue { get { throw null; } } - public System.Windows.Forms.Keys Modifiers { get { throw null; } } - public bool Shift { get { throw null; } } - } - public delegate void PreviewKeyDownEventHandler(object sender, System.Windows.Forms.PreviewKeyDownEventArgs e); - public partial class PrintControllerWithStatusDialog : System.Drawing.Printing.PrintController - { - public PrintControllerWithStatusDialog(System.Drawing.Printing.PrintController underlyingController) { } - public PrintControllerWithStatusDialog(System.Drawing.Printing.PrintController underlyingController, string dialogTitle) { } - public override bool IsPreview { get { throw null; } } - public override void OnEndPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { } - public override void OnEndPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { } - public override System.Drawing.Graphics OnStartPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { throw null; } - public override void OnStartPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { } - } - [System.ComponentModel.DefaultPropertyAttribute("Document")] - public sealed partial class PrintDialog : System.Windows.Forms.CommonDialog - { - public PrintDialog() { } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool AllowCurrentPage { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowPrintToFile { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool AllowSelection { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool AllowSomePages { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Drawing.Printing.PrintDocument Document { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Printing.PrinterSettings PrinterSettings { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool PrintToFile { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowHelp { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowNetwork { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseEXDialog { get { throw null; } set { } } - public override void Reset() { } - protected override bool RunDialog(System.IntPtr hwndOwner) { throw null; } - } - [System.ComponentModel.DefaultPropertyAttribute("Document")] - public partial class PrintPreviewControl : System.Windows.Forms.Control - { - public PrintPreviewControl() { } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AutoZoom { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(1)] - public int Columns { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Drawing.Printing.PrintDocument Document { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(System.Windows.Forms.RightToLeft.Inherit)] - [System.ComponentModel.LocalizableAttribute(true)] - public override System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(1)] - public int Rows { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - public int StartPage { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseAntiAlias { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0.3)] - public double Zoom { get { throw null; } set { } } - public event System.EventHandler StartPageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - public void InvalidatePreview() { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs pevent) { } - protected override void OnResize(System.EventArgs eventargs) { } - protected virtual void OnStartPageChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override void ResetBackColor() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override void ResetForeColor() { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - [System.ComponentModel.DefaultPropertyAttribute("Document")] - [System.ComponentModel.DesignTimeVisibleAttribute(true)] - [System.ComponentModel.ToolboxItemAttribute(true)] - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms.Control.TopLevel")] - public partial class PrintPreviewDialog : System.Windows.Forms.Form - { - public PrintPreviewDialog() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.IButtonControl AcceptButton { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new string AccessibleDescription { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new string AccessibleName { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.AccessibleRole AccessibleRole { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AllowDrop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.AnchorStyles Anchor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool AutoScale { get { throw null; } set { } } -#pragma warning disable 0809 - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ObsoleteAttribute("This property has been deprecated. Use the AutoScaleDimensions property instead. http://go.microsoft.com/fwlink/?linkid=14202")] - public override System.Drawing.Size AutoScaleBaseSize { get { throw null; } set { } } -#pragma warning restore 0809 - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoScroll { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMargin { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMinSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.AutoValidate AutoValidate { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.IButtonControl CancelButton { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool CausesValidation { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ContextMenu ContextMenu { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool ControlBox { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.Cursor Cursor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ControlBindingsCollection DataBindings { get { throw null; } } - protected override System.Drawing.Size DefaultMinimumSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ScrollableControl.DockPaddingEdges DockPadding { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Drawing.Printing.PrintDocument Document { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool Enabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.FormBorderStyle FormBorderStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool HelpButton { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Icon Icon { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool IsMdiContainer { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool KeyPreview { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Point Location { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Margin { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool MaximizeBox { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size MaximumSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.MainMenu Menu { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool MinimizeBox { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size MinimumSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new double Opacity { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.PrintPreviewControl PrintPreviewControl { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool RightToLeftLayout { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool ShowInTaskbar { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size Size { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.SizeGripStyle.Hide)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.SizeGripStyle SizeGripStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.FormStartPosition StartPosition { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new object Tag { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool TopMost { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Color TransparencyKey { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseAntiAlias { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool UseWaitCursor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool Visible { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.FormWindowState WindowState { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler AutoValidateChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler CausesValidationChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ContextMenuChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ContextMenuStripChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler CursorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DockChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler EnabledChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler FontChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler LocationChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MarginChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MaximumSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MinimumSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler RightToLeftChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler RightToLeftLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler SizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler VisibleChanged { add { } remove { } } - protected override void CreateHandle() { } - protected override void OnClosing(System.ComponentModel.CancelEventArgs e) { } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected override bool ProcessTabKey(bool forward) { throw null; } - } - public sealed partial class ProfessionalColors - { - internal ProfessionalColors() { } - public static System.Drawing.Color ButtonCheckedGradientBegin { get { throw null; } } - public static System.Drawing.Color ButtonCheckedGradientEnd { get { throw null; } } - public static System.Drawing.Color ButtonCheckedGradientMiddle { get { throw null; } } - public static System.Drawing.Color ButtonCheckedHighlight { get { throw null; } } - public static System.Drawing.Color ButtonCheckedHighlightBorder { get { throw null; } } - public static System.Drawing.Color ButtonPressedBorder { get { throw null; } } - public static System.Drawing.Color ButtonPressedGradientBegin { get { throw null; } } - public static System.Drawing.Color ButtonPressedGradientEnd { get { throw null; } } - public static System.Drawing.Color ButtonPressedGradientMiddle { get { throw null; } } - public static System.Drawing.Color ButtonPressedHighlight { get { throw null; } } - public static System.Drawing.Color ButtonPressedHighlightBorder { get { throw null; } } - public static System.Drawing.Color ButtonSelectedBorder { get { throw null; } } - public static System.Drawing.Color ButtonSelectedGradientBegin { get { throw null; } } - public static System.Drawing.Color ButtonSelectedGradientEnd { get { throw null; } } - public static System.Drawing.Color ButtonSelectedGradientMiddle { get { throw null; } } - public static System.Drawing.Color ButtonSelectedHighlight { get { throw null; } } - public static System.Drawing.Color ButtonSelectedHighlightBorder { get { throw null; } } - public static System.Drawing.Color CheckBackground { get { throw null; } } - public static System.Drawing.Color CheckPressedBackground { get { throw null; } } - public static System.Drawing.Color CheckSelectedBackground { get { throw null; } } - public static System.Drawing.Color GripDark { get { throw null; } } - public static System.Drawing.Color GripLight { get { throw null; } } - public static System.Drawing.Color ImageMarginGradientBegin { get { throw null; } } - public static System.Drawing.Color ImageMarginGradientEnd { get { throw null; } } - public static System.Drawing.Color ImageMarginGradientMiddle { get { throw null; } } - public static System.Drawing.Color ImageMarginRevealedGradientBegin { get { throw null; } } - public static System.Drawing.Color ImageMarginRevealedGradientEnd { get { throw null; } } - public static System.Drawing.Color ImageMarginRevealedGradientMiddle { get { throw null; } } - public static System.Drawing.Color MenuBorder { get { throw null; } } - public static System.Drawing.Color MenuItemBorder { get { throw null; } } - public static System.Drawing.Color MenuItemPressedGradientBegin { get { throw null; } } - public static System.Drawing.Color MenuItemPressedGradientEnd { get { throw null; } } - public static System.Drawing.Color MenuItemPressedGradientMiddle { get { throw null; } } - public static System.Drawing.Color MenuItemSelected { get { throw null; } } - public static System.Drawing.Color MenuItemSelectedGradientBegin { get { throw null; } } - public static System.Drawing.Color MenuItemSelectedGradientEnd { get { throw null; } } - public static System.Drawing.Color MenuStripGradientBegin { get { throw null; } } - public static System.Drawing.Color MenuStripGradientEnd { get { throw null; } } - public static System.Drawing.Color OverflowButtonGradientBegin { get { throw null; } } - public static System.Drawing.Color OverflowButtonGradientEnd { get { throw null; } } - public static System.Drawing.Color OverflowButtonGradientMiddle { get { throw null; } } - public static System.Drawing.Color RaftingContainerGradientBegin { get { throw null; } } - public static System.Drawing.Color RaftingContainerGradientEnd { get { throw null; } } - public static System.Drawing.Color SeparatorDark { get { throw null; } } - public static System.Drawing.Color SeparatorLight { get { throw null; } } - public static System.Drawing.Color StatusStripGradientBegin { get { throw null; } } - public static System.Drawing.Color StatusStripGradientEnd { get { throw null; } } - public static System.Drawing.Color ToolStripBorder { get { throw null; } } - public static System.Drawing.Color ToolStripContentPanelGradientBegin { get { throw null; } } - public static System.Drawing.Color ToolStripContentPanelGradientEnd { get { throw null; } } - public static System.Drawing.Color ToolStripDropDownBackground { get { throw null; } } - public static System.Drawing.Color ToolStripGradientBegin { get { throw null; } } - public static System.Drawing.Color ToolStripGradientEnd { get { throw null; } } - public static System.Drawing.Color ToolStripGradientMiddle { get { throw null; } } - public static System.Drawing.Color ToolStripPanelGradientBegin { get { throw null; } } - public static System.Drawing.Color ToolStripPanelGradientEnd { get { throw null; } } - } - public partial class ProfessionalColorTable - { - public ProfessionalColorTable() { } - public virtual System.Drawing.Color ButtonCheckedGradientBegin { get { throw null; } } - public virtual System.Drawing.Color ButtonCheckedGradientEnd { get { throw null; } } - public virtual System.Drawing.Color ButtonCheckedGradientMiddle { get { throw null; } } - public virtual System.Drawing.Color ButtonCheckedHighlight { get { throw null; } } - public virtual System.Drawing.Color ButtonCheckedHighlightBorder { get { throw null; } } - public virtual System.Drawing.Color ButtonPressedBorder { get { throw null; } } - public virtual System.Drawing.Color ButtonPressedGradientBegin { get { throw null; } } - public virtual System.Drawing.Color ButtonPressedGradientEnd { get { throw null; } } - public virtual System.Drawing.Color ButtonPressedGradientMiddle { get { throw null; } } - public virtual System.Drawing.Color ButtonPressedHighlight { get { throw null; } } - public virtual System.Drawing.Color ButtonPressedHighlightBorder { get { throw null; } } - public virtual System.Drawing.Color ButtonSelectedBorder { get { throw null; } } - public virtual System.Drawing.Color ButtonSelectedGradientBegin { get { throw null; } } - public virtual System.Drawing.Color ButtonSelectedGradientEnd { get { throw null; } } - public virtual System.Drawing.Color ButtonSelectedGradientMiddle { get { throw null; } } - public virtual System.Drawing.Color ButtonSelectedHighlight { get { throw null; } } - public virtual System.Drawing.Color ButtonSelectedHighlightBorder { get { throw null; } } - public virtual System.Drawing.Color CheckBackground { get { throw null; } } - public virtual System.Drawing.Color CheckPressedBackground { get { throw null; } } - public virtual System.Drawing.Color CheckSelectedBackground { get { throw null; } } - public virtual System.Drawing.Color GripDark { get { throw null; } } - public virtual System.Drawing.Color GripLight { get { throw null; } } - public virtual System.Drawing.Color ImageMarginGradientBegin { get { throw null; } } - public virtual System.Drawing.Color ImageMarginGradientEnd { get { throw null; } } - public virtual System.Drawing.Color ImageMarginGradientMiddle { get { throw null; } } - public virtual System.Drawing.Color ImageMarginRevealedGradientBegin { get { throw null; } } - public virtual System.Drawing.Color ImageMarginRevealedGradientEnd { get { throw null; } } - public virtual System.Drawing.Color ImageMarginRevealedGradientMiddle { get { throw null; } } - public virtual System.Drawing.Color MenuBorder { get { throw null; } } - public virtual System.Drawing.Color MenuItemBorder { get { throw null; } } - public virtual System.Drawing.Color MenuItemPressedGradientBegin { get { throw null; } } - public virtual System.Drawing.Color MenuItemPressedGradientEnd { get { throw null; } } - public virtual System.Drawing.Color MenuItemPressedGradientMiddle { get { throw null; } } - public virtual System.Drawing.Color MenuItemSelected { get { throw null; } } - public virtual System.Drawing.Color MenuItemSelectedGradientBegin { get { throw null; } } - public virtual System.Drawing.Color MenuItemSelectedGradientEnd { get { throw null; } } - public virtual System.Drawing.Color MenuStripGradientBegin { get { throw null; } } - public virtual System.Drawing.Color MenuStripGradientEnd { get { throw null; } } - public virtual System.Drawing.Color OverflowButtonGradientBegin { get { throw null; } } - public virtual System.Drawing.Color OverflowButtonGradientEnd { get { throw null; } } - public virtual System.Drawing.Color OverflowButtonGradientMiddle { get { throw null; } } - public virtual System.Drawing.Color RaftingContainerGradientBegin { get { throw null; } } - public virtual System.Drawing.Color RaftingContainerGradientEnd { get { throw null; } } - public virtual System.Drawing.Color SeparatorDark { get { throw null; } } - public virtual System.Drawing.Color SeparatorLight { get { throw null; } } - public virtual System.Drawing.Color StatusStripGradientBegin { get { throw null; } } - public virtual System.Drawing.Color StatusStripGradientEnd { get { throw null; } } - public virtual System.Drawing.Color ToolStripBorder { get { throw null; } } - public virtual System.Drawing.Color ToolStripContentPanelGradientBegin { get { throw null; } } - public virtual System.Drawing.Color ToolStripContentPanelGradientEnd { get { throw null; } } - public virtual System.Drawing.Color ToolStripDropDownBackground { get { throw null; } } - public virtual System.Drawing.Color ToolStripGradientBegin { get { throw null; } } - public virtual System.Drawing.Color ToolStripGradientEnd { get { throw null; } } - public virtual System.Drawing.Color ToolStripGradientMiddle { get { throw null; } } - public virtual System.Drawing.Color ToolStripPanelGradientBegin { get { throw null; } } - public virtual System.Drawing.Color ToolStripPanelGradientEnd { get { throw null; } } - public bool UseSystemColors { get { throw null; } set { } } - } - [System.ComponentModel.DefaultBindingPropertyAttribute("Value")] - [System.ComponentModel.DefaultPropertyAttribute("Value")] - public partial class ProgressBar : System.Windows.Forms.Control - { - public ProgressBar() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AllowDrop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool CausesValidation { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.ImeMode DefaultImeMode { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override bool DoubleBuffered { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(100)] - public int MarqueeAnimationSpeed { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(100)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int Maximum { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int Minimum { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool RightToLeftLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(10)] - public int Step { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ProgressBarStyle.Blocks)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.ProgressBarStyle Style { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int Value { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler CausesValidationChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Enter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler FontChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Leave { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseDoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.EventHandler RightToLeftLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void CreateHandle() { } - public void Increment(int value) { } - protected override void OnBackColorChanged(System.EventArgs e) { } - protected override void OnForeColorChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnRightToLeftLayoutChanged(System.EventArgs e) { } - public void PerformStep() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override void ResetForeColor() { } - public override string ToString() { throw null; } - } - public sealed partial class ProgressBarRenderer - { - internal ProgressBarRenderer() { } - public static int ChunkSpaceThickness { get { throw null; } } - public static int ChunkThickness { get { throw null; } } - public static bool IsSupported { get { throw null; } } - public static void DrawHorizontalBar(System.Drawing.Graphics g, System.Drawing.Rectangle bounds) { } - public static void DrawHorizontalChunks(System.Drawing.Graphics g, System.Drawing.Rectangle bounds) { } - public static void DrawVerticalBar(System.Drawing.Graphics g, System.Drawing.Rectangle bounds) { } - public static void DrawVerticalChunks(System.Drawing.Graphics g, System.Drawing.Rectangle bounds) { } - } - public enum ProgressBarStyle - { - Blocks = 0, - Continuous = 1, - Marquee = 2, - } - public partial class PropertyGrid : System.Windows.Forms.ContainerControl, System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser - { - public PropertyGrid() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoScroll { get { throw null; } set { } } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.ComponentModel.AttributeCollection BrowsableAttributes { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual bool CanShowCommands { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool CanShowVisualStyleGlyphs { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "ControlText")] - public System.Drawing.Color CategoryForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "Control")] - public System.Drawing.Color CategorySplitterColor { get { throw null; } set { } } - public System.Drawing.Color CommandsActiveLinkColor { get { throw null; } set { } } - public System.Drawing.Color CommandsBackColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "ControlDark")] - public System.Drawing.Color CommandsBorderColor { get { throw null; } set { } } - public System.Drawing.Color CommandsDisabledLinkColor { get { throw null; } set { } } - public System.Drawing.Color CommandsForeColor { get { throw null; } set { } } - public System.Drawing.Color CommandsLinkColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual bool CommandsVisible { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public virtual bool CommandsVisibleIfAvailable { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Drawing.Point ContextMenuDefaultLocation { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Control.ControlCollection Controls { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual System.Type DefaultTabType { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "GrayText")] - public System.Drawing.Color DisabledItemForeColor { get { throw null; } set { } } - protected bool DrawFlatToolbar { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "Control")] - public System.Drawing.Color HelpBackColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "ControlDark")] - public System.Drawing.Color HelpBorderColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "ControlText")] - public System.Drawing.Color HelpForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool HelpVisible { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool LargeButtons { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "InactiveBorder")] - public System.Drawing.Color LineColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.PropertySort.CategorizedAlphabetical)] - public System.Windows.Forms.PropertySort PropertySort { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.PropertyGrid.PropertyTabCollection PropertyTabs { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.GridItem SelectedGridItem { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "Highlight")] - public System.Drawing.Color SelectedItemWithFocusBackColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "HighlightText")] - public System.Drawing.Color SelectedItemWithFocusForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public object SelectedObject { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public object[] SelectedObjects { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.Design.PropertyTab SelectedTab { get { throw null; } } - protected internal override bool ShowFocusCues { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual System.Drawing.Bitmap ShowPropertyPageImage { get { throw null; } } - public override System.ComponentModel.ISite Site { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual System.Drawing.Bitmap SortByCategoryImage { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual System.Drawing.Bitmap SortByPropertyImage { get { throw null; } } - bool System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.InPropertySet { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public virtual bool ToolbarVisible { get { throw null; } set { } } - protected System.Windows.Forms.ToolStripRenderer ToolStripRenderer { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseCompatibleTextRendering { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "Window")] - public System.Drawing.Color ViewBackColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "ControlDark")] - public System.Drawing.Color ViewBorderColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "WindowText")] - public System.Drawing.Color ViewForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.MouseEventHandler MouseDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.EventHandler MouseEnter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.EventHandler MouseLeave { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.MouseEventHandler MouseMove { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new event System.Windows.Forms.MouseEventHandler MouseUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - public event System.EventHandler PropertySortChanged { add { } remove { } } - public event System.Windows.Forms.PropertyTabChangedEventHandler PropertyTabChanged { add { } remove { } } - public event System.Windows.Forms.PropertyValueChangedEventHandler PropertyValueChanged { add { } remove { } } - public event System.Windows.Forms.SelectedGridItemChangedEventHandler SelectedGridItemChanged { add { } remove { } } - public event System.EventHandler SelectedObjectsChanged { add { } remove { } } - event System.ComponentModel.Design.ComponentRenameEventHandler System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.ComComponentNameChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public new event System.EventHandler TextChanged { add { } remove { } } - public void CollapseAllGridItems() { } - protected virtual System.Windows.Forms.Design.PropertyTab CreatePropertyTab(System.Type tabType) { throw null; } - protected override void Dispose(bool disposing) { } - public void ExpandAllGridItems() { } - protected void OnComComponentNameChanged(System.ComponentModel.Design.ComponentRenameEventArgs e) { } - protected override void OnEnabledChanged(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnGotFocus(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs me) { } - protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs me) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs me) { } - protected void OnNotifyPropertyValueUIItemsChanged(object sender, System.EventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs pevent) { } - protected virtual void OnPropertySortChanged(System.EventArgs e) { } - protected virtual void OnPropertyTabChanged(System.Windows.Forms.PropertyTabChangedEventArgs e) { } - protected virtual void OnPropertyValueChanged(System.Windows.Forms.PropertyValueChangedEventArgs e) { } - protected override void OnResize(System.EventArgs e) { } - protected virtual void OnSelectedGridItemChanged(System.Windows.Forms.SelectedGridItemChangedEventArgs e) { } - protected virtual void OnSelectedObjectsChanged(System.EventArgs e) { } - protected override void OnSystemColorsChanged(System.EventArgs e) { } - protected override void OnVisibleChanged(System.EventArgs e) { } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - public override void Refresh() { } - public void RefreshTabs(System.ComponentModel.PropertyTabScope tabScope) { } - protected override void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew) { } - public void ResetSelectedProperty() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override void ScaleCore(float dx, float dy) { } - protected void ShowEventsButton(bool value) { } - void System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.DropDownDone() { } - bool System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.EnsurePendingChangesCommitted() { throw null; } - void System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.HandleF4() { } - void System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.LoadState(Microsoft.Win32.RegistryKey optRoot) { } - void System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.SaveState(Microsoft.Win32.RegistryKey optRoot) { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public partial class PropertyTabCollection : System.Collections.ICollection, System.Collections.IEnumerable - { - internal PropertyTabCollection() { } - public int Count { get { throw null; } } - public System.Windows.Forms.Design.PropertyTab this[int index] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - public void AddTabType(System.Type propertyTabType) { } - public void AddTabType(System.Type propertyTabType, System.ComponentModel.PropertyTabScope tabScope) { } - public void Clear(System.ComponentModel.PropertyTabScope tabScope) { } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public void RemoveTabType(System.Type propertyTabType) { } - void System.Collections.ICollection.CopyTo(System.Array dest, int index) { } - } - } - public partial class PropertyManager : System.Windows.Forms.BindingManagerBase - { - public PropertyManager() { } - public override int Count { get { throw null; } } - public override object Current { get { throw null; } } - public override int Position { get { throw null; } set { } } - public override void AddNew() { } - public override void CancelCurrentEdit() { } - public override void EndCurrentEdit() { } - protected internal override string GetListName(System.Collections.ArrayList listAccessors) { throw null; } - protected internal override void OnCurrentChanged(System.EventArgs ea) { } - protected internal override void OnCurrentItemChanged(System.EventArgs ea) { } - public override void RemoveAt(int index) { } - public override void ResumeBinding() { } - public override void SuspendBinding() { } - protected override void UpdateIsBinding() { } - } - public enum PropertySort - { - Alphabetical = 1, - Categorized = 2, - CategorizedAlphabetical = 3, - NoSort = 0, - } - public partial class PropertyTabChangedEventArgs : System.EventArgs - { - public PropertyTabChangedEventArgs(System.Windows.Forms.Design.PropertyTab oldTab, System.Windows.Forms.Design.PropertyTab newTab) { } - public System.Windows.Forms.Design.PropertyTab NewTab { get { throw null; } } - public System.Windows.Forms.Design.PropertyTab OldTab { get { throw null; } } - } - public delegate void PropertyTabChangedEventHandler(object s, System.Windows.Forms.PropertyTabChangedEventArgs e); - public partial class PropertyValueChangedEventArgs : System.EventArgs - { - public PropertyValueChangedEventArgs(System.Windows.Forms.GridItem changedItem, object oldValue) { } - public System.Windows.Forms.GridItem ChangedItem { get { throw null; } } - public object OldValue { get { throw null; } } - } - public delegate void PropertyValueChangedEventHandler(object s, System.Windows.Forms.PropertyValueChangedEventArgs e); - public partial class QueryAccessibilityHelpEventArgs : System.EventArgs - { - public QueryAccessibilityHelpEventArgs() { } - public QueryAccessibilityHelpEventArgs(string helpNamespace, string helpString, string helpKeyword) { } - public string HelpKeyword { get { throw null; } set { } } - public string HelpNamespace { get { throw null; } set { } } - public string HelpString { get { throw null; } set { } } - } - public delegate void QueryAccessibilityHelpEventHandler(object sender, System.Windows.Forms.QueryAccessibilityHelpEventArgs e); - public partial class QueryContinueDragEventArgs : System.EventArgs - { - public QueryContinueDragEventArgs(int keyState, bool escapePressed, System.Windows.Forms.DragAction action) { } - public System.Windows.Forms.DragAction Action { get { throw null; } set { } } - public bool EscapePressed { get { throw null; } } - public int KeyState { get { throw null; } } - } - public delegate void QueryContinueDragEventHandler(object sender, System.Windows.Forms.QueryContinueDragEventArgs e); - public partial class QuestionEventArgs : System.EventArgs - { - public QuestionEventArgs() { } - public QuestionEventArgs(bool response) { } - public bool Response { get { throw null; } set { } } - } - public delegate void QuestionEventHandler(object sender, System.Windows.Forms.QuestionEventArgs e); - [System.ComponentModel.DefaultBindingPropertyAttribute("Checked")] - [System.ComponentModel.DefaultEventAttribute("CheckedChanged")] - [System.ComponentModel.DefaultPropertyAttribute("Checked")] - [System.ComponentModel.ToolboxItemAttribute("System.Windows.Forms.Design.AutoSizeToolboxItem,System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] - public partial class RadioButton : System.Windows.Forms.ButtonBase - { - public RadioButton() { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.Appearance.Normal)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.Appearance Appearance { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AutoCheck { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Drawing.ContentAlignment.MiddleLeft)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.ContentAlignment CheckAlign { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.SettingsBindableAttribute(true)] - public bool Checked { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Drawing.ContentAlignment.MiddleLeft)] - [System.ComponentModel.LocalizableAttribute(true)] - public override System.Drawing.ContentAlignment TextAlign { get { throw null; } set { } } - public event System.EventHandler AppearanceChanged { add { } remove { } } - public event System.EventHandler CheckedChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseDoubleClick { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected virtual void OnCheckedChanged(System.EventArgs e) { } - protected override void OnClick(System.EventArgs e) { } - protected override void OnEnter(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs mevent) { } - public void PerformClick() { } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - protected override void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew) { } - public override string ToString() { throw null; } - public partial class RadioButtonAccessibleObject : System.Windows.Forms.ButtonBase.ButtonBaseAccessibleObject - { - public RadioButtonAccessibleObject(System.Windows.Forms.RadioButton owner) : base (default(System.Windows.Forms.Control)) { } - public override string DefaultAction { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public override void DoDefaultAction() { } - } - } - public sealed partial class RadioButtonRenderer - { - internal RadioButtonRenderer() { } - public static bool RenderMatchingApplicationState { get { throw null; } set { } } - public static void DrawParentBackground(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.Control childControl) { } - public static void DrawRadioButton(System.Drawing.Graphics g, System.Drawing.Point glyphLocation, System.Drawing.Rectangle textBounds, string radioButtonText, System.Drawing.Font font, bool focused, System.Windows.Forms.VisualStyles.RadioButtonState state) { } - public static void DrawRadioButton(System.Drawing.Graphics g, System.Drawing.Point glyphLocation, System.Drawing.Rectangle textBounds, string radioButtonText, System.Drawing.Font font, System.Drawing.Image image, System.Drawing.Rectangle imageBounds, bool focused, System.Windows.Forms.VisualStyles.RadioButtonState state) { } - public static void DrawRadioButton(System.Drawing.Graphics g, System.Drawing.Point glyphLocation, System.Drawing.Rectangle textBounds, string radioButtonText, System.Drawing.Font font, System.Windows.Forms.TextFormatFlags flags, bool focused, System.Windows.Forms.VisualStyles.RadioButtonState state) { } - public static void DrawRadioButton(System.Drawing.Graphics g, System.Drawing.Point glyphLocation, System.Drawing.Rectangle textBounds, string radioButtonText, System.Drawing.Font font, System.Windows.Forms.TextFormatFlags flags, System.Drawing.Image image, System.Drawing.Rectangle imageBounds, bool focused, System.Windows.Forms.VisualStyles.RadioButtonState state) { } - public static void DrawRadioButton(System.Drawing.Graphics g, System.Drawing.Point glyphLocation, System.Windows.Forms.VisualStyles.RadioButtonState state) { } - public static System.Drawing.Size GetGlyphSize(System.Drawing.Graphics g, System.Windows.Forms.VisualStyles.RadioButtonState state) { throw null; } - public static bool IsBackgroundPartiallyTransparent(System.Windows.Forms.VisualStyles.RadioButtonState state) { throw null; } - } - [System.AttributeUsageAttribute(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)] - public sealed partial class RelatedImageListAttribute : System.Attribute - { - public RelatedImageListAttribute(string relatedImageList) { } - public string RelatedImageList { get { throw null; } } - } - public partial class RetrieveVirtualItemEventArgs : System.EventArgs - { - public RetrieveVirtualItemEventArgs(int itemIndex) { } - public System.Windows.Forms.ListViewItem Item { get { throw null; } set { } } - public int ItemIndex { get { throw null; } } - } - public delegate void RetrieveVirtualItemEventHandler(object sender, System.Windows.Forms.RetrieveVirtualItemEventArgs e); - [System.Windows.Forms.DockingAttribute(System.Windows.Forms.DockingBehavior.Ask)] - public partial class RichTextBox : System.Windows.Forms.TextBoxBase - { - public RichTextBox() { } - [System.ComponentModel.BrowsableAttribute(false)] - public override bool AllowDrop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool AutoWordSelection { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.LocalizableAttribute(true)] - public int BulletIndent { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool CanRedo { get { throw null; } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool DetectUrls { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool EnableAutoDragDrop { get { throw null; } set { } } - public override System.Drawing.Font Font { get { throw null; } set { } } - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.RichTextBoxLanguageOptions LanguageOption { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(2147483647)] - public override int MaxLength { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public override bool Multiline { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string RedoActionName { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public bool RichTextShortcutsEnabled { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.LocalizableAttribute(true)] - public int RightMargin { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public string Rtf { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.RichTextBoxScrollBars.Both)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.RichTextBoxScrollBars ScrollBars { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string SelectedRtf { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override string SelectedText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.HorizontalAlignment.Left)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.HorizontalAlignment SelectionAlignment { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Color SelectionBackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool SelectionBullet { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SelectionCharOffset { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Color SelectionColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Font SelectionFont { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SelectionHangingIndent { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SelectionIndent { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override int SelectionLength { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool SelectionProtected { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SelectionRightIndent { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int[] SelectionTabs { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.RichTextBoxSelectionTypes SelectionType { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowSelectionMargin { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public override int TextLength { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string UndoActionName { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(1f)] - [System.ComponentModel.LocalizableAttribute(true)] - public float ZoomFactor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - public event System.Windows.Forms.ContentsResizedEventHandler ContentsResized { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public new event System.Windows.Forms.DragEventHandler DragDrop { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public new event System.Windows.Forms.DragEventHandler DragEnter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DragLeave { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.DragEventHandler DragOver { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.GiveFeedbackEventHandler GiveFeedback { add { } remove { } } - public event System.EventHandler HScroll { add { } remove { } } - public event System.EventHandler ImeChange { add { } remove { } } - public event System.Windows.Forms.LinkClickedEventHandler LinkClicked { add { } remove { } } - public event System.EventHandler Protected { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.QueryContinueDragEventHandler QueryContinueDrag { add { } remove { } } - public event System.EventHandler SelectionChanged { add { } remove { } } - public event System.EventHandler VScroll { add { } remove { } } - public bool CanPaste(System.Windows.Forms.DataFormats.Format clipFormat) { throw null; } - protected virtual object CreateRichEditOleCallback() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new void DrawToBitmap(System.Drawing.Bitmap bitmap, System.Drawing.Rectangle targetBounds) { } - public int Find(char[] characterSet) { throw null; } - public int Find(char[] characterSet, int start) { throw null; } - public int Find(char[] characterSet, int start, int end) { throw null; } - public int Find(string str) { throw null; } - public int Find(string str, int start, int end, System.Windows.Forms.RichTextBoxFinds options) { throw null; } - public int Find(string str, int start, System.Windows.Forms.RichTextBoxFinds options) { throw null; } - public int Find(string str, System.Windows.Forms.RichTextBoxFinds options) { throw null; } - public override int GetCharIndexFromPosition(System.Drawing.Point pt) { throw null; } - public override int GetLineFromCharIndex(int index) { throw null; } - public override System.Drawing.Point GetPositionFromCharIndex(int index) { throw null; } - public void LoadFile(System.IO.Stream data, System.Windows.Forms.RichTextBoxStreamType fileType) { } - public void LoadFile(string path) { } - public void LoadFile(string path, System.Windows.Forms.RichTextBoxStreamType fileType) { } - protected override void OnBackColorChanged(System.EventArgs e) { } - protected virtual void OnContentsResized(System.Windows.Forms.ContentsResizedEventArgs e) { } - protected override void OnContextMenuChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected virtual void OnHScroll(System.EventArgs e) { } - protected virtual void OnImeChange(System.EventArgs e) { } - protected virtual void OnLinkClicked(System.Windows.Forms.LinkClickedEventArgs e) { } - protected virtual void OnProtected(System.EventArgs e) { } - protected override void OnRightToLeftChanged(System.EventArgs e) { } - protected virtual void OnSelectionChanged(System.EventArgs e) { } - protected virtual void OnVScroll(System.EventArgs e) { } - public void Paste(System.Windows.Forms.DataFormats.Format clipFormat) { } - protected override bool ProcessCmdKey(ref System.Windows.Forms.Message m, System.Windows.Forms.Keys keyData) { throw null; } - public void Redo() { } - public void SaveFile(System.IO.Stream data, System.Windows.Forms.RichTextBoxStreamType fileType) { } - public void SaveFile(string path) { } - public void SaveFile(string path, System.Windows.Forms.RichTextBoxStreamType fileType) { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - [System.FlagsAttribute] - public enum RichTextBoxFinds - { - MatchCase = 4, - NoHighlight = 8, - None = 0, - Reverse = 16, - WholeWord = 2, - } - [System.FlagsAttribute] - public enum RichTextBoxLanguageOptions - { - AutoFont = 2, - AutoFontSizeAdjust = 16, - AutoKeyboard = 1, - DualFont = 128, - ImeAlwaysSendNotify = 8, - ImeCancelComplete = 4, - UIFonts = 32, - } - public enum RichTextBoxScrollBars - { - Both = 3, - ForcedBoth = 19, - ForcedHorizontal = 17, - ForcedVertical = 18, - Horizontal = 1, - None = 0, - Vertical = 2, - } - public enum RichTextBoxSelectionAttribute - { - All = 1, - Mixed = -1, - None = 0, - } - [System.FlagsAttribute] - public enum RichTextBoxSelectionTypes - { - Empty = 0, - MultiChar = 4, - MultiObject = 8, - Object = 2, - Text = 1, - } - public enum RichTextBoxStreamType - { - PlainText = 1, - RichNoOleObjs = 2, - RichText = 0, - TextTextOleObjs = 3, - UnicodePlainText = 4, - } - public enum RichTextBoxWordPunctuations - { - All = 896, - Custom = 512, - Level1 = 128, - Level2 = 256, - } - public enum RightToLeft - { - Inherit = 2, - No = 0, - Yes = 1, - } - public partial class RowStyle : System.Windows.Forms.TableLayoutStyle - { - public RowStyle() { } - public RowStyle(System.Windows.Forms.SizeType sizeType) { } - public RowStyle(System.Windows.Forms.SizeType sizeType, float height) { } - public float Height { get { throw null; } set { } } - } - public sealed partial class SaveFileDialog : System.Windows.Forms.FileDialog - { - public SaveFileDialog() { } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool CreatePrompt { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool OverwritePrompt { get { throw null; } set { } } - public System.IO.Stream OpenFile() { throw null; } - public override void Reset() { } - } - public partial class Screen - { - internal Screen() { } - public static System.Windows.Forms.Screen[] AllScreens { get { throw null; } } - public int BitsPerPixel { get { throw null; } } - public System.Drawing.Rectangle Bounds { get { throw null; } } - public string DeviceName { get { throw null; } } - public bool Primary { get { throw null; } } - public static System.Windows.Forms.Screen PrimaryScreen { get { throw null; } } - public System.Drawing.Rectangle WorkingArea { get { throw null; } } - public override bool Equals(object obj) { throw null; } - public static System.Windows.Forms.Screen FromControl(System.Windows.Forms.Control control) { throw null; } - public static System.Windows.Forms.Screen FromHandle(System.IntPtr hwnd) { throw null; } - public static System.Windows.Forms.Screen FromPoint(System.Drawing.Point point) { throw null; } - public static System.Windows.Forms.Screen FromRectangle(System.Drawing.Rectangle rect) { throw null; } - public static System.Drawing.Rectangle GetBounds(System.Drawing.Point pt) { throw null; } - public static System.Drawing.Rectangle GetBounds(System.Drawing.Rectangle rect) { throw null; } - public static System.Drawing.Rectangle GetBounds(System.Windows.Forms.Control ctl) { throw null; } - public override int GetHashCode() { throw null; } - public static System.Drawing.Rectangle GetWorkingArea(System.Drawing.Point pt) { throw null; } - public static System.Drawing.Rectangle GetWorkingArea(System.Drawing.Rectangle rect) { throw null; } - public static System.Drawing.Rectangle GetWorkingArea(System.Windows.Forms.Control ctl) { throw null; } - public override string ToString() { throw null; } - } - public enum ScreenOrientation - { - Angle0 = 0, - Angle180 = 2, - Angle270 = 3, - Angle90 = 1, - } - public partial class ScrollableControl : System.Windows.Forms.Control, System.ComponentModel.IComponent, System.IDisposable - { - protected const int ScrollStateAutoScrolling = 1; - protected const int ScrollStateFullDrag = 16; - protected const int ScrollStateHScrollVisible = 2; - protected const int ScrollStateUserHasScrolled = 8; - protected const int ScrollStateVScrollVisible = 4; - public ScrollableControl() { } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool AutoScroll { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Size AutoScrollMargin { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Size AutoScrollMinSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Drawing.Point AutoScrollPosition { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - public override System.Drawing.Rectangle DisplayRectangle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public System.Windows.Forms.ScrollableControl.DockPaddingEdges DockPadding { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.HScrollProperties HorizontalScroll { get { throw null; } } - protected bool HScroll { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.VScrollProperties VerticalScroll { get { throw null; } } - protected bool VScroll { get { throw null; } set { } } - public event System.Windows.Forms.ScrollEventHandler Scroll { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void AdjustFormScrollbars(bool displayScrollbars) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected bool GetScrollState(int bit) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs levent) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnMouseWheel(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnPaddingChanged(System.EventArgs e) { } - protected override void OnPaintBackground(System.Windows.Forms.PaintEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnRightToLeftChanged(System.EventArgs e) { } - protected virtual void OnScroll(System.Windows.Forms.ScrollEventArgs se) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnVisibleChanged(System.EventArgs e) { } - protected override void ScaleControl(System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override void ScaleCore(float dx, float dy) { } - public void ScrollControlIntoView(System.Windows.Forms.Control activeControl) { } - protected virtual System.Drawing.Point ScrollToControl(System.Windows.Forms.Control activeControl) { throw null; } - public void SetAutoScrollMargin(int x, int y) { } - protected void SetDisplayRectLocation(int x, int y) { } - protected void SetScrollState(int bit, bool value) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void WndProc(ref System.Windows.Forms.Message m) { } - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ScrollableControl.DockPaddingEdgesConverter))] - public partial class DockPaddingEdges : System.ICloneable - { - internal DockPaddingEdges() { } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int All { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int Bottom { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int Left { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int Right { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int Top { get { throw null; } set { } } - public override bool Equals(object other) { throw null; } - public override int GetHashCode() { throw null; } - object System.ICloneable.Clone() { throw null; } - public override string ToString() { throw null; } - } - public partial class DockPaddingEdgesConverter : System.ComponentModel.TypeConverter - { - public DockPaddingEdgesConverter() { } - public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, System.Attribute[] attributes) { throw null; } - public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - } - [System.ComponentModel.DefaultEventAttribute("Scroll")] - [System.ComponentModel.DefaultPropertyAttribute("Value")] - public abstract partial class ScrollBar : System.Windows.Forms.Control - { - public ScrollBar() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.ImeMode DefaultImeMode { get { throw null; } } - protected override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(10)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int LargeChange { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(100)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int Maximum { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int Minimum { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public bool ScaleScrollBarForDpiChange { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(1)] - public int SmallChange { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int Value { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Click { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler FontChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseDoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseMove { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.Windows.Forms.ScrollEventHandler Scroll { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - public event System.EventHandler ValueChanged { add { } remove { } } - protected override System.Drawing.Rectangle GetScaledBounds(System.Drawing.Rectangle bounds, System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { throw null; } - protected override void OnEnabledChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnMouseWheel(System.Windows.Forms.MouseEventArgs e) { } - protected virtual void OnScroll(System.Windows.Forms.ScrollEventArgs se) { } - protected virtual void OnValueChanged(System.EventArgs e) { } - protected override void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew) { } - public override string ToString() { throw null; } - protected void UpdateScrollInfo() { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public sealed partial class ScrollBarRenderer - { - internal ScrollBarRenderer() { } - public static bool IsSupported { get { throw null; } } - public static void DrawArrowButton(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ScrollBarArrowButtonState state) { } - public static void DrawHorizontalThumb(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ScrollBarState state) { } - public static void DrawHorizontalThumbGrip(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ScrollBarState state) { } - public static void DrawLeftHorizontalTrack(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ScrollBarState state) { } - public static void DrawLowerVerticalTrack(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ScrollBarState state) { } - public static void DrawRightHorizontalTrack(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ScrollBarState state) { } - public static void DrawSizeBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ScrollBarSizeBoxState state) { } - public static void DrawUpperVerticalTrack(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ScrollBarState state) { } - public static void DrawVerticalThumb(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ScrollBarState state) { } - public static void DrawVerticalThumbGrip(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ScrollBarState state) { } - public static System.Drawing.Size GetSizeBoxSize(System.Drawing.Graphics g, System.Windows.Forms.VisualStyles.ScrollBarState state) { throw null; } - public static System.Drawing.Size GetThumbGripSize(System.Drawing.Graphics g, System.Windows.Forms.VisualStyles.ScrollBarState state) { throw null; } - } - public enum ScrollBars - { - Both = 3, - Horizontal = 1, - None = 0, - Vertical = 2, - } - public enum ScrollButton - { - Down = 1, - Left = 2, - Max = 3, - Min = 0, - Right = 3, - Up = 0, - } - public partial class ScrollEventArgs : System.EventArgs - { - public ScrollEventArgs(System.Windows.Forms.ScrollEventType type, int newValue) { } - public ScrollEventArgs(System.Windows.Forms.ScrollEventType type, int oldValue, int newValue) { } - public ScrollEventArgs(System.Windows.Forms.ScrollEventType type, int oldValue, int newValue, System.Windows.Forms.ScrollOrientation scroll) { } - public ScrollEventArgs(System.Windows.Forms.ScrollEventType type, int newValue, System.Windows.Forms.ScrollOrientation scroll) { } - public int NewValue { get { throw null; } set { } } - public int OldValue { get { throw null; } } - public System.Windows.Forms.ScrollOrientation ScrollOrientation { get { throw null; } } - public System.Windows.Forms.ScrollEventType Type { get { throw null; } } - } - public delegate void ScrollEventHandler(object sender, System.Windows.Forms.ScrollEventArgs e); - public enum ScrollEventType - { - EndScroll = 8, - First = 6, - LargeDecrement = 2, - LargeIncrement = 3, - Last = 7, - SmallDecrement = 0, - SmallIncrement = 1, - ThumbPosition = 4, - ThumbTrack = 5, - } - public enum ScrollOrientation - { - HorizontalScroll = 0, - VerticalScroll = 1, - } - public abstract partial class ScrollProperties - { - protected ScrollProperties(System.Windows.Forms.ScrollableControl container) { } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool Enabled { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(10)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int LargeChange { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(100)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int Maximum { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int Minimum { get { throw null; } set { } } - protected System.Windows.Forms.ScrollableControl ParentControl { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(1)] - public int SmallChange { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int Value { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Visible { get { throw null; } set { } } - } - public enum SearchDirectionHint - { - Down = 40, - Left = 37, - Right = 39, - Up = 38, - } - public partial class SearchForVirtualItemEventArgs : System.EventArgs - { - public SearchForVirtualItemEventArgs(bool isTextSearch, bool isPrefixSearch, bool includeSubItemsInSearch, string text, System.Drawing.Point startingPoint, System.Windows.Forms.SearchDirectionHint direction, int startIndex) { } - public System.Windows.Forms.SearchDirectionHint Direction { get { throw null; } } - public bool IncludeSubItemsInSearch { get { throw null; } } - public int Index { get { throw null; } set { } } - public bool IsPrefixSearch { get { throw null; } } - public bool IsTextSearch { get { throw null; } } - public int StartIndex { get { throw null; } } - public System.Drawing.Point StartingPoint { get { throw null; } } - public string Text { get { throw null; } } - } - public delegate void SearchForVirtualItemEventHandler(object sender, System.Windows.Forms.SearchForVirtualItemEventArgs e); - public enum SecurityIDType - { - Alias = 4, - Computer = 9, - DeletedAccount = 6, - Domain = 3, - Group = 2, - Invalid = 7, - Unknown = 8, - User = 1, - WellKnownGroup = 5, - } - public partial class SelectedGridItemChangedEventArgs : System.EventArgs - { - public SelectedGridItemChangedEventArgs(System.Windows.Forms.GridItem oldSel, System.Windows.Forms.GridItem newSel) { } - public System.Windows.Forms.GridItem NewSelection { get { throw null; } } - public System.Windows.Forms.GridItem OldSelection { get { throw null; } } - } - public delegate void SelectedGridItemChangedEventHandler(object sender, System.Windows.Forms.SelectedGridItemChangedEventArgs e); - public enum SelectionMode - { - MultiExtended = 3, - MultiSimple = 2, - None = 0, - One = 1, - } - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.SelectionRangeConverter))] - public sealed partial class SelectionRange - { - public SelectionRange() { } - public SelectionRange(System.DateTime lower, System.DateTime upper) { } - public SelectionRange(System.Windows.Forms.SelectionRange range) { } - public System.DateTime End { get { throw null; } set { } } - public System.DateTime Start { get { throw null; } set { } } - public override string ToString() { throw null; } - } - public partial class SelectionRangeConverter : System.ComponentModel.TypeConverter - { - public SelectionRangeConverter() { } - public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext context, System.Collections.IDictionary propertyValues) { throw null; } - public override bool GetCreateInstanceSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object value, System.Attribute[] attributes) { throw null; } - public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - public partial class SendKeys - { - internal SendKeys() { } - public static void Flush() { } - public static void Send(string keys) { } - public static void SendWait(string keys) { } - } - public enum Shortcut - { - Alt0 = 262192, - Alt1 = 262193, - Alt2 = 262194, - Alt3 = 262195, - Alt4 = 262196, - Alt5 = 262197, - Alt6 = 262198, - Alt7 = 262199, - Alt8 = 262200, - Alt9 = 262201, - AltBksp = 262152, - AltDownArrow = 262184, - AltF1 = 262256, - AltF10 = 262265, - AltF11 = 262266, - AltF12 = 262267, - AltF2 = 262257, - AltF3 = 262258, - AltF4 = 262259, - AltF5 = 262260, - AltF6 = 262261, - AltF7 = 262262, - AltF8 = 262263, - AltF9 = 262264, - AltLeftArrow = 262181, - AltRightArrow = 262183, - AltUpArrow = 262182, - Ctrl0 = 131120, - Ctrl1 = 131121, - Ctrl2 = 131122, - Ctrl3 = 131123, - Ctrl4 = 131124, - Ctrl5 = 131125, - Ctrl6 = 131126, - Ctrl7 = 131127, - Ctrl8 = 131128, - Ctrl9 = 131129, - CtrlA = 131137, - CtrlB = 131138, - CtrlC = 131139, - CtrlD = 131140, - CtrlDel = 131118, - CtrlE = 131141, - CtrlF = 131142, - CtrlF1 = 131184, - CtrlF10 = 131193, - CtrlF11 = 131194, - CtrlF12 = 131195, - CtrlF2 = 131185, - CtrlF3 = 131186, - CtrlF4 = 131187, - CtrlF5 = 131188, - CtrlF6 = 131189, - CtrlF7 = 131190, - CtrlF8 = 131191, - CtrlF9 = 131192, - CtrlG = 131143, - CtrlH = 131144, - CtrlI = 131145, - CtrlIns = 131117, - CtrlJ = 131146, - CtrlK = 131147, - CtrlL = 131148, - CtrlM = 131149, - CtrlN = 131150, - CtrlO = 131151, - CtrlP = 131152, - CtrlQ = 131153, - CtrlR = 131154, - CtrlS = 131155, - CtrlShift0 = 196656, - CtrlShift1 = 196657, - CtrlShift2 = 196658, - CtrlShift3 = 196659, - CtrlShift4 = 196660, - CtrlShift5 = 196661, - CtrlShift6 = 196662, - CtrlShift7 = 196663, - CtrlShift8 = 196664, - CtrlShift9 = 196665, - CtrlShiftA = 196673, - CtrlShiftB = 196674, - CtrlShiftC = 196675, - CtrlShiftD = 196676, - CtrlShiftE = 196677, - CtrlShiftF = 196678, - CtrlShiftF1 = 196720, - CtrlShiftF10 = 196729, - CtrlShiftF11 = 196730, - CtrlShiftF12 = 196731, - CtrlShiftF2 = 196721, - CtrlShiftF3 = 196722, - CtrlShiftF4 = 196723, - CtrlShiftF5 = 196724, - CtrlShiftF6 = 196725, - CtrlShiftF7 = 196726, - CtrlShiftF8 = 196727, - CtrlShiftF9 = 196728, - CtrlShiftG = 196679, - CtrlShiftH = 196680, - CtrlShiftI = 196681, - CtrlShiftJ = 196682, - CtrlShiftK = 196683, - CtrlShiftL = 196684, - CtrlShiftM = 196685, - CtrlShiftN = 196686, - CtrlShiftO = 196687, - CtrlShiftP = 196688, - CtrlShiftQ = 196689, - CtrlShiftR = 196690, - CtrlShiftS = 196691, - CtrlShiftT = 196692, - CtrlShiftU = 196693, - CtrlShiftV = 196694, - CtrlShiftW = 196695, - CtrlShiftX = 196696, - CtrlShiftY = 196697, - CtrlShiftZ = 196698, - CtrlT = 131156, - CtrlU = 131157, - CtrlV = 131158, - CtrlW = 131159, - CtrlX = 131160, - CtrlY = 131161, - CtrlZ = 131162, - Del = 46, - F1 = 112, - F10 = 121, - F11 = 122, - F12 = 123, - F2 = 113, - F3 = 114, - F4 = 115, - F5 = 116, - F6 = 117, - F7 = 118, - F8 = 119, - F9 = 120, - Ins = 45, - None = 0, - ShiftDel = 65582, - ShiftF1 = 65648, - ShiftF10 = 65657, - ShiftF11 = 65658, - ShiftF12 = 65659, - ShiftF2 = 65649, - ShiftF3 = 65650, - ShiftF4 = 65651, - ShiftF5 = 65652, - ShiftF6 = 65653, - ShiftF7 = 65654, - ShiftF8 = 65655, - ShiftF9 = 65656, - ShiftIns = 65581, - } - public enum SizeGripStyle - { - Auto = 0, - Hide = 2, - Show = 1, - } - public enum SizeType - { - Absolute = 1, - AutoSize = 0, - Percent = 2, - } - public enum SortOrder - { - Ascending = 1, - Descending = 2, - None = 0, - } - [System.ComponentModel.DefaultEventAttribute("SplitterMoved")] - [System.Windows.Forms.DockingAttribute(System.Windows.Forms.DockingBehavior.AutoDock)] - public partial class SplitContainer : System.Windows.Forms.ContainerControl, System.ComponentModel.ISupportInitialize - { - public SplitContainer() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.LocalizableAttribute(true)] - public override bool AutoScroll { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMargin { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMinSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Point), "0, 0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Point AutoScrollOffset { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Point AutoScrollPosition { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public override System.Windows.Forms.BindingContext BindingContext { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.None)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Control.ControlCollection Controls { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - public new System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FixedPanel.None)] - public System.Windows.Forms.FixedPanel FixedPanel { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool IsSplitterFixed { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.Orientation.Vertical)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.Orientation Orientation { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(false)] - public System.Windows.Forms.SplitterPanel Panel1 { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Panel1Collapsed { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(25)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int Panel1MinSize { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(false)] - public System.Windows.Forms.SplitterPanel Panel2 { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Panel2Collapsed { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(25)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int Panel2MinSize { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(50)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.SettingsBindableAttribute(true)] - public int SplitterDistance { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(1)] - [System.ComponentModel.LocalizableAttribute(true)] - public int SplitterIncrement { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Rectangle SplitterRectangle { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(4)] - [System.ComponentModel.LocalizableAttribute(true)] - public int SplitterWidth { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.Runtime.InteropServices.DispIdAttribute(-516)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.ControlEventHandler ControlAdded { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.ControlEventHandler ControlRemoved { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - public event System.Windows.Forms.SplitterEventHandler SplitterMoved { add { } remove { } } - public event System.Windows.Forms.SplitterCancelEventHandler SplitterMoving { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - public void BeginInit() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override System.Windows.Forms.Control.ControlCollection CreateControlsInstance() { throw null; } - public void EndInit() { } - protected override void OnGotFocus(System.EventArgs e) { } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e) { } - protected override void OnKeyUp(System.Windows.Forms.KeyEventArgs e) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs e) { } - protected override void OnLostFocus(System.EventArgs e) { } - protected override void OnMouseCaptureChanged(System.EventArgs e) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMove(System.EventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnRightToLeftChanged(System.EventArgs e) { } - public void OnSplitterMoved(System.Windows.Forms.SplitterEventArgs e) { } - public void OnSplitterMoving(System.Windows.Forms.SplitterCancelEventArgs e) { } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected override bool ProcessTabKey(bool forward) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void ScaleControl(System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { } - protected override void Select(bool directed, bool forward) { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - protected override void WndProc(ref System.Windows.Forms.Message msg) { } - } - [System.ComponentModel.DefaultEventAttribute("SplitterMoved")] - [System.ComponentModel.DefaultPropertyAttribute("Dock")] - public partial class Splitter : System.Windows.Forms.Control - { - public Splitter() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AllowDrop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AnchorStyles.None)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.AnchorStyles Anchor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.None)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.Cursor DefaultCursor { get { throw null; } } - protected override System.Windows.Forms.ImeMode DefaultImeMode { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DockStyle.Left)] - [System.ComponentModel.LocalizableAttribute(true)] - public override System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(25)] - [System.ComponentModel.LocalizableAttribute(true)] - public int MinExtra { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(25)] - [System.ComponentModel.LocalizableAttribute(true)] - public int MinSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SplitPosition { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Enter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler FontChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Leave { add { } remove { } } - public event System.Windows.Forms.SplitterEventHandler SplitterMoved { add { } remove { } } - public event System.Windows.Forms.SplitterEventHandler SplitterMoving { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e) { } - protected virtual void OnSplitterMoved(System.Windows.Forms.SplitterEventArgs sevent) { } - protected virtual void OnSplitterMoving(System.Windows.Forms.SplitterEventArgs sevent) { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - public override string ToString() { throw null; } - } - public partial class SplitterCancelEventArgs : System.ComponentModel.CancelEventArgs - { - public SplitterCancelEventArgs(int mouseCursorX, int mouseCursorY, int splitX, int splitY) { } - public int MouseCursorX { get { throw null; } } - public int MouseCursorY { get { throw null; } } - public int SplitX { get { throw null; } set { } } - public int SplitY { get { throw null; } set { } } - } - public delegate void SplitterCancelEventHandler(object sender, System.Windows.Forms.SplitterCancelEventArgs e); - public partial class SplitterEventArgs : System.EventArgs - { - public SplitterEventArgs(int x, int y, int splitX, int splitY) { } - public int SplitX { get { throw null; } set { } } - public int SplitY { get { throw null; } set { } } - public int X { get { throw null; } } - public int Y { get { throw null; } } - } - public delegate void SplitterEventHandler(object sender, System.Windows.Forms.SplitterEventArgs e); - [System.ComponentModel.ToolboxItemAttribute(false)] - [System.Windows.Forms.DockingAttribute(System.Windows.Forms.DockingBehavior.Never)] - public sealed partial class SplitterPanel : System.Windows.Forms.Panel - { - public SplitterPanel(System.Windows.Forms.SplitContainer owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.AnchorStyles Anchor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.LocalizableAttribute(false)] - public override System.Windows.Forms.AutoSizeMode AutoSizeMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - protected override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ScrollableControl.DockPaddingEdges DockPadding { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new int Height { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Point Location { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size MaximumSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size MinimumSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new string Name { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Control Parent { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size Size { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new int TabIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool Visible { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new int Width { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DockChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler LocationChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabIndexChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler VisibleChanged { add { } remove { } } - } - [System.ComponentModel.DefaultEventAttribute("PanelClick")] - [System.ComponentModel.DefaultPropertyAttribute("Text")] - public partial class StatusBar : System.Windows.Forms.Control - { - public StatusBar() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.ImeMode DefaultImeMode { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DockStyle.Bottom)] - [System.ComponentModel.LocalizableAttribute(true)] - public override System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override bool DoubleBuffered { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.StatusBar.StatusBarPanelCollection Panels { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowPanels { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool SizingGrip { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - public event System.Windows.Forms.StatusBarDrawItemEventHandler DrawItem { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.Windows.Forms.StatusBarPanelClickEventHandler PanelClick { add { } remove { } } - protected override void CreateHandle() { } - protected override void Dispose(bool disposing) { } - protected virtual void OnDrawItem(System.Windows.Forms.StatusBarDrawItemEventArgs sbdievent) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs levent) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected virtual void OnPanelClick(System.Windows.Forms.StatusBarPanelClickEventArgs e) { } - protected override void OnResize(System.EventArgs e) { } - public override string ToString() { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class StatusBarPanelCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public StatusBarPanelCollection(System.Windows.Forms.StatusBar owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public virtual System.Windows.Forms.StatusBarPanel this[int index] { get { throw null; } set { } } - public virtual System.Windows.Forms.StatusBarPanel this[string key] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public virtual System.Windows.Forms.StatusBarPanel Add(string text) { throw null; } - public virtual int Add(System.Windows.Forms.StatusBarPanel value) { throw null; } - public virtual void AddRange(System.Windows.Forms.StatusBarPanel[] panels) { } - public virtual void Clear() { } - public bool Contains(System.Windows.Forms.StatusBarPanel panel) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.StatusBarPanel panel) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - public virtual void Insert(int index, System.Windows.Forms.StatusBarPanel value) { } - public virtual void Remove(System.Windows.Forms.StatusBarPanel value) { } - public virtual void RemoveAt(int index) { } - public virtual void RemoveByKey(string key) { } - void System.Collections.ICollection.CopyTo(System.Array dest, int index) { } - int System.Collections.IList.Add(object value) { throw null; } - bool System.Collections.IList.Contains(object panel) { throw null; } - int System.Collections.IList.IndexOf(object panel) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - } - } - public partial class StatusBarDrawItemEventArgs : System.Windows.Forms.DrawItemEventArgs - { - public StatusBarDrawItemEventArgs(System.Drawing.Graphics g, System.Drawing.Font font, System.Drawing.Rectangle r, int itemId, System.Windows.Forms.DrawItemState itemState, System.Windows.Forms.StatusBarPanel panel) : base (default(System.Drawing.Graphics), default(System.Drawing.Font), default(System.Drawing.Rectangle), default(int), default(System.Windows.Forms.DrawItemState)) { } - public StatusBarDrawItemEventArgs(System.Drawing.Graphics g, System.Drawing.Font font, System.Drawing.Rectangle r, int itemId, System.Windows.Forms.DrawItemState itemState, System.Windows.Forms.StatusBarPanel panel, System.Drawing.Color foreColor, System.Drawing.Color backColor) : base (default(System.Drawing.Graphics), default(System.Drawing.Font), default(System.Drawing.Rectangle), default(int), default(System.Windows.Forms.DrawItemState)) { } - public System.Windows.Forms.StatusBarPanel Panel { get { throw null; } } - } - public delegate void StatusBarDrawItemEventHandler(object sender, System.Windows.Forms.StatusBarDrawItemEventArgs sbdevent); - [System.ComponentModel.DefaultPropertyAttribute("Text")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public partial class StatusBarPanel : System.ComponentModel.Component, System.ComponentModel.ISupportInitialize - { - public StatusBarPanel() { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.HorizontalAlignment.Left)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.HorizontalAlignment Alignment { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.StatusBarPanelAutoSize.None)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public System.Windows.Forms.StatusBarPanelAutoSize AutoSize { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.StatusBarPanelBorderStyle.Sunken)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.StatusBarPanelBorderStyle BorderStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Icon Icon { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(10)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int MinWidth { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public string Name { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.StatusBar Parent { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.StatusBarPanelStyle.Text)] - public System.Windows.Forms.StatusBarPanelStyle Style { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string ToolTipText { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(100)] - [System.ComponentModel.LocalizableAttribute(true)] - public int Width { get { throw null; } set { } } - public void BeginInit() { } - protected override void Dispose(bool disposing) { } - public void EndInit() { } - public override string ToString() { throw null; } - } - public enum StatusBarPanelAutoSize - { - Contents = 3, - None = 1, - Spring = 2, - } - public enum StatusBarPanelBorderStyle - { - None = 1, - Raised = 2, - Sunken = 3, - } - public partial class StatusBarPanelClickEventArgs : System.Windows.Forms.MouseEventArgs - { - public StatusBarPanelClickEventArgs(System.Windows.Forms.StatusBarPanel statusBarPanel, System.Windows.Forms.MouseButtons button, int clicks, int x, int y) : base (default(System.Windows.Forms.MouseButtons), default(int), default(int), default(int), default(int)) { } - public System.Windows.Forms.StatusBarPanel StatusBarPanel { get { throw null; } } - } - public delegate void StatusBarPanelClickEventHandler(object sender, System.Windows.Forms.StatusBarPanelClickEventArgs e); - public enum StatusBarPanelStyle - { - OwnerDraw = 2, - Text = 1, - } - public partial class StatusStrip : System.Windows.Forms.ToolStrip - { - public StatusStrip() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - public new bool CanOverflow { get { throw null; } set { } } - protected override System.Windows.Forms.DockStyle DefaultDock { get { throw null; } } - protected override System.Windows.Forms.Padding DefaultPadding { get { throw null; } } - protected override bool DefaultShowItemToolTips { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DockStyle.Bottom)] - public override System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripGripStyle.Hidden)] - public new System.Windows.Forms.ToolStripGripStyle GripStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripLayoutStyle.Table)] - public new System.Windows.Forms.ToolStripLayoutStyle LayoutStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public new bool ShowItemToolTips { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Rectangle SizeGripBounds { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool SizingGrip { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public new bool Stretch { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected internal override System.Windows.Forms.ToolStripItem CreateDefaultItem(string text, System.Drawing.Image image, System.EventHandler onClick) { throw null; } - protected override void Dispose(bool disposing) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs levent) { } - protected override void OnPaintBackground(System.Windows.Forms.PaintEventArgs e) { } - protected virtual void OnSpringTableLayoutCore() { } - protected override void SetDisplayedItems() { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public enum StructFormat - { - Ansi = 1, - Auto = 3, - Unicode = 2, - } - public partial class SystemInformation - { - internal SystemInformation() { } - public static int ActiveWindowTrackingDelay { get { throw null; } } - public static System.Windows.Forms.ArrangeDirection ArrangeDirection { get { throw null; } } - public static System.Windows.Forms.ArrangeStartingPosition ArrangeStartingPosition { get { throw null; } } - public static System.Windows.Forms.BootMode BootMode { get { throw null; } } - public static System.Drawing.Size Border3DSize { get { throw null; } } - public static int BorderMultiplierFactor { get { throw null; } } - public static System.Drawing.Size BorderSize { get { throw null; } } - public static System.Drawing.Size CaptionButtonSize { get { throw null; } } - public static int CaptionHeight { get { throw null; } } - public static int CaretBlinkTime { get { throw null; } } - public static int CaretWidth { get { throw null; } } - public static string ComputerName { get { throw null; } } - public static System.Drawing.Size CursorSize { get { throw null; } } - public static bool DbcsEnabled { get { throw null; } } - public static bool DebugOS { get { throw null; } } - public static System.Drawing.Size DoubleClickSize { get { throw null; } } - public static int DoubleClickTime { get { throw null; } } - public static bool DragFullWindows { get { throw null; } } - public static System.Drawing.Size DragSize { get { throw null; } } - public static System.Drawing.Size FixedFrameBorderSize { get { throw null; } } - public static int FontSmoothingContrast { get { throw null; } } - public static int FontSmoothingType { get { throw null; } } - public static System.Drawing.Size FrameBorderSize { get { throw null; } } - public static bool HighContrast { get { throw null; } } - public static int HorizontalFocusThickness { get { throw null; } } - public static int HorizontalResizeBorderThickness { get { throw null; } } - public static int HorizontalScrollBarArrowWidth { get { throw null; } } - public static int HorizontalScrollBarHeight { get { throw null; } } - public static int HorizontalScrollBarThumbWidth { get { throw null; } } - public static int IconHorizontalSpacing { get { throw null; } } - public static System.Drawing.Size IconSize { get { throw null; } } - public static System.Drawing.Size IconSpacingSize { get { throw null; } } - public static int IconVerticalSpacing { get { throw null; } } - public static bool IsActiveWindowTrackingEnabled { get { throw null; } } - public static bool IsComboBoxAnimationEnabled { get { throw null; } } - public static bool IsDropShadowEnabled { get { throw null; } } - public static bool IsFlatMenuEnabled { get { throw null; } } - public static bool IsFontSmoothingEnabled { get { throw null; } } - public static bool IsHotTrackingEnabled { get { throw null; } } - public static bool IsIconTitleWrappingEnabled { get { throw null; } } - public static bool IsKeyboardPreferred { get { throw null; } } - public static bool IsListBoxSmoothScrollingEnabled { get { throw null; } } - public static bool IsMenuAnimationEnabled { get { throw null; } } - public static bool IsMenuFadeEnabled { get { throw null; } } - public static bool IsMinimizeRestoreAnimationEnabled { get { throw null; } } - public static bool IsSelectionFadeEnabled { get { throw null; } } - public static bool IsSnapToDefaultEnabled { get { throw null; } } - public static bool IsTitleBarGradientEnabled { get { throw null; } } - public static bool IsToolTipAnimationEnabled { get { throw null; } } - public static int KanjiWindowHeight { get { throw null; } } - public static int KeyboardDelay { get { throw null; } } - public static int KeyboardSpeed { get { throw null; } } - public static System.Drawing.Size MaxWindowTrackSize { get { throw null; } } - public static bool MenuAccessKeysUnderlined { get { throw null; } } - public static System.Drawing.Size MenuBarButtonSize { get { throw null; } } - public static System.Drawing.Size MenuButtonSize { get { throw null; } } - public static System.Drawing.Size MenuCheckSize { get { throw null; } } - public static System.Drawing.Font MenuFont { get { throw null; } } - public static int MenuHeight { get { throw null; } } - public static int MenuShowDelay { get { throw null; } } - public static bool MidEastEnabled { get { throw null; } } - public static System.Drawing.Size MinimizedWindowSize { get { throw null; } } - public static System.Drawing.Size MinimizedWindowSpacingSize { get { throw null; } } - public static System.Drawing.Size MinimumWindowSize { get { throw null; } } - public static System.Drawing.Size MinWindowTrackSize { get { throw null; } } - public static int MonitorCount { get { throw null; } } - public static bool MonitorsSameDisplayFormat { get { throw null; } } - public static int MouseButtons { get { throw null; } } - public static bool MouseButtonsSwapped { get { throw null; } } - public static System.Drawing.Size MouseHoverSize { get { throw null; } } - public static int MouseHoverTime { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public static bool MousePresent { get { throw null; } } - public static int MouseSpeed { get { throw null; } } - public static bool MouseWheelPresent { get { throw null; } } - public static int MouseWheelScrollDelta { get { throw null; } } - public static int MouseWheelScrollLines { get { throw null; } } - public static bool NativeMouseWheelSupport { get { throw null; } } - public static bool Network { get { throw null; } } - public static bool PenWindows { get { throw null; } } - public static System.Windows.Forms.LeftRightAlignment PopupMenuAlignment { get { throw null; } } - public static System.Windows.Forms.PowerStatus PowerStatus { get { throw null; } } - public static System.Drawing.Size PrimaryMonitorMaximizedWindowSize { get { throw null; } } - public static System.Drawing.Size PrimaryMonitorSize { get { throw null; } } - public static bool RightAlignedMenus { get { throw null; } } - public static System.Windows.Forms.ScreenOrientation ScreenOrientation { get { throw null; } } - public static bool Secure { get { throw null; } } - public static bool ShowSounds { get { throw null; } } - public static int SizingBorderWidth { get { throw null; } } - public static System.Drawing.Size SmallCaptionButtonSize { get { throw null; } } - public static System.Drawing.Size SmallIconSize { get { throw null; } } - public static bool TerminalServerSession { get { throw null; } } - public static System.Drawing.Size ToolWindowCaptionButtonSize { get { throw null; } } - public static int ToolWindowCaptionHeight { get { throw null; } } - public static bool UIEffectsEnabled { get { throw null; } } - public static string UserDomainName { get { throw null; } } - public static bool UserInteractive { get { throw null; } } - public static string UserName { get { throw null; } } - public static int VerticalFocusThickness { get { throw null; } } - public static int VerticalResizeBorderThickness { get { throw null; } } - public static int VerticalScrollBarArrowHeight { get { throw null; } } - public static int VerticalScrollBarThumbHeight { get { throw null; } } - public static int VerticalScrollBarWidth { get { throw null; } } - public static System.Drawing.Rectangle VirtualScreen { get { throw null; } } - public static System.Drawing.Rectangle WorkingArea { get { throw null; } } - public static System.Drawing.Size GetBorderSizeForDpi(int dpi) { throw null; } - public static int GetHorizontalScrollBarArrowWidthForDpi(int dpi) { throw null; } - public static int GetHorizontalScrollBarHeightForDpi(int dpi) { throw null; } - public static System.Drawing.Font GetMenuFontForDpi(int dpi) { throw null; } - public static int GetVerticalScrollBarWidthForDpi(int dpi) { throw null; } - public static int VerticalScrollBarArrowHeightForDpi(int dpi) { throw null; } - } - public enum SystemParameter - { - CaretWidthMetric = 8, - DropShadow = 0, - FlatMenu = 1, - FontSmoothingContrastMetric = 2, - FontSmoothingTypeMetric = 3, - HorizontalFocusThicknessMetric = 10, - MenuFadeEnabled = 4, - SelectionFade = 5, - ToolTipAnimationMetric = 6, - UIEffects = 7, - VerticalFocusThicknessMetric = 9, - } - public enum TabAlignment - { - Bottom = 1, - Left = 2, - Right = 3, - Top = 0, - } - public enum TabAppearance - { - Buttons = 1, - FlatButtons = 2, - Normal = 0, - } - [System.ComponentModel.DefaultEventAttribute("SelectedIndexChanged")] - [System.ComponentModel.DefaultPropertyAttribute("TabPages")] - public partial class TabControl : System.Windows.Forms.Control - { - public TabControl() { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.TabAlignment.Top)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public System.Windows.Forms.TabAlignment Alignment { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.TabAppearance.Normal)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.TabAppearance Appearance { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - public override System.Drawing.Rectangle DisplayRectangle { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override bool DoubleBuffered { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.TabDrawMode.Normal)] - public System.Windows.Forms.TabDrawMode DrawMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool HotTrack { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.ImageList ImageList { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Size ItemSize { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Multiline { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public new System.Drawing.Point Padding { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool RightToLeftLayout { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int RowCount { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(-1)] - public int SelectedIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.TabPage SelectedTab { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool ShowToolTips { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.TabSizeMode.Normal)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.TabSizeMode SizeMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int TabCount { get { throw null; } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.TabControl.TabPageCollection TabPages { get { throw null; } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - public event System.Windows.Forms.TabControlEventHandler Deselected { add { } remove { } } - public event System.Windows.Forms.TabControlCancelEventHandler Deselecting { add { } remove { } } - public event System.Windows.Forms.DrawItemEventHandler DrawItem { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.EventHandler RightToLeftLayoutChanged { add { } remove { } } - public event System.Windows.Forms.TabControlEventHandler Selected { add { } remove { } } - public event System.EventHandler SelectedIndexChanged { add { } remove { } } - public event System.Windows.Forms.TabControlCancelEventHandler Selecting { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - protected override System.Windows.Forms.Control.ControlCollection CreateControlsInstance() { throw null; } - protected override void CreateHandle() { } - public void DeselectTab(int index) { } - public void DeselectTab(string tabPageName) { } - public void DeselectTab(System.Windows.Forms.TabPage tabPage) { } - protected override void Dispose(bool disposing) { } - public System.Windows.Forms.Control GetControl(int index) { throw null; } - protected virtual object[] GetItems() { throw null; } - protected virtual object[] GetItems(System.Type baseType) { throw null; } - public System.Drawing.Rectangle GetTabRect(int index) { throw null; } - protected string GetToolTipText(object item) { throw null; } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected virtual void OnDeselected(System.Windows.Forms.TabControlEventArgs e) { } - protected virtual void OnDeselecting(System.Windows.Forms.TabControlCancelEventArgs e) { } - protected virtual void OnDrawItem(System.Windows.Forms.DrawItemEventArgs e) { } - protected override void OnEnter(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs ke) { } - protected override void OnLeave(System.EventArgs e) { } - protected override void OnResize(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnRightToLeftLayoutChanged(System.EventArgs e) { } - protected virtual void OnSelected(System.Windows.Forms.TabControlEventArgs e) { } - protected virtual void OnSelectedIndexChanged(System.EventArgs e) { } - protected virtual void OnSelecting(System.Windows.Forms.TabControlCancelEventArgs e) { } - protected override void OnStyleChanged(System.EventArgs e) { } - protected override bool ProcessKeyPreview(ref System.Windows.Forms.Message m) { throw null; } - protected void RemoveAll() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override void ScaleCore(float dx, float dy) { } - public void SelectTab(int index) { } - public void SelectTab(string tabPageName) { } - public void SelectTab(System.Windows.Forms.TabPage tabPage) { } - public override string ToString() { throw null; } - protected void UpdateTabSelection(bool updateFocus) { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public new partial class ControlCollection : System.Windows.Forms.Control.ControlCollection - { - public ControlCollection(System.Windows.Forms.TabControl owner) : base (default(System.Windows.Forms.Control)) { } - public override void Add(System.Windows.Forms.Control value) { } - public override void Remove(System.Windows.Forms.Control value) { } - } - public partial class TabPageCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public TabPageCollection(System.Windows.Forms.TabControl owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public virtual System.Windows.Forms.TabPage this[int index] { get { throw null; } set { } } - public virtual System.Windows.Forms.TabPage this[string key] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public void Add(string text) { } - public void Add(string key, string text) { } - public void Add(string key, string text, int imageIndex) { } - public void Add(string key, string text, string imageKey) { } - public void Add(System.Windows.Forms.TabPage value) { } - public void AddRange(System.Windows.Forms.TabPage[] pages) { } - public virtual void Clear() { } - public bool Contains(System.Windows.Forms.TabPage page) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.TabPage page) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - public void Insert(int index, string text) { } - public void Insert(int index, string key, string text) { } - public void Insert(int index, string key, string text, int imageIndex) { } - public void Insert(int index, string key, string text, string imageKey) { } - public void Insert(int index, System.Windows.Forms.TabPage tabPage) { } - public void Remove(System.Windows.Forms.TabPage value) { } - public void RemoveAt(int index) { } - public virtual void RemoveByKey(string key) { } - void System.Collections.ICollection.CopyTo(System.Array dest, int index) { } - int System.Collections.IList.Add(object value) { throw null; } - bool System.Collections.IList.Contains(object page) { throw null; } - int System.Collections.IList.IndexOf(object page) { throw null; } - void System.Collections.IList.Insert(int index, object tabPage) { } - void System.Collections.IList.Remove(object value) { } - } - } - public enum TabControlAction - { - Deselected = 3, - Deselecting = 2, - Selected = 1, - Selecting = 0, - } - public partial class TabControlCancelEventArgs : System.ComponentModel.CancelEventArgs - { - public TabControlCancelEventArgs(System.Windows.Forms.TabPage tabPage, int tabPageIndex, bool cancel, System.Windows.Forms.TabControlAction action) { } - public System.Windows.Forms.TabControlAction Action { get { throw null; } } - public System.Windows.Forms.TabPage TabPage { get { throw null; } } - public int TabPageIndex { get { throw null; } } - } - public delegate void TabControlCancelEventHandler(object sender, System.Windows.Forms.TabControlCancelEventArgs e); - public partial class TabControlEventArgs : System.EventArgs - { - public TabControlEventArgs(System.Windows.Forms.TabPage tabPage, int tabPageIndex, System.Windows.Forms.TabControlAction action) { } - public System.Windows.Forms.TabControlAction Action { get { throw null; } } - public System.Windows.Forms.TabPage TabPage { get { throw null; } } - public int TabPageIndex { get { throw null; } } - } - public delegate void TabControlEventHandler(object sender, System.Windows.Forms.TabControlEventArgs e); - public enum TabDrawMode - { - Normal = 0, - OwnerDrawFixed = 1, - } - public partial class TableLayoutCellPaintEventArgs : System.Windows.Forms.PaintEventArgs - { - public TableLayoutCellPaintEventArgs(System.Drawing.Graphics g, System.Drawing.Rectangle clipRectangle, System.Drawing.Rectangle cellBounds, int column, int row) : base (default(System.Drawing.Graphics), default(System.Drawing.Rectangle)) { } - public System.Drawing.Rectangle CellBounds { get { throw null; } } - public int Column { get { throw null; } } - public int Row { get { throw null; } } - } - public delegate void TableLayoutCellPaintEventHandler(object sender, System.Windows.Forms.TableLayoutCellPaintEventArgs e); - public partial class TableLayoutColumnStyleCollection : System.Windows.Forms.TableLayoutStyleCollection - { - internal TableLayoutColumnStyleCollection() { } - public new System.Windows.Forms.ColumnStyle this[int index] { get { throw null; } set { } } - public int Add(System.Windows.Forms.ColumnStyle columnStyle) { throw null; } - public bool Contains(System.Windows.Forms.ColumnStyle columnStyle) { throw null; } - public int IndexOf(System.Windows.Forms.ColumnStyle columnStyle) { throw null; } - public void Insert(int index, System.Windows.Forms.ColumnStyle columnStyle) { } - public void Remove(System.Windows.Forms.ColumnStyle columnStyle) { } - } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class TableLayoutControlCollection : System.Windows.Forms.Control.ControlCollection - { - public TableLayoutControlCollection(System.Windows.Forms.TableLayoutPanel container) : base (default(System.Windows.Forms.Control)) { } - public System.Windows.Forms.TableLayoutPanel Container { get { throw null; } } - public virtual void Add(System.Windows.Forms.Control control, int column, int row) { } - } - [System.ComponentModel.DefaultPropertyAttribute("ColumnCount")] - [System.ComponentModel.ProvidePropertyAttribute("CellPosition", typeof(System.Windows.Forms.Control))] - [System.ComponentModel.ProvidePropertyAttribute("Column", typeof(System.Windows.Forms.Control))] - [System.ComponentModel.ProvidePropertyAttribute("ColumnSpan", typeof(System.Windows.Forms.Control))] - [System.ComponentModel.ProvidePropertyAttribute("Row", typeof(System.Windows.Forms.Control))] - [System.ComponentModel.ProvidePropertyAttribute("RowSpan", typeof(System.Windows.Forms.Control))] - [System.Windows.Forms.DockingAttribute(System.Windows.Forms.DockingBehavior.Never)] - public partial class TableLayoutPanel : System.Windows.Forms.Panel, System.ComponentModel.IExtenderProvider - { - public TableLayoutPanel() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.LocalizableAttribute(true)] - public new System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.TableLayoutPanelCellBorderStyle.None)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.TableLayoutPanelCellBorderStyle CellBorderStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.LocalizableAttribute(true)] - public int ColumnCount { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.DisplayNameAttribute("Columns")] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.TableLayoutColumnStyleCollection ColumnStyles { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - public new System.Windows.Forms.TableLayoutControlCollection Controls { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.TableLayoutPanelGrowStyle.AddRows)] - public System.Windows.Forms.TableLayoutPanelGrowStyle GrowStyle { get { throw null; } set { } } - public override System.Windows.Forms.Layout.LayoutEngine LayoutEngine { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public System.Windows.Forms.TableLayoutSettings LayoutSettings { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.LocalizableAttribute(true)] - public int RowCount { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.DisplayNameAttribute("Rows")] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.TableLayoutRowStyleCollection RowStyles { get { throw null; } } - public event System.Windows.Forms.TableLayoutCellPaintEventHandler CellPaint { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override System.Windows.Forms.Control.ControlCollection CreateControlsInstance() { throw null; } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Windows.Forms.TableLayoutPanelCellPosition), "-1,-1")] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.DisplayNameAttribute("Cell")] - public System.Windows.Forms.TableLayoutPanelCellPosition GetCellPosition(System.Windows.Forms.Control control) { throw null; } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.DisplayNameAttribute("Column")] - public int GetColumn(System.Windows.Forms.Control control) { throw null; } - [System.ComponentModel.DefaultValueAttribute(1)] - [System.ComponentModel.DisplayNameAttribute("ColumnSpan")] - public int GetColumnSpan(System.Windows.Forms.Control control) { throw null; } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public int[] GetColumnWidths() { throw null; } - public System.Windows.Forms.Control GetControlFromPosition(int column, int row) { throw null; } - public System.Windows.Forms.TableLayoutPanelCellPosition GetPositionFromControl(System.Windows.Forms.Control control) { throw null; } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.DisplayNameAttribute("Row")] - public int GetRow(System.Windows.Forms.Control control) { throw null; } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public int[] GetRowHeights() { throw null; } - [System.ComponentModel.DefaultValueAttribute(1)] - [System.ComponentModel.DisplayNameAttribute("RowSpan")] - public int GetRowSpan(System.Windows.Forms.Control control) { throw null; } - protected virtual void OnCellPaint(System.Windows.Forms.TableLayoutCellPaintEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs levent) { } - protected override void OnPaintBackground(System.Windows.Forms.PaintEventArgs e) { } - protected override void ScaleControl(System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override void ScaleCore(float dx, float dy) { } - public void SetCellPosition(System.Windows.Forms.Control control, System.Windows.Forms.TableLayoutPanelCellPosition position) { } - public void SetColumn(System.Windows.Forms.Control control, int column) { } - public void SetColumnSpan(System.Windows.Forms.Control control, int value) { } - public void SetRow(System.Windows.Forms.Control control, int row) { } - public void SetRowSpan(System.Windows.Forms.Control control, int value) { } - bool System.ComponentModel.IExtenderProvider.CanExtend(object obj) { throw null; } - } - public enum TableLayoutPanelCellBorderStyle - { - Inset = 2, - InsetDouble = 3, - None = 0, - Outset = 4, - OutsetDouble = 5, - OutsetPartial = 6, - Single = 1, - } - public partial struct TableLayoutPanelCellPosition - { - private int _dummyPrimitive; - public TableLayoutPanelCellPosition(int column, int row) { throw null; } - public int Column { get { throw null; } set { } } - public int Row { get { throw null; } set { } } - public override bool Equals(object other) { throw null; } - public override int GetHashCode() { throw null; } - public static bool operator ==(System.Windows.Forms.TableLayoutPanelCellPosition p1, System.Windows.Forms.TableLayoutPanelCellPosition p2) { throw null; } - public static bool operator !=(System.Windows.Forms.TableLayoutPanelCellPosition p1, System.Windows.Forms.TableLayoutPanelCellPosition p2) { throw null; } - public override string ToString() { throw null; } - } - public enum TableLayoutPanelGrowStyle - { - AddColumns = 2, - AddRows = 1, - FixedSize = 0, - } - public partial class TableLayoutRowStyleCollection : System.Windows.Forms.TableLayoutStyleCollection - { - internal TableLayoutRowStyleCollection() { } - public new System.Windows.Forms.RowStyle this[int index] { get { throw null; } set { } } - public int Add(System.Windows.Forms.RowStyle rowStyle) { throw null; } - public bool Contains(System.Windows.Forms.RowStyle rowStyle) { throw null; } - public int IndexOf(System.Windows.Forms.RowStyle rowStyle) { throw null; } - public void Insert(int index, System.Windows.Forms.RowStyle rowStyle) { } - public void Remove(System.Windows.Forms.RowStyle rowStyle) { } - } - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.Layout.TableLayoutSettingsTypeConverter))] - public sealed partial class TableLayoutSettings : System.Windows.Forms.LayoutSettings, System.Runtime.Serialization.ISerializable - { - internal TableLayoutSettings() { } - [System.ComponentModel.DefaultValueAttribute(0)] - public int ColumnCount { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - public System.Windows.Forms.TableLayoutColumnStyleCollection ColumnStyles { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.TableLayoutPanelGrowStyle.AddRows)] - public System.Windows.Forms.TableLayoutPanelGrowStyle GrowStyle { get { throw null; } set { } } - public override System.Windows.Forms.Layout.LayoutEngine LayoutEngine { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(0)] - public int RowCount { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - public System.Windows.Forms.TableLayoutRowStyleCollection RowStyles { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(-1)] - public System.Windows.Forms.TableLayoutPanelCellPosition GetCellPosition(object control) { throw null; } - [System.ComponentModel.DefaultValueAttribute(-1)] - public int GetColumn(object control) { throw null; } - public int GetColumnSpan(object control) { throw null; } - [System.ComponentModel.DefaultValueAttribute(-1)] - public int GetRow(object control) { throw null; } - public int GetRowSpan(object control) { throw null; } - [System.ComponentModel.DefaultValueAttribute(-1)] - public void SetCellPosition(object control, System.Windows.Forms.TableLayoutPanelCellPosition cellPosition) { } - public void SetColumn(object control, int column) { } - public void SetColumnSpan(object control, int value) { } - public void SetRow(object control, int row) { } - public void SetRowSpan(object control, int value) { } - void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } - } - public abstract partial class TableLayoutStyle - { - protected TableLayoutStyle() { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.SizeType.AutoSize)] - public System.Windows.Forms.SizeType SizeType { get { throw null; } set { } } - } - public abstract partial class TableLayoutStyleCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - internal TableLayoutStyleCollection() { } - public int Count { get { throw null; } } - public System.Windows.Forms.TableLayoutStyle this[int index] { get { throw null; } set { } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public int Add(System.Windows.Forms.TableLayoutStyle style) { throw null; } - public void Clear() { } - public void RemoveAt(int index) { } - void System.Collections.ICollection.CopyTo(System.Array array, int startIndex) { } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object style) { throw null; } - bool System.Collections.IList.Contains(object style) { throw null; } - int System.Collections.IList.IndexOf(object style) { throw null; } - void System.Collections.IList.Insert(int index, object style) { } - void System.Collections.IList.Remove(object style) { } - } - [System.ComponentModel.DefaultEventAttribute("Click")] - [System.ComponentModel.DefaultPropertyAttribute("Text")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public partial class TabPage : System.Windows.Forms.Panel - { - public TabPage() { } - public TabPage(string text) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.AnchorStyles Anchor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.LocalizableAttribute(false)] - public override System.Windows.Forms.AutoSizeMode AutoSizeMode { get { throw null; } set { } } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool Enabled { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageIndexConverter))] - public int ImageIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageKeyConverter))] - public string ImageKey { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Point Location { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Size), "0, 0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Size MaximumSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Size MinimumSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size PreferredSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new int TabIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - [System.ComponentModel.LocalizableAttribute(true)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string ToolTipText { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool UseVisualStyleBackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool Visible { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DockChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler EnabledChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler LocationChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabIndexChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler TextChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler VisibleChanged { add { } remove { } } - protected override System.Windows.Forms.Control.ControlCollection CreateControlsInstance() { throw null; } - public static System.Windows.Forms.TabPage GetTabPageOfComponent(object comp) { throw null; } - protected override void OnEnter(System.EventArgs e) { } - protected override void OnLeave(System.EventArgs e) { } - protected override void OnPaintBackground(System.Windows.Forms.PaintEventArgs e) { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - public override string ToString() { throw null; } - public partial class TabPageControlCollection : System.Windows.Forms.Control.ControlCollection - { - public TabPageControlCollection(System.Windows.Forms.TabPage owner) : base (default(System.Windows.Forms.Control)) { } - public override void Add(System.Windows.Forms.Control value) { } - } - } - public sealed partial class TabRenderer - { - internal TabRenderer() { } - public static bool IsSupported { get { throw null; } } - public static void DrawTabItem(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, bool focused, System.Windows.Forms.VisualStyles.TabItemState state) { } - public static void DrawTabItem(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Drawing.Image image, System.Drawing.Rectangle imageRectangle, bool focused, System.Windows.Forms.VisualStyles.TabItemState state) { } - public static void DrawTabItem(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string tabItemText, System.Drawing.Font font, bool focused, System.Windows.Forms.VisualStyles.TabItemState state) { } - public static void DrawTabItem(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string tabItemText, System.Drawing.Font font, System.Drawing.Image image, System.Drawing.Rectangle imageRectangle, bool focused, System.Windows.Forms.VisualStyles.TabItemState state) { } - public static void DrawTabItem(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string tabItemText, System.Drawing.Font font, System.Windows.Forms.TextFormatFlags flags, bool focused, System.Windows.Forms.VisualStyles.TabItemState state) { } - public static void DrawTabItem(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string tabItemText, System.Drawing.Font font, System.Windows.Forms.TextFormatFlags flags, System.Drawing.Image image, System.Drawing.Rectangle imageRectangle, bool focused, System.Windows.Forms.VisualStyles.TabItemState state) { } - public static void DrawTabItem(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string tabItemText, System.Drawing.Font font, System.Windows.Forms.VisualStyles.TabItemState state) { } - public static void DrawTabItem(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.TabItemState state) { } - public static void DrawTabPage(System.Drawing.Graphics g, System.Drawing.Rectangle bounds) { } - } - public enum TabSizeMode - { - FillToRight = 1, - Fixed = 2, - Normal = 0, - } - public partial class TextBox : System.Windows.Forms.TextBoxBase - { - public TextBox() { } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool AcceptsReturn { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public string PlaceholderText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.AutoCompleteStringCollection AutoCompleteCustomSource { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoCompleteMode.None)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.AutoCompleteMode AutoCompleteMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoCompleteSource.None)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.AutoCompleteSource AutoCompleteSource { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.CharacterCasing.Normal)] - public System.Windows.Forms.CharacterCasing CharacterCasing { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - public override bool Multiline { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute('\0')] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public char PasswordChar { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ScrollBars.None)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.ScrollBars ScrollBars { get { throw null; } set { } } - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.HorizontalAlignment.Left)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.HorizontalAlignment TextAlign { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public bool UseSystemPasswordChar { get { throw null; } set { } } - public event System.EventHandler TextAlignChanged { add { } remove { } } - protected override void Dispose(bool disposing) { } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected override void OnBackColorChanged(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnGotFocus(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected virtual void OnTextAlignChanged(System.EventArgs e) { } - public void Paste(string text) { } - protected override bool ProcessCmdKey(ref System.Windows.Forms.Message m, System.Windows.Forms.Keys keyData) { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - [System.ComponentModel.DefaultBindingPropertyAttribute("Text")] - [System.ComponentModel.DefaultEventAttribute("TextChanged")] - public abstract partial class TextBoxBase : System.Windows.Forms.Control - { - internal TextBoxBase() { } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool AcceptsTab { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public override bool AutoSize { get { throw null; } set { } } - [System.Runtime.InteropServices.DispIdAttribute(-501)] - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.Fixed3D)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - protected override bool CanEnableIme { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool CanUndo { get { throw null; } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.Cursor DefaultCursor { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override bool DoubleBuffered { get { throw null; } set { } } - [System.Runtime.InteropServices.DispIdAttribute(-513)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool HideSelection { get { throw null; } set { } } - protected override System.Windows.Forms.ImeMode ImeModeBase { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public string[] Lines { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(32767)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual int MaxLength { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool Modified { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public virtual bool Multiline { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public int PreferredHeight { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual string SelectedText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual int SelectionLength { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SelectionStart { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public virtual bool ShortcutsEnabled { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual int TextLength { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool WordWrap { get { throw null; } set { } } - public event System.EventHandler AcceptsTabChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - public event System.EventHandler BorderStyleChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler Click { add { } remove { } } - public event System.EventHandler HideSelectionChanged { add { } remove { } } - public event System.EventHandler ModifiedChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.Windows.Forms.MouseEventHandler MouseClick { add { } remove { } } - public event System.EventHandler MultilineChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.EventHandler ReadOnlyChanged { add { } remove { } } - public void AppendText(string text) { } - public void Clear() { } - public void ClearUndo() { } - public void Copy() { } - protected override void CreateHandle() { } - public void Cut() { } - public void DeselectAll() { } - public virtual char GetCharFromPosition(System.Drawing.Point pt) { throw null; } - public virtual int GetCharIndexFromPosition(System.Drawing.Point pt) { throw null; } - public int GetFirstCharIndexFromLine(int lineNumber) { throw null; } - public int GetFirstCharIndexOfCurrentLine() { throw null; } - public virtual int GetLineFromCharIndex(int index) { throw null; } - public virtual System.Drawing.Point GetPositionFromCharIndex(int index) { throw null; } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected virtual void OnAcceptsTabChanged(System.EventArgs e) { } - protected virtual void OnBorderStyleChanged(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected virtual void OnHideSelectionChanged(System.EventArgs e) { } - protected virtual void OnModifiedChanged(System.EventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs mevent) { } - protected virtual void OnMultilineChanged(System.EventArgs e) { } - protected override void OnPaddingChanged(System.EventArgs e) { } - protected virtual void OnReadOnlyChanged(System.EventArgs e) { } - protected override void OnTextChanged(System.EventArgs e) { } - public void Paste() { } - protected override bool ProcessCmdKey(ref System.Windows.Forms.Message msg, System.Windows.Forms.Keys keyData) { throw null; } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - public void ScrollToCaret() { } - public void Select(int start, int length) { } - public void SelectAll() { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - public override string ToString() { throw null; } - public void Undo() { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public sealed partial class TextBoxRenderer - { - internal TextBoxRenderer() { } - public static bool IsSupported { get { throw null; } } - public static void DrawTextBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string textBoxText, System.Drawing.Font font, System.Drawing.Rectangle textBounds, System.Windows.Forms.TextFormatFlags flags, System.Windows.Forms.VisualStyles.TextBoxState state) { } - public static void DrawTextBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string textBoxText, System.Drawing.Font font, System.Drawing.Rectangle textBounds, System.Windows.Forms.VisualStyles.TextBoxState state) { } - public static void DrawTextBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string textBoxText, System.Drawing.Font font, System.Windows.Forms.TextFormatFlags flags, System.Windows.Forms.VisualStyles.TextBoxState state) { } - public static void DrawTextBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, string textBoxText, System.Drawing.Font font, System.Windows.Forms.VisualStyles.TextBoxState state) { } - public static void DrawTextBox(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.TextBoxState state) { } - } - public enum TextDataFormat - { - CommaSeparatedValue = 4, - Html = 3, - Rtf = 2, - Text = 0, - UnicodeText = 1, - } - [System.FlagsAttribute] - public enum TextFormatFlags - { - Bottom = 8, - Default = 0, - EndEllipsis = 32768, - ExpandTabs = 64, - ExternalLeading = 512, - GlyphOverhangPadding = 0, - HidePrefix = 1048576, - HorizontalCenter = 1, - Internal = 4096, - Left = 0, - LeftAndRightPadding = 536870912, - ModifyString = 65536, - NoClipping = 256, - NoFullWidthCharacterBreak = 524288, - NoPadding = 268435456, - NoPrefix = 2048, - PathEllipsis = 16384, - PrefixOnly = 2097152, - PreserveGraphicsClipping = 16777216, - PreserveGraphicsTranslateTransform = 33554432, - Right = 2, - RightToLeft = 131072, - SingleLine = 32, - TextBoxControl = 8192, - Top = 0, - VerticalCenter = 4, - WordBreak = 16, - WordEllipsis = 262144, - } - public enum TextImageRelation - { - ImageAboveText = 1, - ImageBeforeText = 4, - Overlay = 0, - TextAboveImage = 2, - TextBeforeImage = 8, - } - public sealed partial class TextRenderer - { - internal TextRenderer() { } - public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Point pt, System.Drawing.Color foreColor) { } - public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Point pt, System.Drawing.Color foreColor, System.Drawing.Color backColor) { } - public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Point pt, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Windows.Forms.TextFormatFlags flags) { } - public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Point pt, System.Drawing.Color foreColor, System.Windows.Forms.TextFormatFlags flags) { } - public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Rectangle bounds, System.Drawing.Color foreColor) { } - public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Rectangle bounds, System.Drawing.Color foreColor, System.Drawing.Color backColor) { } - public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Rectangle bounds, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Windows.Forms.TextFormatFlags flags) { } - public static void DrawText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Rectangle bounds, System.Drawing.Color foreColor, System.Windows.Forms.TextFormatFlags flags) { } - public static System.Drawing.Size MeasureText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font) { throw null; } - public static System.Drawing.Size MeasureText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Size proposedSize) { throw null; } - public static System.Drawing.Size MeasureText(System.Drawing.IDeviceContext dc, string text, System.Drawing.Font font, System.Drawing.Size proposedSize, System.Windows.Forms.TextFormatFlags flags) { throw null; } - public static System.Drawing.Size MeasureText(string text, System.Drawing.Font font) { throw null; } - public static System.Drawing.Size MeasureText(string text, System.Drawing.Font font, System.Drawing.Size proposedSize) { throw null; } - public static System.Drawing.Size MeasureText(string text, System.Drawing.Font font, System.Drawing.Size proposedSize, System.Windows.Forms.TextFormatFlags flags) { throw null; } - } - public partial class ThreadExceptionDialog : System.Windows.Forms.Form - { - public ThreadExceptionDialog(System.Exception t) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - } - public enum TickStyle - { - Both = 3, - BottomRight = 2, - None = 0, - TopLeft = 1, - } - [System.ComponentModel.DefaultEventAttribute("Tick")] - [System.ComponentModel.DefaultPropertyAttribute("Interval")] - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms")] - public partial class Timer : System.ComponentModel.Component - { - public Timer() { } - public Timer(System.ComponentModel.IContainer container) { } - [System.ComponentModel.DefaultValueAttribute(false)] - public virtual bool Enabled { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(100)] - public int Interval { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - public event System.EventHandler Tick { add { } remove { } } - protected override void Dispose(bool disposing) { } - protected virtual void OnTick(System.EventArgs e) { } - public void Start() { } - public void Stop() { } - public override string ToString() { throw null; } - } - [System.ComponentModel.DefaultEventAttribute("ButtonClick")] - [System.ComponentModel.DefaultPropertyAttribute("Buttons")] - public partial class ToolBar : System.Windows.Forms.Control - { - public ToolBar() { } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolBarAppearance.Normal)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.ToolBarAppearance Appearance { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - [System.ComponentModel.LocalizableAttribute(true)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.None)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.ToolBar.ToolBarButtonCollection Buttons { get { throw null; } } - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public System.Drawing.Size ButtonSize { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.ImeMode DefaultImeMode { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool Divider { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DockStyle.Top)] - [System.ComponentModel.LocalizableAttribute(true)] - public override System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override bool DoubleBuffered { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool DropDownArrows { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.ImageList ImageList { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Drawing.Size ImageSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool ShowToolTips { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolBarTextAlign.Underneath)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.ToolBarTextAlign TextAlign { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool Wrappable { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - public event System.Windows.Forms.ToolBarButtonClickEventHandler ButtonClick { add { } remove { } } - public event System.Windows.Forms.ToolBarButtonClickEventHandler ButtonDropDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler RightToLeftChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - protected override void CreateHandle() { } - protected override void Dispose(bool disposing) { } - protected virtual void OnButtonClick(System.Windows.Forms.ToolBarButtonClickEventArgs e) { } - protected virtual void OnButtonDropDown(System.Windows.Forms.ToolBarButtonClickEventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnResize(System.EventArgs e) { } - protected override void ScaleControl(System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override void ScaleCore(float dx, float dy) { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - public override string ToString() { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public partial class ToolBarButtonCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public ToolBarButtonCollection(System.Windows.Forms.ToolBar owner) { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public virtual System.Windows.Forms.ToolBarButton this[int index] { get { throw null; } set { } } - public virtual System.Windows.Forms.ToolBarButton this[string key] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public int Add(string text) { throw null; } - public int Add(System.Windows.Forms.ToolBarButton button) { throw null; } - public void AddRange(System.Windows.Forms.ToolBarButton[] buttons) { } - public void Clear() { } - public bool Contains(System.Windows.Forms.ToolBarButton button) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.ToolBarButton button) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - public void Insert(int index, System.Windows.Forms.ToolBarButton button) { } - public void Remove(System.Windows.Forms.ToolBarButton button) { } - public void RemoveAt(int index) { } - public virtual void RemoveByKey(string key) { } - void System.Collections.ICollection.CopyTo(System.Array dest, int index) { } - int System.Collections.IList.Add(object button) { throw null; } - bool System.Collections.IList.Contains(object button) { throw null; } - int System.Collections.IList.IndexOf(object button) { throw null; } - void System.Collections.IList.Insert(int index, object button) { } - void System.Collections.IList.Remove(object button) { } - } - } - public enum ToolBarAppearance - { - Flat = 1, - Normal = 0, - } - [System.ComponentModel.DefaultPropertyAttribute("Text")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public partial class ToolBarButton : System.ComponentModel.Component - { - public ToolBarButton() { } - public ToolBarButton(string text) { } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.Menu DropDownMenu { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool Enabled { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageIndexConverter))] - public int ImageIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageKeyConverter))] - public string ImageKey { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public string Name { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.ToolBar Parent { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool PartialPush { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Pushed { get { throw null; } set { } } - public System.Drawing.Rectangle Rectangle { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolBarButtonStyle.PushButton)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.ToolBarButtonStyle Style { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string ToolTipText { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool Visible { get { throw null; } set { } } - protected override void Dispose(bool disposing) { } - public override string ToString() { throw null; } - } - public partial class ToolBarButtonClickEventArgs : System.EventArgs - { - public ToolBarButtonClickEventArgs(System.Windows.Forms.ToolBarButton button) { } - public System.Windows.Forms.ToolBarButton Button { get { throw null; } set { } } - } - public delegate void ToolBarButtonClickEventHandler(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e); - public enum ToolBarButtonStyle - { - DropDownButton = 4, - PushButton = 1, - Separator = 3, - ToggleButton = 2, - } - public enum ToolBarTextAlign - { - Right = 1, - Underneath = 0, - } - [System.ComponentModel.DefaultEventAttribute("ItemClicked")] - [System.ComponentModel.DefaultPropertyAttribute("Items")] - public partial class ToolStrip : System.Windows.Forms.ScrollableControl, System.ComponentModel.IComponent, System.IDisposable - { - public ToolStrip() { } - public ToolStrip(params System.Windows.Forms.ToolStripItem[] items) { } - public override bool AllowDrop { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool AllowItemReorder { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowMerge { get { throw null; } set { } } - public override System.Windows.Forms.AnchorStyles Anchor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoScroll { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMargin { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMinSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Point AutoScrollPosition { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override bool AutoSize { get { throw null; } set { } } - public new System.Drawing.Color BackColor { get { throw null; } set { } } - public override System.Windows.Forms.BindingContext BindingContext { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool CanOverflow { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - public new bool CausesValidation { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Control.ControlCollection Controls { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override System.Windows.Forms.Cursor Cursor { get { throw null; } set { } } - protected virtual System.Windows.Forms.DockStyle DefaultDock { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual System.Windows.Forms.ToolStripDropDownDirection DefaultDropDownDirection { get { throw null; } set { } } - protected virtual System.Windows.Forms.Padding DefaultGripMargin { get { throw null; } } - protected override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - protected override System.Windows.Forms.Padding DefaultPadding { get { throw null; } } - protected virtual bool DefaultShowItemToolTips { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - protected internal virtual System.Windows.Forms.ToolStripItemCollection DisplayedItems { get { throw null; } } - public override System.Drawing.Rectangle DisplayRectangle { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DockStyle.Top)] - public override System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public new System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.ToolStripGripDisplayStyle GripDisplayStyle { get { throw null; } } - public System.Windows.Forms.Padding GripMargin { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Rectangle GripRectangle { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripGripStyle.Visible)] - public System.Windows.Forms.ToolStripGripStyle GripStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool HasChildren { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.HScrollProperties HorizontalScroll { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.ImageList ImageList { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Size), "16,16")] - public System.Drawing.Size ImageScalingSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool IsCurrentlyDragging { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsDropDown { get { throw null; } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public virtual System.Windows.Forms.ToolStripItemCollection Items { get { throw null; } } - public override System.Windows.Forms.Layout.LayoutEngine LayoutEngine { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.LayoutSettings LayoutSettings { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(System.Windows.Forms.ToolStripLayoutStyle.StackWithOverflow)] - public System.Windows.Forms.ToolStripLayoutStyle LayoutStyle { get { throw null; } set { } } - protected internal virtual System.Drawing.Size MaxItemSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.Orientation Orientation { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.ToolStripOverflowButton OverflowButton { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ToolStripRenderer Renderer { get { throw null; } set { } } - public System.Windows.Forms.ToolStripRenderMode RenderMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowItemToolTips { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Stretch { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.Runtime.InteropServices.DispIdAttribute(-516)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripTextDirection.Horizontal)] - public virtual System.Windows.Forms.ToolStripTextDirection TextDirection { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.VScrollProperties VerticalScroll { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - public event System.EventHandler BeginDrag { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public new event System.EventHandler CausesValidationChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.ControlEventHandler ControlAdded { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.ControlEventHandler ControlRemoved { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public new event System.EventHandler CursorChanged { add { } remove { } } - public event System.EventHandler EndDrag { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - public event System.Windows.Forms.ToolStripItemEventHandler ItemAdded { add { } remove { } } - public event System.Windows.Forms.ToolStripItemClickedEventHandler ItemClicked { add { } remove { } } - public event System.Windows.Forms.ToolStripItemEventHandler ItemRemoved { add { } remove { } } - public event System.EventHandler LayoutCompleted { add { } remove { } } - public event System.EventHandler LayoutStyleChanged { add { } remove { } } - public event System.Windows.Forms.PaintEventHandler PaintGrip { add { } remove { } } - public event System.EventHandler RendererChanged { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override System.Windows.Forms.Control.ControlCollection CreateControlsInstance() { throw null; } - protected internal virtual System.Windows.Forms.ToolStripItem CreateDefaultItem(string text, System.Drawing.Image image, System.EventHandler onClick) { throw null; } - protected virtual System.Windows.Forms.LayoutSettings CreateLayoutSettings(System.Windows.Forms.ToolStripLayoutStyle layoutStyle) { throw null; } - protected override void Dispose(bool disposing) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Control GetChildAtPoint(System.Drawing.Point point) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Control GetChildAtPoint(System.Drawing.Point pt, System.Windows.Forms.GetChildAtPointSkip skipValue) { throw null; } - public System.Windows.Forms.ToolStripItem GetItemAt(System.Drawing.Point point) { throw null; } - public System.Windows.Forms.ToolStripItem GetItemAt(int x, int y) { throw null; } - public virtual System.Windows.Forms.ToolStripItem GetNextItem(System.Windows.Forms.ToolStripItem start, System.Windows.Forms.ArrowDirection direction) { throw null; } - protected override bool IsInputChar(char charCode) { throw null; } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected virtual void OnBeginDrag(System.EventArgs e) { } - protected override void OnDockChanged(System.EventArgs e) { } - protected override void OnEnabledChanged(System.EventArgs e) { } - protected virtual void OnEndDrag(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected override void OnInvalidated(System.Windows.Forms.InvalidateEventArgs e) { } - protected internal virtual void OnItemAdded(System.Windows.Forms.ToolStripItemEventArgs e) { } - protected virtual void OnItemClicked(System.Windows.Forms.ToolStripItemClickedEventArgs e) { } - protected internal virtual void OnItemRemoved(System.Windows.Forms.ToolStripItemEventArgs e) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs e) { } - protected virtual void OnLayoutCompleted(System.EventArgs e) { } - protected virtual void OnLayoutStyleChanged(System.EventArgs e) { } - protected override void OnLeave(System.EventArgs e) { } - protected override void OnLostFocus(System.EventArgs e) { } - protected override void OnMouseCaptureChanged(System.EventArgs e) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs mea) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs mea) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs mea) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnPaintBackground(System.Windows.Forms.PaintEventArgs e) { } - protected internal virtual void OnPaintGrip(System.Windows.Forms.PaintEventArgs e) { } - protected virtual void OnRendererChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnRightToLeftChanged(System.EventArgs e) { } - protected override void OnScroll(System.Windows.Forms.ScrollEventArgs se) { } - protected override void OnTabStopChanged(System.EventArgs e) { } - protected override void OnVisibleChanged(System.EventArgs e) { } - protected override bool ProcessCmdKey(ref System.Windows.Forms.Message m, System.Windows.Forms.Keys keyData) { throw null; } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void ResetMinimumSize() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void RestoreFocus() { } - protected override void Select(bool directed, bool forward) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new void SetAutoScrollMargin(int x, int y) { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - protected virtual void SetDisplayedItems() { } - protected internal void SetItemLocation(System.Windows.Forms.ToolStripItem item, System.Drawing.Point location) { } - protected static void SetItemParent(System.Windows.Forms.ToolStripItem item, System.Windows.Forms.ToolStrip parent) { } - protected override void SetVisibleCore(bool visible) { } - public override string ToString() { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public partial class ToolStripAccessibleObject : System.Windows.Forms.Control.ControlAccessibleObject - { - public ToolStripAccessibleObject(System.Windows.Forms.ToolStrip owner) : base (default(System.Windows.Forms.Control)) { } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleObject GetChild(int index) { throw null; } - public override int GetChildCount() { throw null; } - public override System.Windows.Forms.AccessibleObject HitTest(int x, int y) { throw null; } - } - } - public partial class ToolStripArrowRenderEventArgs : System.EventArgs - { - public ToolStripArrowRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem toolStripItem, System.Drawing.Rectangle arrowRectangle, System.Drawing.Color arrowColor, System.Windows.Forms.ArrowDirection arrowDirection) { } - public System.Drawing.Color ArrowColor { get { throw null; } set { } } - public System.Drawing.Rectangle ArrowRectangle { get { throw null; } set { } } - public System.Windows.Forms.ArrowDirection Direction { get { throw null; } set { } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public System.Windows.Forms.ToolStripItem Item { get { throw null; } } - } - public delegate void ToolStripArrowRenderEventHandler(object sender, System.Windows.Forms.ToolStripArrowRenderEventArgs e); - [System.Windows.Forms.Design.ToolStripItemDesignerAvailabilityAttribute(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ToolStrip)] - public partial class ToolStripButton : System.Windows.Forms.ToolStripItem - { - public ToolStripButton() { } - public ToolStripButton(System.Drawing.Image image) { } - public ToolStripButton(string text) { } - public ToolStripButton(string text, System.Drawing.Image image) { } - public ToolStripButton(string text, System.Drawing.Image image, System.EventHandler onClick) { } - public ToolStripButton(string text, System.Drawing.Image image, System.EventHandler onClick, string name) { } - [System.ComponentModel.DefaultValueAttribute(true)] - public new bool AutoToolTip { get { throw null; } set { } } - public override bool CanSelect { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Checked { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool CheckOnClick { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.CheckState.Unchecked)] - public System.Windows.Forms.CheckState CheckState { get { throw null; } set { } } - protected override bool DefaultAutoToolTip { get { throw null; } } - public event System.EventHandler CheckedChanged { add { } remove { } } - public event System.EventHandler CheckStateChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - public override System.Drawing.Size GetPreferredSize(System.Drawing.Size constrainingSize) { throw null; } - protected virtual void OnCheckedChanged(System.EventArgs e) { } - protected virtual void OnCheckStateChanged(System.EventArgs e) { } - protected override void OnClick(System.EventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - } - [System.ComponentModel.DefaultPropertyAttribute("Items")] - [System.Windows.Forms.Design.ToolStripItemDesignerAvailabilityAttribute(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ToolStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.MenuStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ContextMenuStrip)] - public partial class ToolStripComboBox : System.Windows.Forms.ToolStripControlHost - { - public ToolStripComboBox() : base (default(System.Windows.Forms.Control)) { } - public ToolStripComboBox(string name) : base (default(System.Windows.Forms.Control)) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public ToolStripComboBox(System.Windows.Forms.Control c) : base (default(System.Windows.Forms.Control)) { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.AutoCompleteStringCollection AutoCompleteCustomSource { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoCompleteMode.None)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.AutoCompleteMode AutoCompleteMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoCompleteSource.None)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.AutoCompleteSource AutoCompleteSource { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ComboBox ComboBox { get { throw null; } } - protected internal override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(106)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public int DropDownHeight { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ComboBoxStyle.DropDown)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.ComboBoxStyle DropDownStyle { get { throw null; } set { } } - public int DropDownWidth { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool DroppedDown { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.FlatStyle.Popup)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.FlatStyle FlatStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool IntegralHeight { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.ComboBox.ObjectCollection Items { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(8)] - [System.ComponentModel.LocalizableAttribute(true)] - public int MaxDropDownItems { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.LocalizableAttribute(true)] - public int MaxLength { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SelectedIndex { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public object SelectedItem { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string SelectedText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SelectionLength { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SelectionStart { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Sorted { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DoubleClick { add { } remove { } } - public event System.EventHandler DropDown { add { } remove { } } - public event System.EventHandler DropDownClosed { add { } remove { } } - public event System.EventHandler DropDownStyleChanged { add { } remove { } } - public event System.EventHandler SelectedIndexChanged { add { } remove { } } - public event System.EventHandler TextUpdate { add { } remove { } } - public void BeginUpdate() { } - public void EndUpdate() { } - public int FindString(string s) { throw null; } - public int FindString(string s, int startIndex) { throw null; } - public int FindStringExact(string s) { throw null; } - public int FindStringExact(string s, int startIndex) { throw null; } - public int GetItemHeight(int index) { throw null; } - public override System.Drawing.Size GetPreferredSize(System.Drawing.Size constrainingSize) { throw null; } - protected virtual void OnDropDown(System.EventArgs e) { } - protected virtual void OnDropDownClosed(System.EventArgs e) { } - protected virtual void OnDropDownStyleChanged(System.EventArgs e) { } - protected virtual void OnSelectedIndexChanged(System.EventArgs e) { } - protected virtual void OnSelectionChangeCommitted(System.EventArgs e) { } - protected override void OnSubscribeControlEvents(System.Windows.Forms.Control control) { } - protected virtual void OnTextUpdate(System.EventArgs e) { } - protected override void OnUnsubscribeControlEvents(System.Windows.Forms.Control control) { } - public void Select(int start, int length) { } - public void SelectAll() { } - public override string ToString() { throw null; } - } - public partial class ToolStripContainer : System.Windows.Forms.ContainerControl - { - public ToolStripContainer() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoScroll { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMargin { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMinSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(false)] - public System.Windows.Forms.ToolStripPanel BottomToolStripPanel { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool BottomToolStripPanelVisible { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool CausesValidation { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(false)] - public System.Windows.Forms.ToolStripContentPanel ContentPanel { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Control.ControlCollection Controls { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.Cursor Cursor { get { throw null; } set { } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(false)] - public System.Windows.Forms.ToolStripPanel LeftToolStripPanel { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool LeftToolStripPanelVisible { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(false)] - public System.Windows.Forms.ToolStripPanel RightToolStripPanel { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool RightToolStripPanelVisible { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(false)] - public System.Windows.Forms.ToolStripPanel TopToolStripPanel { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool TopToolStripPanelVisible { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler CausesValidationChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ContextMenuStripChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler CursorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override System.Windows.Forms.Control.ControlCollection CreateControlsInstance() { throw null; } - protected override void OnRightToLeftChanged(System.EventArgs e) { } - protected override void OnSizeChanged(System.EventArgs e) { } - } - [System.ComponentModel.DefaultEventAttribute("Load")] - [System.ComponentModel.InitializationEventAttribute("Load")] - [System.ComponentModel.ToolboxItemAttribute(false)] - [System.Windows.Forms.DockingAttribute(System.Windows.Forms.DockingBehavior.Never)] - public partial class ToolStripContentPanel : System.Windows.Forms.Panel - { - public ToolStripContentPanel() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.AnchorStyles Anchor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoScroll { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMargin { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMinSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.LocalizableAttribute(false)] - public override System.Windows.Forms.AutoSizeMode AutoSizeMode { get { throw null; } set { } } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool CausesValidation { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Point Location { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Size MaximumSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Size MinimumSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new string Name { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ToolStripRenderer Renderer { get { throw null; } set { } } - public System.Windows.Forms.ToolStripRenderMode RenderMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new int TabIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler CausesValidationChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DockChanged { add { } remove { } } - public event System.EventHandler Load { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler LocationChanged { add { } remove { } } - public event System.EventHandler RendererChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabIndexChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - protected override void OnHandleCreated(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnLoad(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnPaintBackground(System.Windows.Forms.PaintEventArgs e) { } - protected virtual void OnRendererChanged(System.EventArgs e) { } - } - public partial class ToolStripContentPanelRenderEventArgs : System.EventArgs - { - public ToolStripContentPanelRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripContentPanel contentPanel) { } - public System.Drawing.Graphics Graphics { get { throw null; } } - public bool Handled { get { throw null; } set { } } - public System.Windows.Forms.ToolStripContentPanel ToolStripContentPanel { get { throw null; } } - } - public delegate void ToolStripContentPanelRenderEventHandler(object sender, System.Windows.Forms.ToolStripContentPanelRenderEventArgs e); - public partial class ToolStripControlHost : System.Windows.Forms.ToolStripItem - { - public ToolStripControlHost(System.Windows.Forms.Control c) { } - public ToolStripControlHost(System.Windows.Forms.Control c, string name) { } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ImageLayout.Tile)] - [System.ComponentModel.LocalizableAttribute(true)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - public override bool CanSelect { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool CausesValidation { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.Control Control { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(System.Drawing.ContentAlignment.MiddleCenter)] - public System.Drawing.ContentAlignment ControlAlign { get { throw null; } set { } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ToolStripItemDisplayStyle DisplayStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool DoubleClickEnabled { get { throw null; } set { } } - public override bool Enabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public virtual bool Focused { get { throw null; } } - public override System.Drawing.Font Font { get { throw null; } set { } } - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image Image { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.ContentAlignment ImageAlign { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ToolStripItemImageScaling ImageScaling { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Color ImageTransparentColor { get { throw null; } set { } } - public override System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool RightToLeftAutoMirrorImage { get { throw null; } set { } } - public override bool Selected { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public override System.ComponentModel.ISite Site { get { throw null; } set { } } - public override System.Drawing.Size Size { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.ContentAlignment TextAlign { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripTextDirection.Horizontal)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ToolStripTextDirection TextDirection { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.TextImageRelation TextImageRelation { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DisplayStyleChanged { add { } remove { } } - public event System.EventHandler Enter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler GotFocus { add { } remove { } } - public event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - public event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - public event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - public event System.EventHandler Leave { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler LostFocus { add { } remove { } } - public event System.EventHandler Validated { add { } remove { } } - public event System.ComponentModel.CancelEventHandler Validating { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void Dispose(bool disposing) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public void Focus() { } - public override System.Drawing.Size GetPreferredSize(System.Drawing.Size constrainingSize) { throw null; } - protected override void OnBoundsChanged() { } - protected virtual void OnEnter(System.EventArgs e) { } - protected virtual void OnGotFocus(System.EventArgs e) { } - protected virtual void OnHostedControlResize(System.EventArgs e) { } - protected virtual void OnKeyDown(System.Windows.Forms.KeyEventArgs e) { } - protected virtual void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e) { } - protected virtual void OnKeyUp(System.Windows.Forms.KeyEventArgs e) { } - protected internal override void OnLayout(System.Windows.Forms.LayoutEventArgs e) { } - protected virtual void OnLeave(System.EventArgs e) { } - protected virtual void OnLostFocus(System.EventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected override void OnParentChanged(System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent) { } - protected virtual void OnSubscribeControlEvents(System.Windows.Forms.Control control) { } - protected virtual void OnUnsubscribeControlEvents(System.Windows.Forms.Control control) { } - protected virtual void OnValidated(System.EventArgs e) { } - protected virtual void OnValidating(System.ComponentModel.CancelEventArgs e) { } - protected internal override bool ProcessCmdKey(ref System.Windows.Forms.Message m, System.Windows.Forms.Keys keyData) { throw null; } - protected internal override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override void ResetBackColor() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override void ResetForeColor() { } - protected override void SetVisibleCore(bool visible) { } - } - public partial class ToolStripDropDown : System.Windows.Forms.ToolStrip - { - public ToolStripDropDown() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool AllowItemReorder { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool AllowTransparency { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.AnchorStyles Anchor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AutoClose { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool CanOverflow { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ContextMenu ContextMenu { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.DockStyle DefaultDock { get { throw null; } } - public override System.Windows.Forms.ToolStripDropDownDirection DefaultDropDownDirection { get { throw null; } set { } } - protected override System.Windows.Forms.Padding DefaultPadding { get { throw null; } } - protected override bool DefaultShowItemToolTips { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DockStyle.None)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - public bool DropShadowEnabled { get { throw null; } set { } } - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ToolStripGripDisplayStyle GripDisplayStyle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding GripMargin { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Rectangle GripRectangle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripGripStyle.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ToolStripGripStyle GripStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsAutoGenerated { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Point Location { get { throw null; } set { } } - protected internal override System.Drawing.Size MaxItemSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(1)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.OpacityConverter))] - public double Opacity { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ToolStripOverflowButton OverflowButton { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.ToolStripItem OwnerItem { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new System.Drawing.Region Region { get { throw null; } set { } } - [System.ComponentModel.AmbientValueAttribute(System.Windows.Forms.RightToLeft.Inherit)] - [System.ComponentModel.LocalizableAttribute(true)] - public override System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool Stretch { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new int TabIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripTextDirection.Horizontal)] - public override System.Windows.Forms.ToolStripTextDirection TextDirection { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool TopLevel { get { throw null; } set { } } - protected virtual bool TopMost { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.LocalizableAttribute(true)] - public new bool Visible { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public new event System.EventHandler BindingContextChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.Windows.Forms.UICuesEventHandler ChangeUICues { add { } remove { } } - public event System.Windows.Forms.ToolStripDropDownClosedEventHandler Closed { add { } remove { } } - public event System.Windows.Forms.ToolStripDropDownClosingEventHandler Closing { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ContextMenuChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler ContextMenuStripChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler DockChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler Enter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler FontChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.GiveFeedbackEventHandler GiveFeedback { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.Windows.Forms.HelpEventHandler HelpRequested { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler Leave { add { } remove { } } - public event System.EventHandler Opened { add { } remove { } } - public event System.ComponentModel.CancelEventHandler Opening { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler RegionChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.ScrollEventHandler Scroll { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler StyleChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabIndexChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Validated { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.ComponentModel.CancelEventHandler Validating { add { } remove { } } - public void Close() { } - public void Close(System.Windows.Forms.ToolStripDropDownCloseReason reason) { } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void CreateHandle() { } - protected override System.Windows.Forms.LayoutSettings CreateLayoutSettings(System.Windows.Forms.ToolStripLayoutStyle style) { throw null; } - protected override void Dispose(bool disposing) { } - protected virtual void OnClosed(System.Windows.Forms.ToolStripDropDownClosedEventArgs e) { } - protected virtual void OnClosing(System.Windows.Forms.ToolStripDropDownClosingEventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnItemClicked(System.Windows.Forms.ToolStripItemClickedEventArgs e) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs mea) { } - protected virtual void OnOpened(System.EventArgs e) { } - protected virtual void OnOpening(System.ComponentModel.CancelEventArgs e) { } - protected override void OnParentChanged(System.EventArgs e) { } - protected override void OnVisibleChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override bool ProcessDialogChar(char charCode) { throw null; } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - protected override void ScaleControl(System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override void ScaleCore(float dx, float dy) { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - protected override void SetVisibleCore(bool visible) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new void Show() { } - public void Show(System.Drawing.Point screenLocation) { } - public void Show(System.Drawing.Point position, System.Windows.Forms.ToolStripDropDownDirection direction) { } - public void Show(int x, int y) { } - public void Show(System.Windows.Forms.Control control, System.Drawing.Point position) { } - public void Show(System.Windows.Forms.Control control, System.Drawing.Point position, System.Windows.Forms.ToolStripDropDownDirection direction) { } - public void Show(System.Windows.Forms.Control control, int x, int y) { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - public partial class ToolStripDropDownAccessibleObject : System.Windows.Forms.ToolStrip.ToolStripAccessibleObject - { - public ToolStripDropDownAccessibleObject(System.Windows.Forms.ToolStripDropDown owner) : base (default(System.Windows.Forms.ToolStrip)) { } - public override string Name { get { throw null; } set { } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - } - } - [System.Windows.Forms.Design.ToolStripItemDesignerAvailabilityAttribute(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ToolStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.StatusStrip)] - public partial class ToolStripDropDownButton : System.Windows.Forms.ToolStripDropDownItem - { - public ToolStripDropDownButton() { } - public ToolStripDropDownButton(System.Drawing.Image image) { } - public ToolStripDropDownButton(string text) { } - public ToolStripDropDownButton(string text, System.Drawing.Image image) { } - public ToolStripDropDownButton(string text, System.Drawing.Image image, System.EventHandler onClick) { } - public ToolStripDropDownButton(string text, System.Drawing.Image image, System.EventHandler onClick, string name) { } - public ToolStripDropDownButton(string text, System.Drawing.Image image, params System.Windows.Forms.ToolStripItem[] dropDownItems) { } - [System.ComponentModel.DefaultValueAttribute(true)] - public new bool AutoToolTip { get { throw null; } set { } } - protected override bool DefaultAutoToolTip { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowDropDownArrow { get { throw null; } set { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override System.Windows.Forms.ToolStripDropDown CreateDefaultDropDown() { throw null; } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - } - public partial class ToolStripDropDownClosedEventArgs : System.EventArgs - { - public ToolStripDropDownClosedEventArgs(System.Windows.Forms.ToolStripDropDownCloseReason reason) { } - public System.Windows.Forms.ToolStripDropDownCloseReason CloseReason { get { throw null; } } - } - public delegate void ToolStripDropDownClosedEventHandler(object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e); - public enum ToolStripDropDownCloseReason - { - AppClicked = 1, - AppFocusChange = 0, - CloseCalled = 4, - ItemClicked = 2, - Keyboard = 3, - } - public partial class ToolStripDropDownClosingEventArgs : System.ComponentModel.CancelEventArgs - { - public ToolStripDropDownClosingEventArgs(System.Windows.Forms.ToolStripDropDownCloseReason reason) { } - public System.Windows.Forms.ToolStripDropDownCloseReason CloseReason { get { throw null; } } - } - public delegate void ToolStripDropDownClosingEventHandler(object sender, System.Windows.Forms.ToolStripDropDownClosingEventArgs e); - public enum ToolStripDropDownDirection - { - AboveLeft = 0, - AboveRight = 1, - BelowLeft = 2, - BelowRight = 3, - Default = 7, - Left = 4, - Right = 5, - } - [System.ComponentModel.DefaultPropertyAttribute("DropDownItems")] - public abstract partial class ToolStripDropDownItem : System.Windows.Forms.ToolStripItem - { - protected ToolStripDropDownItem() { } - protected ToolStripDropDownItem(string text, System.Drawing.Image image, System.EventHandler onClick) { } - protected ToolStripDropDownItem(string text, System.Drawing.Image image, System.EventHandler onClick, string name) { } - protected ToolStripDropDownItem(string text, System.Drawing.Image image, params System.Windows.Forms.ToolStripItem[] dropDownItems) { } - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ReferenceConverter))] - public System.Windows.Forms.ToolStripDropDown DropDown { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.ToolStripDropDownDirection DropDownDirection { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - public System.Windows.Forms.ToolStripItemCollection DropDownItems { get { throw null; } } - protected internal virtual System.Drawing.Point DropDownLocation { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool HasDropDown { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool HasDropDownItems { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override bool Pressed { get { throw null; } } - public event System.EventHandler DropDownClosed { add { } remove { } } - public event System.Windows.Forms.ToolStripItemClickedEventHandler DropDownItemClicked { add { } remove { } } - public event System.EventHandler DropDownOpened { add { } remove { } } - public event System.EventHandler DropDownOpening { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected virtual System.Windows.Forms.ToolStripDropDown CreateDefaultDropDown() { throw null; } - protected override void Dispose(bool disposing) { } - public void HideDropDown() { } - protected override void OnBoundsChanged() { } - protected internal virtual void OnDropDownClosed(System.EventArgs e) { } - protected virtual void OnDropDownHide(System.EventArgs e) { } - protected internal virtual void OnDropDownItemClicked(System.Windows.Forms.ToolStripItemClickedEventArgs e) { } - protected internal virtual void OnDropDownOpened(System.EventArgs e) { } - protected virtual void OnDropDownShow(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnRightToLeftChanged(System.EventArgs e) { } - protected internal override bool ProcessCmdKey(ref System.Windows.Forms.Message m, System.Windows.Forms.Keys keyData) { throw null; } - protected internal override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - public void ShowDropDown() { } - } - public partial class ToolStripDropDownItemAccessibleObject : System.Windows.Forms.ToolStripItem.ToolStripItemAccessibleObject - { - public ToolStripDropDownItemAccessibleObject(System.Windows.Forms.ToolStripDropDownItem item) : base (default(System.Windows.Forms.ToolStripItem)) { } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override void DoDefaultAction() { } - public override System.Windows.Forms.AccessibleObject GetChild(int index) { throw null; } - public override int GetChildCount() { throw null; } - } - public partial class ToolStripDropDownMenu : System.Windows.Forms.ToolStripDropDown - { - public ToolStripDropDownMenu() { } - protected override System.Windows.Forms.Padding DefaultPadding { get { throw null; } } - public override System.Drawing.Rectangle DisplayRectangle { get { throw null; } } - public override System.Windows.Forms.Layout.LayoutEngine LayoutEngine { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripLayoutStyle.Flow)] - public new System.Windows.Forms.ToolStripLayoutStyle LayoutStyle { get { throw null; } set { } } - protected internal override System.Drawing.Size MaxItemSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowCheckMargin { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowImageMargin { get { throw null; } set { } } - protected internal override System.Windows.Forms.ToolStripItem CreateDefaultItem(string text, System.Drawing.Image image, System.EventHandler onClick) { throw null; } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs e) { } - protected override void OnPaintBackground(System.Windows.Forms.PaintEventArgs e) { } - protected override void SetDisplayedItems() { } - } - public enum ToolStripGripDisplayStyle - { - Horizontal = 0, - Vertical = 1, - } - public partial class ToolStripGripRenderEventArgs : System.Windows.Forms.ToolStripRenderEventArgs - { - public ToolStripGripRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStrip toolStrip) : base (default(System.Drawing.Graphics), default(System.Windows.Forms.ToolStrip)) { } - public System.Drawing.Rectangle GripBounds { get { throw null; } } - public System.Windows.Forms.ToolStripGripDisplayStyle GripDisplayStyle { get { throw null; } } - public System.Windows.Forms.ToolStripGripStyle GripStyle { get { throw null; } } - } - public delegate void ToolStripGripRenderEventHandler(object sender, System.Windows.Forms.ToolStripGripRenderEventArgs e); - public enum ToolStripGripStyle - { - Hidden = 0, - Visible = 1, - } - [System.ComponentModel.DefaultEventAttribute("Click")] - [System.ComponentModel.DefaultPropertyAttribute("Text")] - [System.ComponentModel.DesignTimeVisibleAttribute(false)] - [System.ComponentModel.ToolboxItemAttribute(false)] - public abstract partial class ToolStripItem : System.ComponentModel.Component, System.ComponentModel.IComponent, System.IDisposable, System.Windows.Forms.IDropTarget - { - protected ToolStripItem() { } - protected ToolStripItem(string text, System.Drawing.Image image, System.EventHandler onClick) { } - protected ToolStripItem(string text, System.Drawing.Image image, System.EventHandler onClick, string name) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.AccessibleObject AccessibilityObject { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public string AccessibleDefaultActionDescription { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public string AccessibleDescription { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public string AccessibleName { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AccessibleRole.Default)] - public System.Windows.Forms.AccessibleRole AccessibleRole { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripItemAlignment.Left)] - public System.Windows.Forms.ToolStripItemAlignment Alignment { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public virtual bool AllowDrop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.AnchorStyles Anchor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool AutoToolTip { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool Available { get { throw null; } set { } } - public virtual System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ImageLayout.Tile)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual System.Drawing.Rectangle Bounds { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public virtual bool CanSelect { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Rectangle ContentRectangle { get { throw null; } } - protected virtual bool DefaultAutoToolTip { get { throw null; } } - protected virtual System.Windows.Forms.ToolStripItemDisplayStyle DefaultDisplayStyle { get { throw null; } } - protected internal virtual System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - protected virtual System.Windows.Forms.Padding DefaultPadding { get { throw null; } } - protected virtual System.Drawing.Size DefaultSize { get { throw null; } } - protected internal virtual bool DismissWhenClicked { get { throw null; } } - public virtual System.Windows.Forms.ToolStripItemDisplayStyle DisplayStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.DockStyle.None)] - public System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool DoubleClickEnabled { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool Enabled { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Drawing.Font Font { get { throw null; } set { } } - public virtual System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public int Height { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Drawing.Image Image { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Drawing.ContentAlignment.MiddleCenter)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.ContentAlignment ImageAlign { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.Windows.Forms.RelatedImageListAttribute("Owner.ImageList")] - public int ImageIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageKeyConverter))] - [System.Windows.Forms.RelatedImageListAttribute("Owner.ImageList")] - public string ImageKey { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripItemImageScaling.SizeToFit)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.ToolStripItemImageScaling ImageScaling { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Color ImageTransparentColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsDisposed { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsOnDropDown { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsOnOverflow { get { throw null; } } - public System.Windows.Forms.Padding Margin { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.MergeAction.Append)] - public System.Windows.Forms.MergeAction MergeAction { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(-1)] - public int MergeIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - public string Name { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripItemOverflow.AsNeeded)] - public System.Windows.Forms.ToolStripItemOverflow Overflow { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ToolStrip Owner { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ToolStripItem OwnerItem { get { throw null; } } - public virtual System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - protected internal System.Windows.Forms.ToolStrip Parent { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.ToolStripItemPlacement Placement { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual bool Pressed { get { throw null; } } - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool RightToLeftAutoMirrorImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual bool Selected { get { throw null; } } - protected internal virtual bool ShowKeyboardCues { get { throw null; } } - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Drawing.Size Size { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Drawing.ContentAlignment.MiddleCenter)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual System.Drawing.ContentAlignment TextAlign { get { throw null; } set { } } - public virtual System.Windows.Forms.ToolStripTextDirection TextDirection { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.TextImageRelation.ImageBeforeText)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.TextImageRelation TextImageRelation { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public string ToolTipText { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public bool Visible { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public int Width { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public event System.EventHandler AvailableChanged { add { } remove { } } - public event System.EventHandler BackColorChanged { add { } remove { } } - public event System.EventHandler Click { add { } remove { } } - public event System.EventHandler DisplayStyleChanged { add { } remove { } } - public event System.EventHandler DoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DragEventHandler DragDrop { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DragEventHandler DragEnter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.EventHandler DragLeave { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.DragEventHandler DragOver { add { } remove { } } - public event System.EventHandler EnabledChanged { add { } remove { } } - public event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.GiveFeedbackEventHandler GiveFeedback { add { } remove { } } - public event System.EventHandler LocationChanged { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseDown { add { } remove { } } - public event System.EventHandler MouseEnter { add { } remove { } } - public event System.EventHandler MouseHover { add { } remove { } } - public event System.EventHandler MouseLeave { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseMove { add { } remove { } } - public event System.Windows.Forms.MouseEventHandler MouseUp { add { } remove { } } - public event System.EventHandler OwnerChanged { add { } remove { } } - public event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.Windows.Forms.QueryAccessibilityHelpEventHandler QueryAccessibilityHelp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public event System.Windows.Forms.QueryContinueDragEventHandler QueryContinueDrag { add { } remove { } } - public event System.EventHandler RightToLeftChanged { add { } remove { } } - public event System.EventHandler TextChanged { add { } remove { } } - public event System.EventHandler VisibleChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void Dispose(bool disposing) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public System.Windows.Forms.DragDropEffects DoDragDrop(object data, System.Windows.Forms.DragDropEffects allowedEffects) { throw null; } - public System.Windows.Forms.ToolStrip GetCurrentParent() { throw null; } - public virtual System.Drawing.Size GetPreferredSize(System.Drawing.Size constrainingSize) { throw null; } - public void Invalidate() { } - public void Invalidate(System.Drawing.Rectangle r) { } - protected internal virtual bool IsInputChar(char charCode) { throw null; } - protected internal virtual bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected virtual void OnAvailableChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnBackColorChanged(System.EventArgs e) { } - protected virtual void OnBoundsChanged() { } - protected virtual void OnClick(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnDisplayStyleChanged(System.EventArgs e) { } - protected virtual void OnDoubleClick(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnDragDrop(System.Windows.Forms.DragEventArgs dragEvent) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnDragEnter(System.Windows.Forms.DragEventArgs dragEvent) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnDragLeave(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnDragOver(System.Windows.Forms.DragEventArgs dragEvent) { } - protected virtual void OnEnabledChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnFontChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnForeColorChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnGiveFeedback(System.Windows.Forms.GiveFeedbackEventArgs giveFeedbackEvent) { } - protected internal virtual void OnLayout(System.Windows.Forms.LayoutEventArgs e) { } - protected virtual void OnLocationChanged(System.EventArgs e) { } - protected virtual void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected virtual void OnMouseEnter(System.EventArgs e) { } - protected virtual void OnMouseHover(System.EventArgs e) { } - protected virtual void OnMouseLeave(System.EventArgs e) { } - protected virtual void OnMouseMove(System.Windows.Forms.MouseEventArgs mea) { } - protected virtual void OnMouseUp(System.Windows.Forms.MouseEventArgs e) { } - protected virtual void OnOwnerChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected internal virtual void OnOwnerFontChanged(System.EventArgs e) { } - protected virtual void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnParentBackColorChanged(System.EventArgs e) { } - protected virtual void OnParentChanged(System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent) { } - protected internal virtual void OnParentEnabledChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnParentForeColorChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected internal virtual void OnParentRightToLeftChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnQueryContinueDrag(System.Windows.Forms.QueryContinueDragEventArgs queryContinueDragEvent) { } - protected virtual void OnRightToLeftChanged(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnTextChanged(System.EventArgs e) { } - protected virtual void OnVisibleChanged(System.EventArgs e) { } - public void PerformClick() { } - protected internal virtual bool ProcessCmdKey(ref System.Windows.Forms.Message m, System.Windows.Forms.Keys keyData) { throw null; } - protected internal virtual bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected internal virtual bool ProcessMnemonic(char charCode) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetBackColor() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetDisplayStyle() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetFont() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetForeColor() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetImage() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void ResetMargin() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void ResetPadding() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetRightToLeft() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetTextDirection() { } - public void Select() { } - protected internal virtual void SetBounds(System.Drawing.Rectangle bounds) { } - protected virtual void SetVisibleCore(bool visible) { } - void System.Windows.Forms.IDropTarget.OnDragDrop(System.Windows.Forms.DragEventArgs dragEvent) { } - void System.Windows.Forms.IDropTarget.OnDragEnter(System.Windows.Forms.DragEventArgs dragEvent) { } - void System.Windows.Forms.IDropTarget.OnDragLeave(System.EventArgs e) { } - void System.Windows.Forms.IDropTarget.OnDragOver(System.Windows.Forms.DragEventArgs dragEvent) { } - public override string ToString() { throw null; } - public partial class ToolStripItemAccessibleObject : System.Windows.Forms.AccessibleObject - { - public ToolStripItemAccessibleObject(System.Windows.Forms.ToolStripItem ownerItem) { } - public override System.Drawing.Rectangle Bounds { get { throw null; } } - public override string DefaultAction { get { throw null; } } - public override string Description { get { throw null; } } - public override string Help { get { throw null; } } - public override string KeyboardShortcut { get { throw null; } } - public override string Name { get { throw null; } set { } } - public override System.Windows.Forms.AccessibleObject Parent { get { throw null; } } - public override System.Windows.Forms.AccessibleRole Role { get { throw null; } } - public override System.Windows.Forms.AccessibleStates State { get { throw null; } } - public void AddState(System.Windows.Forms.AccessibleStates state) { } - public override void DoDefaultAction() { } - public override int GetHelpTopic(out string fileName) { throw null; } - public override System.Windows.Forms.AccessibleObject Navigate(System.Windows.Forms.AccessibleNavigation navigationDirection) { throw null; } - public override string ToString() { throw null; } - } - } - public enum ToolStripItemAlignment - { - Left = 0, - Right = 1, - } - public partial class ToolStripItemClickedEventArgs : System.EventArgs - { - public ToolStripItemClickedEventArgs(System.Windows.Forms.ToolStripItem clickedItem) { } - public System.Windows.Forms.ToolStripItem ClickedItem { get { throw null; } } - } - public delegate void ToolStripItemClickedEventHandler(object sender, System.Windows.Forms.ToolStripItemClickedEventArgs e); - [System.ComponentModel.ListBindableAttribute(false)] - public partial class ToolStripItemCollection : System.Windows.Forms.Layout.ArrangedElementCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public ToolStripItemCollection(System.Windows.Forms.ToolStrip owner, System.Windows.Forms.ToolStripItem[] value) { } - public override bool IsReadOnly { get { throw null; } } - public virtual System.Windows.Forms.ToolStripItem this[int index] { get { throw null; } } - public virtual System.Windows.Forms.ToolStripItem this[string key] { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public System.Windows.Forms.ToolStripItem Add(System.Drawing.Image image) { throw null; } - public System.Windows.Forms.ToolStripItem Add(string text) { throw null; } - public System.Windows.Forms.ToolStripItem Add(string text, System.Drawing.Image image) { throw null; } - public System.Windows.Forms.ToolStripItem Add(string text, System.Drawing.Image image, System.EventHandler onClick) { throw null; } - public int Add(System.Windows.Forms.ToolStripItem value) { throw null; } - public void AddRange(System.Windows.Forms.ToolStripItemCollection toolStripItems) { } - public void AddRange(System.Windows.Forms.ToolStripItem[] toolStripItems) { } - public virtual void Clear() { } - public bool Contains(System.Windows.Forms.ToolStripItem value) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public void CopyTo(System.Windows.Forms.ToolStripItem[] array, int index) { } - public System.Windows.Forms.ToolStripItem[] Find(string key, bool searchAllChildren) { throw null; } - public int IndexOf(System.Windows.Forms.ToolStripItem value) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - public void Insert(int index, System.Windows.Forms.ToolStripItem value) { } - public void Remove(System.Windows.Forms.ToolStripItem value) { } - public void RemoveAt(int index) { } - public virtual void RemoveByKey(string key) { } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - public enum ToolStripItemDisplayStyle - { - Image = 2, - ImageAndText = 3, - None = 0, - Text = 1, - } - public partial class ToolStripItemEventArgs : System.EventArgs - { - public ToolStripItemEventArgs(System.Windows.Forms.ToolStripItem item) { } - public System.Windows.Forms.ToolStripItem Item { get { throw null; } } - } - public delegate void ToolStripItemEventHandler(object sender, System.Windows.Forms.ToolStripItemEventArgs e); - public partial class ToolStripItemImageRenderEventArgs : System.Windows.Forms.ToolStripItemRenderEventArgs - { - public ToolStripItemImageRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item, System.Drawing.Image image, System.Drawing.Rectangle imageRectangle) : base (default(System.Drawing.Graphics), default(System.Windows.Forms.ToolStripItem)) { } - public ToolStripItemImageRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item, System.Drawing.Rectangle imageRectangle) : base (default(System.Drawing.Graphics), default(System.Windows.Forms.ToolStripItem)) { } - public System.Drawing.Image Image { get { throw null; } } - public System.Drawing.Rectangle ImageRectangle { get { throw null; } } - } - public delegate void ToolStripItemImageRenderEventHandler(object sender, System.Windows.Forms.ToolStripItemImageRenderEventArgs e); - public enum ToolStripItemImageScaling - { - None = 0, - SizeToFit = 1, - } - public enum ToolStripItemOverflow - { - Always = 1, - AsNeeded = 2, - Never = 0, - } - public enum ToolStripItemPlacement - { - Main = 0, - None = 2, - Overflow = 1, - } - public partial class ToolStripItemRenderEventArgs : System.EventArgs - { - public ToolStripItemRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item) { } - public System.Drawing.Graphics Graphics { get { throw null; } } - public System.Windows.Forms.ToolStripItem Item { get { throw null; } } - public System.Windows.Forms.ToolStrip ToolStrip { get { throw null; } } - } - public delegate void ToolStripItemRenderEventHandler(object sender, System.Windows.Forms.ToolStripItemRenderEventArgs e); - public partial class ToolStripItemTextRenderEventArgs : System.Windows.Forms.ToolStripItemRenderEventArgs - { - public ToolStripItemTextRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item, string text, System.Drawing.Rectangle textRectangle, System.Drawing.Color textColor, System.Drawing.Font textFont, System.Drawing.ContentAlignment textAlign) : base (default(System.Drawing.Graphics), default(System.Windows.Forms.ToolStripItem)) { } - public ToolStripItemTextRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item, string text, System.Drawing.Rectangle textRectangle, System.Drawing.Color textColor, System.Drawing.Font textFont, System.Windows.Forms.TextFormatFlags format) : base (default(System.Drawing.Graphics), default(System.Windows.Forms.ToolStripItem)) { } - public string Text { get { throw null; } set { } } - public System.Drawing.Color TextColor { get { throw null; } set { } } - public System.Windows.Forms.ToolStripTextDirection TextDirection { get { throw null; } set { } } - public System.Drawing.Font TextFont { get { throw null; } set { } } - public System.Windows.Forms.TextFormatFlags TextFormat { get { throw null; } set { } } - public System.Drawing.Rectangle TextRectangle { get { throw null; } set { } } - } - public delegate void ToolStripItemTextRenderEventHandler(object sender, System.Windows.Forms.ToolStripItemTextRenderEventArgs e); - [System.Windows.Forms.Design.ToolStripItemDesignerAvailabilityAttribute(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ToolStrip)] - public partial class ToolStripLabel : System.Windows.Forms.ToolStripItem - { - public ToolStripLabel() { } - public ToolStripLabel(System.Drawing.Image image) { } - public ToolStripLabel(string text) { } - public ToolStripLabel(string text, System.Drawing.Image image) { } - public ToolStripLabel(string text, System.Drawing.Image image, bool isLink) { } - public ToolStripLabel(string text, System.Drawing.Image image, bool isLink, System.EventHandler onClick) { } - public ToolStripLabel(string text, System.Drawing.Image image, bool isLink, System.EventHandler onClick, string name) { } - public System.Drawing.Color ActiveLinkColor { get { throw null; } set { } } - public override bool CanSelect { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool IsLink { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.LinkBehavior.SystemDefault)] - public System.Windows.Forms.LinkBehavior LinkBehavior { get { throw null; } set { } } - public System.Drawing.Color LinkColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool LinkVisited { get { throw null; } set { } } - public System.Drawing.Color VisitedLinkColor { get { throw null; } set { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnMouseEnter(System.EventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - } - public enum ToolStripLayoutStyle - { - Flow = 3, - HorizontalStackWithOverflow = 1, - StackWithOverflow = 0, - Table = 4, - VerticalStackWithOverflow = 2, - } - public sealed partial class ToolStripManager - { - internal ToolStripManager() { } - public static System.Windows.Forms.ToolStripRenderer Renderer { get { throw null; } set { } } - public static System.Windows.Forms.ToolStripManagerRenderMode RenderMode { get { throw null; } set { } } - public static bool VisualStylesEnabled { get { throw null; } set { } } - public static event System.EventHandler RendererChanged { add { } remove { } } - public static System.Windows.Forms.ToolStrip FindToolStrip(string toolStripName) { throw null; } - public static bool IsShortcutDefined(System.Windows.Forms.Keys shortcut) { throw null; } - public static bool IsValidShortcut(System.Windows.Forms.Keys shortcut) { throw null; } - public static void LoadSettings(System.Windows.Forms.Form targetForm) { } - public static void LoadSettings(System.Windows.Forms.Form targetForm, string key) { } - public static bool Merge(System.Windows.Forms.ToolStrip sourceToolStrip, string targetName) { throw null; } - public static bool Merge(System.Windows.Forms.ToolStrip sourceToolStrip, System.Windows.Forms.ToolStrip targetToolStrip) { throw null; } - public static bool RevertMerge(string targetName) { throw null; } - public static bool RevertMerge(System.Windows.Forms.ToolStrip targetToolStrip) { throw null; } - public static bool RevertMerge(System.Windows.Forms.ToolStrip targetToolStrip, System.Windows.Forms.ToolStrip sourceToolStrip) { throw null; } - public static void SaveSettings(System.Windows.Forms.Form sourceForm) { } - public static void SaveSettings(System.Windows.Forms.Form sourceForm, string key) { } - } - public enum ToolStripManagerRenderMode - { - [System.ComponentModel.BrowsableAttribute(false)] - Custom = 0, - Professional = 2, - System = 1, - } - [System.Windows.Forms.Design.ToolStripItemDesignerAvailabilityAttribute(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.MenuStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ContextMenuStrip)] - public partial class ToolStripMenuItem : System.Windows.Forms.ToolStripDropDownItem - { - public ToolStripMenuItem() { } - public ToolStripMenuItem(System.Drawing.Image image) { } - public ToolStripMenuItem(string text) { } - public ToolStripMenuItem(string text, System.Drawing.Image image) { } - public ToolStripMenuItem(string text, System.Drawing.Image image, System.EventHandler onClick) { } - public ToolStripMenuItem(string text, System.Drawing.Image image, System.EventHandler onClick, string name) { } - public ToolStripMenuItem(string text, System.Drawing.Image image, System.EventHandler onClick, System.Windows.Forms.Keys shortcutKeys) { } - public ToolStripMenuItem(string text, System.Drawing.Image image, params System.Windows.Forms.ToolStripItem[] dropDownItems) { } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public bool Checked { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool CheckOnClick { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.CheckState.Unchecked)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public System.Windows.Forms.CheckState CheckState { get { throw null; } set { } } - protected internal override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - protected override System.Windows.Forms.Padding DefaultPadding { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - public override bool Enabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsMdiWindowListEntry { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripItemOverflow.Never)] - public new System.Windows.Forms.ToolStripItemOverflow Overflow { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public string ShortcutKeyDisplayString { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.Keys.None)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.Keys ShortcutKeys { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool ShowShortcutKeys { get { throw null; } set { } } - public event System.EventHandler CheckedChanged { add { } remove { } } - public event System.EventHandler CheckStateChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override System.Windows.Forms.ToolStripDropDown CreateDefaultDropDown() { throw null; } - protected override void Dispose(bool disposing) { } - protected virtual void OnCheckedChanged(System.EventArgs e) { } - protected virtual void OnCheckStateChanged(System.EventArgs e) { } - protected override void OnClick(System.EventArgs e) { } - protected override void OnDropDownHide(System.EventArgs e) { } - protected override void OnDropDownShow(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseEnter(System.EventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnOwnerChanged(System.EventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected internal override bool ProcessCmdKey(ref System.Windows.Forms.Message m, System.Windows.Forms.Keys keyData) { throw null; } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - protected internal override void SetBounds(System.Drawing.Rectangle rect) { } - } - public partial class ToolStripOverflow : System.Windows.Forms.ToolStripDropDown, System.ComponentModel.IComponent, System.IDisposable - { - public ToolStripOverflow(System.Windows.Forms.ToolStripItem parentItem) { } - protected internal override System.Windows.Forms.ToolStripItemCollection DisplayedItems { get { throw null; } } - public override System.Windows.Forms.ToolStripItemCollection Items { get { throw null; } } - public override System.Windows.Forms.Layout.LayoutEngine LayoutEngine { get { throw null; } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - public override System.Drawing.Size GetPreferredSize(System.Drawing.Size constrainingSize) { throw null; } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs e) { } - protected override void SetDisplayedItems() { } - } - [System.Windows.Forms.Design.ToolStripItemDesignerAvailabilityAttribute(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.None)] - public partial class ToolStripOverflowButton : System.Windows.Forms.ToolStripDropDownButton - { - internal ToolStripOverflowButton() { } - protected internal override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - public override bool HasDropDownItems { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool RightToLeftAutoMirrorImage { get { throw null; } set { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override System.Windows.Forms.ToolStripDropDown CreateDefaultDropDown() { throw null; } - protected override void Dispose(bool disposing) { } - public override System.Drawing.Size GetPreferredSize(System.Drawing.Size constrainingSize) { throw null; } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected internal override void SetBounds(System.Drawing.Rectangle bounds) { } - } - [System.Drawing.ToolboxBitmapAttribute(typeof(System.Windows.Forms.ToolStripPanel), "ToolStripPanel_standalone.bmp")] - public partial class ToolStripPanel : System.Windows.Forms.ContainerControl, System.ComponentModel.IComponent, System.IDisposable - { - public ToolStripPanel() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AllowDrop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoScroll { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMargin { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMinSize { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - public override bool AutoSize { get { throw null; } set { } } - protected override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - protected override System.Windows.Forms.Padding DefaultPadding { get { throw null; } } - public override System.Windows.Forms.DockStyle Dock { get { throw null; } set { } } - public override System.Windows.Forms.Layout.LayoutEngine LayoutEngine { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public bool Locked { get { throw null; } set { } } - public System.Windows.Forms.Orientation Orientation { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ToolStripRenderer Renderer { get { throw null; } set { } } - public System.Windows.Forms.ToolStripRenderMode RenderMode { get { throw null; } set { } } - public System.Windows.Forms.Padding RowMargin { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ToolStripPanelRow[] Rows { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new int TabIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool TabStop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - public event System.EventHandler RendererChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabIndexChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TabStopChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - public void BeginInit() { } - protected override System.Windows.Forms.Control.ControlCollection CreateControlsInstance() { throw null; } - protected override void Dispose(bool disposing) { } - public void EndInit() { } - public void Join(System.Windows.Forms.ToolStrip toolStripToDrag) { } - public void Join(System.Windows.Forms.ToolStrip toolStripToDrag, System.Drawing.Point location) { } - public void Join(System.Windows.Forms.ToolStrip toolStripToDrag, int row) { } - public void Join(System.Windows.Forms.ToolStrip toolStripToDrag, int x, int y) { } - protected override void OnControlAdded(System.Windows.Forms.ControlEventArgs e) { } - protected override void OnControlRemoved(System.Windows.Forms.ControlEventArgs e) { } - protected override void OnDockChanged(System.EventArgs e) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnPaintBackground(System.Windows.Forms.PaintEventArgs e) { } - protected override void OnParentChanged(System.EventArgs e) { } - protected virtual void OnRendererChanged(System.EventArgs e) { } - protected override void OnRightToLeftChanged(System.EventArgs e) { } - public System.Windows.Forms.ToolStripPanelRow PointToRow(System.Drawing.Point clientLocation) { throw null; } - [System.ComponentModel.ListBindableAttribute(false)] - public partial class ToolStripPanelRowCollection : System.Windows.Forms.Layout.ArrangedElementCollection, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - public ToolStripPanelRowCollection(System.Windows.Forms.ToolStripPanel owner) { } - public ToolStripPanelRowCollection(System.Windows.Forms.ToolStripPanel owner, System.Windows.Forms.ToolStripPanelRow[] value) { } - public virtual System.Windows.Forms.ToolStripPanelRow this[int index] { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public int Add(System.Windows.Forms.ToolStripPanelRow value) { throw null; } - public void AddRange(System.Windows.Forms.ToolStripPanel.ToolStripPanelRowCollection value) { } - public void AddRange(System.Windows.Forms.ToolStripPanelRow[] value) { } - public virtual void Clear() { } - public bool Contains(System.Windows.Forms.ToolStripPanelRow value) { throw null; } - public void CopyTo(System.Windows.Forms.ToolStripPanelRow[] array, int index) { } - public int IndexOf(System.Windows.Forms.ToolStripPanelRow value) { throw null; } - public void Insert(int index, System.Windows.Forms.ToolStripPanelRow value) { } - public void Remove(System.Windows.Forms.ToolStripPanelRow value) { } - public void RemoveAt(int index) { } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - } - public partial class ToolStripPanelRenderEventArgs : System.EventArgs - { - public ToolStripPanelRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripPanel toolStripPanel) { } - public System.Drawing.Graphics Graphics { get { throw null; } } - public bool Handled { get { throw null; } set { } } - public System.Windows.Forms.ToolStripPanel ToolStripPanel { get { throw null; } } - } - public delegate void ToolStripPanelRenderEventHandler(object sender, System.Windows.Forms.ToolStripPanelRenderEventArgs e); - [System.ComponentModel.ToolboxItemAttribute(false)] - public partial class ToolStripPanelRow : System.ComponentModel.Component, System.ComponentModel.IComponent, System.IDisposable - { - public ToolStripPanelRow(System.Windows.Forms.ToolStripPanel parent) { } - public System.Drawing.Rectangle Bounds { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.Control[] Controls { get { throw null; } } - protected virtual System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - protected virtual System.Windows.Forms.Padding DefaultPadding { get { throw null; } } - public System.Drawing.Rectangle DisplayRectangle { get { throw null; } } - public System.Windows.Forms.Layout.LayoutEngine LayoutEngine { get { throw null; } } - public System.Windows.Forms.Padding Margin { get { throw null; } set { } } - public System.Windows.Forms.Orientation Orientation { get { throw null; } } - public virtual System.Windows.Forms.Padding Padding { get { throw null; } set { } } - public System.Windows.Forms.ToolStripPanel ToolStripPanel { get { throw null; } } - public bool CanMove(System.Windows.Forms.ToolStrip toolStripToDrag) { throw null; } - protected override void Dispose(bool disposing) { } - protected void OnBoundsChanged(System.Drawing.Rectangle oldBounds, System.Drawing.Rectangle newBounds) { } - protected internal virtual void OnControlAdded(System.Windows.Forms.Control control, int index) { } - protected internal virtual void OnControlRemoved(System.Windows.Forms.Control control, int index) { } - protected virtual void OnLayout(System.Windows.Forms.LayoutEventArgs e) { } - protected internal virtual void OnOrientationChanged() { } - } - public partial class ToolStripProfessionalRenderer : System.Windows.Forms.ToolStripRenderer - { - public ToolStripProfessionalRenderer() { } - public ToolStripProfessionalRenderer(System.Windows.Forms.ProfessionalColorTable professionalColorTable) { } - public System.Windows.Forms.ProfessionalColorTable ColorTable { get { throw null; } } - public bool RoundedEdges { get { throw null; } set { } } - protected override void OnRenderArrow(System.Windows.Forms.ToolStripArrowRenderEventArgs e) { } - protected override void OnRenderButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderDropDownButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderGrip(System.Windows.Forms.ToolStripGripRenderEventArgs e) { } - protected override void OnRenderImageMargin(System.Windows.Forms.ToolStripRenderEventArgs e) { } - protected override void OnRenderItemCheck(System.Windows.Forms.ToolStripItemImageRenderEventArgs e) { } - protected override void OnRenderItemImage(System.Windows.Forms.ToolStripItemImageRenderEventArgs e) { } - protected override void OnRenderItemText(System.Windows.Forms.ToolStripItemTextRenderEventArgs e) { } - protected override void OnRenderLabelBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderMenuItemBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderOverflowButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderSeparator(System.Windows.Forms.ToolStripSeparatorRenderEventArgs e) { } - protected override void OnRenderSplitButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderToolStripBackground(System.Windows.Forms.ToolStripRenderEventArgs e) { } - protected override void OnRenderToolStripBorder(System.Windows.Forms.ToolStripRenderEventArgs e) { } - protected override void OnRenderToolStripContentPanelBackground(System.Windows.Forms.ToolStripContentPanelRenderEventArgs e) { } - protected override void OnRenderToolStripPanelBackground(System.Windows.Forms.ToolStripPanelRenderEventArgs e) { } - protected override void OnRenderToolStripStatusLabelBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - } - [System.ComponentModel.DefaultPropertyAttribute("Value")] - public partial class ToolStripProgressBar : System.Windows.Forms.ToolStripControlHost - { - public ToolStripProgressBar() : base (default(System.Windows.Forms.Control)) { } - public ToolStripProgressBar(string name) : base (default(System.Windows.Forms.Control)) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - protected internal override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(100)] - public int MarqueeAnimationSpeed { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(100)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int Maximum { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public int Minimum { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.ProgressBar ProgressBar { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool RightToLeftLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(10)] - public int Step { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ProgressBarStyle.Blocks)] - public System.Windows.Forms.ProgressBarStyle Style { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int Value { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler LocationChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler OwnerChanged { add { } remove { } } - public event System.EventHandler RightToLeftLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Validated { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.ComponentModel.CancelEventHandler Validating { add { } remove { } } - public void Increment(int value) { } - protected virtual void OnRightToLeftLayoutChanged(System.EventArgs e) { } - protected override void OnSubscribeControlEvents(System.Windows.Forms.Control control) { } - protected override void OnUnsubscribeControlEvents(System.Windows.Forms.Control control) { } - public void PerformStep() { } - } - public abstract partial class ToolStripRenderer - { - protected static int Offset2X; - protected static int Offset2Y; - protected ToolStripRenderer() { } - public event System.Windows.Forms.ToolStripArrowRenderEventHandler RenderArrow { add { } remove { } } - public event System.Windows.Forms.ToolStripItemRenderEventHandler RenderButtonBackground { add { } remove { } } - public event System.Windows.Forms.ToolStripItemRenderEventHandler RenderDropDownButtonBackground { add { } remove { } } - public event System.Windows.Forms.ToolStripGripRenderEventHandler RenderGrip { add { } remove { } } - public event System.Windows.Forms.ToolStripRenderEventHandler RenderImageMargin { add { } remove { } } - public event System.Windows.Forms.ToolStripItemRenderEventHandler RenderItemBackground { add { } remove { } } - public event System.Windows.Forms.ToolStripItemImageRenderEventHandler RenderItemCheck { add { } remove { } } - public event System.Windows.Forms.ToolStripItemImageRenderEventHandler RenderItemImage { add { } remove { } } - public event System.Windows.Forms.ToolStripItemTextRenderEventHandler RenderItemText { add { } remove { } } - public event System.Windows.Forms.ToolStripItemRenderEventHandler RenderLabelBackground { add { } remove { } } - public event System.Windows.Forms.ToolStripItemRenderEventHandler RenderMenuItemBackground { add { } remove { } } - public event System.Windows.Forms.ToolStripItemRenderEventHandler RenderOverflowButtonBackground { add { } remove { } } - public event System.Windows.Forms.ToolStripSeparatorRenderEventHandler RenderSeparator { add { } remove { } } - public event System.Windows.Forms.ToolStripItemRenderEventHandler RenderSplitButtonBackground { add { } remove { } } - public event System.Windows.Forms.ToolStripRenderEventHandler RenderStatusStripSizingGrip { add { } remove { } } - public event System.Windows.Forms.ToolStripRenderEventHandler RenderToolStripBackground { add { } remove { } } - public event System.Windows.Forms.ToolStripRenderEventHandler RenderToolStripBorder { add { } remove { } } - public event System.Windows.Forms.ToolStripContentPanelRenderEventHandler RenderToolStripContentPanelBackground { add { } remove { } } - public event System.Windows.Forms.ToolStripPanelRenderEventHandler RenderToolStripPanelBackground { add { } remove { } } - public event System.Windows.Forms.ToolStripItemRenderEventHandler RenderToolStripStatusLabelBackground { add { } remove { } } - public static System.Drawing.Image CreateDisabledImage(System.Drawing.Image normalImage) { throw null; } - public void DrawArrow(System.Windows.Forms.ToolStripArrowRenderEventArgs e) { } - public void DrawButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - public void DrawDropDownButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - public void DrawGrip(System.Windows.Forms.ToolStripGripRenderEventArgs e) { } - public void DrawImageMargin(System.Windows.Forms.ToolStripRenderEventArgs e) { } - public void DrawItemBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - public void DrawItemCheck(System.Windows.Forms.ToolStripItemImageRenderEventArgs e) { } - public void DrawItemImage(System.Windows.Forms.ToolStripItemImageRenderEventArgs e) { } - public void DrawItemText(System.Windows.Forms.ToolStripItemTextRenderEventArgs e) { } - public void DrawLabelBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - public void DrawMenuItemBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - public void DrawOverflowButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - public void DrawSeparator(System.Windows.Forms.ToolStripSeparatorRenderEventArgs e) { } - public void DrawSplitButton(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - public void DrawStatusStripSizingGrip(System.Windows.Forms.ToolStripRenderEventArgs e) { } - public void DrawToolStripBackground(System.Windows.Forms.ToolStripRenderEventArgs e) { } - public void DrawToolStripBorder(System.Windows.Forms.ToolStripRenderEventArgs e) { } - public void DrawToolStripContentPanelBackground(System.Windows.Forms.ToolStripContentPanelRenderEventArgs e) { } - public void DrawToolStripPanelBackground(System.Windows.Forms.ToolStripPanelRenderEventArgs e) { } - public void DrawToolStripStatusLabelBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected internal virtual void Initialize(System.Windows.Forms.ToolStrip toolStrip) { } - protected internal virtual void InitializeContentPanel(System.Windows.Forms.ToolStripContentPanel contentPanel) { } - protected internal virtual void InitializeItem(System.Windows.Forms.ToolStripItem item) { } - protected internal virtual void InitializePanel(System.Windows.Forms.ToolStripPanel toolStripPanel) { } - protected virtual void OnRenderArrow(System.Windows.Forms.ToolStripArrowRenderEventArgs e) { } - protected virtual void OnRenderButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected virtual void OnRenderDropDownButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected virtual void OnRenderGrip(System.Windows.Forms.ToolStripGripRenderEventArgs e) { } - protected virtual void OnRenderImageMargin(System.Windows.Forms.ToolStripRenderEventArgs e) { } - protected virtual void OnRenderItemBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected virtual void OnRenderItemCheck(System.Windows.Forms.ToolStripItemImageRenderEventArgs e) { } - protected virtual void OnRenderItemImage(System.Windows.Forms.ToolStripItemImageRenderEventArgs e) { } - protected virtual void OnRenderItemText(System.Windows.Forms.ToolStripItemTextRenderEventArgs e) { } - protected virtual void OnRenderLabelBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected virtual void OnRenderMenuItemBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected virtual void OnRenderOverflowButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected virtual void OnRenderSeparator(System.Windows.Forms.ToolStripSeparatorRenderEventArgs e) { } - protected virtual void OnRenderSplitButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected virtual void OnRenderStatusStripSizingGrip(System.Windows.Forms.ToolStripRenderEventArgs e) { } - protected virtual void OnRenderToolStripBackground(System.Windows.Forms.ToolStripRenderEventArgs e) { } - protected virtual void OnRenderToolStripBorder(System.Windows.Forms.ToolStripRenderEventArgs e) { } - protected virtual void OnRenderToolStripContentPanelBackground(System.Windows.Forms.ToolStripContentPanelRenderEventArgs e) { } - protected virtual void OnRenderToolStripPanelBackground(System.Windows.Forms.ToolStripPanelRenderEventArgs e) { } - protected virtual void OnRenderToolStripStatusLabelBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected static void ScaleArrowOffsetsIfNeeded() { } - } - public partial class ToolStripRenderEventArgs : System.EventArgs - { - public ToolStripRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStrip toolStrip) { } - public ToolStripRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStrip toolStrip, System.Drawing.Rectangle affectedBounds, System.Drawing.Color backColor) { } - public System.Drawing.Rectangle AffectedBounds { get { throw null; } } - public System.Drawing.Color BackColor { get { throw null; } } - public System.Drawing.Rectangle ConnectedArea { get { throw null; } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public System.Windows.Forms.ToolStrip ToolStrip { get { throw null; } } - } - public delegate void ToolStripRenderEventHandler(object sender, System.Windows.Forms.ToolStripRenderEventArgs e); - public enum ToolStripRenderMode - { - [System.ComponentModel.BrowsableAttribute(false)] - Custom = 0, - ManagerRenderMode = 3, - Professional = 2, - System = 1, - } - [System.Windows.Forms.Design.ToolStripItemDesignerAvailabilityAttribute(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ToolStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ContextMenuStrip)] - public partial class ToolStripSeparator : System.Windows.Forms.ToolStripItem - { - public ToolStripSeparator() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool AutoToolTip { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - public override bool CanSelect { get { throw null; } } - protected internal override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ToolStripItemDisplayStyle DisplayStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool DoubleClickEnabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Enabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image Image { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.ContentAlignment ImageAlign { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public new int ImageIndex { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new string ImageKey { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ToolStripItemImageScaling ImageScaling { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Color ImageTransparentColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool RightToLeftAutoMirrorImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.ContentAlignment TextAlign { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripTextDirection.Horizontal)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ToolStripTextDirection TextDirection { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.TextImageRelation TextImageRelation { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new string ToolTipText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DisplayStyleChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler EnabledChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - public override System.Drawing.Size GetPreferredSize(System.Drawing.Size constrainingSize) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected internal override void SetBounds(System.Drawing.Rectangle rect) { } - } - public partial class ToolStripSeparatorRenderEventArgs : System.Windows.Forms.ToolStripItemRenderEventArgs - { - public ToolStripSeparatorRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripSeparator separator, bool vertical) : base (default(System.Drawing.Graphics), default(System.Windows.Forms.ToolStripItem)) { } - public bool Vertical { get { throw null; } } - } - public delegate void ToolStripSeparatorRenderEventHandler(object sender, System.Windows.Forms.ToolStripSeparatorRenderEventArgs e); - [System.ComponentModel.DefaultEventAttribute("ButtonClick")] - [System.Windows.Forms.Design.ToolStripItemDesignerAvailabilityAttribute(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ToolStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.StatusStrip)] - public partial class ToolStripSplitButton : System.Windows.Forms.ToolStripDropDownItem - { - public ToolStripSplitButton() { } - public ToolStripSplitButton(System.Drawing.Image image) { } - public ToolStripSplitButton(string text) { } - public ToolStripSplitButton(string text, System.Drawing.Image image) { } - public ToolStripSplitButton(string text, System.Drawing.Image image, System.EventHandler onClick) { } - public ToolStripSplitButton(string text, System.Drawing.Image image, System.EventHandler onClick, string name) { } - public ToolStripSplitButton(string text, System.Drawing.Image image, params System.Windows.Forms.ToolStripItem[] dropDownItems) { } - [System.ComponentModel.DefaultValueAttribute(true)] - public new bool AutoToolTip { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Rectangle ButtonBounds { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool ButtonPressed { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool ButtonSelected { get { throw null; } } - protected override bool DefaultAutoToolTip { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.ToolStripItem DefaultItem { get { throw null; } set { } } - protected internal override bool DismissWhenClicked { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Rectangle DropDownButtonBounds { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool DropDownButtonPressed { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool DropDownButtonSelected { get { throw null; } } - public int DropDownButtonWidth { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Rectangle SplitterBounds { get { throw null; } } - public event System.EventHandler ButtonClick { add { } remove { } } - public event System.EventHandler ButtonDoubleClick { add { } remove { } } - public event System.EventHandler DefaultItemChanged { add { } remove { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - protected override System.Windows.Forms.ToolStripDropDown CreateDefaultDropDown() { throw null; } - public override System.Drawing.Size GetPreferredSize(System.Drawing.Size constrainingSize) { throw null; } - protected virtual void OnButtonClick(System.EventArgs e) { } - public virtual void OnButtonDoubleClick(System.EventArgs e) { } - protected virtual void OnDefaultItemChanged(System.EventArgs e) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected override void OnRightToLeftChanged(System.EventArgs e) { } - public void PerformButtonClick() { } - protected internal override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ResetDropDownButtonWidth() { } - public partial class ToolStripSplitButtonAccessibleObject : System.Windows.Forms.ToolStripItem.ToolStripItemAccessibleObject - { - public ToolStripSplitButtonAccessibleObject(System.Windows.Forms.ToolStripSplitButton item) : base (default(System.Windows.Forms.ToolStripItem)) { } - public override void DoDefaultAction() { } - } - } - [System.Windows.Forms.Design.ToolStripItemDesignerAvailabilityAttribute(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.StatusStrip)] - public partial class ToolStripStatusLabel : System.Windows.Forms.ToolStripLabel, System.Windows.Forms.Automation.IAutomationLiveRegion - { - public ToolStripStatusLabel() { } - public ToolStripStatusLabel(System.Drawing.Image image) { } - public ToolStripStatusLabel(string text) { } - public ToolStripStatusLabel(string text, System.Drawing.Image image) { } - public ToolStripStatusLabel(string text, System.Drawing.Image image, System.EventHandler onClick) { } - public ToolStripStatusLabel(string text, System.Drawing.Image image, System.EventHandler onClick, string name) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public new System.Windows.Forms.ToolStripItemAlignment Alignment { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolStripStatusLabelBorderSides.None)] - public System.Windows.Forms.ToolStripStatusLabelBorderSides BorderSides { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.Border3DStyle.Flat)] - public System.Windows.Forms.Border3DStyle BorderStyle { get { throw null; } set { } } - protected internal override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.Automation.AutomationLiveSetting.Off)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.Automation.AutomationLiveSetting LiveSetting { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Spring { get { throw null; } set { } } - protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance() { throw null; } - public override System.Drawing.Size GetPreferredSize(System.Drawing.Size constrainingSize) { throw null; } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected override void OnTextChanged(System.EventArgs e) { } - } - [System.FlagsAttribute] - public enum ToolStripStatusLabelBorderSides - { - All = 15, - Bottom = 8, - Left = 1, - None = 0, - Right = 4, - Top = 2, - } - public partial class ToolStripSystemRenderer : System.Windows.Forms.ToolStripRenderer - { - public ToolStripSystemRenderer() { } - protected override void OnRenderButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderDropDownButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderGrip(System.Windows.Forms.ToolStripGripRenderEventArgs e) { } - protected override void OnRenderImageMargin(System.Windows.Forms.ToolStripRenderEventArgs e) { } - protected override void OnRenderItemBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderLabelBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderMenuItemBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderOverflowButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderSeparator(System.Windows.Forms.ToolStripSeparatorRenderEventArgs e) { } - protected override void OnRenderSplitButtonBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - protected override void OnRenderToolStripBackground(System.Windows.Forms.ToolStripRenderEventArgs e) { } - protected override void OnRenderToolStripBorder(System.Windows.Forms.ToolStripRenderEventArgs e) { } - protected override void OnRenderToolStripStatusLabelBackground(System.Windows.Forms.ToolStripItemRenderEventArgs e) { } - } - [System.Windows.Forms.Design.ToolStripItemDesignerAvailabilityAttribute(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ToolStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.MenuStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ContextMenuStrip)] - public partial class ToolStripTextBox : System.Windows.Forms.ToolStripControlHost - { - public ToolStripTextBox() : base (default(System.Windows.Forms.Control)) { } - public ToolStripTextBox(string name) : base (default(System.Windows.Forms.Control)) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public ToolStripTextBox(System.Windows.Forms.Control c) : base (default(System.Windows.Forms.Control)) { } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool AcceptsReturn { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool AcceptsTab { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.AutoCompleteStringCollection AutoCompleteCustomSource { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoCompleteMode.None)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.AutoCompleteMode AutoCompleteMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoCompleteSource.None)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.AutoCompleteSource AutoCompleteSource { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.Fixed3D)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool CanUndo { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.CharacterCasing.Normal)] - public System.Windows.Forms.CharacterCasing CharacterCasing { get { throw null; } set { } } - protected internal override System.Windows.Forms.Padding DefaultMargin { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool HideSelection { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.LocalizableAttribute(true)] - public string[] Lines { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(32767)] - [System.ComponentModel.LocalizableAttribute(true)] - public int MaxLength { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool Modified { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public bool Multiline { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string SelectedText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SelectionLength { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int SelectionStart { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShortcutsEnabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.TextBox TextBox { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.HorizontalAlignment.Left)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.HorizontalAlignment TextBoxTextAlign { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public int TextLength { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.LocalizableAttribute(true)] - public bool WordWrap { get { throw null; } set { } } - public event System.EventHandler AcceptsTabChanged { add { } remove { } } - public event System.EventHandler BorderStyleChanged { add { } remove { } } - public event System.EventHandler HideSelectionChanged { add { } remove { } } - public event System.EventHandler ModifiedChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public event System.EventHandler MultilineChanged { add { } remove { } } - public event System.EventHandler ReadOnlyChanged { add { } remove { } } - public event System.EventHandler TextBoxTextAlignChanged { add { } remove { } } - public void AppendText(string text) { } - public void Clear() { } - public void ClearUndo() { } - public void Copy() { } - public void Cut() { } - public void DeselectAll() { } - public char GetCharFromPosition(System.Drawing.Point pt) { throw null; } - public int GetCharIndexFromPosition(System.Drawing.Point pt) { throw null; } - public int GetFirstCharIndexFromLine(int lineNumber) { throw null; } - public int GetFirstCharIndexOfCurrentLine() { throw null; } - public int GetLineFromCharIndex(int index) { throw null; } - public System.Drawing.Point GetPositionFromCharIndex(int index) { throw null; } - public override System.Drawing.Size GetPreferredSize(System.Drawing.Size constrainingSize) { throw null; } - protected virtual void OnAcceptsTabChanged(System.EventArgs e) { } - protected virtual void OnBorderStyleChanged(System.EventArgs e) { } - protected virtual void OnHideSelectionChanged(System.EventArgs e) { } - protected virtual void OnModifiedChanged(System.EventArgs e) { } - protected virtual void OnMultilineChanged(System.EventArgs e) { } - protected virtual void OnReadOnlyChanged(System.EventArgs e) { } - protected override void OnSubscribeControlEvents(System.Windows.Forms.Control control) { } - protected override void OnUnsubscribeControlEvents(System.Windows.Forms.Control control) { } - public void Paste() { } - public void ScrollToCaret() { } - public void Select(int start, int length) { } - public void SelectAll() { } - public void Undo() { } - } - public enum ToolStripTextDirection - { - Horizontal = 1, - Inherit = 0, - Vertical270 = 3, - Vertical90 = 2, - } - [System.ComponentModel.DefaultEventAttribute("Popup")] - [System.ComponentModel.ProvidePropertyAttribute("ToolTip", typeof(System.Windows.Forms.Control))] - [System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms")] - public partial class ToolTip : System.ComponentModel.Component, System.ComponentModel.IExtenderProvider - { - public ToolTip() { } - public ToolTip(System.ComponentModel.IContainer cont) { } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool Active { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(500)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int AutomaticDelay { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int AutoPopDelay { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "Info")] - public System.Drawing.Color BackColor { get { throw null; } set { } } - protected virtual System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "InfoText")] - public System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int InitialDelay { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool IsBalloon { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool OwnerDraw { get { throw null; } set { } } - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int ReshowDelay { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowAlways { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool StripAmpersands { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.ToolTipIcon.None)] - public System.Windows.Forms.ToolTipIcon ToolTipIcon { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - public string ToolTipTitle { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool UseAnimation { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool UseFading { get { throw null; } set { } } - public event System.Windows.Forms.DrawToolTipEventHandler Draw { add { } remove { } } - public event System.Windows.Forms.PopupEventHandler Popup { add { } remove { } } - public bool CanExtend(object target) { throw null; } - protected override void Dispose(bool disposing) { } - ~ToolTip() { } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - public string GetToolTip(System.Windows.Forms.Control control) { throw null; } - public void Hide(System.Windows.Forms.IWin32Window win) { } - public void RemoveAll() { } - public void SetToolTip(System.Windows.Forms.Control control, string caption) { } - public void Show(string text, System.Windows.Forms.IWin32Window window) { } - public void Show(string text, System.Windows.Forms.IWin32Window window, System.Drawing.Point point) { } - public void Show(string text, System.Windows.Forms.IWin32Window window, System.Drawing.Point point, int duration) { } - public void Show(string text, System.Windows.Forms.IWin32Window window, int duration) { } - public void Show(string text, System.Windows.Forms.IWin32Window window, int x, int y) { } - public void Show(string text, System.Windows.Forms.IWin32Window window, int x, int y, int duration) { } - protected void StopTimer() { } - public override string ToString() { throw null; } - } - public enum ToolTipIcon - { - Error = 3, - Info = 1, - None = 0, - Warning = 2, - } - [System.ComponentModel.DefaultBindingPropertyAttribute("Value")] - [System.ComponentModel.DefaultEventAttribute("Scroll")] - [System.ComponentModel.DefaultPropertyAttribute("Value")] - public partial class TrackBar : System.Windows.Forms.Control, System.ComponentModel.ISupportInitialize - { - public TrackBar() { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Windows.Forms.ImeMode DefaultImeMode { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override bool DoubleBuffered { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(5)] - public int LargeChange { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(10)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int Maximum { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(0)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] - public int Minimum { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.Orientation.Horizontal)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.Orientation Orientation { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool RightToLeftLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(1)] - public int SmallChange { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(1)] - public int TickFrequency { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.TickStyle.BottomRight)] - public System.Windows.Forms.TickStyle TickStyle { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int Value { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Click { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler FontChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseDoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.EventHandler RightToLeftLayoutChanged { add { } remove { } } - public event System.EventHandler Scroll { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - public event System.EventHandler ValueChanged { add { } remove { } } - public void BeginInit() { } - protected override void CreateHandle() { } - public void EndInit() { } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected override void OnBackColorChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnMouseWheel(System.Windows.Forms.MouseEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnRightToLeftLayoutChanged(System.EventArgs e) { } - protected virtual void OnScroll(System.EventArgs e) { } - protected override void OnSystemColorsChanged(System.EventArgs e) { } - protected virtual void OnValueChanged(System.EventArgs e) { } - protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified) { } - public void SetRange(int minValue, int maxValue) { } - public override string ToString() { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public sealed partial class TrackBarRenderer - { - internal TrackBarRenderer() { } - public static bool IsSupported { get { throw null; } } - public static void DrawBottomPointingThumb(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.TrackBarThumbState state) { } - public static void DrawHorizontalThumb(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.TrackBarThumbState state) { } - public static void DrawHorizontalTicks(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, int numTicks, System.Windows.Forms.VisualStyles.EdgeStyle edgeStyle) { } - public static void DrawHorizontalTrack(System.Drawing.Graphics g, System.Drawing.Rectangle bounds) { } - public static void DrawLeftPointingThumb(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.TrackBarThumbState state) { } - public static void DrawRightPointingThumb(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.TrackBarThumbState state) { } - public static void DrawTopPointingThumb(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.TrackBarThumbState state) { } - public static void DrawVerticalThumb(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.TrackBarThumbState state) { } - public static void DrawVerticalTicks(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, int numTicks, System.Windows.Forms.VisualStyles.EdgeStyle edgeStyle) { } - public static void DrawVerticalTrack(System.Drawing.Graphics g, System.Drawing.Rectangle bounds) { } - public static System.Drawing.Size GetBottomPointingThumbSize(System.Drawing.Graphics g, System.Windows.Forms.VisualStyles.TrackBarThumbState state) { throw null; } - public static System.Drawing.Size GetLeftPointingThumbSize(System.Drawing.Graphics g, System.Windows.Forms.VisualStyles.TrackBarThumbState state) { throw null; } - public static System.Drawing.Size GetRightPointingThumbSize(System.Drawing.Graphics g, System.Windows.Forms.VisualStyles.TrackBarThumbState state) { throw null; } - public static System.Drawing.Size GetTopPointingThumbSize(System.Drawing.Graphics g, System.Windows.Forms.VisualStyles.TrackBarThumbState state) { throw null; } - } - [System.ComponentModel.DefaultPropertyAttribute("Text")] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.TreeNodeConverter))] - public partial class TreeNode : System.MarshalByRefObject, System.ICloneable, System.Runtime.Serialization.ISerializable - { - public TreeNode() { } - protected TreeNode(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext context) { } - public TreeNode(string text) { } - public TreeNode(string text, int imageIndex, int selectedImageIndex) { } - public TreeNode(string text, int imageIndex, int selectedImageIndex, System.Windows.Forms.TreeNode[] children) { } - public TreeNode(string text, System.Windows.Forms.TreeNode[] children) { } - public System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Drawing.Rectangle Bounds { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool Checked { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public virtual System.Windows.Forms.ContextMenu ContextMenu { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public virtual System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.TreeNode FirstNode { get { throw null; } } - public System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public string FullPath { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.IntPtr Handle { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.TreeViewImageIndexConverter))] - [System.Windows.Forms.RelatedImageListAttribute("TreeView.ImageList")] - public int ImageIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.TreeViewImageKeyConverter))] - [System.Windows.Forms.RelatedImageListAttribute("TreeView.ImageList")] - public string ImageKey { get { throw null; } set { } } - public int Index { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsEditing { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsExpanded { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsSelected { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public bool IsVisible { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.TreeNode LastNode { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public int Level { get { throw null; } } - public string Name { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.TreeNode NextNode { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.TreeNode NextVisibleNode { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Drawing.Font NodeFont { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.ListBindableAttribute(false)] - public System.Windows.Forms.TreeNodeCollection Nodes { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.TreeNode Parent { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.TreeNode PrevNode { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.TreeNode PrevVisibleNode { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.TreeViewImageIndexConverter))] - [System.Windows.Forms.RelatedImageListAttribute("TreeView.ImageList")] - public int SelectedImageIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.TreeViewImageKeyConverter))] - [System.Windows.Forms.RelatedImageListAttribute("TreeView.ImageList")] - public string SelectedImageKey { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.Windows.Forms.RelatedImageListAttribute("TreeView.StateImageList")] - public int StateImageIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageKeyConverter))] - [System.Windows.Forms.RelatedImageListAttribute("TreeView.StateImageList")] - public string StateImageKey { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.LocalizableAttribute(false)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.StringConverter))] - public object Tag { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(false)] - public string ToolTipText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public System.Windows.Forms.TreeView TreeView { get { throw null; } } - public void BeginEdit() { } - public virtual object Clone() { throw null; } - public void Collapse() { } - public void Collapse(bool ignoreChildren) { } - protected virtual void Deserialize(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext context) { } - public void EndEdit(bool cancel) { } - public void EnsureVisible() { } - public void Expand() { } - public void ExpandAll() { } - public static System.Windows.Forms.TreeNode FromHandle(System.Windows.Forms.TreeView tree, System.IntPtr handle) { throw null; } - public int GetNodeCount(bool includeSubTrees) { throw null; } - public void Remove() { } - protected virtual void Serialize(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } - void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } - public void Toggle() { } - public override string ToString() { throw null; } - } - public partial class TreeNodeCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - internal TreeNodeCollection() { } - [System.ComponentModel.BrowsableAttribute(false)] - public int Count { get { throw null; } } - public bool IsReadOnly { get { throw null; } } - public virtual System.Windows.Forms.TreeNode this[int index] { get { throw null; } set { } } - public virtual System.Windows.Forms.TreeNode this[string key] { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public virtual System.Windows.Forms.TreeNode Add(string text) { throw null; } - public virtual System.Windows.Forms.TreeNode Add(string key, string text) { throw null; } - public virtual System.Windows.Forms.TreeNode Add(string key, string text, int imageIndex) { throw null; } - public virtual System.Windows.Forms.TreeNode Add(string key, string text, int imageIndex, int selectedImageIndex) { throw null; } - public virtual System.Windows.Forms.TreeNode Add(string key, string text, string imageKey) { throw null; } - public virtual System.Windows.Forms.TreeNode Add(string key, string text, string imageKey, string selectedImageKey) { throw null; } - public virtual int Add(System.Windows.Forms.TreeNode node) { throw null; } - public virtual void AddRange(System.Windows.Forms.TreeNode[] nodes) { } - public virtual void Clear() { } - public bool Contains(System.Windows.Forms.TreeNode node) { throw null; } - public virtual bool ContainsKey(string key) { throw null; } - public void CopyTo(System.Array dest, int index) { } - public System.Windows.Forms.TreeNode[] Find(string key, bool searchAllChildren) { throw null; } - public System.Collections.IEnumerator GetEnumerator() { throw null; } - public int IndexOf(System.Windows.Forms.TreeNode node) { throw null; } - public virtual int IndexOfKey(string key) { throw null; } - public virtual System.Windows.Forms.TreeNode Insert(int index, string text) { throw null; } - public virtual System.Windows.Forms.TreeNode Insert(int index, string key, string text) { throw null; } - public virtual System.Windows.Forms.TreeNode Insert(int index, string key, string text, int imageIndex) { throw null; } - public virtual System.Windows.Forms.TreeNode Insert(int index, string key, string text, int imageIndex, int selectedImageIndex) { throw null; } - public virtual System.Windows.Forms.TreeNode Insert(int index, string key, string text, string imageKey) { throw null; } - public virtual System.Windows.Forms.TreeNode Insert(int index, string key, string text, string imageKey, string selectedImageKey) { throw null; } - public virtual void Insert(int index, System.Windows.Forms.TreeNode node) { } - public void Remove(System.Windows.Forms.TreeNode node) { } - public virtual void RemoveAt(int index) { } - public virtual void RemoveByKey(string key) { } - int System.Collections.IList.Add(object node) { throw null; } - bool System.Collections.IList.Contains(object node) { throw null; } - int System.Collections.IList.IndexOf(object node) { throw null; } - void System.Collections.IList.Insert(int index, object node) { } - void System.Collections.IList.Remove(object node) { } - } - public partial class TreeNodeConverter : System.ComponentModel.TypeConverter - { - public TreeNodeConverter() { } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - } - public partial class TreeNodeMouseClickEventArgs : System.Windows.Forms.MouseEventArgs - { - public TreeNodeMouseClickEventArgs(System.Windows.Forms.TreeNode node, System.Windows.Forms.MouseButtons button, int clicks, int x, int y) : base (default(System.Windows.Forms.MouseButtons), default(int), default(int), default(int), default(int)) { } - public System.Windows.Forms.TreeNode Node { get { throw null; } } - } - public delegate void TreeNodeMouseClickEventHandler(object sender, System.Windows.Forms.TreeNodeMouseClickEventArgs e); - public partial class TreeNodeMouseHoverEventArgs : System.EventArgs - { - public TreeNodeMouseHoverEventArgs(System.Windows.Forms.TreeNode node) { } - public System.Windows.Forms.TreeNode Node { get { throw null; } } - } - public delegate void TreeNodeMouseHoverEventHandler(object sender, System.Windows.Forms.TreeNodeMouseHoverEventArgs e); - [System.FlagsAttribute] - public enum TreeNodeStates - { - Checked = 8, - Default = 32, - Focused = 16, - Grayed = 2, - Hot = 64, - Indeterminate = 256, - Marked = 128, - Selected = 1, - ShowKeyboardCues = 512, - } - [System.ComponentModel.DefaultEventAttribute("AfterSelect")] - [System.ComponentModel.DefaultPropertyAttribute("Nodes")] - [System.Windows.Forms.DockingAttribute(System.Windows.Forms.DockingBehavior.Ask)] - public partial class TreeView : System.Windows.Forms.Control - { - public TreeView() { } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.Fixed3D)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool CheckBoxes { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - protected override bool DoubleBuffered { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.TreeViewDrawMode.Normal)] - public System.Windows.Forms.TreeViewDrawMode DrawMode { get { throw null; } set { } } - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool FullRowSelect { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool HideSelection { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool HotTracking { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.Windows.Forms.RelatedImageListAttribute("ImageList")] - public int ImageIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageKeyConverter))] - [System.Windows.Forms.RelatedImageListAttribute("ImageList")] - public string ImageKey { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - public System.Windows.Forms.ImageList ImageList { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public int Indent { get { throw null; } set { } } - public int ItemHeight { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool LabelEdit { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(typeof(System.Drawing.Color), "Black")] - public System.Drawing.Color LineColor { get { throw null; } set { } } - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.MergablePropertyAttribute(false)] - public System.Windows.Forms.TreeNodeCollection Nodes { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("\\")] - public string PathSeparator { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.LocalizableAttribute(true)] - public virtual bool RightToLeftLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool Scrollable { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(-1)] - [System.ComponentModel.LocalizableAttribute(true)] - [System.Windows.Forms.RelatedImageListAttribute("ImageList")] - public int SelectedImageIndex { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute("")] - [System.ComponentModel.LocalizableAttribute(true)] - [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.Repaint)] - [System.ComponentModel.TypeConverterAttribute(typeof(System.Windows.Forms.ImageKeyConverter))] - [System.Windows.Forms.RelatedImageListAttribute("ImageList")] - public string SelectedImageKey { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.TreeNode SelectedNode { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowLines { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ShowNodeToolTips { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowPlusMinus { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ShowRootLines { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DefaultValueAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public bool Sorted { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Windows.Forms.ImageList StateImageList { get { throw null; } set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.TreeNode TopNode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Collections.IComparer TreeViewNodeSorter { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public int VisibleCount { get { throw null; } } - public event System.Windows.Forms.TreeViewEventHandler AfterCheck { add { } remove { } } - public event System.Windows.Forms.TreeViewEventHandler AfterCollapse { add { } remove { } } - public event System.Windows.Forms.TreeViewEventHandler AfterExpand { add { } remove { } } - public event System.Windows.Forms.NodeLabelEditEventHandler AfterLabelEdit { add { } remove { } } - public event System.Windows.Forms.TreeViewEventHandler AfterSelect { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - public event System.Windows.Forms.TreeViewCancelEventHandler BeforeCheck { add { } remove { } } - public event System.Windows.Forms.TreeViewCancelEventHandler BeforeCollapse { add { } remove { } } - public event System.Windows.Forms.TreeViewCancelEventHandler BeforeExpand { add { } remove { } } - public event System.Windows.Forms.NodeLabelEditEventHandler BeforeLabelEdit { add { } remove { } } - public event System.Windows.Forms.TreeViewCancelEventHandler BeforeSelect { add { } remove { } } - public event System.Windows.Forms.DrawTreeNodeEventHandler DrawNode { add { } remove { } } - public event System.Windows.Forms.ItemDragEventHandler ItemDrag { add { } remove { } } - public event System.Windows.Forms.TreeNodeMouseClickEventHandler NodeMouseClick { add { } remove { } } - public event System.Windows.Forms.TreeNodeMouseClickEventHandler NodeMouseDoubleClick { add { } remove { } } - public event System.Windows.Forms.TreeNodeMouseHoverEventHandler NodeMouseHover { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - public event System.EventHandler RightToLeftLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - public void BeginUpdate() { } - public void CollapseAll() { } - protected override void CreateHandle() { } - protected override void Dispose(bool disposing) { } - public void EndUpdate() { } - public void ExpandAll() { } - protected System.Windows.Forms.OwnerDrawPropertyBag GetItemRenderStyles(System.Windows.Forms.TreeNode node, int state) { throw null; } - public System.Windows.Forms.TreeNode GetNodeAt(System.Drawing.Point pt) { throw null; } - public System.Windows.Forms.TreeNode GetNodeAt(int x, int y) { throw null; } - public int GetNodeCount(bool includeSubTrees) { throw null; } - public System.Windows.Forms.TreeViewHitTestInfo HitTest(System.Drawing.Point pt) { throw null; } - public System.Windows.Forms.TreeViewHitTestInfo HitTest(int x, int y) { throw null; } - protected override bool IsInputKey(System.Windows.Forms.Keys keyData) { throw null; } - protected virtual void OnAfterCheck(System.Windows.Forms.TreeViewEventArgs e) { } - protected internal virtual void OnAfterCollapse(System.Windows.Forms.TreeViewEventArgs e) { } - protected virtual void OnAfterExpand(System.Windows.Forms.TreeViewEventArgs e) { } - protected virtual void OnAfterLabelEdit(System.Windows.Forms.NodeLabelEditEventArgs e) { } - protected virtual void OnAfterSelect(System.Windows.Forms.TreeViewEventArgs e) { } - protected virtual void OnBeforeCheck(System.Windows.Forms.TreeViewCancelEventArgs e) { } - protected internal virtual void OnBeforeCollapse(System.Windows.Forms.TreeViewCancelEventArgs e) { } - protected virtual void OnBeforeExpand(System.Windows.Forms.TreeViewCancelEventArgs e) { } - protected virtual void OnBeforeLabelEdit(System.Windows.Forms.NodeLabelEditEventArgs e) { } - protected virtual void OnBeforeSelect(System.Windows.Forms.TreeViewCancelEventArgs e) { } - protected virtual void OnDrawNode(System.Windows.Forms.DrawTreeNodeEventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected virtual void OnItemDrag(System.Windows.Forms.ItemDragEventArgs e) { } - protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e) { } - protected override void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e) { } - protected override void OnKeyUp(System.Windows.Forms.KeyEventArgs e) { } - protected override void OnMouseHover(System.EventArgs e) { } - protected override void OnMouseLeave(System.EventArgs e) { } - protected virtual void OnNodeMouseClick(System.Windows.Forms.TreeNodeMouseClickEventArgs e) { } - protected virtual void OnNodeMouseDoubleClick(System.Windows.Forms.TreeNodeMouseClickEventArgs e) { } - protected virtual void OnNodeMouseHover(System.Windows.Forms.TreeNodeMouseHoverEventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnRightToLeftLayoutChanged(System.EventArgs e) { } - public void Sort() { } - public override string ToString() { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public enum TreeViewAction - { - ByKeyboard = 1, - ByMouse = 2, - Collapse = 3, - Expand = 4, - Unknown = 0, - } - public partial class TreeViewCancelEventArgs : System.ComponentModel.CancelEventArgs - { - public TreeViewCancelEventArgs(System.Windows.Forms.TreeNode node, bool cancel, System.Windows.Forms.TreeViewAction action) { } - public System.Windows.Forms.TreeViewAction Action { get { throw null; } } - public System.Windows.Forms.TreeNode Node { get { throw null; } } - } - public delegate void TreeViewCancelEventHandler(object sender, System.Windows.Forms.TreeViewCancelEventArgs e); - public enum TreeViewDrawMode - { - Normal = 0, - OwnerDrawAll = 2, - OwnerDrawText = 1, - } - public partial class TreeViewEventArgs : System.EventArgs - { - public TreeViewEventArgs(System.Windows.Forms.TreeNode node) { } - public TreeViewEventArgs(System.Windows.Forms.TreeNode node, System.Windows.Forms.TreeViewAction action) { } - public System.Windows.Forms.TreeViewAction Action { get { throw null; } } - public System.Windows.Forms.TreeNode Node { get { throw null; } } - } - public delegate void TreeViewEventHandler(object sender, System.Windows.Forms.TreeViewEventArgs e); - public partial class TreeViewHitTestInfo - { - public TreeViewHitTestInfo(System.Windows.Forms.TreeNode hitNode, System.Windows.Forms.TreeViewHitTestLocations hitLocation) { } - public System.Windows.Forms.TreeViewHitTestLocations Location { get { throw null; } } - public System.Windows.Forms.TreeNode Node { get { throw null; } } - } - [System.FlagsAttribute] - public enum TreeViewHitTestLocations - { - AboveClientArea = 256, - BelowClientArea = 512, - Image = 2, - Indent = 8, - Label = 4, - LeftOfClientArea = 2048, - None = 1, - PlusMinus = 16, - RightOfClientArea = 1024, - RightOfLabel = 32, - StateImage = 64, - } - public partial class TreeViewImageIndexConverter : System.Windows.Forms.ImageIndexConverter - { - public TreeViewImageIndexConverter() { } - protected override bool IncludeNoneAsStandardValue { get { throw null; } } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - } - public partial class TreeViewImageKeyConverter : System.Windows.Forms.ImageKeyConverter - { - public TreeViewImageKeyConverter() { } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - } - public partial class TypeValidationEventArgs : System.EventArgs - { - public TypeValidationEventArgs(System.Type validatingType, bool isValidInput, object returnValue, string message) { } - public bool Cancel { get { throw null; } set { } } - public bool IsValidInput { get { throw null; } } - public string Message { get { throw null; } } - public object ReturnValue { get { throw null; } } - public System.Type ValidatingType { get { throw null; } } - } - public delegate void TypeValidationEventHandler(object sender, System.Windows.Forms.TypeValidationEventArgs e); - [System.FlagsAttribute] - public enum UICues - { - Changed = 12, - ChangeFocus = 4, - ChangeKeyboard = 8, - None = 0, - ShowFocus = 1, - ShowKeyboard = 2, - Shown = 3, - } - public partial class UICuesEventArgs : System.EventArgs - { - public UICuesEventArgs(System.Windows.Forms.UICues uicues) { } - public System.Windows.Forms.UICues Changed { get { throw null; } } - public bool ChangeFocus { get { throw null; } } - public bool ChangeKeyboard { get { throw null; } } - public bool ShowFocus { get { throw null; } } - public bool ShowKeyboard { get { throw null; } } - } - public delegate void UICuesEventHandler(object sender, System.Windows.Forms.UICuesEventArgs e); - public enum UnhandledExceptionMode - { - Automatic = 0, - CatchException = 2, - ThrowException = 1, - } - public abstract partial class UpDownBase : System.Windows.Forms.ContainerControl - { - public UpDownBase() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoScroll { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMargin { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Drawing.Size AutoScrollMinSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override bool AutoSize { get { throw null; } set { } } - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.Fixed3D)] - [System.Runtime.InteropServices.DispIdAttribute(-504)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - protected bool ChangingText { get { throw null; } set { } } - public override System.Windows.Forms.ContextMenu ContextMenu { get { throw null; } set { } } - public override System.Windows.Forms.ContextMenuStrip ContextMenuStrip { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ScrollableControl.DockPaddingEdges DockPadding { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public override bool Focused { get { throw null; } } - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool InterceptArrowKeys { get { throw null; } set { } } - public override System.Drawing.Size MaximumSize { get { throw null; } set { } } - public override System.Drawing.Size MinimumSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public int PreferredHeight { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ReadOnly { get { throw null; } set { } } - [System.ComponentModel.LocalizableAttribute(true)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.HorizontalAlignment.Left)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.HorizontalAlignment TextAlign { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.LeftRightAlignment.Right)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.LeftRightAlignment UpDownAlign { get { throw null; } set { } } - protected bool UserEdit { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MouseEnter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MouseHover { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MouseLeave { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseMove { add { } remove { } } - public abstract void DownButton(); - protected virtual void OnChanged(object source, System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnHandleDestroyed(System.EventArgs e) { } - protected override void OnLayout(System.Windows.Forms.LayoutEventArgs e) { } - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnMouseUp(System.Windows.Forms.MouseEventArgs mevent) { } - protected override void OnMouseWheel(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { } - protected virtual void OnTextBoxKeyDown(object source, System.Windows.Forms.KeyEventArgs e) { } - protected virtual void OnTextBoxKeyPress(object source, System.Windows.Forms.KeyPressEventArgs e) { } - protected virtual void OnTextBoxLostFocus(object source, System.EventArgs e) { } - protected virtual void OnTextBoxResize(object source, System.EventArgs e) { } - protected virtual void OnTextBoxTextChanged(object source, System.EventArgs e) { } - protected override void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew) { } - public void Select(int start, int length) { } - public abstract void UpButton(); - protected abstract void UpdateEditText(); - protected virtual void ValidateEditText() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public partial class UpDownEventArgs : System.EventArgs - { - public UpDownEventArgs(int buttonPushed) { } - public int ButtonID { get { throw null; } } - } - public delegate void UpDownEventHandler(object source, System.Windows.Forms.UpDownEventArgs e); - [System.ComponentModel.DefaultEventAttribute("Load")] - [System.ComponentModel.DesignerCategoryAttribute("UserControl")] - public partial class UserControl : System.Windows.Forms.ContainerControl - { - public UserControl() { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.AutoSizeMode.GrowOnly)] - [System.ComponentModel.LocalizableAttribute(true)] - public System.Windows.Forms.AutoSizeMode AutoSizeMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override System.Windows.Forms.AutoValidate AutoValidate { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(System.Windows.Forms.BorderStyle.None)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public System.Windows.Forms.BorderStyle BorderStyle { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public new event System.EventHandler AutoValidateChanged { add { } remove { } } - public event System.EventHandler Load { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnCreateControl() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected virtual void OnLoad(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { } - protected override void OnResize(System.EventArgs e) { } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override bool ValidateChildren() { throw null; } - [System.ComponentModel.BrowsableAttribute(true)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Always)] - public override bool ValidateChildren(System.Windows.Forms.ValidationConstraints validationConstraints) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - [System.FlagsAttribute] - public enum ValidationConstraints - { - Enabled = 2, - ImmediateChildren = 16, - None = 0, - Selectable = 1, - TabStop = 8, - Visible = 4, - } - public enum View - { - Details = 1, - LargeIcon = 0, - List = 3, - SmallIcon = 2, - Tile = 4, - } - public partial class VScrollBar : System.Windows.Forms.ScrollBar - { - public VScrollBar() { } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler RightToLeftChanged { add { } remove { } } - } - public partial class VScrollProperties : System.Windows.Forms.ScrollProperties - { - public VScrollProperties(System.Windows.Forms.ScrollableControl container) : base (default(System.Windows.Forms.ScrollableControl)) { } - } - [System.ComponentModel.DefaultEventAttribute("DocumentCompleted")] - [System.ComponentModel.DefaultPropertyAttribute("Url")] - [System.Windows.Forms.DockingAttribute(System.Windows.Forms.DockingBehavior.AutoDock)] - public partial class WebBrowser : System.Windows.Forms.WebBrowserBase - { - public WebBrowser() { } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowNavigation { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool AllowWebBrowserDrop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool CanGoBack { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool CanGoForward { get { throw null; } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.HtmlDocument Document { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.IO.Stream DocumentStream { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string DocumentText { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string DocumentTitle { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public string DocumentType { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.WebBrowserEncryptionLevel EncryptionLevel { get { throw null; } } - public override bool Focused { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool IsBusy { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public bool IsOffline { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool IsWebBrowserContextMenuEnabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public object ObjectForScripting { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.Padding Padding { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Windows.Forms.WebBrowserReadyState ReadyState { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ScriptErrorsSuppressed { get { throw null; } set { } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ScrollBarsEnabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public virtual string StatusText { get { throw null; } } - [System.ComponentModel.BindableAttribute(true)] - [System.ComponentModel.DefaultValueAttribute(null)] - public System.Uri Url { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public System.Version Version { get { throw null; } } - [System.ComponentModel.DefaultValueAttribute(true)] - public bool WebBrowserShortcutsEnabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - public event System.EventHandler CanGoBackChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public event System.EventHandler CanGoForwardChanged { add { } remove { } } - public event System.Windows.Forms.WebBrowserDocumentCompletedEventHandler DocumentCompleted { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public event System.EventHandler DocumentTitleChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public event System.EventHandler EncryptionLevelChanged { add { } remove { } } - public event System.EventHandler FileDownload { add { } remove { } } - public event System.Windows.Forms.WebBrowserNavigatedEventHandler Navigated { add { } remove { } } - public event System.Windows.Forms.WebBrowserNavigatingEventHandler Navigating { add { } remove { } } - public event System.ComponentModel.CancelEventHandler NewWindow { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler PaddingChanged { add { } remove { } } - public event System.Windows.Forms.WebBrowserProgressChangedEventHandler ProgressChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - public event System.EventHandler StatusTextChanged { add { } remove { } } - protected override void AttachInterfaces(object nativeActiveXObject) { } - protected override void CreateSink() { } - protected override System.Windows.Forms.WebBrowserSiteBase CreateWebBrowserSiteBase() { throw null; } - protected override void DetachInterfaces() { } - protected override void DetachSink() { } - protected override void Dispose(bool disposing) { } - public bool GoBack() { throw null; } - public bool GoForward() { throw null; } - public void GoHome() { } - public void GoSearch() { } - public void Navigate(string urlString) { } - public void Navigate(string urlString, bool newWindow) { } - public void Navigate(string urlString, string targetFrameName) { } - public void Navigate(string urlString, string targetFrameName, byte[] postData, string additionalHeaders) { } - public void Navigate(System.Uri url) { } - public void Navigate(System.Uri url, bool newWindow) { } - public void Navigate(System.Uri url, string targetFrameName) { } - public void Navigate(System.Uri url, string targetFrameName, byte[] postData, string additionalHeaders) { } - protected virtual void OnCanGoBackChanged(System.EventArgs e) { } - protected virtual void OnCanGoForwardChanged(System.EventArgs e) { } - protected virtual void OnDocumentCompleted(System.Windows.Forms.WebBrowserDocumentCompletedEventArgs e) { } - protected virtual void OnDocumentTitleChanged(System.EventArgs e) { } - protected virtual void OnEncryptionLevelChanged(System.EventArgs e) { } - protected virtual void OnFileDownload(System.EventArgs e) { } - protected virtual void OnNavigated(System.Windows.Forms.WebBrowserNavigatedEventArgs e) { } - protected virtual void OnNavigating(System.Windows.Forms.WebBrowserNavigatingEventArgs e) { } - protected virtual void OnNewWindow(System.ComponentModel.CancelEventArgs e) { } - protected virtual void OnProgressChanged(System.Windows.Forms.WebBrowserProgressChangedEventArgs e) { } - protected virtual void OnStatusTextChanged(System.EventArgs e) { } - public void Print() { } - public override void Refresh() { } - public void Refresh(System.Windows.Forms.WebBrowserRefreshOption opt) { } - public void ShowPageSetupDialog() { } - public void ShowPrintDialog() { } - public void ShowPrintPreviewDialog() { } - public void ShowPropertiesDialog() { } - public void ShowSaveAsDialog() { } - public void Stop() { } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - protected partial class WebBrowserSite : System.Windows.Forms.WebBrowserSiteBase - { - public WebBrowserSite(System.Windows.Forms.WebBrowser host) { } - } - } - [System.ComponentModel.DefaultEventAttribute("Enter")] - [System.ComponentModel.DefaultPropertyAttribute("Name")] - public partial class WebBrowserBase : System.Windows.Forms.Control - { - internal WebBrowserBase() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - public object ActiveXInstance { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AllowDrop { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color BackColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Image BackgroundImage { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.ImageLayout BackgroundImageLayout { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Windows.Forms.Cursor Cursor { get { throw null; } set { } } - protected override System.Drawing.Size DefaultSize { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool Enabled { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Font Font { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override System.Drawing.Color ForeColor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new System.Windows.Forms.ImeMode ImeMode { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ComponentModel.LocalizableAttribute(false)] - public override System.Windows.Forms.RightToLeft RightToLeft { get { throw null; } set { } } - public override System.ComponentModel.ISite Site { set { } } - [System.ComponentModel.BindableAttribute(false)] - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override string Text { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new bool UseWaitCursor { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BackgroundImageLayoutChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler BindingContextChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.UICuesEventHandler ChangeUICues { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Click { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler CursorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.DragEventHandler DragDrop { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.DragEventHandler DragEnter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler DragLeave { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.DragEventHandler DragOver { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler EnabledChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Enter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler FontChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ForeColorChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.GiveFeedbackEventHandler GiveFeedback { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.HelpEventHandler HelpRequested { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler ImeModeChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyPressEventHandler KeyPress { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.KeyEventHandler KeyUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.LayoutEventHandler Layout { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler Leave { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MouseCaptureChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseDoubleClick { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseDown { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MouseEnter { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MouseHover { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler MouseLeave { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseMove { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseUp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.MouseEventHandler MouseWheel { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.PaintEventHandler Paint { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.QueryAccessibilityHelpEventHandler QueryAccessibilityHelp { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.Windows.Forms.QueryContinueDragEventHandler QueryContinueDrag { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler RightToLeftChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler StyleChanged { add { } remove { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler TextChanged { add { } remove { } } - protected virtual void AttachInterfaces(object nativeActiveXObject) { } - protected virtual void CreateSink() { } - protected virtual System.Windows.Forms.WebBrowserSiteBase CreateWebBrowserSiteBase() { throw null; } - protected virtual void DetachInterfaces() { } - protected virtual void DetachSink() { } - protected override void Dispose(bool disposing) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new void DrawToBitmap(System.Drawing.Bitmap bitmap, System.Drawing.Rectangle targetBounds) { } - protected override bool IsInputChar(char charCode) { throw null; } - protected override void OnBackColorChanged(System.EventArgs e) { } - protected override void OnFontChanged(System.EventArgs e) { } - protected override void OnForeColorChanged(System.EventArgs e) { } - protected override void OnGotFocus(System.EventArgs e) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - protected override void OnHandleCreated(System.EventArgs e) { } - protected override void OnLostFocus(System.EventArgs e) { } - protected override void OnParentChanged(System.EventArgs e) { } - protected override void OnRightToLeftChanged(System.EventArgs e) { } - protected override void OnVisibleChanged(System.EventArgs e) { } - public override bool PreProcessMessage(ref System.Windows.Forms.Message msg) { throw null; } - protected override bool ProcessDialogKey(System.Windows.Forms.Keys keyData) { throw null; } - protected internal override bool ProcessMnemonic(char charCode) { throw null; } - protected override void WndProc(ref System.Windows.Forms.Message m) { } - } - public partial class WebBrowserDocumentCompletedEventArgs : System.EventArgs - { - public WebBrowserDocumentCompletedEventArgs(System.Uri url) { } - public System.Uri Url { get { throw null; } } - } - public delegate void WebBrowserDocumentCompletedEventHandler(object sender, System.Windows.Forms.WebBrowserDocumentCompletedEventArgs e); - public enum WebBrowserEncryptionLevel - { - Bit128 = 6, - Bit40 = 3, - Bit56 = 4, - Fortezza = 5, - Insecure = 0, - Mixed = 1, - Unknown = 2, - } - public partial class WebBrowserNavigatedEventArgs : System.EventArgs - { - public WebBrowserNavigatedEventArgs(System.Uri url) { } - public System.Uri Url { get { throw null; } } - } - public delegate void WebBrowserNavigatedEventHandler(object sender, System.Windows.Forms.WebBrowserNavigatedEventArgs e); - public partial class WebBrowserNavigatingEventArgs : System.ComponentModel.CancelEventArgs - { - public WebBrowserNavigatingEventArgs(System.Uri url, string targetFrameName) { } - public string TargetFrameName { get { throw null; } } - public System.Uri Url { get { throw null; } } - } - public delegate void WebBrowserNavigatingEventHandler(object sender, System.Windows.Forms.WebBrowserNavigatingEventArgs e); - public partial class WebBrowserProgressChangedEventArgs : System.EventArgs - { - public WebBrowserProgressChangedEventArgs(long currentProgress, long maximumProgress) { } - public long CurrentProgress { get { throw null; } } - public long MaximumProgress { get { throw null; } } - } - public delegate void WebBrowserProgressChangedEventHandler(object sender, System.Windows.Forms.WebBrowserProgressChangedEventArgs e); - public enum WebBrowserReadyState - { - Complete = 4, - Interactive = 3, - Loaded = 2, - Loading = 1, - Uninitialized = 0, - } - public enum WebBrowserRefreshOption - { - Completely = 3, - Continue = 2, - IfExpired = 1, - Normal = 0, - } - public partial class WebBrowserSiteBase : System.IDisposable - { - internal WebBrowserSiteBase() { } - public void Dispose() { } - protected virtual void Dispose(bool disposing) { } - } - public sealed partial class WindowsFormsSection : System.Configuration.ConfigurationSection - { - public WindowsFormsSection() { } - public bool JitDebugging { get { throw null; } set { } } - protected override System.Configuration.ConfigurationPropertyCollection Properties { get { throw null; } } - } - public sealed partial class WindowsFormsSynchronizationContext : System.Threading.SynchronizationContext, System.IDisposable - { - public WindowsFormsSynchronizationContext() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static bool AutoInstall { get { throw null; } set { } } - public override System.Threading.SynchronizationContext CreateCopy() { throw null; } - public void Dispose() { } - public override void Post(System.Threading.SendOrPostCallback d, object state) { } - public override void Send(System.Threading.SendOrPostCallback d, object state) { } - public static void Uninstall() { } - } -} -namespace System.Windows.Forms.Automation -{ - public enum AutomationLiveSetting - { - Assertive = 2, - Off = 0, - Polite = 1, - } - public enum AutomationNotificationKind - { - ActionAborted = 3, - ActionCompleted = 2, - ItemAdded = 0, - ItemRemoved = 1, - Other = 4, - } - public enum AutomationNotificationProcessing - { - All = 2, - CurrentThenMostRecent = 4, - ImportantAll = 0, - ImportantMostRecent = 1, - MostRecent = 3, - } - public partial interface IAutomationLiveRegion - { - System.Windows.Forms.Automation.AutomationLiveSetting LiveSetting { get; set; } - } -} -namespace System.Windows.Forms.ComponentModel.Com2Interop -{ - public partial class Com2Variant - { - public Com2Variant() { } - } - public partial interface ICom2PropertyPageDisplayService - { - void ShowPropertyPage(string title, object component, int dispid, System.Guid pageGuid, System.IntPtr parentHandle); - } - public partial interface IComPropertyBrowser - { - bool InPropertySet { get; } - event System.ComponentModel.Design.ComponentRenameEventHandler ComComponentNameChanged; - void DropDownDone(); - bool EnsurePendingChangesCommitted(); - void HandleF4(); - void LoadState(Microsoft.Win32.RegistryKey key); - void SaveState(Microsoft.Win32.RegistryKey key); - } -} -namespace System.Windows.Forms.Design -{ - [System.ComponentModel.ToolboxItemAttribute(false)] - public partial class ComponentEditorForm : System.Windows.Forms.Form - { - public ComponentEditorForm(object component, System.Type[] pageTypes) { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoSize { get { throw null; } set { } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - protected override void OnActivated(System.EventArgs e) { } - protected override void OnHelpRequested(System.Windows.Forms.HelpEventArgs e) { } - protected virtual void OnSelChangeSelector(object source, System.Windows.Forms.TreeViewEventArgs e) { } - public override bool PreProcessMessage(ref System.Windows.Forms.Message msg) { throw null; } - public virtual System.Windows.Forms.DialogResult ShowForm() { throw null; } - public virtual System.Windows.Forms.DialogResult ShowForm(int page) { throw null; } - public virtual System.Windows.Forms.DialogResult ShowForm(System.Windows.Forms.IWin32Window owner) { throw null; } - public virtual System.Windows.Forms.DialogResult ShowForm(System.Windows.Forms.IWin32Window owner, int page) { throw null; } - } - public abstract partial class ComponentEditorPage : System.Windows.Forms.Panel - { - public ComponentEditorPage() { } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool AutoSize { get { throw null; } set { } } - public bool CommitOnDeactivate { get { throw null; } set { } } - protected System.ComponentModel.IComponent Component { get { throw null; } set { } } - protected override System.Windows.Forms.CreateParams CreateParams { get { throw null; } } - protected bool FirstActivate { get { throw null; } set { } } - public System.Drawing.Icon Icon { get { throw null; } set { } } - protected int Loading { get { throw null; } set { } } - protected bool LoadRequired { get { throw null; } set { } } - protected System.Windows.Forms.IComponentEditorPageSite PageSite { get { throw null; } set { } } - public virtual string Title { get { throw null; } } - [System.ComponentModel.BrowsableAttribute(false)] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public new event System.EventHandler AutoSizeChanged { add { } remove { } } - public virtual void Activate() { } - public virtual void ApplyChanges() { } - public virtual void Deactivate() { } - protected void EnterLoadingMode() { } - protected void ExitLoadingMode() { } - public virtual System.Windows.Forms.Control GetControl() { throw null; } - protected System.ComponentModel.IComponent GetSelectedComponent() { throw null; } - protected bool IsFirstActivate() { throw null; } - protected bool IsLoading() { throw null; } - public virtual bool IsPageMessage(ref System.Windows.Forms.Message msg) { throw null; } - protected abstract void LoadComponent(); - public virtual void OnApplyComplete() { } - protected virtual void ReloadComponent() { } - protected abstract void SaveComponent(); - public virtual void SetComponent(System.ComponentModel.IComponent component) { } - protected virtual void SetDirty() { } - public virtual void SetSite(System.Windows.Forms.IComponentEditorPageSite site) { } - public virtual void ShowHelp() { } - public virtual bool SupportsHelp() { throw null; } - } - public partial class EventsTab : System.Windows.Forms.Design.PropertyTab - { - public EventsTab(System.IServiceProvider sp) { } - public override string HelpKeyword { get { throw null; } } - public override string TabName { get { throw null; } } - public override bool CanExtend(object extendee) { throw null; } - public override System.ComponentModel.PropertyDescriptor GetDefaultProperty(object obj) { throw null; } - public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object component, System.Attribute[] attributes) { throw null; } - public override System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, System.Attribute[] attributes) { throw null; } - } - public partial interface IUIService - { - System.Collections.IDictionary Styles { get; } - bool CanShowComponentEditor(object component); - System.Windows.Forms.IWin32Window GetDialogOwnerWindow(); - void SetUIDirty(); - bool ShowComponentEditor(object component, System.Windows.Forms.IWin32Window parent); - System.Windows.Forms.DialogResult ShowDialog(System.Windows.Forms.Form form); - void ShowError(System.Exception ex); - void ShowError(System.Exception ex, string message); - void ShowError(string message); - void ShowMessage(string message); - void ShowMessage(string message, string caption); - System.Windows.Forms.DialogResult ShowMessage(string message, string caption, System.Windows.Forms.MessageBoxButtons buttons); - bool ShowToolWindow(System.Guid toolWindow); - } - public partial interface IWindowsFormsEditorService - { - void CloseDropDown(); - void DropDownControl(System.Windows.Forms.Control control); - System.Windows.Forms.DialogResult ShowDialog(System.Windows.Forms.Form dialog); - } - public abstract partial class PropertyTab : System.ComponentModel.IExtenderProvider - { - protected PropertyTab() { } - public virtual System.Drawing.Bitmap Bitmap { get { throw null; } } - public virtual object[] Components { get { throw null; } set { } } - public virtual string HelpKeyword { get { throw null; } } - public abstract string TabName { get; } - public virtual bool CanExtend(object extendee) { throw null; } - public virtual void Dispose() { } - protected virtual void Dispose(bool disposing) { } - ~PropertyTab() { } - public virtual System.ComponentModel.PropertyDescriptor GetDefaultProperty(object component) { throw null; } - public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object component, System.Attribute[] attributes) { throw null; } - public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties(object component) { throw null; } - public abstract System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, System.Attribute[] attributes); - } - [System.FlagsAttribute] - public enum ToolStripItemDesignerAvailability - { - All = 15, - ContextMenuStrip = 4, - MenuStrip = 2, - None = 0, - StatusStrip = 8, - ToolStrip = 1, - } - [System.AttributeUsageAttribute(System.AttributeTargets.Class)] - public sealed partial class ToolStripItemDesignerAvailabilityAttribute : System.Attribute - { - public static readonly System.Windows.Forms.Design.ToolStripItemDesignerAvailabilityAttribute Default; - public ToolStripItemDesignerAvailabilityAttribute() { } - public ToolStripItemDesignerAvailabilityAttribute(System.Windows.Forms.Design.ToolStripItemDesignerAvailability visibility) { } - public System.Windows.Forms.Design.ToolStripItemDesignerAvailability ItemAdditionVisibility { get { throw null; } } - public override bool Equals(object obj) { throw null; } - public override int GetHashCode() { throw null; } - public override bool IsDefaultAttribute() { throw null; } - } - public abstract partial class WindowsFormsComponentEditor : System.ComponentModel.ComponentEditor - { - protected WindowsFormsComponentEditor() { } - public override bool EditComponent(System.ComponentModel.ITypeDescriptorContext context, object component) { throw null; } - public virtual bool EditComponent(System.ComponentModel.ITypeDescriptorContext context, object component, System.Windows.Forms.IWin32Window owner) { throw null; } - public bool EditComponent(object component, System.Windows.Forms.IWin32Window owner) { throw null; } - protected virtual System.Type[] GetComponentEditorPages() { throw null; } - protected virtual int GetInitialComponentEditorPageIndex() { throw null; } - } -} -namespace System.Windows.Forms.Layout -{ - public partial class ArrangedElementCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList - { - internal ArrangedElementCollection() { } - public virtual int Count { get { throw null; } } - public virtual bool IsReadOnly { get { throw null; } } - bool System.Collections.ICollection.IsSynchronized { get { throw null; } } - object System.Collections.ICollection.SyncRoot { get { throw null; } } - bool System.Collections.IList.IsFixedSize { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } - public void CopyTo(System.Array array, int index) { } - public override bool Equals(object obj) { throw null; } - public virtual System.Collections.IEnumerator GetEnumerator() { throw null; } - public override int GetHashCode() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } - void System.Collections.IList.RemoveAt(int index) { } - } - public abstract partial class LayoutEngine - { - protected LayoutEngine() { } - public virtual void InitLayout(object child, System.Windows.Forms.BoundsSpecified specified) { } - public virtual bool Layout(object container, System.Windows.Forms.LayoutEventArgs layoutEventArgs) { throw null; } - } - public partial class TableLayoutSettingsTypeConverter : System.ComponentModel.TypeConverter - { - public TableLayoutSettingsTypeConverter() { } - public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Type sourceType) { throw null; } - public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Type destinationType) { throw null; } - public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { throw null; } - public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { throw null; } - } -} -namespace System.Windows.Forms.PropertyGridInternal -{ - public partial interface IRootGridEntry - { - System.ComponentModel.AttributeCollection BrowsableAttributes { get; set; } - void ResetBrowsableAttributes(); - void ShowCategories(bool showCategories); - } - public partial class PropertiesTab : System.Windows.Forms.Design.PropertyTab - { - public PropertiesTab() { } - public override string HelpKeyword { get { throw null; } } - public override string TabName { get { throw null; } } - public override System.ComponentModel.PropertyDescriptor GetDefaultProperty(object obj) { throw null; } - public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object component, System.Attribute[] attributes) { throw null; } - public override System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, System.Attribute[] attributes) { throw null; } - } - public partial class PropertyGridCommands - { - public static readonly System.ComponentModel.Design.CommandID Commands; - public static readonly System.ComponentModel.Design.CommandID Description; - public static readonly System.ComponentModel.Design.CommandID Hide; - public static readonly System.ComponentModel.Design.CommandID Reset; - protected static readonly System.Guid wfcMenuCommand; - protected static readonly System.Guid wfcMenuGroup; - public PropertyGridCommands() { } - } -} -namespace System.Windows.Forms.VisualStyles -{ - public enum BackgroundType - { - BorderFill = 1, - ImageFile = 0, - None = 2, - } - public enum BooleanProperty - { - AlwaysShowSizingBar = 2208, - AutoSize = 2202, - BackgroundFill = 2205, - BorderOnly = 2203, - Composited = 2204, - GlyphOnly = 2207, - GlyphTransparent = 2206, - IntegralSizing = 2211, - MirrorImage = 2209, - SourceGrow = 2212, - SourceShrink = 2213, - Transparent = 2201, - UniformSizing = 2210, - } - public enum BorderType - { - Ellipse = 2, - Rectangle = 0, - RoundedRectangle = 1, - } - public enum CheckBoxState - { - CheckedDisabled = 8, - CheckedHot = 6, - CheckedNormal = 5, - CheckedPressed = 7, - MixedDisabled = 12, - MixedHot = 10, - MixedNormal = 9, - MixedPressed = 11, - UncheckedDisabled = 4, - UncheckedHot = 2, - UncheckedNormal = 1, - UncheckedPressed = 3, - } - public enum ColorProperty - { - AccentColorHint = 3823, - BorderColor = 3801, - BorderColorHint = 3822, - EdgeDarkShadowColor = 3807, - EdgeFillColor = 3808, - EdgeHighlightColor = 3805, - EdgeLightColor = 3804, - EdgeShadowColor = 3806, - FillColor = 3802, - FillColorHint = 3821, - GlowColor = 3816, - GlyphTextColor = 3819, - GlyphTransparentColor = 3820, - GradientColor1 = 3810, - GradientColor2 = 3811, - GradientColor3 = 3812, - GradientColor4 = 3813, - GradientColor5 = 3814, - ShadowColor = 3815, - TextBorderColor = 3817, - TextColor = 3803, - TextShadowColor = 3818, - TransparentColor = 3809, - } - public enum ComboBoxState - { - Disabled = 4, - Hot = 2, - Normal = 1, - Pressed = 3, - } - public enum ContentAlignment - { - Center = 1, - Left = 0, - Right = 2, - } - [System.FlagsAttribute] - public enum EdgeEffects - { - FillInterior = 2048, - Flat = 4096, - Mono = 32768, - None = 0, - Soft = 16384, - } - [System.FlagsAttribute] - public enum Edges - { - Bottom = 8, - Diagonal = 16, - Left = 1, - Right = 4, - Top = 2, - } - public enum EdgeStyle - { - Bump = 9, - Etched = 6, - Raised = 5, - Sunken = 10, - } - public enum EnumProperty - { - BackgroundType = 4001, - BorderType = 4002, - ContentAlignment = 4006, - FillType = 4003, - GlyphFontSizingType = 4014, - GlyphType = 4012, - HorizontalAlignment = 4005, - IconEffect = 4009, - ImageLayout = 4011, - ImageSelectType = 4013, - OffsetType = 4008, - SizingType = 4004, - TextShadowType = 4010, - TrueSizeScalingType = 4015, - VerticalAlignment = 4007, - } - public enum FilenameProperty - { - GlyphImageFile = 3008, - ImageFile = 3001, - ImageFile1 = 3002, - ImageFile2 = 3003, - ImageFile3 = 3004, - ImageFile4 = 3005, - ImageFile5 = 3006, - StockImageFile = 3007, - } - public enum FillType - { - HorizontalGradient = 2, - RadialGradient = 3, - Solid = 0, - TileImage = 4, - VerticalGradient = 1, - } - public enum FontProperty - { - GlyphFont = 2601, - } - public enum GlyphFontSizingType - { - Dpi = 2, - None = 0, - Size = 1, - } - public enum GlyphType - { - FontGlyph = 2, - ImageGlyph = 1, - None = 0, - } - public enum GroupBoxState - { - Disabled = 2, - Normal = 1, - } - public enum HitTestCode - { - Bottom = 15, - BottomLeft = 16, - BottomRight = 17, - Client = 1, - Left = 10, - Nowhere = 0, - Right = 11, - Top = 12, - TopLeft = 13, - TopRight = 14, - } - [System.FlagsAttribute] - public enum HitTestOptions - { - BackgroundSegment = 0, - Caption = 4, - FixedBorder = 2, - ResizingBorder = 240, - ResizingBorderBottom = 128, - ResizingBorderLeft = 16, - ResizingBorderRight = 64, - ResizingBorderTop = 32, - SizingTemplate = 256, - SystemSizingMargins = 512, - } - public enum HorizontalAlign - { - Center = 1, - Left = 0, - Right = 2, - } - public enum IconEffect - { - Alpha = 4, - Glow = 1, - None = 0, - Pulse = 3, - Shadow = 2, - } - public enum ImageOrientation - { - Horizontal = 1, - Vertical = 0, - } - public enum ImageSelectType - { - Dpi = 2, - None = 0, - Size = 1, - } - public enum IntegerProperty - { - AlphaLevel = 2402, - AlphaThreshold = 2415, - BorderSize = 2403, - GlyphIndex = 2418, - GradientRatio1 = 2406, - GradientRatio2 = 2407, - GradientRatio3 = 2408, - GradientRatio4 = 2409, - GradientRatio5 = 2410, - Height = 2417, - ImageCount = 2401, - MinDpi1 = 2420, - MinDpi2 = 2421, - MinDpi3 = 2422, - MinDpi4 = 2423, - MinDpi5 = 2424, - ProgressChunkSize = 2411, - ProgressSpaceSize = 2412, - RoundCornerHeight = 2405, - RoundCornerWidth = 2404, - Saturation = 2413, - TextBorderSize = 2414, - TrueSizeStretchMark = 2419, - Width = 2416, - } - public enum MarginProperty - { - CaptionMargins = 3603, - ContentMargins = 3602, - SizingMargins = 3601, - } - public enum OffsetType - { - AboveLastButton = 12, - BelowLastButton = 13, - BottomLeft = 3, - BottomMiddle = 5, - BottomRight = 4, - LeftOfCaption = 8, - LeftOfLastButton = 10, - MiddleLeft = 6, - MiddleRight = 7, - RightOfCaption = 9, - RightOfLastButton = 11, - TopLeft = 0, - TopMiddle = 2, - TopRight = 1, - } - public enum PointProperty - { - MinSize = 3403, - MinSize1 = 3404, - MinSize2 = 3405, - MinSize3 = 3406, - MinSize4 = 3407, - MinSize5 = 3408, - Offset = 3401, - TextShadowOffset = 3402, - } - public enum PushButtonState - { - Default = 5, - Disabled = 4, - Hot = 2, - Normal = 1, - Pressed = 3, - } - public enum RadioButtonState - { - CheckedDisabled = 8, - CheckedHot = 6, - CheckedNormal = 5, - CheckedPressed = 7, - UncheckedDisabled = 4, - UncheckedHot = 2, - UncheckedNormal = 1, - UncheckedPressed = 3, - } - public enum ScrollBarArrowButtonState - { - DownDisabled = 8, - DownHot = 6, - DownNormal = 5, - DownPressed = 7, - LeftDisabled = 12, - LeftHot = 10, - LeftNormal = 9, - LeftPressed = 11, - RightDisabled = 16, - RightHot = 14, - RightNormal = 13, - RightPressed = 15, - UpDisabled = 4, - UpHot = 2, - UpNormal = 1, - UpPressed = 3, - } - public enum ScrollBarSizeBoxState - { - LeftAlign = 2, - RightAlign = 1, - } - public enum ScrollBarState - { - Disabled = 4, - Hot = 2, - Normal = 1, - Pressed = 3, - } - public enum SizingType - { - FixedSize = 0, - Stretch = 1, - Tile = 2, - } - public enum StringProperty - { - Text = 3201, - } - public enum TabItemState - { - Disabled = 4, - Hot = 2, - Normal = 1, - Selected = 3, - } - public enum TextBoxState - { - Assist = 7, - Disabled = 4, - Hot = 2, - Normal = 1, - Readonly = 6, - Selected = 3, - } - public partial struct TextMetrics - { - private int _dummyPrimitive; - public int Ascent { get { throw null; } set { } } - public int AverageCharWidth { get { throw null; } set { } } - public char BreakChar { get { throw null; } set { } } - public System.Windows.Forms.VisualStyles.TextMetricsCharacterSet CharSet { get { throw null; } set { } } - public char DefaultChar { get { throw null; } set { } } - public int Descent { get { throw null; } set { } } - public int DigitizedAspectX { get { throw null; } set { } } - public int DigitizedAspectY { get { throw null; } set { } } - public int ExternalLeading { get { throw null; } set { } } - public char FirstChar { get { throw null; } set { } } - public int Height { get { throw null; } set { } } - public int InternalLeading { get { throw null; } set { } } - public bool Italic { get { throw null; } set { } } - public char LastChar { get { throw null; } set { } } - public int MaxCharWidth { get { throw null; } set { } } - public int Overhang { get { throw null; } set { } } - public System.Windows.Forms.VisualStyles.TextMetricsPitchAndFamilyValues PitchAndFamily { get { throw null; } set { } } - public bool StruckOut { get { throw null; } set { } } - public bool Underlined { get { throw null; } set { } } - public int Weight { get { throw null; } set { } } - } - public enum TextMetricsCharacterSet - { - Ansi = 0, - Arabic = 178, - Baltic = 186, - ChineseBig5 = 136, - Default = 1, - EastEurope = 238, - Gb2312 = 134, - Greek = 161, - Hangul = 129, - Hebrew = 177, - Johab = 130, - Mac = 77, - Oem = 255, - Russian = 204, - ShiftJis = 128, - Symbol = 2, - Thai = 222, - Turkish = 162, - Vietnamese = 163, - } - [System.FlagsAttribute] - public enum TextMetricsPitchAndFamilyValues - { - Device = 8, - FixedPitch = 1, - TrueType = 4, - Vector = 2, - } - public enum TextShadowType - { - Continuous = 2, - None = 0, - Single = 1, - } - public enum ThemeSizeType - { - Draw = 2, - Minimum = 0, - True = 1, - } - public enum ToolBarState - { - Checked = 5, - Disabled = 4, - Hot = 2, - HotChecked = 6, - Normal = 1, - Pressed = 3, - } - public enum TrackBarThumbState - { - Disabled = 5, - Hot = 2, - Normal = 1, - Pressed = 3, - } - public enum TrueSizeScalingType - { - Dpi = 2, - None = 0, - Size = 1, - } - public enum VerticalAlignment - { - Bottom = 2, - Center = 1, - Top = 0, - } - public partial class VisualStyleElement - { - internal VisualStyleElement() { } - public string ClassName { get { throw null; } } - public int Part { get { throw null; } } - public int State { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement CreateElement(string className, int part, int state) { throw null; } - public static partial class Button - { - public static partial class CheckBox - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement CheckedDisabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement CheckedHot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement CheckedNormal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement CheckedPressed { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement MixedDisabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement MixedHot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement MixedNormal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement MixedPressed { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement UncheckedDisabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement UncheckedHot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement UncheckedNormal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement UncheckedPressed { get { throw null; } } - } - public static partial class GroupBox - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class PushButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Default { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class RadioButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement CheckedDisabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement CheckedHot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement CheckedNormal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement CheckedPressed { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement UncheckedDisabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement UncheckedHot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement UncheckedNormal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement UncheckedPressed { get { throw null; } } - } - public static partial class UserButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class ComboBox - { - public static partial class DropDownButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - } - public static partial class ExplorerBar - { - public static partial class HeaderBackground - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class HeaderClose - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class HeaderPin - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement SelectedHot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement SelectedNormal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement SelectedPressed { get { throw null; } } - } - public static partial class IEBarMenu - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class NormalGroupBackground - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class NormalGroupCollapse - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class NormalGroupExpand - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class NormalGroupHead - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class SpecialGroupBackground - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class SpecialGroupCollapse - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class SpecialGroupExpand - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class SpecialGroupHead - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class Header - { - public static partial class Item - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class ItemLeft - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class ItemRight - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class SortArrow - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement SortedDown { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement SortedUp { get { throw null; } } - } - } - public static partial class ListView - { - public static partial class Detail - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class EmptyText - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Group - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Item - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Selected { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement SelectedNotFocus { get { throw null; } } - } - public static partial class SortedDetail - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class Menu - { - public static partial class BarDropDown - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class BarItem - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Chevron - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class DropDown - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Item - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Demoted { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Selected { get { throw null; } } - } - public static partial class Separator - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class MenuBand - { - public static partial class NewApplicationButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Checked { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement HotChecked { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class Separator - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class Page - { - public static partial class Down - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class DownHorizontal - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class Up - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class UpHorizontal - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - } - public static partial class ProgressBar - { - public static partial class Bar - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class BarVertical - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Chunk - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class ChunkVertical - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class Rebar - { - public static partial class Band - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Chevron - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class ChevronVertical - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class Gripper - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class GripperVertical - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class ScrollBar - { - public static partial class ArrowButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement DownDisabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement DownHot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement DownNormal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement DownPressed { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement LeftDisabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement LeftHot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement LeftNormal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement LeftPressed { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement RightDisabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement RightHot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement RightNormal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement RightPressed { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement UpDisabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement UpHot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement UpNormal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement UpPressed { get { throw null; } } - } - public static partial class GripperHorizontal - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class GripperVertical - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class LeftTrackHorizontal - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class LowerTrackVertical - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class RightTrackHorizontal - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class SizeBox - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement LeftAlign { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement RightAlign { get { throw null; } } - } - public static partial class ThumbButtonHorizontal - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class ThumbButtonVertical - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class UpperTrackVertical - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - } - public static partial class Spin - { - public static partial class Down - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class DownHorizontal - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class Up - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class UpHorizontal - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - } - public static partial class StartPanel - { - public static partial class LogOff - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class LogOffButtons - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class MorePrograms - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class MoreProgramsArrow - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class PlaceList - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class PlaceListSeparator - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Preview - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class ProgList - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class ProgListSeparator - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class UserPane - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class UserPicture - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class Status - { - public static partial class Bar - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Gripper - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class GripperPane - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Pane - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class Tab - { - public static partial class Body - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Pane - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class TabItem - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class TabItemBothEdges - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class TabItemLeftEdge - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class TabItemRightEdge - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class TopTabItem - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class TopTabItemBothEdges - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class TopTabItemLeftEdge - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class TopTabItemRightEdge - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - } - public static partial class TaskBand - { - public static partial class FlashButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class FlashButtonGroupMenu - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class GroupCount - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class Taskbar - { - public static partial class BackgroundBottom - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class BackgroundLeft - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class BackgroundRight - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class BackgroundTop - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class SizingBarBottom - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class SizingBarLeft - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class SizingBarRight - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class SizingBarTop - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class TaskbarClock - { - public static partial class Time - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class TextBox - { - public static partial class Caret - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class TextEdit - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Assist { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Focused { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement ReadOnly { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Selected { get { throw null; } } - } - } - public static partial class ToolBar - { - public static partial class Button - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Checked { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement HotChecked { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class DropDownButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Checked { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement HotChecked { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class SeparatorHorizontal - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class SeparatorVertical - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class SplitButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Checked { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement HotChecked { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class SplitButtonDropDown - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Checked { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement HotChecked { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - } - public static partial class ToolTip - { - public static partial class Balloon - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Link { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class BalloonTitle - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Close - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class Standard - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Link { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class StandardTitle - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class TrackBar - { - public static partial class Thumb - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Focused { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class ThumbBottom - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Focused { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class ThumbLeft - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Focused { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class ThumbRight - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Focused { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class ThumbTop - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Focused { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class ThumbVertical - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Focused { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class Ticks - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class TicksVertical - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Track - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class TrackVertical - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class TrayNotify - { - public static partial class AnimateBackground - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Background - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - } - public static partial class TreeView - { - public static partial class Branch - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class Glyph - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Closed { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Opened { get { throw null; } } - } - public static partial class Item - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Selected { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement SelectedNotFocus { get { throw null; } } - } - } - public static partial class Window - { - public static partial class Caption - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Active { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Inactive { get { throw null; } } - } - public static partial class CaptionSizingTemplate - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class CloseButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class Dialog - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class FrameBottom - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Active { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Inactive { get { throw null; } } - } - public static partial class FrameBottomSizingTemplate - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class FrameLeft - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Active { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Inactive { get { throw null; } } - } - public static partial class FrameLeftSizingTemplate - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class FrameRight - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Active { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Inactive { get { throw null; } } - } - public static partial class FrameRightSizingTemplate - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class HelpButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class HorizontalScroll - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class HorizontalThumb - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class MaxButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class MaxCaption - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Active { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Inactive { get { throw null; } } - } - public static partial class MdiCloseButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class MdiHelpButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class MdiMinButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class MdiRestoreButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class MdiSysButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class MinButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class MinCaption - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Active { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Inactive { get { throw null; } } - } - public static partial class RestoreButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class SmallCaption - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Active { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Inactive { get { throw null; } } - } - public static partial class SmallCaptionSizingTemplate - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class SmallCloseButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class SmallFrameBottom - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Active { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Inactive { get { throw null; } } - } - public static partial class SmallFrameBottomSizingTemplate - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class SmallFrameLeft - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Active { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Inactive { get { throw null; } } - } - public static partial class SmallFrameLeftSizingTemplate - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class SmallFrameRight - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Active { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Inactive { get { throw null; } } - } - public static partial class SmallFrameRightSizingTemplate - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - } - public static partial class SmallMaxCaption - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Active { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Inactive { get { throw null; } } - } - public static partial class SmallMinCaption - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Active { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Inactive { get { throw null; } } - } - public static partial class SysButton - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class VerticalScroll - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - public static partial class VerticalThumb - { - public static System.Windows.Forms.VisualStyles.VisualStyleElement Disabled { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Hot { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get { throw null; } } - public static System.Windows.Forms.VisualStyles.VisualStyleElement Pressed { get { throw null; } } - } - } - } - public static partial class VisualStyleInformation - { - public static string Author { get { throw null; } } - public static string ColorScheme { get { throw null; } } - public static string Company { get { throw null; } } - public static System.Drawing.Color ControlHighlightHot { get { throw null; } } - public static string Copyright { get { throw null; } } - public static string Description { get { throw null; } } - public static string DisplayName { get { throw null; } } - public static bool IsEnabledByUser { get { throw null; } } - public static bool IsSupportedByOS { get { throw null; } } - public static int MinimumColorDepth { get { throw null; } } - public static string Size { get { throw null; } } - public static bool SupportsFlatMenus { get { throw null; } } - public static System.Drawing.Color TextControlBorder { get { throw null; } } - public static string Url { get { throw null; } } - public static string Version { get { throw null; } } - } - public sealed partial class VisualStyleRenderer - { - public VisualStyleRenderer(string className, int part, int state) { } - public VisualStyleRenderer(System.Windows.Forms.VisualStyles.VisualStyleElement element) { } - public string Class { get { throw null; } } - public System.IntPtr Handle { get { throw null; } } - public static bool IsSupported { get { throw null; } } - public int LastHResult { get { throw null; } } - public int Part { get { throw null; } } - public int State { get { throw null; } } - public void DrawBackground(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds) { } - public void DrawBackground(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, System.Drawing.Rectangle clipRectangle) { } - public System.Drawing.Rectangle DrawEdge(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.Edges edges, System.Windows.Forms.VisualStyles.EdgeStyle style, System.Windows.Forms.VisualStyles.EdgeEffects effects) { throw null; } - public void DrawImage(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Drawing.Image image) { } - public void DrawImage(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.ImageList imageList, int imageIndex) { } - public void DrawParentBackground(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, System.Windows.Forms.Control childControl) { } - public void DrawText(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw) { } - public void DrawText(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw, bool drawDisabled) { } - public void DrawText(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw, bool drawDisabled, System.Windows.Forms.TextFormatFlags flags) { } - public System.Drawing.Rectangle GetBackgroundContentRectangle(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds) { throw null; } - public System.Drawing.Rectangle GetBackgroundExtent(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle contentBounds) { throw null; } - public System.Drawing.Region GetBackgroundRegion(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds) { throw null; } - public bool GetBoolean(System.Windows.Forms.VisualStyles.BooleanProperty prop) { throw null; } - public System.Drawing.Color GetColor(System.Windows.Forms.VisualStyles.ColorProperty prop) { throw null; } - public int GetEnumValue(System.Windows.Forms.VisualStyles.EnumProperty prop) { throw null; } - public string GetFilename(System.Windows.Forms.VisualStyles.FilenameProperty prop) { throw null; } - public System.Drawing.Font GetFont(System.Drawing.IDeviceContext dc, System.Windows.Forms.VisualStyles.FontProperty prop) { throw null; } - public int GetInteger(System.Windows.Forms.VisualStyles.IntegerProperty prop) { throw null; } - public System.Windows.Forms.Padding GetMargins(System.Drawing.IDeviceContext dc, System.Windows.Forms.VisualStyles.MarginProperty prop) { throw null; } - public System.Drawing.Size GetPartSize(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ThemeSizeType type) { throw null; } - public System.Drawing.Size GetPartSize(System.Drawing.IDeviceContext dc, System.Windows.Forms.VisualStyles.ThemeSizeType type) { throw null; } - public System.Drawing.Point GetPoint(System.Windows.Forms.VisualStyles.PointProperty prop) { throw null; } - public string GetString(System.Windows.Forms.VisualStyles.StringProperty prop) { throw null; } - public System.Drawing.Rectangle GetTextExtent(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw, System.Windows.Forms.TextFormatFlags flags) { throw null; } - public System.Drawing.Rectangle GetTextExtent(System.Drawing.IDeviceContext dc, string textToDraw, System.Windows.Forms.TextFormatFlags flags) { throw null; } - public System.Windows.Forms.VisualStyles.TextMetrics GetTextMetrics(System.Drawing.IDeviceContext dc) { throw null; } - public System.Windows.Forms.VisualStyles.HitTestCode HitTestBackground(System.Drawing.Graphics g, System.Drawing.Rectangle backgroundRectangle, System.Drawing.Region region, System.Drawing.Point pt, System.Windows.Forms.VisualStyles.HitTestOptions options) { throw null; } - public System.Windows.Forms.VisualStyles.HitTestCode HitTestBackground(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle backgroundRectangle, System.Drawing.Point pt, System.Windows.Forms.VisualStyles.HitTestOptions options) { throw null; } - public System.Windows.Forms.VisualStyles.HitTestCode HitTestBackground(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle backgroundRectangle, System.IntPtr hRgn, System.Drawing.Point pt, System.Windows.Forms.VisualStyles.HitTestOptions options) { throw null; } - public bool IsBackgroundPartiallyTransparent() { throw null; } - public static bool IsElementDefined(System.Windows.Forms.VisualStyles.VisualStyleElement element) { throw null; } - public void SetParameters(string className, int part, int state) { } - public void SetParameters(System.Windows.Forms.VisualStyles.VisualStyleElement element) { } - } - public enum VisualStyleState - { - ClientAndNonClientAreasEnabled = 3, - ClientAreaEnabled = 2, - NonClientAreaEnabled = 1, - NoneEnabled = 0, - } -} -namespace System.Drawing.Design -{ - public partial interface IPropertyValueUIService - { - event System.EventHandler PropertyUIValueItemsChanged; - void AddPropertyValueUIHandler(System.Drawing.Design.PropertyValueUIHandler newHandler); - System.Drawing.Design.PropertyValueUIItem[] GetPropertyUIValueItems(System.ComponentModel.ITypeDescriptorContext context, System.ComponentModel.PropertyDescriptor propDesc); - void NotifyPropertyValueUIItemsChanged(); - void RemovePropertyValueUIHandler(System.Drawing.Design.PropertyValueUIHandler newHandler); - } - public partial class PaintValueEventArgs : System.EventArgs - { - public PaintValueEventArgs(System.ComponentModel.ITypeDescriptorContext context, object value, System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds) { } - public System.Drawing.Rectangle Bounds { get { throw null; } } - public System.ComponentModel.ITypeDescriptorContext Context { get { throw null; } } - public System.Drawing.Graphics Graphics { get { throw null; } } - public object Value { get { throw null; } } - } - public delegate void PropertyValueUIHandler(System.ComponentModel.ITypeDescriptorContext context, System.ComponentModel.PropertyDescriptor propDesc, System.Collections.ArrayList valueUIItemList); - public partial class PropertyValueUIItem - { - public PropertyValueUIItem(System.Drawing.Image uiItemImage, System.Drawing.Design.PropertyValueUIItemInvokeHandler handler, string tooltip) { } - public virtual System.Drawing.Image Image { get { throw null; } } - public virtual System.Drawing.Design.PropertyValueUIItemInvokeHandler InvokeHandler { get { throw null; } } - public virtual string ToolTip { get { throw null; } } - public virtual void Reset() { } - } - public delegate void PropertyValueUIItemInvokeHandler(System.ComponentModel.ITypeDescriptorContext context, System.ComponentModel.PropertyDescriptor descriptor, System.Drawing.Design.PropertyValueUIItem invokedItem); - public partial class UITypeEditor - { - public UITypeEditor() { } - public virtual bool IsDropDownResizable { get { throw null; } } - public virtual object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { throw null; } - public object EditValue(System.IServiceProvider provider, object value) { throw null; } - public System.Drawing.Design.UITypeEditorEditStyle GetEditStyle() { throw null; } - public virtual System.Drawing.Design.UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public bool GetPaintValueSupported() { throw null; } - public virtual bool GetPaintValueSupported(System.ComponentModel.ITypeDescriptorContext context) { throw null; } - public virtual void PaintValue(System.Drawing.Design.PaintValueEventArgs e) { } - public void PaintValue(object value, System.Drawing.Graphics canvas, System.Drawing.Rectangle rectangle) { } - } - public enum UITypeEditorEditStyle - { - DropDown = 3, - Modal = 2, - None = 1, - } -} \ No newline at end of file diff --git a/src/System.Windows.Forms/ref/System.Windows.Forms.manual.cs b/src/System.Windows.Forms/ref/System.Windows.Forms.manual.cs deleted file mode 100644 index fc5ca13ac13..00000000000 --- a/src/System.Windows.Forms/ref/System.Windows.Forms.manual.cs +++ /dev/null @@ -1,52 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -// ------------------------------------------------------------------------------ -// Changes to this file must follow the http://aka.ms/api-review process. -// ------------------------------------------------------------------------------ - -namespace System.Windows.Forms -{ - [System.ComponentModel.TypeConverterAttribute(typeof(DataGridViewCellConverter))] - public partial class DataGridViewCell { } - internal class DataGridViewCellConverter { } - - [System.ComponentModel.TypeConverterAttribute(typeof(DataGridViewColumnConverter))] - public partial class DataGridViewColumn { } - internal class DataGridViewColumnConverter { } - - [System.ComponentModel.TypeConverterAttribute(typeof(DataGridViewRowConverter))] - public partial class DataGridViewRow { } - internal class DataGridViewRowConverter { } - - [System.ComponentModel.TypeConverterAttribute(typeof(FlatButtonAppearanceConverter))] - public partial class FlatButtonAppearance { } - internal class FlatButtonAppearanceConverter { } - - [System.ComponentModel.TypeConverterAttribute(typeof(ImageListConverter))] - public partial class ImageList { } - internal class ImageListConverter { } - - [System.ComponentModel.TypeConverterAttribute(typeof(ListViewGroupConverter))] - public partial class ListViewGroup { } - internal class ListViewGroupConverter { } - - public partial class ListViewItem - { - [System.ComponentModel.TypeConverterAttribute(typeof(ListViewSubItemConverter))] - public partial class ListViewSubItem { } - } - internal class ListViewSubItemConverter { } - - [System.ComponentModel.TypeConverterAttribute(typeof(TableLayoutPanelCellPositionTypeConverter))] - public partial struct TableLayoutPanelCellPosition { } - internal class TableLayoutPanelCellPositionTypeConverter { } - - [System.ComponentModel.TypeConverterAttribute(typeof(TableLayoutSettings.StyleConverter))] - public partial class TableLayoutStyle { } - public partial class TableLayoutSettings - { - internal class StyleConverter { } - } -} diff --git a/src/System.Windows.Forms/src/System.Windows.Forms.csproj b/src/System.Windows.Forms/src/System.Windows.Forms.csproj index dcf369bd11a..82a30d4b59c 100644 --- a/src/System.Windows.Forms/src/System.Windows.Forms.csproj +++ b/src/System.Windows.Forms/src/System.Windows.Forms.csproj @@ -8,6 +8,8 @@ $(NoWarn);618 $(DefineConstants);WIN95_SUPPORT;WINDOWS_FORMS_SWITCHES;WINFORMS_NAMESPACE;OPTIMIZED_MEASUREMENTDC; Resources\System\Windows\Forms\XPThemes.manifest + true + true From 432926c306dcb5bd61d6a3299a647c02b5f51ffa Mon Sep 17 00:00:00 2001 From: Zachary Danz Date: Mon, 11 Mar 2019 16:31:06 -0700 Subject: [PATCH 12/18] add porting blog post and video links (#536) --- Documentation/porting-guidelines.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/porting-guidelines.md b/Documentation/porting-guidelines.md index 372255cf3a7..55c9eabeb14 100644 --- a/Documentation/porting-guidelines.md +++ b/Documentation/porting-guidelines.md @@ -7,6 +7,8 @@ The migration process includes two steps: **preparing your project for porting** to .NET Core and **porting** itself. +For additional information and assistance, we recommend checking out [this article on the dotnet blog][dotnet-blog-port-guide] as well as the [accompanying video tutorial][dotnet-blog-port-video]. + ## Prepare your project for porting 1. **Run [.NET Portability Analyzer][api-port]** first to determine if there are @@ -108,6 +110,8 @@ System.PlatformNotSupportedException: 'Configuration files are not supported.' [comment]: <> (URI Links) +[dotnet-blog-port-guide]: https://devblogs.microsoft.com/dotnet/how-to-port-desktop-applications-to-net-core-3-0/ +[dotnet-blog-port-video]: https://www.youtube.com/watch?v=upVQEUc_KwU [api-port]: https://blogs.msdn.microsoft.com/dotnet/2018/08/08/are-your-windows-forms-and-wpf-applications-ready-for-net-core-3-0/ [pkg-config]: https://docs.microsoft.com/en-us/nuget/reference/migrate-packages-config-to-package-reference [sdk-tool]:https://github.com/hvanbakel/CsprojToVs2017 From b4770e625940998328ad28f950b6c42b113e4be6 Mon Sep 17 00:00:00 2001 From: Hugh Bellamy Date: Tue, 12 Mar 2019 18:53:42 +0000 Subject: [PATCH 13/18] Add OpacityConverter tests (#565) * Add OpacityConverter tests and fix InvalidCast * Cleanup OpacityConverter --- .../System/Windows/Forms/OpacityConverter.cs | 108 +++++++------- .../Windows/Forms/OpacityConverterTests.cs | 136 ++++++++++++++++++ 2 files changed, 185 insertions(+), 59 deletions(-) create mode 100644 src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/OpacityConverterTests.cs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/OpacityConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/OpacityConverter.cs index 4e9dfe4a9d2..093b27efd08 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/OpacityConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/OpacityConverter.cs @@ -2,76 +2,71 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using System.ComponentModel; +using System.Globalization; -namespace System.Windows.Forms { - using System.Runtime.Serialization.Formatters; - using System.Runtime.Remoting; - using System.Runtime.InteropServices; - - using Microsoft.Win32; - using System.Collections; - using System.ComponentModel; - using System.Diagnostics; - using System.Globalization; - using System.Reflection; - - /// +namespace System.Windows.Forms +{ /// - /// OpacityConverter is a class that can be used to convert - /// opacity values from one data type to another. Access this - /// class through the TypeDescriptor. + /// OpacityConverter is a class that can be used to convert opacity values from one + /// data type to another. Access this class through the TypeDescriptor. /// - public class OpacityConverter : TypeConverter { - - /// + public class OpacityConverter : TypeConverter + { /// - /// Determines if this converter can convert an object in the given source - /// type to the native type of the converter. + /// Determines if this converter can convert an object in the given source + /// type to the native type of the converter. /// - public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { - if (sourceType == typeof(string)) { + public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) + { + if (sourceType == typeof(string)) + { return true; } + return base.CanConvertFrom(context, sourceType); } - /// /// - /// Converts the given object to the converter's native type. + /// Converts the given object to the converter's native type. /// - public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { - if (value is string) { - - string text = ((string)value).Replace('%', ' ').Trim(); + public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) + { + if (value is string valueString) + { + string text =valueString.Replace('%', ' ').Trim(); double val = double.Parse(text, CultureInfo.CurrentCulture); - int indexOfPercent = ((string)value).IndexOf("%"); - if (indexOfPercent > 0 && (val >= 0.0 && val <= 1.0)) { + int indexOfPercent = valueString.IndexOf("%"); + if (indexOfPercent > 0 && (val >= 0.0 && val <= 1.0)) + { val /= 100.0; text = val.ToString(CultureInfo.CurrentCulture); } - double percent = 1.0; - try { + double percent = 1.0; + try + { percent = (double)TypeDescriptor.GetConverter(typeof(double)).ConvertFrom(context, culture, text); - - // assume they meant a percentage if it is > 1.0, else - // they actually typed the correct double... - // - if (percent > 1.0) { + + // Assume they meant a percentage if it is > 1.0, else they actually + // typed the correct double. + if (percent > 1.0) + { percent /= 100.0; } } - catch (FormatException e) { + catch (FormatException e) + { throw new FormatException(string.Format(SR.InvalidBoundArgument, "Opacity", text, "0%", "100%"), e); } - + // Now check to see if it is within our bounds. - // - if (percent < 0.0 || percent > 1.0) { + if (percent < 0.0 || percent > 1.0) + { throw new FormatException(string.Format(SR.InvalidBoundArgument, "Opacity", text, @@ -81,31 +76,26 @@ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo c return percent; } - + return base.ConvertFrom(context, culture, value); } - - /// + /// - /// Converts the given object to another type. The most common types to convert - /// are to and from a string object. The default implementation will make a call - /// to ToString on the object if the object is valid and if the destination - /// type is string. If this cannot convert to the desitnation type, this will - /// throw a NotSupportedException. + /// Converts the given object to another type. The most common types to convert + /// are to and from a string object. The default implementation will make a call + /// to ToString on the object if the object is valid and if the destination + /// type is string. If this cannot convert to the desitnation type, this will + /// throw a NotSupportedException. /// - public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { - if (destinationType == null) { - throw new ArgumentNullException(nameof(destinationType)); - } - - if (destinationType == typeof(string)) { - double val = (double)value; + public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) + { + if (value is double val && destinationType == typeof(string)) + { int perc = (int)(val * 100.0); return perc.ToString(CultureInfo.CurrentCulture) + "%"; } - + return base.ConvertTo(context, culture, value, destinationType); } } } - diff --git a/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/OpacityConverterTests.cs b/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/OpacityConverterTests.cs new file mode 100644 index 00000000000..7b325dec53a --- /dev/null +++ b/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/OpacityConverterTests.cs @@ -0,0 +1,136 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Collections; +using System.Collections.Generic; +using System.ComponentModel; +using System.ComponentModel.Design.Serialization; +using System.Globalization; +using Moq; +using Xunit; + +namespace System.Windows.Forms.Tests +{ + public class OpacityConverterTests + { + [Theory] + [InlineData(typeof(string), true)] + [InlineData(typeof(InstanceDescriptor), false)] + [InlineData(typeof(double), false)] + [InlineData(typeof(int), false)] + [InlineData(null, false)] + public void OpacityConverter_CanConvertFrom_Invoke_ReturnsExpected(Type sourceType, bool expected) + { + var converter = new OpacityConverter(); + Assert.Equal(expected, converter.CanConvertFrom(sourceType)); + } + + public static IEnumerable ConvertFrom_TestData() + { + yield return new object[] { "0%", 0.0 }; + yield return new object[] { "100%", 1.0 }; + yield return new object[] { "90%", 0.9 }; + yield return new object[] { " 90 % ", 0.9 }; + yield return new object[] { "0.0", 0.0 }; + yield return new object[] { "0.9", 0.9 }; + yield return new object[] { "1.0", 1.0 }; + yield return new object[] { "1.2%", 0.012 }; + yield return new object[] { "1.1", 0.011 }; + } + + [Theory] + [MemberData(nameof(ConvertFrom_TestData))] + public void OpacityConverter_ConvertFrom_String_ReturnsExpected(string value, double expected) + { + var converter = new OpacityConverter(); + Assert.Equal(expected, Assert.IsType(converter.ConvertFrom(value)), 5); + Assert.Equal(expected, Assert.IsType(converter.ConvertFrom(null, null, value)), 5); + } + + [Theory] + [InlineData(1)] + [InlineData(null)] + public void OpacityConverter_ConvertFrom_InvalidValue_ThrowsNotSupportedException(object value) + { + var converter = new OpacityConverter(); + Assert.Throws(() => converter.ConvertFrom(value)); + } + + [Theory] + [InlineData("")] + [InlineData("1%.2")] + [InlineData("-1")] + [InlineData("101")] + [InlineData("-1%")] + [InlineData("101%")] + [InlineData("-0.1")] + [InlineData("-0.1%")] + [InlineData("invalid")] + public void OpacityConverter_ConvertFrom_InvalidString_ThrowsFormatException(string value) + { + var converter = new OpacityConverter(); + Assert.Throws(() => converter.ConvertFrom(value)); + } + + [Theory] + [InlineData(typeof(string), true)] + [InlineData(typeof(InstanceDescriptor), false)] + [InlineData(typeof(double), false)] + [InlineData(typeof(int), false)] + [InlineData(null, false)] + public void OpacityConverter_CanConvertTo_Invoke_ReturnsExpected(Type destinationType, bool expected) + { + var converter = new OpacityConverter(); + Assert.Equal(expected, converter.CanConvertTo(destinationType)); + } + + [Theory] + [InlineData(0.0, "0%")] + [InlineData(0, "0")] + public void OpacityConverter_ConvertTo_String_ReturnsExpected(object value, string expected) + { + var converter = new OpacityConverter(); + Assert.Equal(expected, converter.ConvertTo(value, typeof(string))); + Assert.Equal(expected, converter.ConvertTo(null, null, value, typeof(string))); + } + + [Fact] + public void OpacityConverter_ConvertTo_NullDestinationType_ThrowsArgumentNullException() + { + var converter = new OpacityConverter(); + Assert.Throws("destinationType", () => converter.ConvertTo(new object(), null)); + } + + [Fact] + public void OpacityConverter_ConvertTo_ValueNotDouble_ThrowsNotSupportedException() + { + var converter = new OpacityConverter(); + Assert.Throws(() => converter.ConvertTo(1, typeof(InstanceDescriptor))); + } + + [Theory] + [InlineData(typeof(double))] + [InlineData(typeof(InstanceDescriptor))] + [InlineData(typeof(int))] + public void OpacityConverter_ConvertTo_InvalidDestinationType_ThrowsNotSupportedException(Type destinationType) + { + var converter = new OpacityConverter(); + Assert.Throws(() => converter.ConvertTo(1.1, destinationType)); + } + + [Fact] + public void OpacityConverter_ConverterGetCreateInstanceSupported_Invoke_ReturnsFalse() + { + var converter = new OpacityConverter(); + Assert.False(converter.GetCreateInstanceSupported()); + } + + [Fact] + public void OpacityConverter_ConverterGetPropertiesSupported_Invoke_ReturnsFalse() + { + var converter = new OpacityConverter(); + Assert.False(converter.GetPropertiesSupported()); + } + } +} From 557b2d0cad2dd0a1b4e10c1aeb8d4106bdafcf85 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Tue, 12 Mar 2019 13:21:34 -0700 Subject: [PATCH 14/18] Update dependencies from https://github.com/dotnet/arcade build 20190311.14 (#573) This change updates the following dependencies - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19161.14 - Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19161.14 - Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19161.14 - Microsoft.DotNet.GenFacades - 1.0.0-beta.19161.14 --- eng/Version.Details.xml | 16 +++---- eng/Versions.props | 4 +- eng/common/generate-graph-files.ps1 | 2 +- .../templates/job/generate-graph-files.yml | 48 +++++++++++++++++++ eng/common/templates/jobs/jobs.yml | 19 +++++++- global.json | 4 +- 6 files changed, 78 insertions(+), 15 deletions(-) create mode 100644 eng/common/templates/job/generate-graph-files.yml diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 5ef66b7f5ef..d5f3250a1cd 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -45,21 +45,21 @@ Note: if the Uri is a new place, you will need to add a subscription from that p https://github.com/dotnet/corefx 6d7126e0a329db795930ea17e84369eacb7bae5a - + https://github.com/dotnet/arcade - 89ab8b2b806397e5e444809a6ac12e275e0e20a2 + 2ca74c76adc84f0459b4a0352034db463d0b910f - + https://github.com/dotnet/arcade - 89ab8b2b806397e5e444809a6ac12e275e0e20a2 + 2ca74c76adc84f0459b4a0352034db463d0b910f - + https://github.com/dotnet/arcade - 89ab8b2b806397e5e444809a6ac12e275e0e20a2 + 2ca74c76adc84f0459b4a0352034db463d0b910f - + https://github.com/dotnet/arcade - b9f7cb3de92127532bd57619972ebbebc3fe685b + 2ca74c76adc84f0459b4a0352034db463d0b910f diff --git a/eng/Versions.props b/eng/Versions.props index 1feeab71495..07fec1f6a7b 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -21,8 +21,8 @@ - 1.0.0-beta.19160.2 - 2.4.0-beta.19160.2 + 1.0.0-beta.19161.14 + 2.4.0-beta.19161.14 diff --git a/eng/common/generate-graph-files.ps1 b/eng/common/generate-graph-files.ps1 index c04c80e4f61..e09c64e9f6f 100644 --- a/eng/common/generate-graph-files.ps1 +++ b/eng/common/generate-graph-files.ps1 @@ -42,7 +42,7 @@ try { } Write-Host "Generating dependency graph..." - $darc = Invoke-Expression "& `"$darcExe`" $options" + Invoke-Expression "& `"$darcExe`" $options" CheckExitCode "Generating dependency graph" $graph = Get-Content $graphVizFilePath diff --git a/eng/common/templates/job/generate-graph-files.yml b/eng/common/templates/job/generate-graph-files.yml new file mode 100644 index 00000000000..e54ce956f90 --- /dev/null +++ b/eng/common/templates/job/generate-graph-files.yml @@ -0,0 +1,48 @@ +parameters: + # Optional: dependencies of the job + dependsOn: '' + + # Optional: A defined YAML pool - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#pool + pool: {} + + # Optional: Include toolset dependencies in the generated graph files + includeToolset: false + +jobs: +- job: Generate_Graph_Files + + dependsOn: ${{ parameters.dependsOn }} + + displayName: Generate Graph Files + + pool: ${{ parameters.pool }} + + variables: + # Publish-Build-Assets provides: MaestroAccessToken, BotAccount-dotnet-maestro-bot-PAT + # DotNet-AllOrgs-Darc-Pats provides: dn-bot-devdiv-dnceng-rw-code-pat + - group: Publish-Build-Assets + - group: DotNet-AllOrgs-Darc-Pats + - name: _GraphArguments + value: -gitHubPat $(BotAccount-dotnet-maestro-bot-PAT) + -azdoPat $(dn-bot-devdiv-dnceng-rw-code-pat) + -barToken $(MaestroAccessToken) + -outputFolder '$(Build.StagingDirectory)/GraphFiles/' + - ${{ if ne(parameters.includeToolset, 'false') }}: + - name: _GraphArguments + value: ${{ variables._GraphArguments }} -includeToolset + + steps: + - task: PowerShell@2 + displayName: Generate Graph Files + inputs: + filePath: eng\common\generate-graph-files.ps1 + arguments: $(_GraphArguments) + continueOnError: true + - task: PublishBuildArtifacts@1 + displayName: Publish Graph to Artifacts + inputs: + PathtoPublish: '$(Build.StagingDirectory)/GraphFiles' + PublishLocation: Container + ArtifactName: GraphFiles + continueOnError: true + condition: always() diff --git a/eng/common/templates/jobs/jobs.yml b/eng/common/templates/jobs/jobs.yml index c1a5b4849ac..06ed58de41f 100644 --- a/eng/common/templates/jobs/jobs.yml +++ b/eng/common/templates/jobs/jobs.yml @@ -13,7 +13,13 @@ parameters: # Optional: Enable publishing to the build asset registry enablePublishBuildAssets: false - + + graphFileGeneration: + # Optional: Enable generating the graph files at the end of the build + enabled: false + # Optional: Include toolset dependencies in the generated graph files + includeToolset: false + # Optional: Include PublishTestResults task enablePublishTestResults: false @@ -68,4 +74,13 @@ jobs: vmImage: vs2017-win2016 runAsPublic: ${{ parameters.runAsPublic }} enablePublishBuildArtifacts: ${{ parameters.enablePublishBuildArtifacts }} - + +- ${{ if and(eq(parameters.graphFileGeneration.enabled, true), eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: + - template: ../job/generate-graph-files.yml + parameters: + continueOnError: ${{ parameters.continueOnError }} + includeToolset: ${{ parameters.graphFileGeneration.includeToolset }} + dependsOn: + - Asset_Registry_Publish + pool: + vmImage: vs2017-win2016 diff --git a/global.json b/global.json index 372b4c4fbc3..e37f4277b39 100644 --- a/global.json +++ b/global.json @@ -9,7 +9,7 @@ "version": "3.0.100-preview-010024" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19160.2", - "Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19158.2" + "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19161.14", + "Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19161.14" } } From 8e498a38f20d014760eec0dbc999e0f0a7e74aae Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Tue, 12 Mar 2019 13:21:54 -0700 Subject: [PATCH 15/18] Update dependencies from https://github.com/dotnet/corefx build 20190311.10 (#572) This change updates the following dependencies - System.CodeDom - 4.6.0-preview4.19161.10 - Microsoft.NETCore.Platforms - 3.0.0-preview4.19161.10 - Microsoft.Win32.Registry - 4.6.0-preview4.19161.10 - Microsoft.Win32.SystemEvents - 4.6.0-preview4.19161.10 - System.Windows.Extensions - 4.6.0-preview4.19161.10 - System.Security.Cryptography.Cng - 4.6.0-preview4.19161.10 - System.Security.Permissions - 4.6.0-preview4.19161.10 - System.Configuration.ConfigurationManager - 4.6.0-preview4.19161.10 - System.Drawing.Common - 4.6.0-preview4.19161.10 --- eng/Version.Details.xml | 36 ++++++++++++++++++------------------ eng/Versions.props | 18 +++++++++--------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index d5f3250a1cd..f97eaf0b167 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -7,43 +7,43 @@ Note: if the Uri is a new place, you will need to add a subscription from that p --> - + https://github.com/dotnet/corefx - 6d7126e0a329db795930ea17e84369eacb7bae5a + a7098b8893a0ebf53a881d43b333dcda5b2c8716 - + https://github.com/dotnet/corefx - 6d7126e0a329db795930ea17e84369eacb7bae5a + a7098b8893a0ebf53a881d43b333dcda5b2c8716 - + https://github.com/dotnet/corefx - 6d7126e0a329db795930ea17e84369eacb7bae5a + a7098b8893a0ebf53a881d43b333dcda5b2c8716 - + https://github.com/dotnet/corefx - 6d7126e0a329db795930ea17e84369eacb7bae5a + a7098b8893a0ebf53a881d43b333dcda5b2c8716 - + https://github.com/dotnet/corefx - 6d7126e0a329db795930ea17e84369eacb7bae5a + a7098b8893a0ebf53a881d43b333dcda5b2c8716 - + https://github.com/dotnet/corefx - 6d7126e0a329db795930ea17e84369eacb7bae5a + a7098b8893a0ebf53a881d43b333dcda5b2c8716 - + https://github.com/dotnet/corefx - 6d7126e0a329db795930ea17e84369eacb7bae5a + a7098b8893a0ebf53a881d43b333dcda5b2c8716 - + https://github.com/dotnet/corefx - 6d7126e0a329db795930ea17e84369eacb7bae5a + a7098b8893a0ebf53a881d43b333dcda5b2c8716 - + https://github.com/dotnet/corefx - 6d7126e0a329db795930ea17e84369eacb7bae5a + a7098b8893a0ebf53a881d43b333dcda5b2c8716 https://github.com/dotnet/arcade diff --git a/eng/Versions.props b/eng/Versions.props index 07fec1f6a7b..13130300afd 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -9,15 +9,15 @@ - 4.6.0-preview4.19160.8 - 4.6.0-preview4.19160.8 - 4.6.0-preview4.19160.8 - 4.6.0-preview4.19160.8 - 4.6.0-preview4.19160.8 - 4.6.0-preview4.19160.8 - 4.6.0-preview4.19160.8 - 4.6.0-preview4.19160.8 - 3.0.0-preview4.19160.8 + 4.6.0-preview4.19161.10 + 4.6.0-preview4.19161.10 + 4.6.0-preview4.19161.10 + 4.6.0-preview4.19161.10 + 4.6.0-preview4.19161.10 + 4.6.0-preview4.19161.10 + 4.6.0-preview4.19161.10 + 4.6.0-preview4.19161.10 + 3.0.0-preview4.19161.10 From c3e9213515d01c1266445bb5a13e59d66b9b76df Mon Sep 17 00:00:00 2001 From: Hugh Bellamy Date: Tue, 12 Mar 2019 20:38:17 +0000 Subject: [PATCH 16/18] Cleanup interfaces (#564) * Cleanup interfaces * PR feedback --- .../src/System/Resources/IAliasResolver.cs | 13 +- .../Forms/Automation/IAutomationLiveRegion.cs | 14 +- .../ICOM2PropertyPageDisplayService.cs | 15 +- .../COM2Interop/IComPropertyBrowser.cs | 32 +-- .../IComponentEditorPageSite.cs | 27 +-- .../System/Windows/Forms/DataGridColumn.cs | 6 - .../System/Windows/Forms/Design/IUIService.cs | 83 +++---- .../Forms/Design/IWinFormsEditorService.cs | 36 +-- .../Windows/Forms/FileDialog_Vista_Interop.cs | 19 +- .../Windows/Forms/IBindableComponent.cs | 22 +- .../System/Windows/Forms/IButtonControl.cs | 41 ++-- .../System/Windows/Forms/ICommandExecutor.cs | 15 +- .../src/System/Windows/Forms/ICompletion.cs | 25 -- .../System/Windows/Forms/IContainerControl.cs | 24 +- .../Windows/Forms/ICurrencyManagerProvider.cs | 24 +- ...idColumnStyleEditingNotificationService.cs | 11 + .../Windows/Forms/IDataGridEditingService.cs | 19 +- .../System/Windows/Forms/IFeatureSupport.cs | 47 +--- .../Windows/Forms/IFileReaderService.cs | 17 +- .../System/Windows/Forms/IKeyboardToolTip.cs | 14 +- .../System/Windows/Forms/IMessageFilter.cs | 25 +- .../Windows/Forms/IMessageModifyAndFilter.cs | 10 +- .../Windows/Forms/ISupportOleDropSource.cs | 20 +- .../Windows/Forms/ISupportOleDropTarget.cs | 39 +--- .../Windows/Forms/ISupportToolStripPanel.cs | 34 +-- .../src/System/Windows/Forms/IWindowTarget.cs | 32 +-- .../Windows/Forms/Layout/IArrangedElement.cs | 74 +++--- .../src/System/Windows/Forms/NativeMethods.cs | 221 ++++++++++-------- .../PropertyGridInternal/IRootGridEntry.cs | 38 +-- .../PropertyGridInternal/PropertyGridView.cs | 4 +- 30 files changed, 383 insertions(+), 618 deletions(-) delete mode 100644 src/System.Windows.Forms/src/System/Windows/Forms/ICompletion.cs create mode 100644 src/System.Windows.Forms/src/System/Windows/Forms/IDataGridColumnStyleEditingNotificationService.cs diff --git a/src/System.Windows.Forms/src/System/Resources/IAliasResolver.cs b/src/System.Windows.Forms/src/System/Resources/IAliasResolver.cs index a02423702c5..8b68dd86dc8 100644 --- a/src/System.Windows.Forms/src/System/Resources/IAliasResolver.cs +++ b/src/System.Windows.Forms/src/System/Resources/IAliasResolver.cs @@ -2,19 +2,16 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Resources { +using System.Reflection; - using System.Diagnostics; - using System.Runtime.Serialization; - using System; - using System.Reflection; - /// +namespace System.Resources +{ /// /// Summary of IAliasResolver. /// - internal interface IAliasResolver { + internal interface IAliasResolver + { AssemblyName ResolveAlias(string alias); void PushAlias(string alias, AssemblyName name); } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Automation/IAutomationLiveRegion.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Automation/IAutomationLiveRegion.cs index 19b7fc88c32..893053802c5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Automation/IAutomationLiveRegion.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Automation/IAutomationLiveRegion.cs @@ -2,17 +2,13 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms.Automation { - - /// - /// Provides support for UIA live regions. - /// The feature is available in applications that are recompiled to target .NET Framework 4.7.3 - /// or opt in into this functionality using compatibility switches. - /// - public interface IAutomationLiveRegion { +namespace System.Windows.Forms.Automation +{ + public interface IAutomationLiveRegion + { /// /// Gets or sets notification characteristics of the live region. /// AutomationLiveSetting LiveSetting { get; set; } } -} \ No newline at end of file +} diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/ICOM2PropertyPageDisplayService.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/ICOM2PropertyPageDisplayService.cs index 315175af5ce..101f9e21965 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/ICOM2PropertyPageDisplayService.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/ICOM2PropertyPageDisplayService.cs @@ -2,17 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms.ComponentModel.Com2Interop { - using System.ComponentModel; - using System.Diagnostics; - using System; - using System.Collections; - using Microsoft.Win32; - - /// - public interface ICom2PropertyPageDisplayService { - /// +namespace System.Windows.Forms.ComponentModel.Com2Interop +{ + public interface ICom2PropertyPageDisplayService + { void ShowPropertyPage(string title, object component, int dispid, Guid pageGuid, IntPtr parentHandle); } - } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/IComPropertyBrowser.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/IComPropertyBrowser.cs index 15b417fd8fb..e61ff12c2a1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/IComPropertyBrowser.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/IComPropertyBrowser.cs @@ -2,37 +2,19 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms.ComponentModel.Com2Interop { - using System.Runtime.Serialization.Formatters; - using System.Runtime.Remoting; - using System.Runtime.InteropServices; - using System.ComponentModel; - using System.Diagnostics; - using System; - using System.Collections; - using System.ComponentModel.Design; - using Microsoft.Win32; +using System.ComponentModel.Design; +using Microsoft.Win32; - /// - /// - public interface IComPropertyBrowser { - - /// +namespace System.Windows.Forms.ComponentModel.Com2Interop +{ + public interface IComPropertyBrowser + { void DropDownDone(); - - /// - - bool InPropertySet{get;} - /// - + bool InPropertySet { get; } event ComponentRenameEventHandler ComComponentNameChanged; - /// bool EnsurePendingChangesCommitted(); - /// void HandleF4(); - /// void LoadState(RegistryKey key); - /// void SaveState(RegistryKey key); } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/IComponentEditorPageSite.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/IComponentEditorPageSite.cs index e5e1d51cd02..1e7032a653f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/IComponentEditorPageSite.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/IComponentEditorPageSite.cs @@ -2,33 +2,20 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. - - -namespace System.Windows.Forms { - using System.ComponentModel; - - using System.Diagnostics; - - using System; - using System.Windows.Forms; - using Microsoft.Win32; - - /// - /// +namespace System.Windows.Forms +{ /// - /// The site for a ComponentEditorPage. + /// The site for a ComponentEditorPage. /// - public interface IComponentEditorPageSite { - - /// + public interface IComponentEditorPageSite + { /// - /// Returns the parent control for the page window. + /// Returns the parent control for the page window. /// Control GetControl(); - /// /// - /// Notifies the site that the editor is in dirty state. + /// Notifies the site that the editor is in dirty state. /// void SetDirty(); } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridColumn.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridColumn.cs index 053d01d9cf7..67716532fe3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridColumn.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridColumn.cs @@ -14,12 +14,6 @@ namespace System.Windows.Forms{ using Microsoft.Win32; using System.Runtime.InteropServices; - /// - public interface IDataGridColumnStyleEditingNotificationService { - /// - void ColumnStartedEditing(Control editingControl); - } - /// /// /// Specifies the appearance and text formatting and behavior of diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Design/IUIService.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Design/IUIService.cs index 1f497417070..096eab3116e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Design/IUIService.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Design/IUIService.cs @@ -2,110 +2,81 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using System.Collections; +using System.Runtime.InteropServices; -namespace System.Windows.Forms.Design { - - using System; - using Microsoft.Win32; - using System.Collections; - using System.ComponentModel; - using System.Diagnostics; - using System.Drawing; - using System.Runtime.Remoting; - using System.Runtime.InteropServices; - using System.Windows.Forms; - - /// +namespace System.Windows.Forms.Design +{ /// - /// - /// Provides support - /// for interaction with the user - /// interface of the development environment object that is hosting the designer. + /// Provides support for interaction with the user interface of the development + /// environment object that is hosting the designer /// [Guid("06A9C74B-5E32-4561-BE73-381B37869F4F")] - public interface IUIService { - /// + public interface IUIService + { /// - /// Gets or sets the collections of - /// styles that are specific to the host's environment. + /// Gets or sets the collections of styles that are specific to the host's environment /// - IDictionary Styles {get;} - - /// + IDictionary Styles { get; } + /// - /// Indicates whether the component can - /// display a ComponentDesigner. + /// Indicates whether the component can display a ComponentDesigner /// bool CanShowComponentEditor(object component); - /// /// - /// Gets the window that should be used for dialog parenting. + /// Gets the window that should be used for dialog parenting /// IWin32Window GetDialogOwnerWindow(); - - /// /// - /// Sets a flag indicating the UI is dirty. + /// Sets a flag indicating the UI is dirty /// void SetUIDirty(); - - /// + /// - /// Attempts to display a ComponentEditor for a component. + /// Attempts to display a ComponentEditor for a component /// bool ShowComponentEditor(object component, IWin32Window parent); - /// + /// - /// Attempts to display the specified form in a dialog box. + /// Attempts to display the specified form in a dialog box /// - DialogResult ShowDialog(Form form); - /// /// - /// Displays the specified error message in a message box. + /// Displays the specified error message in a message box /// void ShowError(string message); - /// /// - /// Displays the specified exception - /// and its information in a message box. + /// Displays the specified exception and its information in a message box /// void ShowError(Exception ex); - /// /// - /// Displays the specified exception - /// and its information in a message box. + /// Displays the specified exception and its information in a message box /// void ShowError(Exception ex, string message); - - /// + /// - /// Displays the specified message in a message box. + /// Displays the specified message in a message box /// void ShowMessage(string message); - /// /// - /// Displays the specified message in - /// a message box with the specified caption. + /// Displays the specified message in a message box with the specified caption /// void ShowMessage(string message, string caption); - /// /// - /// Displays the specified message in a message box with the specified caption and - /// buttons to place on the dialog box. + /// Displays the specified message in a message box with the specified caption and + /// buttons to place on the dialog box /// DialogResult ShowMessage(string message, string caption, MessageBoxButtons buttons); - /// /// - /// Displays the specified tool window. + /// Displays the specified tool window /// bool ShowToolWindow(Guid toolWindow); } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Design/IWinFormsEditorService.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Design/IWinFormsEditorService.cs index 424625d29c1..d89dddeda7c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Design/IWinFormsEditorService.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Design/IWinFormsEditorService.cs @@ -2,42 +2,26 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. - -namespace System.Windows.Forms.Design { - - using System.Diagnostics; - - using System.Windows.Forms; - - /// +namespace System.Windows.Forms.Design +{ /// - /// - /// Provides an interface to display Win Forms dialog - /// boxes and controls. - /// + /// Provides an interface to display Win Forms dialog boxes and controls. /// - public interface IWindowsFormsEditorService { - - /// + public interface IWindowsFormsEditorService + { /// - /// Closes a previously opened drop down - /// list. + /// Closes a previously opened drop down list /// void CloseDropDown(); - - /// + /// - /// Displays the specified control in a drop down list. + /// Displays the specified control in a drop down list /// void DropDownControl(Control control); - - /// + /// - /// - /// Shows the specified dialog box. - /// + /// Shows the specified dialog box. /// DialogResult ShowDialog(Form dialog); } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FileDialog_Vista_Interop.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FileDialog_Vista_Interop.cs index 7ada7758502..e9979ee7b46 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FileDialog_Vista_Interop.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FileDialog_Vista_Interop.cs @@ -2,41 +2,42 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using System.Runtime.InteropServices; + #pragma warning disable 108 namespace System.Windows.Forms { - using System; - using System.Runtime.InteropServices; - using System.Runtime.CompilerServices; - using System.Text; - static class FileDialogNative { [ComImport] [Guid(IIDGuid.IFileOpenDialog)] [CoClass(typeof(FileOpenDialogRCW))] internal interface NativeFileOpenDialog : IFileOpenDialog - { } + { + } [ComImport] [Guid(IIDGuid.IFileSaveDialog)] [CoClass(typeof(FileSaveDialogRCW))] internal interface NativeFileSaveDialog : IFileSaveDialog - { } + { + } [ComImport] [ClassInterface(ClassInterfaceType.None)] [TypeLibType(TypeLibTypeFlags.FCanCreate)] [Guid(CLSIDGuid.FileOpenDialog)] internal class FileOpenDialogRCW - { } + { + } [ComImport] [ClassInterface(ClassInterfaceType.None)] [TypeLibType(TypeLibTypeFlags.FCanCreate)] [Guid(CLSIDGuid.FileSaveDialog)] internal class FileSaveDialogRCW - { } + { + } internal class IIDGuid { diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IBindableComponent.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IBindableComponent.cs index e6b104800ae..db4eacb247b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IBindableComponent.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IBindableComponent.cs @@ -2,25 +2,13 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { +using System.ComponentModel; - using System; - using System.ComponentModel; - - /// - /// - /// - public interface IBindableComponent : IComponent { - - /// - /// - /// +namespace System.Windows.Forms +{ + public interface IBindableComponent : IComponent + { ControlBindingsCollection DataBindings { get; } - - /// - /// - /// BindingContext BindingContext { get; set; } - } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IButtonControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IButtonControl.cs index 34c90d8aa38..dea4e2070ff 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IButtonControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IButtonControl.cs @@ -2,43 +2,30 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - - using System.Diagnostics; - - using System; - - /// +namespace System.Windows.Forms +{ /// - /// - /// Allows a control to act like a button - /// on a form. - /// - /// + /// Allows a control to act like a button on a form. /// - public interface IButtonControl { + public interface IButtonControl + { - /// /// - /// Gets and sets the dialog result of the Button control. This is - /// used as the result for the dialog on which the button is set to - /// be an "accept" or "cancel" button. - /// + /// Gets and sets the dialog result of the Button control. This is used as the result + /// for the dialog on which the button is set to be an "accept" or "cancel" button. + /// /// - DialogResult DialogResult {get; set;} - - /// + DialogResult DialogResult { get; set; } + /// - /// Notifies a control that it is the default button so that its appearance and behavior - /// is adjusted accordingly. - /// + /// Notifies a control that it is the default button so that its appearance and behavior + /// is adjusted accordingly. + /// /// void NotifyDefault(bool value); - /// /// - /// Generates a - /// event for the control. + /// Generates a event for the control. /// void PerformClick(); } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ICommandExecutor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ICommandExecutor.cs index 31fa00825a2..fab93055824 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ICommandExecutor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ICommandExecutor.cs @@ -2,17 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - - using System.Diagnostics; - using System; - - /// - /// - /// - /// - public interface ICommandExecutor { - /// +namespace System.Windows.Forms +{ + public interface ICommandExecutor + { void Execute(); } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ICompletion.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ICompletion.cs deleted file mode 100644 index f47a3ff1acf..00000000000 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ICompletion.cs +++ /dev/null @@ -1,25 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -#if false -namespace System.Windows.Forms { - - using System.Diagnostics; - using System; - - /// - /// - /// - /// - public interface ICompletion { - /// - /// - /// This function will be called by the ThreadPool's worker threads when a - /// packet is ready. - /// - /// - void CompletionStatusChanged(bool status, int size, NativeMethods.OVERLAPPED overlapped); - } -} -#endif diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IContainerControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IContainerControl.cs index 2599c10c55a..9fd59cad111 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IContainerControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IContainerControl.cs @@ -2,28 +2,20 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. - -namespace System.Windows.Forms { - using System.ComponentModel; - - using System.Diagnostics; - - using System; - - /// +namespace System.Windows.Forms +{ /// - /// Provides functionality for a control - /// to parent other controls. + /// Provides functionality for a control to parent other controls. /// - public interface IContainerControl { - /// + public interface IContainerControl + { /// - /// Indicates the control that is currently active on the container control. + /// Indicates the control that is currently active on the container control. /// Control ActiveControl { get; set; } - /// + /// - /// Activates the specified control. + /// Activates the specified control. /// bool ActivateControl(Control active); } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ICurrencyManagerProvider.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ICurrencyManagerProvider.cs index f98d4e82ef1..eed09aed731 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ICurrencyManagerProvider.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ICurrencyManagerProvider.cs @@ -2,29 +2,21 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - - using System; - - /// - /// - /// +namespace System.Windows.Forms +{ [SRDescription(nameof(SR.ICurrencyManagerProviderDescr))] - public interface ICurrencyManagerProvider { - - /// + public interface ICurrencyManagerProvider + { /// - /// Return the main currency manager for this data source. + /// Return the main currency manager for this data source. /// CurrencyManager CurrencyManager { get; } - /// /// - /// Return a related currency manager for specified data member on this data source. - /// If data member is null or empty, this method returns the data source's main currency - /// manager (ie. this method returns the same value as the CurrencyManager property). + /// Return a related currency manager for specified data member on this data source. + /// If data member is null or empty, this method returns the data source's main currency + /// manager (ie. this method returns the same value as the CurrencyManager property). /// CurrencyManager GetRelatedCurrencyManager(string dataMember); } - } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IDataGridColumnStyleEditingNotificationService.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IDataGridColumnStyleEditingNotificationService.cs new file mode 100644 index 00000000000..193f43ad462 --- /dev/null +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IDataGridColumnStyleEditingNotificationService.cs @@ -0,0 +1,11 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace System.Windows.Forms +{ + public interface IDataGridColumnStyleEditingNotificationService + { + void ColumnStartedEditing(Control editingControl); + } +} diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IDataGridEditingService.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IDataGridEditingService.cs index 502c263795a..8db4c41f503 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IDataGridEditingService.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IDataGridEditingService.cs @@ -2,23 +2,14 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - - using System.Diagnostics; - - using System; - - /// - /// +namespace System.Windows.Forms +{ /// - /// The DataGrid exposes hooks to request editing commands - /// via this interface. + /// The DataGrid exposes hooks to request editing commands via this interface. /// - public interface IDataGridEditingService { - /// + public interface IDataGridEditingService + { bool BeginEdit(DataGridColumnStyle gridColumn, int rowNumber); - - /// bool EndEdit(DataGridColumnStyle gridColumn, int rowNumber, bool shouldAbort); } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IFeatureSupport.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IFeatureSupport.cs index 29e75b11fbc..b2f98ff29c4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IFeatureSupport.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IFeatureSupport.cs @@ -2,51 +2,28 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - using System.Configuration.Assemblies; - - using System.Diagnostics; - - using System; - - /// +namespace System.Windows.Forms +{ /// - /// - /// Specifies a standard - /// interface for retrieving feature information from the current system. - /// + /// Specifies a standard interface for retrieving feature information from the current system. /// - - public interface IFeatureSupport { - - /// + public interface IFeatureSupport + { /// - /// - /// Determines whether any version of the specified feature - /// is currently available - /// on the system. - /// + /// Determines whether any version of the specified feature is currently available + /// on the system. /// bool IsPresent(object feature); - - /// + /// - /// - /// Determines whether the specified or newer version of the - /// specified feature - /// is currently available on the system. - /// + /// Determines whether the specified or newer version of the specified feature + /// is currently available on the system. /// bool IsPresent(object feature, Version minimumVersion); - - /// + /// - /// - /// Retrieves the version - /// of the specified feature. - /// + /// Retrieves the version of the specified feature. /// Version GetVersionPresent(object feature); } - } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IFileReaderService.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IFileReaderService.cs index aba8bd3920c..fdb508c1636 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IFileReaderService.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IFileReaderService.cs @@ -2,19 +2,12 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { +using System.IO; - using System.Diagnostics; - using System; - using System.IO; - - // - - - - - public interface IFileReaderService { - /// +namespace System.Windows.Forms +{ + public interface IFileReaderService + { Stream OpenFileFromSource(string relativePath); } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IKeyboardToolTip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IKeyboardToolTip.cs index 3dc9b2aea7e..97fb4b75d4e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IKeyboardToolTip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IKeyboardToolTip.cs @@ -2,14 +2,16 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using System.Collections.Generic; +using System.Drawing; -namespace System.Windows.Forms { - using System.Collections.Generic; - using System.Drawing; - - internal interface IKeyboardToolTip { +namespace System.Windows.Forms +{ + internal interface IKeyboardToolTip + { /// - /// Returns true if a keyboard ToolTip can be shown for the tool or its descendants at this moment. + /// Returns true if a keyboard ToolTip can be shown for the tool or its + /// descendants at this moment. /// bool CanShowToolTipsNow(); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IMessageFilter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IMessageFilter.cs index 3627f9ac40d..b8f6c9fa767 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IMessageFilter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IMessageFilter.cs @@ -2,27 +2,16 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. - -namespace System.Windows.Forms { - using System.Runtime.Remoting; - - using System.Diagnostics; - - using System; - using System.Security; - - /// +namespace System.Windows.Forms +{ /// - /// - /// Defines a message filter interface. + /// Defines a message filter interface. /// - public interface IMessageFilter { - - /// + public interface IMessageFilter + { /// - /// Filters out a message before it is dispatched. + /// Filters out a message before it is dispatched. /// - /// - bool PreFilterMessage(ref Message m); + bool PreFilterMessage(ref Message m); } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IMessageModifyAndFilter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IMessageModifyAndFilter.cs index aef8b95e9d3..081cb42d699 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IMessageModifyAndFilter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IMessageModifyAndFilter.cs @@ -2,12 +2,12 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - using System; - +namespace System.Windows.Forms +{ // this is used by Application.cs to detect if we should respect changes to // the message as well as whether or not we should filter the message. - internal interface IMessageModifyAndFilter : IMessageFilter { + internal interface IMessageModifyAndFilter : IMessageFilter + { } } - + \ No newline at end of file diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropSource.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropSource.cs index 4caffb4239f..c44b888b591 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropSource.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropSource.cs @@ -2,23 +2,11 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - using System; - - internal interface ISupportOleDropSource { - - /// - /// - /// Summary of OnQueryContinueDrag. - /// - /// +namespace System.Windows.Forms +{ + internal interface ISupportOleDropSource + { void OnQueryContinueDrag(QueryContinueDragEventArgs qcdevent); - - /// - /// - /// Summary of OnGiveFeedback. - /// - /// void OnGiveFeedback(GiveFeedbackEventArgs gfbevent); } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropTarget.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropTarget.cs index c95e8e01ce3..e1792aa7d2f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropTarget.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropTarget.cs @@ -2,34 +2,13 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - using System; - - public interface IDropTarget { - - /// - /// - /// Summary of OnDragEnter. - /// - /// - void OnDragEnter(DragEventArgs e); - /// - /// - /// Summary of OnDragLeave. - /// - /// - void OnDragLeave(System.EventArgs e); - /// - /// - /// Summary of OnDragDrop. - /// - /// - void OnDragDrop(DragEventArgs e); - /// - /// - /// Summary of OnDragOver. - /// - /// - void OnDragOver(DragEventArgs e); - } +namespace System.Windows.Forms +{ + public interface IDropTarget + { + void OnDragEnter(DragEventArgs e); + void OnDragLeave(System.EventArgs e); + void OnDragDrop(DragEventArgs e); + void OnDragOver(DragEventArgs e); } +} diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ISupportToolStripPanel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ISupportToolStripPanel.cs index f64c48b0e01..2cd7a8014e6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ISupportToolStripPanel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ISupportToolStripPanel.cs @@ -2,32 +2,20 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms { - using System; - - internal interface ISupportToolStripPanel { - ToolStripPanelRow ToolStripPanelRow { - get; set; - } - - ToolStripPanelCell ToolStripPanelCell { - get; - } - - - bool Stretch { - get; set; - } +namespace System.Windows.Forms +{ + internal interface ISupportToolStripPanel + { + ToolStripPanelRow ToolStripPanelRow { get; set; } - bool IsCurrentlyDragging { - get; - } + ToolStripPanelCell ToolStripPanelCell { get; } + + bool Stretch { get; set; } + + bool IsCurrentlyDragging { get; } void BeginDrag(); - + void EndDrag(); - } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IWindowTarget.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IWindowTarget.cs index f79b6854a2f..566234b9876 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IWindowTarget.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IWindowTarget.cs @@ -2,37 +2,23 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. - -namespace System.Windows.Forms { - using System.Runtime.Remoting; - - using System.Diagnostics; - - using System; - using System.Windows.Forms; - using Microsoft.Win32; - - /// +namespace System.Windows.Forms +{ /// - /// This interface defines the communication layer between - /// a Control object and the Win32 API. Each Control object - /// has an internal implementation this interface that is called - /// by the Win32 window. + /// This interface defines the communication layer between a Control object and the + /// Win32 API. Each Control object has an internal implementation this interface that + /// is called by the Win32 window. /// - /// - public interface IWindowTarget { - - /// + public interface IWindowTarget + { /// - /// Called when the window handle of the control has changed. + /// Called when the window handle of the control has changed. /// void OnHandleChange(IntPtr newHandle); - /// /// - /// Called to do control-specific processing for this window. + /// Called to do control-specific processing for this window. /// void OnMessage(ref Message m); } - } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/IArrangedElement.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/IArrangedElement.cs index 6c6b2a55827..8daed49e5b5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/IArrangedElement.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/IArrangedElement.cs @@ -2,51 +2,67 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Windows.Forms.Layout { +using System.ComponentModel; +using System.Drawing; - using System; - using System.ComponentModel; - using System.Drawing; - using System.Windows.Forms; +namespace System.Windows.Forms.Layout +{ + internal interface IArrangedElement : IComponent + { + /// + /// Bounding rectangle of the element. + /// + Rectangle Bounds { get; } - // - - internal interface IArrangedElement : IComponent { - // Bounding rectangle of the element. - Rectangle Bounds {get; } - - // Sets the bounds for an element. Implementors should call CommonProperties.SetSpecifiedBounds. - // See Control.SetBoundsCore. + /// + /// Sets the bounds for an element. Implementors should call + /// CommonProperties.SetSpecifiedBounds. + /// See Control.SetBoundsCore. + /// void SetBounds(Rectangle bounds, BoundsSpecified specified); - // Query element for its preferred size. There is no guarantee - // that layout engine will assign the element the returned size. - // ProposedSize is a hint about constraints. + /// + /// Query element for its preferred size. There is no guarantee + /// that layout engine will assign the element the returned size. + /// ProposedSize is a hint about constraints. + /// Size GetPreferredSize(Size proposedSize); - // DisplayRectangle is the client area of a container element. - // Could possibly disappear if we change control to keep an - // up-to-date copy of display rectangle in the property store. + /// + /// DisplayRectangle is the client area of a container element. + /// Could possibly disappear if we change control to keep an + /// up-to-date copy of display rectangle in the property store. + /// Rectangle DisplayRectangle { get; } - // True if the element is currently visible (some layouts, like - // flow, need to skip non-visible elements.) + /// + /// True if the element is currently visible (some layouts, like + /// flow, need to skip non-visible elements.) + /// bool ParticipatesInLayout { get; } - // Internally, layout engines will get properties from the - // property store on this interface. In Orcas, this will be - // replaced with a global PropertyManager for DPs. + /// + /// Internally, layout engines will get properties from the + /// property store on this interface. In Orcas, this will be + /// replaced with a global PropertyManager for DPs. + /// PropertyStore Properties { get; } - // When an extender provided property is changed, we call this - // method to update the layout on the element. In Orcas, we - // will sync the DPs changed event. + /// + /// When an extender provided property is changed, we call this + /// method to update the layout on the element. In Orcas, we + /// will sync the DPs changed event. + /// void PerformLayout(IArrangedElement affectedElement, string propertyName); - // Returns the element's parent container (on a control, this forwands to Parent) + /// + /// Returns the element's parent container (on a control, this forwands to Parent) + /// IArrangedElement Container { get; } - // Returns the element's childern (on a control, this forwands to Controls) + /// + /// Returns the element's childern (on a control, this forwands to Controls) + /// ArrangedElementCollection Children { get; } } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/NativeMethods.cs b/src/System.Windows.Forms/src/System/Windows/Forms/NativeMethods.cs index e9f9e1eda78..3fddacae9c4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/NativeMethods.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/NativeMethods.cs @@ -2158,11 +2158,13 @@ public class OLECMD { } - [ComVisible(true), ComImport(), Guid("B722BCCB-4E68-101B-A2BC-00AA00404770"), - InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown), CLSCompliantAttribute(false)] + [ComVisible(true)] + [ComImport] + [Guid("B722BCCB-4E68-101B-A2BC-00AA00404770")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + [CLSCompliant(false)] public interface IOleCommandTarget { - [return: MarshalAs(UnmanagedType.I4)] [PreserveSig] int QueryStatus( @@ -2185,9 +2187,6 @@ int Exec( int pvaOut); } - /// - /// - /// [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)] public class FONTDESC { public int cbSizeOfStruct = Marshal.SizeOf(typeof(FONTDESC)); @@ -2393,65 +2392,81 @@ public struct DEVMODE public int dmPanningHeight; } - [ComImport(), Guid("0FF510A3-5FA5-49F1-8CCC-190D71083F3E"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] - public interface IVsPerPropertyBrowsing { - // hides the property at the given dispid from the properties window - // implmentors should can return E_NOTIMPL to show all properties that - // are otherwise browsable. - + [ComImport] + [Guid("0FF510A3-5FA5-49F1-8CCC-190D71083F3E")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + public interface IVsPerPropertyBrowsing + { + /// + /// Hides the property at the given dispid from the properties window + /// implmentors should can return E_NOTIMPL to show all properties that + /// are otherwise browsable. + /// [PreserveSig] int HideProperty(int dispid,ref bool pfHide); - - // will have the "+" expandable glyph next to them and can be expanded or collapsed by the user - // Returning a non-S_OK return code or false for pfDisplay will suppress this feature - + + /// + /// Will have the "+" expandable glyph next to them and can be expanded or collapsed by the user + /// Returning a non-S_OK return code or false for pfDisplay will suppress this feature + /// [PreserveSig] int DisplayChildProperties(int dispid, ref bool pfDisplay); - - // retrieves the localized name and description for a property. - // returning a non-S_OK return code will display the default values - + + /// + /// Retrieves the localized name and description for a property. + /// returning a non-S_OK return code will display the default values + /// [PreserveSig] int GetLocalizedPropertyInfo(int dispid, int localeID, [Out, MarshalAs(UnmanagedType.LPArray)] string[] pbstrLocalizedName, [Out, MarshalAs(UnmanagedType.LPArray)] string[] pbstrLocalizeDescription); - - // determines if the given (usually current) value for a property is the default. If it is not default, - // the property will be shown as bold in the browser to indcate that it has been modified from the default. - + + /// + /// Determines if the given (usually current) value for a property is the default. If it is not default, + /// the property will be shown as bold in the browser to indcate that it has been modified from the default. + /// [PreserveSig] int HasDefaultValue(int dispid, ref bool fDefault); - - // determines if a property should be made read only. This only applies to properties that are writeable, + + /// + /// Determines if a property should be made read only. This only applies to properties that are writeable, + /// [PreserveSig] int IsPropertyReadOnly(int dispid, ref bool fReadOnly); - - - // returns the classname for this object. The class name is the non-bolded text that appears in the - // properties window selection combo. If this method returns a non-S_OK return code, the default - // will be used. The default is the name string from a call to ITypeInfo::GetDocumentation(MEMID_NIL, ...); + + /// + /// Returns the classname for this object. The class name is the non-bolded text + /// that appears in the properties window selection combo. If this method returns + /// a non-S_OK return code, the default will be used. The default is the name + /// string from a call to ITypeInfo::GetDocumentation(MEMID_NIL, ...); [PreserveSig] int GetClassName([In, Out]ref string pbstrClassName); - - // checks whether the given property can be reset to some default value. If return value is non-S_OK or *pfCanReset is - // + + /// + /// Checks whether the given property can be reset to some default value. + /// If return value is non-S_OK or *pfCanReset is + /// [PreserveSig] int CanResetPropertyValue(int dispid, [In, Out]ref bool pfCanReset); - - // given property. If the return value is S_OK, the property's value will then be refreshed to the new default - // values. + + /// + /// If the return value is S_OK, the property's value will then be refreshed to the + /// new default values. + /// [PreserveSig] int ResetPropertyValue(int dispid); - } - - [ComImport(), Guid("7494683C-37A0-11d2-A273-00C04F8EF4FF"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] - public interface IManagedPerPropertyBrowsing { + } + [ComImport] + [Guid("7494683C-37A0-11d2-A273-00C04F8EF4FF")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + public interface IManagedPerPropertyBrowsing + { [PreserveSig] int GetPropertyAttributes(int dispid, ref int pcAttributes, @@ -2459,20 +2474,21 @@ int GetPropertyAttributes(int dispid, ref IntPtr pvariantInitValues); } - [ComImport(), Guid("33C0C1D8-33CF-11d3-BFF2-00C04F990235"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] - public interface IProvidePropertyBuilder { - - [PreserveSig] - int MapPropertyToBuilder( + [ComImport] + [Guid("33C0C1D8-33CF-11d3-BFF2-00C04F990235")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + public interface IProvidePropertyBuilder + { + [PreserveSig] + int MapPropertyToBuilder( int dispid, [In, Out, MarshalAs(UnmanagedType.LPArray)] int[] pdwCtlBldType, [In, Out, MarshalAs(UnmanagedType.LPArray)] string[] pbstrGuidBldr, - - [In, Out, MarshalAs(UnmanagedType.Bool)] + [In, Out, MarshalAs(UnmanagedType.Bool)] ref bool builderAvailable); - + [PreserveSig] int ExecuteBuilder( int dispid, @@ -2797,7 +2813,8 @@ public class PAGESETUPDLG { } // Any change in PRINTDLG, should also be in PRINTDLG_32 and PRINTDLG_64 - public interface PRINTDLG { + public interface PRINTDLG + { int lStructSize { get; set; } IntPtr hwndOwner { get; set; } @@ -3530,38 +3547,42 @@ public struct NMHDR public int code; } - [ComVisible(true),Guid("626FC520-A41E-11CF-A731-00A0C9082637"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)] - internal interface IHTMLDocument { - + [ComVisible(true)] + [Guid("626FC520-A41E-11CF-A731-00A0C9082637")] + [InterfaceType(ComInterfaceType.InterfaceIsDual)] + internal interface IHTMLDocument + { [return: MarshalAs(UnmanagedType.Interface)] - object GetScript(); - + object GetScript(); } - [ComImport(), Guid("376BD3AA-3845-101B-84ED-08002B2EC713"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] - public interface IPerPropertyBrowsing { - [PreserveSig] - int GetDisplayString( + [ComImport] + [Guid("376BD3AA-3845-101B-84ED-08002B2EC713")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + public interface IPerPropertyBrowsing + { + [PreserveSig] + int GetDisplayString( int dispID, [Out, MarshalAs(UnmanagedType.LPArray)] string[] pBstr); - - [PreserveSig] - int MapPropertyToPage( + + [PreserveSig] + int MapPropertyToPage( int dispID, [Out] out Guid pGuid); - - [PreserveSig] - int GetPredefinedStrings( + + [PreserveSig] + int GetPredefinedStrings( int dispID, [Out] CA_STRUCT pCaStringsOut, [Out] CA_STRUCT pCaCookiesOut); - [PreserveSig] - int GetPredefinedValue( + [PreserveSig] + int GetPredefinedValue( int dispID, [In, MarshalAs(UnmanagedType.U4)] int dwCookie, @@ -3569,16 +3590,18 @@ int GetPredefinedValue( VARIANT pVarOut); } - [ComImport(), Guid("4D07FC10-F931-11CE-B001-00AA006884E5"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] - public interface ICategorizeProperties { - - [PreserveSig] - int MapPropertyToCategory( + [ComImport] + [Guid("4D07FC10-F931-11CE-B001-00AA006884E5")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + public interface ICategorizeProperties + { + [PreserveSig] + int MapPropertyToCategory( int dispID, ref int categoryID); - [PreserveSig] - int GetCategoryName( + [PreserveSig] + int GetCategoryName( int propcat, [In, MarshalAs(UnmanagedType.U4)] int lcid, @@ -4346,12 +4369,14 @@ public class MINMAXINFO { public POINT ptMaxTrackSize = null; } - [ComImport(), Guid("B196B28B-BAB4-101A-B69C-00AA00341D07"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] - public interface ISpecifyPropertyPages { + [ComImport] + [Guid("B196B28B-BAB4-101A-B69C-00AA00341D07")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + public interface ISpecifyPropertyPages + { void GetPages( [Out] NativeMethods.tagCAUUID pPages); - } [StructLayout(LayoutKind.Sequential)/*leftover(noAutoOffset)*/] @@ -5424,29 +5449,32 @@ public enum tagSYSKIND { public delegate bool MonitorEnumProc(IntPtr monitor, IntPtr hdc, IntPtr lprcMonitor, IntPtr lParam); - [ComImport(), Guid("A7ABA9C1-8983-11cf-8F20-00805F2CD064"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] - public interface IProvideMultipleClassInfo { - // since the inheritance doesn't seem to work... - // these are from IProvideClassInfo & IProvideClassInfo2 - [PreserveSig] - UnsafeNativeMethods.ITypeInfo GetClassInfo(); + [ComImport] + [Guid("A7ABA9C1-8983-11cf-8F20-00805F2CD064")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + public interface IProvideMultipleClassInfo + { + // since the inheritance doesn't seem to work... + // these are from IProvideClassInfo & IProvideClassInfo2 + [PreserveSig] + UnsafeNativeMethods.ITypeInfo GetClassInfo(); - [PreserveSig] - int GetGUID(int dwGuidKind, [In, Out] ref Guid pGuid); + [PreserveSig] + int GetGUID(int dwGuidKind, [In, Out] ref Guid pGuid); - [PreserveSig] - int GetMultiTypeInfoCount([In, Out] ref int pcti); + [PreserveSig] + int GetMultiTypeInfoCount([In, Out] ref int pcti); - // we use arrays for most of these since we never use them anyway. - [PreserveSig] - int GetInfoOfIndex(int iti, int dwFlags, + // we use arrays for most of these since we never use them anyway. + [PreserveSig] + int GetInfoOfIndex(int iti, int dwFlags, [In, Out] ref UnsafeNativeMethods.ITypeInfo pTypeInfo, - int pTIFlags, - int pcdispidReserved, + int pTIFlags, + int pcdispidReserved, IntPtr piidPrimary, IntPtr piidSource); - } + } [StructLayout(LayoutKind.Sequential)] public class EVENTMSG { @@ -5457,8 +5485,11 @@ public class EVENTMSG { public IntPtr hwnd; } - [ComImport(), Guid("B196B283-BAB4-101A-B69C-00AA00341D07"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] - public interface IProvideClassInfo { + [ComImport] + [Guid("B196B283-BAB4-101A-B69C-00AA00341D07")] + [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] + public interface IProvideClassInfo + { [return: MarshalAs(UnmanagedType.Interface)] UnsafeNativeMethods.ITypeInfo GetClassInfo(); } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/IRootGridEntry.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/IRootGridEntry.cs index 7e9ffe73f8b..578c575e71e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/IRootGridEntry.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/IRootGridEntry.cs @@ -2,32 +2,14 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. - -namespace System.Windows.Forms.PropertyGridInternal { - using System.Runtime.InteropServices; - - using System.Diagnostics; - - using System; - using System.Collections; - using System.Reflection; - using System.ComponentModel; - using System.ComponentModel.Design; - using System.Windows.Forms; - using System.Drawing; - using Microsoft.Win32; - - /// - public interface IRootGridEntry{ - /// - AttributeCollection BrowsableAttributes { - get; - set; - } - /// - - void ResetBrowsableAttributes(); - /// - void ShowCategories(bool showCategories); - } +using System.ComponentModel; + +namespace System.Windows.Forms.PropertyGridInternal +{ + public interface IRootGridEntry + { + AttributeCollection BrowsableAttributes { get; set; } + void ResetBrowsableAttributes(); + void ShowCategories(bool showCategories); + } } diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridView.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridView.cs index 01b2226572f..7f7637ca234 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridView.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridView.cs @@ -6953,8 +6953,8 @@ internal override void SetFocus() { } } - internal interface IMouseHookClient { - + internal interface IMouseHookClient + { // return true if the click is handled, false // to pass it on bool OnClickHooked(); From a7198021635c38eda3b28749ada207878d20ca8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20L=C3=B6ffelmann?= <9663150+KlausLoeffelmann@users.noreply.github.com> Date: Tue, 12 Mar 2019 23:15:01 +0100 Subject: [PATCH 17/18] Port the ArrayEditor from the classic framework and add unit test. (#575) The ArrayEditor is needed to enable runtime designer functionality for the Chart control (WinForms Core DataVisualization). --- .../ComponentModel/Design/ArrayEditor.cs | 60 ++++++++++++++++ .../tests/UnitTests/ArrayEditorTests.cs | 70 +++++++++++++++++++ 2 files changed, 130 insertions(+) create mode 100644 src/System.Windows.Forms.Design.Editors/src/System/ComponentModel/Design/ArrayEditor.cs create mode 100644 src/System.Windows.Forms.Design.Editors/tests/UnitTests/ArrayEditorTests.cs diff --git a/src/System.Windows.Forms.Design.Editors/src/System/ComponentModel/Design/ArrayEditor.cs b/src/System.Windows.Forms.Design.Editors/src/System/ComponentModel/Design/ArrayEditor.cs new file mode 100644 index 00000000000..96f37093d15 --- /dev/null +++ b/src/System.Windows.Forms.Design.Editors/src/System/ComponentModel/Design/ArrayEditor.cs @@ -0,0 +1,60 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +using System; + +namespace System.ComponentModel.Design +{ + /// + /// Edits an array of values. + /// + public class ArrayEditor : CollectionEditor + { + + /// + /// Initializes a new instance of + /// using the specified type for the array. + /// + public ArrayEditor(Type type) : base(type) + { + } + + /// + /// Gets or sets the data type this collection contains. + /// + protected override Type CreateCollectionItemType() => CollectionType.GetElementType(); + + /// + /// Gets the items in the array. + /// + /// + protected override object[] GetItems(object editValue) + { + if (editValue is Array) + { + Array valueArray = (Array)editValue; + object[] items = new object[valueArray.GetLength(0)]; + Array.Copy(valueArray, items, items.Length); + return items; + } + else + { + return new object[0]; + } + } + + /// + /// Sets the items in the array. + /// + protected override object SetItems(object editValue, object[] value) + { + if (editValue is Array || editValue == null) + { + Array newArray = Array.CreateInstance(CollectionItemType, value.Length); + Array.Copy(value, newArray, value.Length); + return newArray; + } + return editValue; + } + } +} diff --git a/src/System.Windows.Forms.Design.Editors/tests/UnitTests/ArrayEditorTests.cs b/src/System.Windows.Forms.Design.Editors/tests/UnitTests/ArrayEditorTests.cs new file mode 100644 index 00000000000..93b3a8b4465 --- /dev/null +++ b/src/System.Windows.Forms.Design.Editors/tests/UnitTests/ArrayEditorTests.cs @@ -0,0 +1,70 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.ComponentModel; +using System.Globalization; +using System.Reflection; +using Xunit; + +namespace System.ComponentModel.Design.Tests +{ + public class ArrayEditorTests + { + [Fact] + public void ArrayEditor_Constructor() + { + var underTest = GetNewEditor(); + Assert.NotNull(underTest); + } + + [Fact] + public void ArrayEditor_Getters() + { + var underTest = GetNewEditor(); + Assert.Equal(typeof(string), underTest.GetCollectionType()); + Assert.True(underTest.CanSelectMultiple()); + Assert.True(underTest.CanRemove("some string")); + Assert.True(underTest.CanRemove(1234)); + Assert.Equal("net.ComponentModel.CollectionEditor", underTest.GetHelpTopic()); + Assert.Equal("my string", underTest.GetItemDisplayText("my string")); + } + + private TestArrayEditor GetNewEditor() + { + return new TestArrayEditor(typeof(string)); + } + + private class TestArrayEditor : ArrayEditor + { + public TestArrayEditor(Type type) : base(type) + { + } + + public Type GetCollectionType() + { + return base.CollectionType; + } + + public bool CanSelectMultiple() + { + return base.CanSelectMultipleInstances(); + } + + public bool CanRemove(object value) + { + return base.CanRemoveInstance(value); + } + + public string GetHelpTopic() + { + return base.HelpTopic; + } + + public string GetItemDisplayText(object value) + { + return base.GetDisplayText(value); + } + } + } +} From 671d130eda4a6ce2c8d7a593851abc49a8ac5475 Mon Sep 17 00:00:00 2001 From: Zachary Danz Date: Tue, 12 Mar 2019 15:29:15 -0700 Subject: [PATCH 18/18] helix: use a project instead of template (#569) * make project * move xunit project to template * use correct project; really use it * add xunitpublishtargetfx * match version * actually path to json * helix build and system accesstoken * run unit tests on machine for debug and on helix for release * rename buildvars.ps1 to pre-build.ps1 * do not show other step as skipped * incorrect syntax * revert to previous version * commenting, due diligence --- eng/ci-helix-test.yml | 43 +++++++++++++++++++++------------------ eng/ci.yml | 24 +++++++++++++++++----- eng/helixpublish.proj | 47 +++++++++++++++++++++++++++++++++++++++++++ eng/pre-build.ps1 | 7 +++++++ 4 files changed, 96 insertions(+), 25 deletions(-) create mode 100644 eng/helixpublish.proj create mode 100644 eng/pre-build.ps1 diff --git a/eng/ci-helix-test.yml b/eng/ci-helix-test.yml index e219f7ab2f1..549113711ed 100644 --- a/eng/ci-helix-test.yml +++ b/eng/ci-helix-test.yml @@ -4,28 +4,31 @@ parameters: HelixType: 'tests/default' HelixTargetQueues: '' HelixAccessToken: '' - Creator: '' - XUnitProjects: '' - DisplayNamePrefix: '' + Creator: '' + XUnitProjects: '' + DisplayNamePrefix: '' + condition: succeeded() steps: -- template: /eng/common/templates/steps/send-to-helix.yml - parameters: +- task: DotNetCoreCLI@2 + inputs: + command: custom + projects: eng/helixpublish.proj + custom: msbuild + arguments: '/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/SendToHelix.binlog' + displayName: ${{ parameters.DisplayNamePrefix }} + env: HelixSource: ${{ parameters.HelixSource }} - HelixType: ${{ parameters.HelixType }} + HelixType: ${{ parameters.HelixType }} HelixBuild: $(Build.BuildNumber) HelixTargetQueues: ${{ parameters.HelixTargetQueues }} - HelixAccessToken: ${{ parameters.HelixAccessToken }} # only defined for internal CI - Creator: ${{ parameters.Creator }} # required for public / external (when there is no access token) - XUnitProjects: ${{ parameters.XUnitProjects }} - XUnitPublishTargetFramework: netcoreapp3.0 # Whatever tfm will work for our test projects for `dotnet publish` - XUnitRuntimeTargetFramework: netcoreapp2.0 # Whatever tfm to pick from the xunit package, it must exist in that package or the helix job will fail - XUnitRunnerVersion: '2.4.1' # Should match XUnitRunnerConsoleVersion in eng/Versions.props - IncludeDotNetCli: true - DotNetCliPackageType: 'sdk' - DotNetCliVersion: '3.0.100-preview-010184' # MUST be official release: https://dotnet.microsoft.com/download/dotnet-core/3.0 ; does not need to match sdk we build against - EnableXUnitReporter: true - WaitForWorkItemCompletion: true - DisplayNamePrefix: ${{ parameters.DisplayNamePrefix }} - condition: succeeded() - continueOnError: false \ No newline at end of file + HelixAccessToken: ${{ parameters.HelixAccessToken }} + Creator: ${{ parameters.Creator }} + WorkItemCommand: ${{ parameters.WorkItemCommand }} + CorrelationPayloadDirectory: ${{ parameters.CorrelationPayloadDirectory }} + XUnitProjects: ${{ parameters.XUnitProjects }} + SYSTEM_ACCESSTOKEN: $(System.AccessToken) #required to report test results back to AzDO + XUnitPublishTargetFramework: netcoreapp3.0 + XUnitRuntimeTargetFramework: netcoreapp2.0 + condition: ${{ parameters.condition }} + continueOnError: false \ No newline at end of file diff --git a/eng/ci.yml b/eng/ci.yml index c283f682e4e..d663be4addc 100644 --- a/eng/ci.yml +++ b/eng/ci.yml @@ -116,6 +116,10 @@ jobs: - checkout: self clean: true + # Set VSO Variable(s) + - powershell: eng\pre-build.ps1 + displayName: Pre-Build - Set VSO Variables + # Build and rename binlog - script: eng\cibuild.cmd -prepareMachine @@ -125,7 +129,17 @@ jobs: /bl:$(BUILD.SOURCESDIRECTORY)\artifacts\log\$(_BuildConfig)\Build.binlog displayName: Build - # Run unit tests on Helix + # Run Unit Tests + # this should no longer be necessary once Helix is ready to report back code coverage + - script: eng\cibuild.cmd + -prepareMachine + -configuration $(_BuildConfig) + $(_OfficialBuildIdArgs) + -test + /bl:$(BUILD.SOURCESDIRECTORY)\artifacts\log\$(_BuildConfig)\Test.binlog #SendToHelix.binlog for helix version + displayName: Run Unit Tests on Build Machine (Debug only) + condition: and(succeeded(), eq(variables['_BuildConfig'], 'Debug')) # on build machine (with test signing) + - template: /eng/ci-helix-test.yml parameters: HelixSource: $(_HelixSource) @@ -133,9 +147,9 @@ jobs: HelixTargetQueues: $(_UnitTestHelixAgentPool) HelixAccessToken: $(_HelixToken) # only defined for internal CI Creator: $(_HelixCreator) - # Should be $(BUILD.SOURCESDIRECTOR)System.Windows.Forms/src/**/*.Tests.csproj, but cannot until https://github.com/dotnet/arcade/issues/2156 is fixed - XUnitProjects: '$(BUILD.SOURCESDIRECTORY)\src\System.Windows.Forms\tests\UnitTests\System.Windows.Forms.Tests.csproj;$(BUILD.SOURCESDIRECTORY)\src\System.Windows.Forms.Design\tests\UnitTests\System.Windows.Forms.Design.Tests.csproj;$(BUILD.SOURCESDIRECTORY)\src\System.Windows.Forms.Design.Editors\tests\UnitTests\System.Windows.Forms.Design.Editors.Tests.csproj' - DisplayNamePrefix: 'Send Unit Tests (Windows.10) to Helix' + XUnitProjects: '..\src\**\*.Tests.csproj' + DisplayNamePrefix: 'Send Unit Tests (Windows.10) to Helix (Release only)' + condition: and(succeeded(), eq(variables['_BuildConfig'], 'Release')) # on helix (with real signing on internal) # Run integration tests and rename binlog # These are not ready to run on Helix because: @@ -146,7 +160,7 @@ jobs: $(_OfficialBuildIdArgs) -integrationTest /bl:$(BUILD.SOURCESDIRECTORY)\artifacts\log\$(_BuildConfig)\IntegrationTest.binlog - displayName: Run Integration Tests + displayName: Run Integration Tests on Build Machine # Create Nuget package, sign, and publish; and rename binlog - script: eng\cibuild.cmd diff --git a/eng/helixpublish.proj b/eng/helixpublish.proj new file mode 100644 index 00000000000..ae55279f2a8 --- /dev/null +++ b/eng/helixpublish.proj @@ -0,0 +1,47 @@ + + + + + + $(HelixBuild) + 123460.01 + + + + true + sdk + + $(DotNetCliVersion) + + + + $(AGENT_JOBNAME) + + + + + + true + + $(XUnitPublishTargetFramework) + $(XUnitRuntimeTargetFramework) + $(XUnitRunnerConsoleVersion) + + + + + %(Identity) + + + + + + + + + + + msbuild + + + diff --git a/eng/pre-build.ps1 b/eng/pre-build.ps1 new file mode 100644 index 00000000000..baad60ccbd9 --- /dev/null +++ b/eng/pre-build.ps1 @@ -0,0 +1,7 @@ +# Open global.json +$globaljsonpath = Join-Path $env:BUILD_SOURCESDIRECTORY 'global.json' +$jsondata = Get-Content -Raw -Path $globaljsonpath | ConvertFrom-Json + +# Set DotNetCliVersion to global.json.tools.dotnet +$dotnetcliver = $jsondata.tools.dotnet +Write-Host "##vso[task.setvariable variable=DotNetCliVersion;]$dotnetcliver" \ No newline at end of file