primeiro commit

This commit is contained in:
Diego Freitas 2025-07-09 11:11:55 -03:00
commit 66271c9062
434 changed files with 546999 additions and 0 deletions

50
.gitignore vendored Normal file
View File

@ -0,0 +1,50 @@
# These are some examples of commonly ignored file patterns.
# You should customize this list as applicable to your project.
# Learn more about .gitignore:
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
# Node artifact files
node_modules/
dist/
# Compiled Java class files
*.class
# Compiled Python bytecode
*.py[cod]
# Log files
*.log
# Package files
*.jar
# Maven
target/
dist/
# JetBrains IDE
.idea/
# Unit test reports
TEST*.xml
# Generated by MacOS
.DS_Store
# Generated by Windows
Thumbs.db
# Applications
*.app
*.exe
*.war
# Large media files
*.mp4
*.tiff
*.avi
*.flv
*.mov
*.wmv

781
Banco.sql Normal file

File diff suppressed because one or more lines are too long

5578
Cidades.sql Normal file

File diff suppressed because it is too large Load Diff

BIN
Documentos/Tabelas.docx Normal file

Binary file not shown.

37
Estados.sql Normal file
View File

@ -0,0 +1,37 @@
/*
-- Query: select
idstates as 'idestado',
description as 'descricao',
uf
from states
LIMIT 0, 1000
-- Date: 2021-03-07 08:56
*/
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (11,'Rondônia','RO');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (12,'Acre','AC');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (13,'Amazonas','AM');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (14,'Roraima','RR');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (15,'Pará','PA');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (16,'Amapá','AP');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (17,'Tocantins','TO');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (21,'Maranhão','MA');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (22,'Piauí','PI');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (23,'Ceará','CE');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (24,'Rio Grande do Norte','RN');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (25,'Paraíba','PB');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (26,'Pernambuco','PE');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (27,'Alagoas','AL');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (28,'Sergipe','SE');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (29,'Bahia','BA');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (31,'Minas Gerais','MG');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (32,'Espírito Santo','ES');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (33,'Rio de Janeiro','RJ');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (35,'São Paulo','SP');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (41,'Paraná','PR');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (42,'Santa Catarina','SC');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (43,'Rio Grande do Sul','RS');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (50,'Mato Grosso do Sul','MS');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (51,'Mato Grosso','MT');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (52,'Goiás','GO');
INSERT INTO `estados` (`idestado`,`descricao`,`uf`) VALUES (53,'Distrito Federal','DF');

BIN
FMovel/.vs/FMovel/v16/.suo Normal file

Binary file not shown.

BIN
FMovel/.vs/FMovel/v17/.suo Normal file

Binary file not shown.

View File

@ -0,0 +1,118 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\ZendionINC\\fmovel\\FMovel\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}|FMovel\\FMovel.csproj|C:\\ZendionINC\\fmovel\\FMovel\\fmovel\\frmcontaspagar.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}|FMovel\\FMovel.csproj|solutionrelative:fmovel\\frmcontaspagar.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}|FMovel\\FMovel.csproj|C:\\ZendionINC\\fmovel\\FMovel\\fmovel\\frmcontaspagar.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}|FMovel\\FMovel.csproj|solutionrelative:fmovel\\frmcontaspagar.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}|FMovel\\FMovel.csproj|C:\\ZendionINC\\fmovel\\FMovel\\fmovel\\frmconsultacontas.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}|FMovel\\FMovel.csproj|solutionrelative:fmovel\\frmconsultacontas.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}|FMovel\\FMovel.csproj|C:\\ZendionINC\\fmovel\\FMovel\\fmovel\\frmconsultacontas.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}|FMovel\\FMovel.csproj|solutionrelative:fmovel\\frmconsultacontas.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}|FMovel\\FMovel.csproj|C:\\ZendionINC\\fmovel\\FMovel\\fmovel\\globalfunctions.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}|FMovel\\FMovel.csproj|solutionrelative:fmovel\\globalfunctions.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}|FMovel\\FMovel.csproj|C:\\ZendionINC\\fmovel\\FMovel\\fmovel\\variaveis.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}|FMovel\\FMovel.csproj|solutionrelative:fmovel\\variaveis.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 4,
"Children": [
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "frmConsultaContas.cs",
"DocumentMoniker": "C:\\ZendionINC\\fmovel\\FMovel\\FMovel\\frmConsultaContas.cs",
"RelativeDocumentMoniker": "FMovel\\frmConsultaContas.cs",
"ToolTip": "C:\\ZendionINC\\fmovel\\FMovel\\FMovel\\frmConsultaContas.cs",
"RelativeToolTip": "FMovel\\frmConsultaContas.cs",
"ViewState": "AQIAAAMAAAAAAAAAAAAAABkAAAAiAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-12-24T11:15:08.647Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "frmConsultaContas.cs [Design]",
"DocumentMoniker": "C:\\ZendionINC\\fmovel\\FMovel\\FMovel\\frmConsultaContas.cs",
"RelativeDocumentMoniker": "FMovel\\frmConsultaContas.cs",
"ToolTip": "C:\\ZendionINC\\fmovel\\FMovel\\FMovel\\frmConsultaContas.cs [Design]",
"RelativeToolTip": "FMovel\\frmConsultaContas.cs [Design]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-12-24T13:27:40.319Z",
"EditorCaption": " [Design]"
},
{
"$type": "Document",
"DocumentIndex": 4,
"Title": "GlobalFunctions.cs",
"DocumentMoniker": "C:\\ZendionINC\\fmovel\\FMovel\\FMovel\\GlobalFunctions.cs",
"RelativeDocumentMoniker": "FMovel\\GlobalFunctions.cs",
"ToolTip": "C:\\ZendionINC\\fmovel\\FMovel\\FMovel\\GlobalFunctions.cs",
"RelativeToolTip": "FMovel\\GlobalFunctions.cs",
"ViewState": "AQIAAJ4AAAAAAAAAAAAowA8BAAAWAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-12-24T11:34:29.902Z"
},
{
"$type": "Document",
"DocumentIndex": 5,
"Title": "Variaveis.cs",
"DocumentMoniker": "C:\\ZendionINC\\fmovel\\FMovel\\FMovel\\Variaveis.cs",
"RelativeDocumentMoniker": "FMovel\\Variaveis.cs",
"ToolTip": "C:\\ZendionINC\\fmovel\\FMovel\\FMovel\\Variaveis.cs",
"RelativeToolTip": "FMovel\\Variaveis.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-12-24T11:34:28.216Z"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "frmContasPagar.cs",
"DocumentMoniker": "C:\\ZendionINC\\fmovel\\FMovel\\FMovel\\frmContasPagar.cs",
"RelativeDocumentMoniker": "FMovel\\frmContasPagar.cs",
"ToolTip": "C:\\ZendionINC\\fmovel\\FMovel\\FMovel\\frmContasPagar.cs",
"RelativeToolTip": "FMovel\\frmContasPagar.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAABsAAACiAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-12-24T10:59:42.874Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "frmContasPagar.cs [Design]",
"DocumentMoniker": "C:\\ZendionINC\\fmovel\\FMovel\\FMovel\\frmContasPagar.cs",
"RelativeDocumentMoniker": "FMovel\\frmContasPagar.cs",
"ToolTip": "C:\\ZendionINC\\fmovel\\FMovel\\FMovel\\frmContasPagar.cs [Design]",
"RelativeToolTip": "FMovel\\frmContasPagar.cs [Design]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-12-24T10:59:00.857Z",
"EditorCaption": " [Design]"
}
]
}
]
}
]
}

25
FMovel/FMovel.sln Normal file
View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30011.22
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FMovel", "FMovel\FMovel.csproj", "{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {805498CF-BF95-4E48-BE78-98B4C8E2DCCB}
EndGlobalSection
EndGlobal

26
FMovel/FMovel/App.config Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<appSettings>
<add key="MySQLHost" value="zendioninc.mooo.com" />
<add key="MySQLDatabase" value="fmovel" />
<add key="MySQLUser" value="zendion" />
<add key="MySQLPassword" value="Z210203!" />
</appSettings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

450
FMovel/FMovel/FMovel.csproj Normal file
View File

@ -0,0 +1,450 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5663DFCC-3A60-4425-85B1-0F3976AFB2E1}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>FMovel</RootNamespace>
<AssemblyName>FMovel</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>1</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Icone.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942">
<HintPath>..\packages\BouncyCastle.1.8.5\lib\BouncyCastle.Crypto.dll</HintPath>
</Reference>
<Reference Include="Google.Protobuf, Version=3.11.4.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Protobuf.3.11.4\lib\net45\Google.Protobuf.dll</HintPath>
</Reference>
<Reference Include="K4os.Compression.LZ4, Version=1.1.11.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
<HintPath>..\packages\K4os.Compression.LZ4.1.1.11\lib\net46\K4os.Compression.LZ4.dll</HintPath>
</Reference>
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.1.11.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
<HintPath>..\packages\K4os.Compression.LZ4.Streams.1.1.11\lib\net46\K4os.Compression.LZ4.Streams.dll</HintPath>
</Reference>
<Reference Include="K4os.Hash.xxHash, Version=1.0.6.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
<HintPath>..\packages\K4os.Hash.xxHash.1.0.6\lib\net46\K4os.Hash.xxHash.dll</HintPath>
</Reference>
<Reference Include="MySql.Data, Version=8.0.23.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>..\packages\MySql.Data.8.0.23\lib\net452\MySql.Data.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Renci.SshNet, Version=2020.0.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106, processorArchitecture=MSIL">
<HintPath>..\packages\SSH.NET.2020.0.0\lib\net40\Renci.SshNet.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Configuration" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.4.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Transactions" />
<Reference Include="System.Windows.Forms.DataVisualization" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Ubiety.Dns.Core, Version=2.2.1.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>..\packages\MySql.Data.8.0.23\lib\net452\Ubiety.Dns.Core.dll</HintPath>
</Reference>
<Reference Include="Zstandard.Net, Version=1.1.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>..\packages\MySql.Data.8.0.23\lib\net452\Zstandard.Net.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="frmAgendamentos.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmAgendamentos.Designer.cs">
<DependentUpon>frmAgendamentos.cs</DependentUpon>
</Compile>
<Compile Include="frmAtualizador.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmAtualizador.Designer.cs">
<DependentUpon>frmAtualizador.cs</DependentUpon>
</Compile>
<Compile Include="frmBackup.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmBackup.Designer.cs">
<DependentUpon>frmBackup.cs</DependentUpon>
</Compile>
<Compile Include="frmBancos.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmBancos.Designer.cs">
<DependentUpon>frmBancos.cs</DependentUpon>
</Compile>
<Compile Include="frmCentrosCustos.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmCentrosCustos.Designer.cs">
<DependentUpon>frmCentrosCustos.cs</DependentUpon>
</Compile>
<Compile Include="frmClientes.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmClientes.Designer.cs">
<DependentUpon>frmClientes.cs</DependentUpon>
</Compile>
<Compile Include="frmConfiguracoes.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmConfiguracoes.Designer.cs">
<DependentUpon>frmConfiguracoes.cs</DependentUpon>
</Compile>
<Compile Include="frmConsultaContas.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmConsultaContas.Designer.cs">
<DependentUpon>frmConsultaContas.cs</DependentUpon>
</Compile>
<Compile Include="frmContasPagar.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmContasPagar.Designer.cs">
<DependentUpon>frmContasPagar.cs</DependentUpon>
</Compile>
<Compile Include="frmFabricantes.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmFabricantes.Designer.cs">
<DependentUpon>frmFabricantes.cs</DependentUpon>
</Compile>
<Compile Include="frmFornecedores.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmFornecedores.Designer.cs">
<DependentUpon>frmFornecedores.cs</DependentUpon>
</Compile>
<Compile Include="frmLogin.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmLogin.Designer.cs">
<DependentUpon>frmLogin.cs</DependentUpon>
</Compile>
<Compile Include="frmMenu.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmMenu.Designer.cs">
<DependentUpon>frmMenu.cs</DependentUpon>
</Compile>
<Compile Include="frmMovimentosFixos.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmMovimentosFixos.Designer.cs">
<DependentUpon>frmMovimentosFixos.cs</DependentUpon>
</Compile>
<Compile Include="frmPermissoes.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmPermissoes.Designer.cs">
<DependentUpon>frmPermissoes.cs</DependentUpon>
</Compile>
<Compile Include="frmSobre.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmSobre.Designer.cs">
<DependentUpon>frmSobre.cs</DependentUpon>
</Compile>
<Compile Include="frmSplash.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmSplash.Designer.cs">
<DependentUpon>frmSplash.cs</DependentUpon>
</Compile>
<Compile Include="frmUsuarios.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmUsuarios.Designer.cs">
<DependentUpon>frmUsuarios.cs</DependentUpon>
</Compile>
<Compile Include="frmVeiculos.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmVeiculos.Designer.cs">
<DependentUpon>frmVeiculos.cs</DependentUpon>
</Compile>
<Compile Include="frmVeiculosCustos.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmVeiculosCustos.Designer.cs">
<DependentUpon>frmVeiculosCustos.cs</DependentUpon>
</Compile>
<Compile Include="frmVisitas.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmVisitas.Designer.cs">
<DependentUpon>frmVisitas.cs</DependentUpon>
</Compile>
<Compile Include="GlobalFunctions.cs" />
<Compile Include="Models\BancosModel.cs" />
<Compile Include="Models\ClientesModel.cs" />
<Compile Include="Models\ConfiguracoesModel.cs" />
<Compile Include="Models\ContasModel.cs" />
<Compile Include="Models\EnderecoModel.cs" />
<Compile Include="Models\FabricantesModel.cs" />
<Compile Include="Models\FormulariosModel.cs" />
<Compile Include="Models\FornecedoresModel.cs" />
<Compile Include="Models\PermissoesModel.cs" />
<Compile Include="Models\ResultadosVisitasModel.cs" />
<Compile Include="Models\UsuariosModel.cs" />
<Compile Include="Models\VeiculosModel.cs" />
<Compile Include="Models\VersaoModel.cs" />
<Compile Include="Models\VisitasModel.cs" />
<Compile Include="MySQLConnector.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Variaveis.cs" />
<EmbeddedResource Include="frmAgendamentos.resx">
<DependentUpon>frmAgendamentos.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmAtualizador.resx">
<DependentUpon>frmAtualizador.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmBackup.resx">
<DependentUpon>frmBackup.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmBancos.resx">
<DependentUpon>frmBancos.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmCentrosCustos.resx">
<DependentUpon>frmCentrosCustos.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmClientes.resx">
<DependentUpon>frmClientes.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmConfiguracoes.resx">
<DependentUpon>frmConfiguracoes.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmConsultaContas.resx">
<DependentUpon>frmConsultaContas.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmContasPagar.resx">
<DependentUpon>frmContasPagar.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmFabricantes.resx">
<DependentUpon>frmFabricantes.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmFornecedores.resx">
<DependentUpon>frmFornecedores.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmLogin.resx">
<DependentUpon>frmLogin.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmMenu.resx">
<DependentUpon>frmMenu.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmMovimentosFixos.resx">
<DependentUpon>frmMovimentosFixos.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmPermissoes.resx">
<DependentUpon>frmPermissoes.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmSobre.resx">
<DependentUpon>frmSobre.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmSplash.resx">
<DependentUpon>frmSplash.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmUsuarios.resx">
<DependentUpon>frmUsuarios.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmVeiculos.resx">
<DependentUpon>frmVeiculos.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmVeiculosCustos.resx">
<DependentUpon>frmVeiculosCustos.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmVisitas.resx">
<DependentUpon>frmVisitas.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\pasta-usuario.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_User.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\login.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Backup.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Bank.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Bills.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Bills2.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Calendar.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Cancel.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Cars.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Client.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Delete.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Edit.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_First.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Insert.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Last.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Login.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Next.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Pay.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Previous.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Print.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Save.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Search.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Stock.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Circle_Visit.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Contas.jpg" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Excel.png" />
</ItemGroup>
<ItemGroup>
<Content Include="Icone.ico" />
<None Include="Resources\Icone.png" />
<None Include="Resources\Splash_1.png" />
<None Include="Resources\Circle_Note.png" />
<None Include="Resources\Circle_Calculator.png" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 e x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory>publish\</PublishUrlHistory>
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>pt-BR</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,291 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static FMovel.Variaveis;
namespace FMovel
{
class GlobalFunctions
{
public static List<Form> ListaJanelas = new List<Form>();
public static List<Color> ListaCores = new List<Color>();
public static bool ExecutarCMD(string comando)
{
/*using (Process processo = new Process())
{
processo.StartInfo.FileName = Environment.GetEnvironmentVariable("comspec");
// Formata a string para passar como argumento para o cmd.exe
processo.StartInfo.Arguments = string.Format("/c {0}", comando);
processo.StartInfo.RedirectStandardOutput = true;
processo.StartInfo.UseShellExecute = false;
processo.StartInfo.CreateNoWindow = true;
processo.Start();
processo.WaitForExit();
string saida = processo.StandardOutput.ReadToEnd();
return true;
}*/
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.FileName = "cmd.exe";
startInfo.Arguments = "/C " + comando;
startInfo.Verb = "runas";
process.StartInfo = startInfo;
process.Start();
return true;
}
public static Color GerarCorAleatoria()
{
Random rnd = new Random();
Color randomColor = Color.FromArgb(rnd.Next(150), rnd.Next(150), rnd.Next(200));
return randomColor;
}
public static void IniciarFormularios()
{
ListaJanelas.Clear();
ListaJanelas.Add(Variaveis.frmAgendamentos);
ListaJanelas.Add(Variaveis.frmBackup);
ListaJanelas.Add(Variaveis.frmBancos);
ListaJanelas.Add(Variaveis.frmCentrosCustos);
ListaJanelas.Add(Variaveis.frmClientes);
ListaJanelas.Add(Variaveis.frmConfiguracoes);
ListaJanelas.Add(Variaveis.frmConsultaContas);
ListaJanelas.Add(Variaveis.frmContasPagar);
ListaJanelas.Add(Variaveis.frmVisitas);
ListaJanelas.Add(Variaveis.frmVeiculosCustos);
ListaJanelas.Add(Variaveis.frmFabricantes);
ListaJanelas.Add(Variaveis.frmFornecedores);
ListaJanelas.Add(Variaveis.frmMovimentosFixos);
ListaJanelas.Add(Variaveis.frmPermissoes);
ListaJanelas.Add(Variaveis.frmUsuarios);
ListaJanelas.Add(Variaveis.frmVeiculos);
ListaJanelas.Add(Variaveis.frmSobre);
ListaJanelas = ListaJanelas.OrderBy(x => x.Text).ToList();
for (int i = 0; i < ListaJanelas.Count; i++)
{
ListaJanelas[i].MdiParent = Variaveis.frmMenu;
ListaJanelas[i].Tag = "PA";
}
}
public static void AbrirFormulario(Form Formulario)
{
if (!VerificarPermissao(Formulario.Text, Acoes.Abrir))
return;
if (Formulario.Visible)
return;
Formulario.MdiParent = Variaveis.frmMenu;
Formulario.Show();
}
public static bool VerificarPermissao(string TextoFormulario, Acoes Acao)
{
bool Permitido = false;
try
{
if (MySQLConnector.ExecutarQuerySemCallback("SELECT pu.* FROM permissoesusuario pu " +
"INNER JOIN permissoesacoes pa ON pu.idpermissoesacoes = pa.idpermissoesacoes " +
"WHERE pu.idusuarios = " + Variaveis.UsuarioLogado.idusuarios +
" AND pa.formulario = '" + TextoFormulario +
"' AND (pa.acao = '" + Acao.ToString() + "' OR pa.acao = 'AcessoTotal');", true))
Permitido = true;
if (!Permitido)
MessageBox.Show("Usuário não possui permissão para " + Acao.ToString() + " na janela de " + TextoFormulario, "Erro", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
catch (Exception e)
{
Console.WriteLine("Erro ao verificar as permissões. Erro: " + e.Message);
}
return Permitido;
}
public static bool ExportarTabelaExcel(DataGridView dtDados)
{
List<string> Linhas = new List<string>();
string Linha = "";
for (int i = 0; i < dtDados.Columns.Count; i++)
{
Linha += dtDados.Columns[i].HeaderText + ";";
}
Linhas.Add(Linha);
for (int o = 0; o < dtDados.Rows.Count; o++)
{
Linha = "";
for (int i = 0; i < dtDados.Rows[o].Cells.Count; i++)
{
Linha += dtDados.Rows[o].Cells[i].Value + ";";
}
Linhas.Add(Linha);
}
SaveFileDialog saveFileDialog = new SaveFileDialog();
saveFileDialog.Title = "Salvar exportacão";
saveFileDialog.DefaultExt = "csv";
saveFileDialog.Filter = "Arquivo de planilha (*.csv)|*.csv|All files (*.*)|*.*";
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
try
{
File.WriteAllLines(saveFileDialog.FileName, Linhas);
string argument = @"/select, " + saveFileDialog.FileName;
Process.Start("explorer.exe", argument);
}
catch (Exception e)
{
MessageBox.Show("Erro ao salvar exportacão\r\n" + e.Message, "Erro", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
return true;
}
/*public static string GetIdFromCombobox<Tipo>(List<object> Tabela, string TextoComparar)
{
string TextoID = "";
for (int i = 0; i < Tabela.Count; i++)
{
if (Tabela[i].nome == TextoComparar)
{
TextoID = Tabela[i].idclientes.ToString();
break;
}
}
return TextoID;
}*/
public static string RetornaValorComCifrao(double valor, string Prefixo = "")
{
string novoValor = ((Prefixo != "") ? Prefixo + " " : "");
novoValor += String.Format("{0:C}", valor);
return novoValor;
}
public static void ConfigureSearchComboBox(ComboBox comboBox, List<string> items)
{
comboBox.DropDownStyle = ComboBoxStyle.DropDown;
// Salvar os itens originais na propriedade Tag
comboBox.Tag = new ComboBoxData
{
OriginalItems = items,
SearchText = string.Empty
};
// Inicializar os itens no ComboBox
comboBox.Items.AddRange(items.ToArray());
// Associar eventos
comboBox.Text = "";
comboBox.TextChanged -= ComboBox_TextChanged;
comboBox.TextChanged += ComboBox_TextChanged;
comboBox.DropDownClosed -= ComboBox_DropDownClosed;
comboBox.DropDownClosed += ComboBox_DropDownClosed;
comboBox.KeyUp -= ComboBox_KeyUp;
comboBox.KeyUp += ComboBox_KeyUp;
}
private static void ComboBox_TextChanged(object sender, EventArgs e)
{
var comboBox = sender as ComboBox;
if (comboBox == null) return;
// Recuperar os dados armazenados no Tag
var comboBoxData = comboBox.Tag as ComboBoxData;
if (comboBoxData == null) return;
// Ignorar o evento se for devido a uma seleção do usuário
if (comboBoxData.isUpdating || comboBoxData.isUserSelection)
{
return;
}
// Verificar se o texto já é o mesmo do último filtro aplicado
if (comboBox.Text == comboBoxData.SearchText) return;
// Atualizar o SearchText com o texto atual do ComboBox
comboBoxData.SearchText = comboBox.Text;
// Filtrar itens com base no texto digitado
var filteredItems = comboBoxData.OriginalItems
.Where(item => item.IndexOf(comboBoxData.SearchText, StringComparison.OrdinalIgnoreCase) >= 0)
.ToList();
// Guardar o texto atual
string currentText = comboBox.Text;
// Atualizar os itens do ComboBox sem perder o estado
comboBoxData.isUpdating = true;
comboBox.BeginUpdate();
comboBox.Items.Clear();
comboBox.Items.AddRange(filteredItems.ToArray());
comboBox.Text = currentText; // Restaurar o texto digitado pelo usuário
comboBox.SelectionStart = currentText.Length; // Posicionar o cursor no final do texto
comboBox.SelectionLength = 0;
comboBox.EndUpdate();
comboBoxData.isUpdating = false;
}
private static void ComboBox_DropDownClosed(object sender, EventArgs e)
{
var comboBox = sender as ComboBox;
if (comboBox == null) return;
var comboBoxData = comboBox.Tag as ComboBoxData;
if (comboBoxData == null) return;
// O usuário fez uma seleção; desativar lógica de filtragem momentaneamente
comboBoxData.isUserSelection = true;
// Restaurar após breve intervalo
Task.Delay(10).ContinueWith(_ =>
{
comboBoxData.isUserSelection = false;
});
}
private static void ComboBox_KeyUp(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Back || e.KeyCode == Keys.Delete)
{
// Refazer o filtro ao apagar texto
ComboBox_TextChanged(sender, e);
}
}
public class ComboBoxData
{
public List<string> OriginalItems { get; set; }
public string SearchText { get; set; }
public bool isUpdating { get; set; }
public bool isUserSelection { get; set; }
}
}
}

BIN
FMovel/FMovel/Icone.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
FMovel/FMovel/IconeMini.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class BancosModel
{
public int idbancos { get; set; }
public string descricao { get; set; }
public double saldo { get; set; }
public int debito { get; set; }
}
class ExtratoModel
{
public string banco { get; set; }
public string movimento { get; set; }
public string descricao { get; set; }
public string valor { get; set; }
public DateTime dataentrada { get; set; }
public DateTime databaixa { get; set; }
public DateTime datavencimento { get; set; }
public string status { get; set; }
public string centrodecusto { get; set; }
}
}

View File

@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class ClientesModel
{
public int idclientes { get; set; }
public string cpf_cnpj { get; set; }
public string nome { get; set; }
public string rg { get; set; }
public string celular { get; set; }
public string email { get; set; }
public string cep { get; set; }
public string logradouro { get; set; }
public string numero { get; set; }
public string bairro { get; set; }
public string cidade { get; set; }
public string estado { get; set; }
public string sexo { get; set; }
public string pessoafisica { get; set; }
}
}

View File

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class ConfiguracoesModel
{
public int idconfiguracoes { get; set; }
public string nome_loja { get; set; }
public string responsavel { get; set; }
public string telefone { get; set; }
public string celular { get; set; }
public string endereco { get; set; }
public string horario_atendimento { get; set; }
public string caminho_logo { get; set; }
}
class MenusModel
{
public int idmenus { get; set; }
public string menu { get; set; }
public string objeto { get; set; }
public int? x_location { get; set; }
public int? y_location { get; set; }
}
}

View File

@ -0,0 +1,126 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class ContasModel
{
}
class ContasPagarModel
{
public int idcontasapagar { get; set; }
public string movimento { get; set; }
public string descricao { get; set; }
public DateTime dataentrada { get; set; }
public DateTime datavencimento { get; set; }
public DateTime databaixa { get; set; }
public double valor { get; set; }
public int parcela { get; set; }
public int parcelas { get; set; }
public string status { get; set; }
public int idcentrodecustos { get; set; }
public int idbancos { get; set; }
public int idusuarios_cad { get; set; }
public int idusuarios_baixa { get; set; }
public int idclientes { get; set; }
public int idveiculosdetalhes { get; set; }
public int idbancos_p { get; set; }
public string observacao { get; set; }
}
class CentroCustosModel
{
public int idcentrodecustos { get; set; }
public string descricao { get; set; }
public double limite { get; set; }
public bool simular { get; set; }
public bool investimento { get; set; }
}
class MovimentosFixosModel
{
public int idmovimentosfixos { get; set; }
public string movimento { get; set; }
public string descricao { get; set; }
public double valor { get; set; }
public int dia_vencimento { get; set; }
public int idcentrodecustos { get; set; }
public bool habilitado { get; set; }
public int idbancos { get; set; }
}
class ConsultaMovimentosModel
{
public int idcontasapagar { get; set; }
public string movimento { get; set; }
public string descricao { get; set; }
public string dataentrada { get; set; }
public string datavencimento { get; set; }
public string databaixa { get; set; }
public double valor { get; set; }
public int parcela { get; set; }
public int parcelas { get; set; }
public string status { get; set; }
public int idcentrodecustos { get; set; }
public string CentroCustos { get; set; }
public int idbancos { get; set; }
public string Banco { get; set; }
public int idusuarios_cad { get; set; }
public string UsuarioCadastro { get; set; }
public int idusuarios_baixa { get; set; }
public string UsuarioBaixa { get; set; }
public string datacadastro { get; set; }
public string dataatualizacao { get; set; }
public string Cliente { get; set; }
public string Custo { get; set; }
public string observacao { get; set; }
public Color Cor { get; set; }
}
class TotaisModel
{
public string Ref { get; set; }
public double Saidas { get; set; }
public double Entradas { get; set; }
public double Investimentos { get; set; }
public double Restante { get; set; }
}
class ConsultaCentrosdecustoModel
{
public string Ref { get; set; }
public double Valor { get; set; }
public string CentrodeCusto { get; set; }
}
class ConsultaBancosModel
{
public string Ref { get; set; }
public string Movimento { get; set; }
public string Banco { get; set; }
public double Valor { get; set; }
public string BancoEntrada { get; set; }
}
class ContasQuitadasModel
{
public int idcontasquitadas { get; set; }
public int idbancos { get; set; }
public int idbancos_p { get; set; }
public double valor { get; set; }
public DateTime insert_date { get; set; }
}
class ContasQuitadasRefModel
{
public int idcontasquitadasref { get; set; }
public int idcontasquitadas { get; set; }
public int idcontasapagar { get; set; }
}
}

View File

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class EnderecoModel
{
}
class EstadosModel
{
public int idestado { get; set; }
public string descricao { get; set; }
public string uf { get; set; }
}
class CidadesModel
{
public int idcidade { get; set; }
public int idestado { get; set; }
public string descricao { get; set; }
}
}

View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class FabricantesModel
{
public int idfabricantes { get; set; }
public string descricao { get; set; }
}
}

View File

@ -0,0 +1,972 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FMovel.Models
{
public static class FormulariosModel
{
public static List<VariaveisFormulario> varForm;
public static int Y;
public static ToolTip Dicas = new ToolTip();
public static CamposConsultasModel PreencherCampos(string Campo, string Descricao, object Valor, Type TipoSet, Type TipoGet, bool Obrigatorio = true, bool MySQLItem = true, bool RegraEnable = true, bool MySQLInsert = true, bool NaTabela = true, bool LimpaCampo = true, string TextoFormato = "")
{
CamposConsultasModel CampoForm = new CamposConsultasModel();
CampoForm.Campo = Campo;
CampoForm.Descricao = Descricao;
CampoForm.Valor = Valor;
CampoForm.Obrigatorio = Obrigatorio;
CampoForm.MySQLItem = MySQLItem;
CampoForm.RegraEnable = RegraEnable;
CampoForm.LimpaCampo = LimpaCampo;
CampoForm.MySQLInsert = MySQLInsert;
CampoForm.NaTabela = NaTabela;
CampoForm.TipoSetValue = TipoSet;
CampoForm.TipoGetValue = TipoGet;
CampoForm.TextoFormato = TextoFormato;
return CampoForm;
}
public static void FormularioLoad(Func<bool> IncluirCampos)
{
varForm = new List<VariaveisFormulario>();
IncluirCampos();
for (int i = 0; i < varForm.Count; i++)
{
if (varForm[i].AtualizarDadosTabela != null)
varForm[i].AtualizarDadosTabela();
Y = i;
AtualizarDadosTabelaForm();
CarregarRegistro();
}
if (varForm[0].Botoes.Count > 0)
{
varForm[0].Botoes[0].Click += BtnPrimeiroClickFormulario;
Dicas.SetToolTip(varForm[0].Botoes[0], "Primeiro registro");
varForm[0].Botoes[1].Click -= BtnAnteriorClickFormulario;
Dicas.SetToolTip(varForm[0].Botoes[1], "Registro anterior");
//varForm.Botoes[2].Click -= BtnInserirClickFormulario;
Dicas.SetToolTip(varForm[0].Botoes[2], "Inserir novo");
varForm[0].Botoes[3].Click -= BtnEditarClickFormulario;
Dicas.SetToolTip(varForm[0].Botoes[3], "Editar registro");
varForm[0].Botoes[4].Click -= BtnCancelarClickFormulario;
Dicas.SetToolTip(varForm[0].Botoes[4], "Cancelar");
varForm[0].Botoes[5].Click -= BtnSalvarClickFormulario;
Dicas.SetToolTip(varForm[0].Botoes[5], "Salvar registro");
varForm[0].Botoes[6].Click -= BtnExcluirClickFormulario;
Dicas.SetToolTip(varForm[0].Botoes[6], "Excluir registro");
varForm[0].Botoes[7].Click -= BtnPesquisarClickFormulario;
Dicas.SetToolTip(varForm[0].Botoes[7], "Buscar");
varForm[0].Botoes[8].Click -= BtnProximoClickFormulario;
Dicas.SetToolTip(varForm[0].Botoes[8], "Proximo registro");
varForm[0].Botoes[9].Click -= BtnUltimoClickFormulario;
Dicas.SetToolTip(varForm[0].Botoes[9], "Ultimo registro");
if (varForm[0].Botoes.Count > 10)
varForm[0].Botoes[10].Click -= BtnFiltrarClickFormulario;
varForm[0].Botoes[0].Click += BtnPrimeiroClickFormulario;
varForm[0].Botoes[1].Click += BtnAnteriorClickFormulario;
//varForm.Botoes[2].Click += BtnInserirClickFormulario;
varForm[0].Botoes[3].Click += BtnEditarClickFormulario;
varForm[0].Botoes[4].Click += BtnCancelarClickFormulario;
varForm[0].Botoes[5].Click += BtnSalvarClickFormulario;
varForm[0].Botoes[6].Click += BtnExcluirClickFormulario;
varForm[0].Botoes[7].Click += BtnPesquisarClickFormulario;
varForm[0].Botoes[8].Click += BtnProximoClickFormulario;
varForm[0].Botoes[9].Click += BtnUltimoClickFormulario;
if (varForm[0].Botoes.Count > 10)
varForm[0].Botoes[10].Click += BtnFiltrarClickFormulario;
}
if (varForm.Count > 1 && varForm[0].btnEtapaanterior != null)
{
varForm[0].btnEtapaanterior.Click -= btnEtapaanterior_Click;
varForm[0].btnEtapaproximo.Click -= btnEtapaproximo_Click;
varForm[0].btnNovo.Click -= btnNovo_Click;
varForm[0].btnEtapaanterior.Click += btnEtapaanterior_Click;
varForm[0].btnEtapaproximo.Click += btnEtapaproximo_Click;
varForm[0].btnNovo.Click += btnNovo_Click;
}
if (varForm[Y].dtTabela != null && varForm[Y].dtTabela.Tag == null)
{
varForm[0].dtTabela.MouseDoubleClick -= dtVTabela_MouseDoubleClick;
varForm[0].dtTabela.MouseDoubleClick += dtVTabela_MouseDoubleClick;
}
varForm[0].Janela.FormClosing -= frmJanela_FormClosing;
varForm[0].Janela.FormClosing += frmJanela_FormClosing;
if (varForm[0].txtPesquisa != null)
{
varForm[0].txtPesquisa.KeyDown -= txtFiltrar_KeyDown;
varForm[0].txtPesquisa.KeyDown += txtFiltrar_KeyDown;
}
if (varForm[Y].btnExportar != null)
{
varForm[Y].btnExportar.Click -= btnExportar_Click;
varForm[Y].btnExportar.Click += btnExportar_Click;
}
}
public static bool AtualizarDadosTabelaForm()
{
int YAnterior = Y;
string[] Campos = { "*" };
for (int i = 0; i < varForm.Count; i++)
{
Y = i;
List<object> TabelaRes = MySQLConnector.AtualizarTabelaMySQL(varForm[Y].TipoTabela, varForm[Y].NomeTabela, Campos, varForm[Y].Consulta, (varForm[Y].cmbFiltro != null && varForm[Y].cmbFiltro.SelectedIndex > -1) ? varForm[Y].cmbFiltro.Text + " like '%" + varForm[Y].txtPesquisa.Text + "%'" : varForm[Y].Condicao, false, true);
varForm[Y].Tabela.Clear();
for (int o = 0; o < TabelaRes.Count; o++)
{
varForm[Y].Tabela.Add(TabelaRes[o]);
}
if (!varForm[Y].Editando && varForm[Y].InserirNovo && ((TextBox)varForm[Y].Formulario[0].Valor).Text == "")
{
var ID = varForm[Y].TipoTabela.GetProperties()[0].GetValue(TabelaRes[TabelaRes.Count - 1]).ToString();
((TextBox)varForm[Y].Formulario[0].Valor).Text = ID.ToString();
}
if (varForm[Y].dtTabela != null)
PreencheTabelaConsulta();
}
Y = YAnterior;
return true;
}
public static void PreencheTabelaConsulta()
{
varForm[Y].dtTabela.Columns.Clear();
varForm[Y].dtTabela.Rows.Clear();
int Index = 0;
for (int i = 0; i < varForm[Y].Formulario.Count; i++)
{
if (/*varForm[Y].Formulario[i].MySQLItem && */varForm[Y].Formulario[i].NaTabela)
{
varForm[Y].dtTabela.Columns.Add(varForm[Y].Formulario[i].Campo, varForm[Y].Formulario[i].Descricao);
varForm[Y].dtTabela.Columns[Index].AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
Index++;
}
}
varForm[Y].dtTabela.Columns[varForm[Y].dtTabela.Columns.Count - 1].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
for (int i = 0; i < varForm[Y].Tabela.Count; i++)
{
string LinhasStr = "";
int IdT = 0;
foreach (var f in varForm[Y].Tabela[i].GetType().GetProperties())
{
//Console.WriteLine(String.Format("Name: {0} Value: {1}", f.Name, f.GetValue(varForm[Y].Tabela[i])));
if (IdT < varForm[Y].Formulario.Count && varForm[Y].Formulario[IdT].NaTabela)
{
var val = f.GetValue(varForm[Y].Tabela[i]);
if (varForm[Y].Formulario[IdT].TextoFormato != "")
val = String.Format("{0:" + varForm[Y].Formulario[IdT].TextoFormato + "}", val);
LinhasStr += val + "¬";
}
IdT++;
}
varForm[Y].dtTabela.Rows.Add(LinhasStr.Split('¬'));
}
if (varForm[Y].cmbFiltro != null)
{
if (varForm[Y].cmbFiltro.Items.Count == 0)
{
varForm[Y].cmbFiltro.Items.Clear();
for (int i = 0; i < varForm[Y].Formulario.Count; i++)
{
varForm[Y].cmbFiltro.Items.Add(varForm[Y].Formulario[i].Descricao);
}
}
}
varForm[Y].dtTabela.EditMode = DataGridViewEditMode.EditProgrammatically;
}
public static object GetItemTabelaByID(List<object> Tabela, string Campo, string ValorComparado)
{
object ItemTabela = null;
for (int i = 0; i < Tabela.Count; i++)
{
foreach (var f in Tabela[0].GetType().GetProperties())
{
if (Campo == f.Name && f.GetValue(Tabela[i]).ToString() == ValorComparado)
{
ItemTabela = Tabela[i];
break;
}
}
}
return ItemTabela;
}
public static bool CarregarRegistro(bool Navegando = true, bool PreencherCampos = true)
{
bool Sucesso = false;
try
{
int Index = 0;
foreach (var f in varForm[Y].Tabela[varForm[Y].Index].GetType().GetProperties())
{
//Console.WriteLine(String.Format("Name: {0} Value: {1}", f.Name, f.GetValue(varForm[Y].Tabela[varForm[Y].Index])));
if (Index < varForm[Y].Formulario.Count)
{
varForm[Y].Formulario[Index].SetObjetoValue(f.GetValue(varForm[Y].Tabela[varForm[Y].Index]));
Index++;
}
}
if (PreencherCampos && varForm[Y].PreencherCamposFilho != null)
varForm[Y].PreencherCamposFilho();
Sucesso = true;
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Sucesso = false;
}
if (Navegando)
VerificaStatusBotoes();
else
VerificaStatusBotoesForm();
varForm[Y].InserirNovo = false;
varForm[Y].Editando = false;
return Sucesso;
}
public static string GetPropriedadeFormulario(int IPropriedade)
{
string Valor = "";
try
{
Valor = varForm[Y].Tabela[varForm[Y].Index].GetType().GetProperties()[IPropriedade].GetValue(varForm[Y].Tabela[varForm[Y].Index]).ToString();
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}
return Valor;
}
#region BOTOES DE ACAO
public static void BtnPrimeiroClickFormulario(object sender, EventArgs e)
{
varForm[Y].Index = 0;
CarregarRegistro();
}
public static void BtnAnteriorClickFormulario(object sender, EventArgs e)
{
varForm[Y].Index--;
CarregarRegistro();
}
public static void BtnInserirClickFormulario(List<object> Campos = null, List<object> Valores = null)
{
if (!GlobalFunctions.VerificarPermissao(varForm[Y].Janela.Text, Variaveis.Acoes.Inserir))
return;
varForm[Y].Editando = false;
varForm[Y].InserirNovo = true;
AlteraStatusBotoes(true, false);
if (varForm[Y].PreInserirEditar != null)
varForm[Y].PreInserirEditar();
if (Campos == null)
return;
for (int i = 0; i < Campos.Count; i++)
{
if (Campos[i].GetType() == typeof(TextBox))
{
((TextBox)Campos[i]).Text = Valores[i].ToString();
}
else if (Campos[i].GetType() == typeof(ComboBox))
{
if (Valores[i].GetType() == typeof(int))
((ComboBox)Campos[i]).SelectedIndex = Convert.ToInt32(Valores[i]);
else if (Valores[i].GetType() == typeof(string))
((ComboBox)Campos[i]).Text = Valores[i].ToString();
}
else if (Campos[i].GetType() == typeof(NumericUpDown))
{
((NumericUpDown)Campos[i]).Value = Convert.ToInt32(Valores[i]);
}
}
}
public static void BtnEditarClickFormulario(object sender, EventArgs e)
{
if (!GlobalFunctions.VerificarPermissao(varForm[Y].Janela.Text, Variaveis.Acoes.Alterar))
return;
for (int i = 0; i < varForm.Count; i++)
{
varForm[i].Editando = true;
if (varForm[i].PreInserirEditar != null)
varForm[i].PreInserirEditar();
}
AlteraStatusBotoes(true, true);
}
public static void BtnCancelarClickFormulario(object sender, EventArgs e)
{
if (varForm[Y].PosCancelar != null)
varForm[Y].PosCancelar();
for (int i = 0; i < varForm.Count; i++)
{
varForm[i].Index = 0;
}
Y = varForm.Count - 1;
AlteraStatusBotoes(false, false, true);
CarregarRegistro();
}
public static void BtnSalvarClickFormulario(object sender, EventArgs e)
{
bool Sucesso = true;
for (int U = 0; U < varForm.Count; U++)
{
Y = U;
if (varForm[Y].InserirNovo)
{
for (int i = 0; i < varForm[Y].Formulario.Count; i++)
{
if (
varForm[Y].Formulario[i].Obrigatorio &&
(varForm[Y].Formulario[i].GetObjetoValue(varForm[Y].Formulario[i].TipoGetValue) == "" ||
varForm[Y].Formulario[i].GetObjetoValue(varForm[Y].Formulario[i].TipoGetValue) == null) &&
varForm[Y].Formulario[i].MySQLItem
)
{
MessageBox.Show("Preencha todos os campos obrigatorios para salvar", "Campos obrigatorios em branco", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
return;
}
}
}
}
bool Continuar = true;
if (varForm[Y].PreSalvar != null)
Continuar = varForm[Y].PreSalvar();
for (int U = 0; U < varForm.Count && Continuar; U++)
{
Y = U;
if (varForm[Y].InserirNovo || varForm[Y].Editando)
{
string Condicao = "id" + varForm[Y].NomeTabela + " = " + GetPropriedadeFormulario(0);
string SQLQuery = "";
if (varForm[Y].Editando)
{
SQLQuery = MySQLConnector.MontaSQLUpdate(varForm[Y].NomeTabela, varForm[Y].Formulario, Condicao);
}
else
{
SQLQuery = MySQLConnector.MontaSQLInsert(varForm[Y].NomeTabela, varForm[Y].Formulario);
}
if (MySQLConnector.ExecutarQuerySemCallback(SQLQuery))
{
AtualizarDadosTabelaForm();
if (Y == varForm.Count - 1)
MessageBox.Show("Registro " + ((varForm[Y].Editando) ? "alterado" : "inserido") + " com sucesso", "Sucesso", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
else
{
if (varForm[Y].NomeTabela == "veiculos")
{
if (varForm[Y].InserirNovo)
varForm[Y].Index = Variaveis.TabelaVeiculos.Count - 1;
varForm[Y + 1].Formulario[1].SetObjetoValue(Variaveis.TabelaVeiculos[varForm[Y].Index].idveiculos.ToString());
}
else if (varForm[Y].NomeTabela == "estoque")
{
if (varForm[Y].InserirNovo)
varForm[Y].Index = Variaveis.TabelaEstoque.Count - 1;
varForm[Y + 1].Formulario[1].SetObjetoValue(Variaveis.TabelaEstoque[varForm[Y].Index].idestoque.ToString());
}
}
//Sucesso = true;
}
else
{
if (Y == varForm.Count - 1)
MessageBox.Show("Erro ao " + ((varForm[Y].Editando) ? "alterar" : "inserir") + " registro", "Erro", MessageBoxButtons.OK, MessageBoxIcon.Error);
Sucesso = false;
}
}
}
if (Sucesso && Continuar)
{
if (varForm[Y].AtualizarDadosTabela != null)
varForm[Y].AtualizarDadosTabela();
//AtualizarDadosTabelaForm();
if (!varForm[Y].Editando)
varForm[Y].Index = varForm[Y].Tabela.Count - 1;
AlteraStatusBotoes(false, false);
VerificaStatusBotoes();
if (varForm[Y].PreencherCamposFilho != null)
varForm[Y].PreencherCamposFilho();
if (varForm[Y].PosSalvar != null)
varForm[Y].PosSalvar();
varForm[Y].InserirNovo = false;
varForm[Y].Editando = false;
}
}
public static void BtnExcluirClickFormulario(object sender, EventArgs e)
{
if (!GlobalFunctions.VerificarPermissao(varForm[Y].Janela.Text, Variaveis.Acoes.Excluir))
return;
bool Sucesso = false;
string Condicao = "id" + varForm[Y].NomeTabela + " = " + GetPropriedadeFormulario(0);
if (MessageBox.Show("Tem certeza que deseja excluir esse registro?", "Aviso", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
{
string SqlDelete = "delete from " + varForm[Y].NomeTabela + " where " + Condicao + ";";
Sucesso = MySQLConnector.ExecutarQuerySemCallback(SqlDelete);
MessageBox.Show((Sucesso) ? "Registro excluido com sucesso" : "Erro ao excluir registro", "Excluir", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
if (Sucesso)
{
if (varForm[Y].PosExcluir != null)
varForm[Y].PosExcluir();
varForm[Y].Tabela.RemoveAt(varForm[Y].Index);
if (varForm[Y].Index >= varForm[Y].Tabela.Count - 1)
varForm[Y].Index--;
if (varForm[Y].AtualizarDadosTabela != null)
varForm[Y].AtualizarDadosTabela();
AtualizarDadosTabelaForm();
AlteraStatusBotoes(false, false);
VerificaStatusBotoes();
CarregarRegistro();
}
}
public static void BtnProximoClickFormulario(object sender, EventArgs e)
{
varForm[Y].Index++;
CarregarRegistro();
}
public static void BtnUltimoClickFormulario(object sender, EventArgs e)
{
varForm[Y].Index = varForm[Y].Tabela.Count - 1;
CarregarRegistro();
}
public static void BtnPesquisarClickFormulario(object sender, EventArgs e)
{
if (!GlobalFunctions.VerificarPermissao(varForm[Y].Janela.Text, Variaveis.Acoes.Consultar))
return;
if (varForm[Y].tabControl != null)
{
varForm[Y].tabControl.SelectTab(1);
varForm[Y].txtPesquisa.Focus();
}
}
public static void BtnFiltrarClickFormulario(object sender, EventArgs e)
{
if (varForm[Y].PreFiltrar != null)
varForm[Y].PreFiltrar();
if (varForm[Y].AtualizarDadosTabela != null)
varForm[Y].AtualizarDadosTabela();
AtualizarDadosTabelaForm();
if (varForm[Y].PosFiltrar != null)
varForm[Y].PosFiltrar();
}
public static void btnExportar_Click(object sender, EventArgs e)
{
if (!GlobalFunctions.VerificarPermissao(varForm[Y].Janela.Text, Variaveis.Acoes.Imprimir))
return;
if (varForm[Y].dtTabela.Rows.Count > 1)
GlobalFunctions.ExportarTabelaExcel(varForm[Y].dtTabela);
else
MessageBox.Show("Não e possivel exportar uma tabela sem resultados", "Erro", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
#endregion
#region FORMULARIO
private static void frmJanela_FormClosing(object sender, FormClosingEventArgs e)
{
e.Cancel = true;
if (varForm[0].Botoes.Count == 0 || !varForm[0].Botoes[5].Enabled || MessageBox.Show("Tem certeza que deseja sair sem salvar?", "Sair", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
if (varForm[0].Botoes.Count > 0 && varForm[0].Botoes[5].Enabled)
{
AlteraStatusBotoes(false, false);
CarregarRegistro();
}
varForm[Y].Janela.Hide();
}
}
private static void VerificaStatusBotoesForm()
{
if (varForm.Count > 0 && varForm[0].btnEtapaanterior != null)
{
varForm[0].btnEtapaanterior.Enabled = (Y > 0 && varForm[0].Botoes[5].Enabled);
varForm[0].btnEtapaproximo.Enabled = (Y < varForm.Count - 1 && varForm[0].Botoes[5].Enabled);
varForm[0].btnNovo.Enabled = (/*varForm[Y].Formulario[0].GetObjetoValue(typeof(string)) != "" && */varForm[0].Botoes[5].Enabled);
}
}
private static void btnEtapaanterior_Click(object sender, EventArgs e)
{
int YAntigo = Y;
for (int i = 0; i < varForm.Count; i++)
{
Y = i;
AlterarStatusCampos(false, false);
}
Y = YAntigo;
if (Y > 0)
{
Y--;
//if (varForm[Y].Formulario[0].GetObjetoValue(typeof(string)) == "")
// BtnInserirClickFormulario();
AlterarStatusCampos(true, false);
}
}
private static void btnEtapaproximo_Click(object sender, EventArgs e)
{
int YAntigo = Y;
for (int i = 0; i < varForm.Count; i++)
{
Y = i;
AlterarStatusCampos(false, false);
}
Y = YAntigo;
if (Y < varForm.Count - 1)
{
Y++;
//if (varForm[Y].Formulario[0].GetObjetoValue(typeof(string)) == "")
// BtnInserirClickFormulario();
AlterarStatusCampos(true, false);
}
}
private static void btnNovo_Click(object sender, EventArgs e)
{
BtnInserirClickFormulario();
}
#endregion
#region OUTROS ELEMENTOS
public static void txtFiltrar_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
if (varForm[Y].AtualizarDadosTabela != null)
varForm[Y].AtualizarDadosTabela();
AtualizarDadosTabelaForm();
}
}
#endregion
#region DATAGRID
private static void dtVTabela_MouseDoubleClick(object sender, MouseEventArgs e)
{
if (varForm[Y].dtTabela != null && varForm[Y].dtTabela.Rows.Count > 1)
{
varForm[Y].Index = varForm[Y].dtTabela.CurrentRow.Index;
CarregarRegistro();
if (varForm[Y].tabControl != null)
varForm[Y].tabControl.SelectTab(0);
}
}
#endregion
public static void AlteraStatusBotoes(bool ModoCadastro, bool Editando, bool Cancelando = false)
{
varForm[0].Botoes[0].Enabled = !ModoCadastro;
varForm[0].Botoes[1].Enabled = !ModoCadastro;
varForm[0].Botoes[2].Enabled = !ModoCadastro;
varForm[0].Botoes[3].Enabled = !ModoCadastro;
varForm[0].Botoes[4].Enabled = ModoCadastro;
varForm[0].Botoes[5].Enabled = ModoCadastro;
varForm[0].Botoes[6].Enabled = !ModoCadastro;
varForm[0].Botoes[7].Enabled = !ModoCadastro;
varForm[0].Botoes[8].Enabled = !ModoCadastro;
varForm[0].Botoes[9].Enabled = !ModoCadastro;
AlterarStatusCampos(ModoCadastro, (ModoCadastro && !Editando) || varForm[Y].Tabela.Count == 0 || Cancelando);
if (ModoCadastro || Editando)
{
if (varForm[Y].Formulario[0].Valor.GetType() == typeof(TextBox))
((TextBox)varForm[Y].Formulario[0].Valor).Focus();
else if (varForm[Y].Formulario[0].Valor.GetType() == typeof(MaskedTextBox))
((MaskedTextBox)varForm[Y].Formulario[0].Valor).Focus();
}
}
public static void AlterarStatusCampos(bool Status, bool LimpaCampos)
{
for (int i = 0; i < varForm[Y].Formulario.Count; i++)
{
if (varForm[Y].Formulario[i].Valor.GetType() == typeof(TextBox))
{
if (varForm[Y].Formulario[i].RegraEnable)
((TextBox)varForm[Y].Formulario[i].Valor).Enabled = Status;
if (LimpaCampos && varForm[Y].Formulario[i].LimpaCampo)
((TextBox)varForm[Y].Formulario[i].Valor).Text = "";
}
else if (varForm[Y].Formulario[i].Valor.GetType() == typeof(MaskedTextBox))
{
if (varForm[Y].Formulario[i].RegraEnable)
((MaskedTextBox)varForm[Y].Formulario[i].Valor).Enabled = Status;
if (LimpaCampos && varForm[Y].Formulario[i].LimpaCampo)
((MaskedTextBox)varForm[Y].Formulario[i].Valor).Text = "";
}
else if (varForm[Y].Formulario[i].Valor.GetType() == typeof(NumericUpDown))
{
if (varForm[Y].Formulario[i].RegraEnable)
((NumericUpDown)varForm[Y].Formulario[i].Valor).Enabled = Status;
if (LimpaCampos && varForm[Y].Formulario[i].LimpaCampo)
((NumericUpDown)varForm[Y].Formulario[i].Valor).Value = ((NumericUpDown)varForm[Y].Formulario[i].Valor).Minimum;
}
else if (varForm[Y].Formulario[i].Valor.GetType() == typeof(DateTimePicker))
{
if (varForm[Y].Formulario[i].RegraEnable)
((DateTimePicker)varForm[Y].Formulario[i].Valor).Enabled = Status;
if (LimpaCampos && varForm[Y].Formulario[i].LimpaCampo)
((DateTimePicker)varForm[Y].Formulario[i].Valor).Text = "";
}
else if (varForm[Y].Formulario[i].Valor.GetType() == typeof(RichTextBox))
{
if (varForm[Y].Formulario[i].RegraEnable)
((RichTextBox)varForm[Y].Formulario[i].Valor).Enabled = Status;
if (LimpaCampos && varForm[Y].Formulario[i].LimpaCampo)
((RichTextBox)varForm[Y].Formulario[i].Valor).Text = "";
}
else if (varForm[Y].Formulario[i].Valor.GetType() == typeof(ComboBox))
{
if (varForm[Y].Formulario[i].RegraEnable)
((ComboBox)varForm[Y].Formulario[i].Valor).Enabled = Status;
if (LimpaCampos && varForm[Y].Formulario[i].LimpaCampo)
{
((ComboBox)varForm[Y].Formulario[i].Valor).SelectedIndex = -1;
((ComboBox)varForm[Y].Formulario[i].Valor).Text = "";
}
}
else if (varForm[Y].Formulario[i].Valor.GetType() == typeof(GroupBox))
{
if (varForm[Y].Formulario[i].RegraEnable)
((GroupBox)varForm[Y].Formulario[i].Valor).Enabled = Status;
if (LimpaCampos && varForm[Y].Formulario[i].LimpaCampo)
{
foreach (var radio in GetSubControlsOf<RadioButton>((GroupBox)varForm[Y].Formulario[i].Valor))
{
radio.Checked = false;
}
}
}
else if (varForm[Y].Formulario[i].Valor.GetType() == typeof(CheckBox))
{
if (varForm[Y].Formulario[i].RegraEnable)
((CheckBox)varForm[Y].Formulario[i].Valor).Enabled = Status;
if (LimpaCampos && varForm[Y].Formulario[i].LimpaCampo)
((CheckBox)varForm[Y].Formulario[i].Valor).Checked = false;
}
}
VerificaStatusBotoesForm();
}
public static void VerificaStatusBotoes()
{
if (varForm[0].Botoes.Count == 0)
return;
if (varForm[0].Tabela.Count == 0)
{
varForm[0].Botoes[0].Enabled = false;
varForm[0].Botoes[1].Enabled = false;
varForm[0].Botoes[2].Enabled = true;
varForm[0].Botoes[3].Enabled = false;
varForm[0].Botoes[4].Enabled = false;
varForm[0].Botoes[5].Enabled = false;
varForm[0].Botoes[6].Enabled = false;
varForm[0].Botoes[7].Enabled = false;
varForm[0].Botoes[8].Enabled = false;
varForm[0].Botoes[9].Enabled = false;
}
else
{
varForm[0].Botoes[0].Enabled = false;
varForm[0].Botoes[1].Enabled = false;
varForm[0].Botoes[2].Enabled = true;
varForm[0].Botoes[3].Enabled = true;
varForm[0].Botoes[4].Enabled = false;
varForm[0].Botoes[5].Enabled = false;
varForm[0].Botoes[6].Enabled = true;
varForm[0].Botoes[7].Enabled = true;
varForm[0].Botoes[8].Enabled = false;
varForm[0].Botoes[9].Enabled = false;
}
if (varForm[Y].Tabela.Count > varForm[Y].Index + 1)
{
varForm[0].Botoes[8].Enabled = true;
varForm[0].Botoes[9].Enabled = true;
}
if (varForm[Y].Index > 0)
{
varForm[0].Botoes[0].Enabled = true;
varForm[0].Botoes[1].Enabled = true;
}
AlterarStatusCampos(false, false);
}
public static List<T> GetSubControlsOf<T>(Control parent) where T : Control
{
var myCtrls = new List<T>();
foreach (Control ctrl in parent.Controls)
{
if (ctrl.GetType() == typeof(T) || ctrl.GetType().IsInstanceOfType(typeof(T)))
{
myCtrls.Add(ctrl as T);
}
else if (ctrl.HasChildren)
{
var childs = GetSubControlsOf<T>(ctrl);
if (childs.Any())
myCtrls.AddRange(childs);
}
}
return myCtrls;
}
}
public class CamposConsultasModel
{
public string Campo { get; set; }
public string Descricao { get; set; }
public object Valor { get; set; }
public bool Obrigatorio { get; set; }
public bool MySQLItem { get; set; }
public bool MySQLInsert { get; set; }
public bool RegraEnable { get; set; }
public bool LimpaCampo { get; set; }
public bool NaTabela { get; set; }
public Type TipoSetValue { get; set; }
public Type TipoGetValue { get; set; }
public string TextoFormato { get; set; }
public void SetObjetoValue(object ValorCampo)
{
if (ValorCampo == null)
ValorCampo = "";
if (Valor.GetType() == typeof(TextBox))
{
((TextBox)Valor).Text = ValorCampo.ToString();
}
else if (Valor.GetType() == typeof(MaskedTextBox))
{
((MaskedTextBox)Valor).Text = ValorCampo.ToString();
}
else if (Valor.GetType() == typeof(NumericUpDown))
{
((NumericUpDown)Valor).Value = Convert.ToInt32(ValorCampo.ToString());
}
else if (Valor.GetType() == typeof(DateTimePicker))
{
string Ano = ValorCampo.ToString().Split('/')[2].Split(' ')[0];
string Mes = ValorCampo.ToString().Split('/')[1];
string Dia = ValorCampo.ToString().Split('/')[0];
string Hora = ValorCampo.ToString().Split(' ')[1].Split(':')[0];
string Minuto = ValorCampo.ToString().Split(':')[1];
string Segundo = ValorCampo.ToString().Split(':')[2];
string DataHora = Ano + "-" + Mes + "-" + Dia + " " + Hora + ":" + Minuto + ":" + Segundo;
try { ((DateTimePicker)Valor).Value = Convert.ToDateTime(DataHora); } catch (Exception e) { ((DateTimePicker)Valor).Value = ((DateTimePicker)Valor).MinDate; }
}
else if (Valor.GetType() == typeof(RichTextBox))
{
((RichTextBox)Valor).Text = ValorCampo.ToString();
}
else if (Valor.GetType() == typeof(ComboBox))
{
if (TipoSetValue == typeof(string))
((ComboBox)Valor).Text = ValorCampo.ToString();
else if (TipoSetValue == typeof(int))
((ComboBox)Valor).SelectedIndex = Convert.ToInt32(ValorCampo.ToString());
}
else if (Valor.GetType() == typeof(GroupBox))
{
foreach (var radio in FormulariosModel.GetSubControlsOf<RadioButton>((GroupBox)Valor))
{
radio.Checked = (radio.Tag.ToString() == ValorCampo.ToString());
}
}
else if (Valor.GetType() == typeof(CheckBox))
{
((CheckBox)Valor).Checked = Convert.ToBoolean(ValorCampo.ToString());
}
}
public object GetObjetoValue(Type TipoRetorno)
{
object ValorCampo = null;
if (Valor.GetType() == typeof(TextBox))
{
try
{
if (TipoRetorno == typeof(string))
ValorCampo = ((TextBox)Valor).Text;
else if (TipoRetorno == typeof(double))
ValorCampo = ((TextBox)Valor).Text.Replace(",", ".");
else if (TipoRetorno == typeof(int))
ValorCampo = Convert.ToInt32(((TextBox)Valor).Text);
else if (TipoRetorno == typeof(int?))
{
int.TryParse(((TextBox)Valor).Text, out int val);
ValorCampo = val;
}
}
catch (Exception e) { }
}
else if (Valor.GetType() == typeof(MaskedTextBox))
{
ValorCampo = ((MaskedTextBox)Valor).Text;
}
else if (Valor.GetType() == typeof(NumericUpDown))
{
ValorCampo = ((NumericUpDown)Valor).Value;
}
else if (Valor.GetType() == typeof(DateTimePicker))
{
if (((DateTimePicker)Valor).Enabled)
{
if (TipoRetorno == typeof(DateTime))
ValorCampo = ((DateTimePicker)Valor).Value;
else if (TipoRetorno == typeof(string))
ValorCampo = ((DateTimePicker)Valor).Value.ToString("s", DateTimeFormatInfo.InvariantInfo).Replace('T', ' ');
}
}
else if (Valor.GetType() == typeof(RichTextBox))
{
ValorCampo = ((RichTextBox)Valor).Text;
}
else if (Valor.GetType() == typeof(ComboBox))
{
if (TipoRetorno == typeof(int))
{
ValorCampo = ((ComboBox)Valor).SelectedIndex;
}
else if (TipoRetorno == typeof(string))
{
ValorCampo = ((ComboBox)Valor).Text;
}
}
else if (Valor.GetType() == typeof(GroupBox))
{
foreach (var radio in FormulariosModel.GetSubControlsOf<RadioButton>((GroupBox)Valor))
{
if (radio.Checked)
ValorCampo = radio.Tag;
}
}
else if (Valor.GetType() == typeof(CheckBox))
{
if (TipoRetorno == typeof(int))
ValorCampo = (((CheckBox)Valor).Checked) ? 1 : 0;
else
ValorCampo = ((CheckBox)Valor).Checked;
}
return ValorCampo;
}
}
public class VariaveisFormulario
{
public Type TipoTabela { get; set; }
public int Index { get; set; } = 0;
public List<CamposConsultasModel> Formulario { get; set; }
public bool Editando { get; set; } = false;
public bool InserirNovo { get; set; } = false;
public List<Button> Botoes { get; set; }
public Button btnEtapaanterior { get; set; }
public Button btnEtapaproximo { get; set; }
public Button btnNovo { get; set; }
public Button btnExportar { get; set; }
public ComboBox cmbFiltro { get; set; }
public TextBox txtPesquisa { get; set; }
public DataGridView dtTabela { get; set; }
public string NomeTabela { get; set; } = "";
public string Consulta { get; set; } = "";
public string Condicao { get; set; } = "true";
public List<object> Tabela { get; set; }
public Func<bool> PreencherCamposFilho { get; set; }
public Func<bool> AtualizarDadosTabela { get; set; }
public Func<bool> PreSalvar { get; set; }
public Func<bool> PosSalvar { get; set; }
public Func<bool> PreInserirEditar { get; set; }
public Func<bool> PosCancelar { get; set; }
public Func<bool> PosExcluir { get; set; }
public Func<bool> PreFiltrar { get; set; }
public Func<bool> PosFiltrar { get; set; }
public TabControl tabControl { get; set; }
public Form Janela { get; set; }
}
}

View File

@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class FornecedoresModel
{
public int idfornecedores { get; set; }
public string cpf_cnpj { get; set; }
public string nomefantasia { get; set; }
public string razaosocial { get; set; }
public string telefone { get; set; }
public string email { get; set; }
public string cep { get; set; }
public string logradouro { get; set; }
public string numero { get; set; }
public string bairro { get; set; }
public string cidade { get; set; }
public string estado { get; set; }
public string sexo { get; set; }
public string pessoafisica { get; set; }
}
}

View File

@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class PermissoesModel
{
public int idpermissoes { get; set; }
public string descricaoacesso { get; set; }
}
class PermissoesAcoesModel
{
public int idpermissoesacoes { get; set; }
public int idpermissoes { get; set; }
public string formulario { get; set; }
public string acao { get; set; }
}
class PermissoesUsuarioModel
{
public int idpermissoesacoes { get; set; }
public int idusuarios { get; set; }
}
class ConsultaPermissoesUsuarioModel
{
public string descricaoacesso { get; set; }
public string formulario { get; set; }
}
}

View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class ResultadosVisitasModel
{
public int idresultadosvisitas { get; set; }
public string descricao { get; set; }
public bool retorno { get; set; }
}
}

View File

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class UsuariosModel
{
public int idusuarios { get; set; }
public string nome { get; set; }
public string senha { get; set; }
}
class AnotacoesModel
{
public string anotacoes { get; set; }
}
class UsuariosMenusModel
{
public int idusuariosmenus { get; set; }
public int idusuarios { get; set; }
public string menu { get; set; }
}
}

View File

@ -0,0 +1,103 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class VeiculosModel
{
public int idveiculos { get; set; }
public string modelo { get; set; }
public string fabricante { get; set; }
public double tabelafipe { get; set; }
public double depreciacao { get; set; }
public string porte { get; set; }
public string categoria { get; set; }
}
class EstoqueModel
{
public int idestoque { get; set; }
public int idveiculos { get; set; }
public string motor { get; set; }
public string versao { get; set; }
public int ano { get; set; }
public string direcao { get; set; }
public double valoripva { get; set; }
public int portas { get; set; }
public string cambio { get; set; }
public string combustivel { get; set; }
public int quantidade { get; set; }
}
class VeiculosDetalhesModel
{
public int idveiculosdetalhes { get; set; }
public int idestoque { get; set; }
public int idfornecedores { get; set; }
public string placa { get; set; }
public int renavam { get; set; }
public string cor { get; set; }
public double quilometragem { get; set; }
public string chassis { get; set; }
public string situacao { get; set; }
public bool vidros { get; set; }
public bool travas { get; set; }
public bool ar { get; set; }
public bool som { get; set; }
public bool airbag { get; set; }
public bool alarme { get; set; }
public bool abs { get; set; }
public bool regvolante { get; set; }
public bool sensorre { get; set; }
public bool camerare { get; set; }
public bool funilaria { get; set; }
public bool pintura { get; set; }
public bool motor { get; set; }
public bool cambio { get; set; }
public bool suspensao { get; set; }
public bool freios { get; set; }
public bool pneus { get; set; }
public bool direcao { get; set; }
public bool eletrica { get; set; }
public double valorcompra { get; set; }
public double valorvenda { get; set; }
public string insert_date { get; set; }
public string update_date { get; set; }
public string Fornecedor { get; set; }
public string fabricante { get; set; }
public string modelo { get; set; }
public string versao { get; set; }
public string ano { get; set; }
public string Motor { get; set; }
public string portas { get; set; }
public string Cambio { get; set; }
public string combustivel { get; set; }
public string Direcao { get; set; }
}
class ConsultaVeiculosModel
{
public int idveiculos { get; set; }
public int idestoque { get; set; }
public int idfornecedores { get; set; }
public string modelo { get; set; }
public string fabricante { get; set; }
public int ano { get; set; }
public string placa { get; set; }
public int renavam{ get; set; }
public string fornecedor { get; set; }
}
class VeiculosCustosModel
{
public int idveiculoscustos { get; set; }
public string placa { get; set; }
public string descricao { get; set; }
public double custo { get; set; }
public DateTime data { get; set; }
public string observacao { get; set; }
}
}

View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class VersaoModel
{
public String NomeInstall { get; set; }
public String VersaoAtual { get; set; }
}
}

View File

@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FMovel.Models
{
class VisitasModel
{
public int idvisitas { get; set; }
public string nome { get; set; }
public string celular { get; set; }
public DateTime datavisita { get; set; }
public int idusuarios { get; set; }
public int idresultadosvisitas { get; set; }
public string placa { get; set; }
public int interesse { get; set; }
public string resumo { get; set; }
public DateTime dataretorno { get; set; }
}
class AgendamentosModel
{
public int idvisitas { get; set; }
public string Cliente { get; set; }
public string celular { get; set; }
public string DataVisita { get; set; }
public string Atendente { get; set; }
public string Resultado { get; set; }
public int interesse { get; set; }
public string DataRetorno { get; set; }
public string fabricante { get; set; }
public string modelo { get; set; }
public string versao { get; set; }
public int ano { get; set; }
public string cor { get; set; }
public string placa { get; set; }
public string resumo { get; set; }
}
}

File diff suppressed because it is too large Load Diff

22
FMovel/FMovel/Program.cs Normal file
View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FMovel
{
static class Program
{
/// <summary>
/// Ponto de entrada principal para o aplicativo.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new frmSplash());
}
}
}

View File

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// As informações gerais sobre um assembly são controladas por
// conjunto de atributos. Altere estes valores de atributo para modificar as informações
// associadas a um assembly.
[assembly: AssemblyTitle("FMovel")]
[assembly: AssemblyDescription("Sistema de gerenciamento de de concecionarias e estacionamento de veiculos")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Zendion INC")]
[assembly: AssemblyProduct("FMovel")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Definir ComVisible como false torna os tipos neste assembly invisíveis
// para componentes COM. Caso precise acessar um tipo neste assembly de
// COM, defina o atributo ComVisible como true nesse tipo.
[assembly: ComVisible(false)]
// O GUID a seguir será destinado à ID de typelib se este projeto for exposto para COM
[assembly: Guid("5663dfcc-3a60-4425-85b1-0f3976afb2e1")]
// As informações da versão de um assembly consistem nos quatro valores a seguir:
//
// Versão Principal
// Versão Secundária
// Número da Versão
// Revisão
//
// É possível especificar todos os valores ou usar como padrão os Números de Build e da Revisão
// usando o "*" como mostrado abaixo:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.1.10")]
[assembly: AssemblyFileVersion("1.0.1.10")]

View File

@ -0,0 +1,373 @@
//------------------------------------------------------------------------------
// <auto-generated>
// O código foi gerado por uma ferramenta.
// Versão de Tempo de Execução:4.0.30319.42000
//
// As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se
// o código for gerado novamente.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FMovel.Properties {
using System;
/// <summary>
/// Uma classe de recurso de tipo de alta segurança, para pesquisar cadeias de caracteres localizadas etc.
/// </summary>
// Essa classe foi gerada automaticamente pela classe StronglyTypedResourceBuilder
// através de uma ferramenta como ResGen ou Visual Studio.
// Para adicionar ou remover um associado, edite o arquivo .ResX e execute ResGen novamente
// com a opção /str, ou recrie o projeto do VS.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Retorna a instância de ResourceManager armazenada em cache usada por essa classe.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FMovel.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Substitui a propriedade CurrentUICulture do thread atual para todas as
/// pesquisas de recursos que usam essa classe de recurso de tipo de alta segurança.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Backup {
get {
object obj = ResourceManager.GetObject("Circle_Backup", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Bank {
get {
object obj = ResourceManager.GetObject("Circle_Bank", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Bills {
get {
object obj = ResourceManager.GetObject("Circle_Bills", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Bills2 {
get {
object obj = ResourceManager.GetObject("Circle_Bills2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Calculator {
get {
object obj = ResourceManager.GetObject("Circle_Calculator", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Calendar {
get {
object obj = ResourceManager.GetObject("Circle_Calendar", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Cancel {
get {
object obj = ResourceManager.GetObject("Circle_Cancel", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Cars {
get {
object obj = ResourceManager.GetObject("Circle_Cars", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Client {
get {
object obj = ResourceManager.GetObject("Circle_Client", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Delete {
get {
object obj = ResourceManager.GetObject("Circle_Delete", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Edit {
get {
object obj = ResourceManager.GetObject("Circle_Edit", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_First {
get {
object obj = ResourceManager.GetObject("Circle_First", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Insert {
get {
object obj = ResourceManager.GetObject("Circle_Insert", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Last {
get {
object obj = ResourceManager.GetObject("Circle_Last", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Login {
get {
object obj = ResourceManager.GetObject("Circle_Login", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Next {
get {
object obj = ResourceManager.GetObject("Circle_Next", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Note {
get {
object obj = ResourceManager.GetObject("Circle_Note", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Pay {
get {
object obj = ResourceManager.GetObject("Circle_Pay", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Previous {
get {
object obj = ResourceManager.GetObject("Circle_Previous", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Print {
get {
object obj = ResourceManager.GetObject("Circle_Print", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Save {
get {
object obj = ResourceManager.GetObject("Circle_Save", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Search {
get {
object obj = ResourceManager.GetObject("Circle_Search", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Stock {
get {
object obj = ResourceManager.GetObject("Circle_Stock", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_User {
get {
object obj = ResourceManager.GetObject("Circle_User", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Circle_Visit {
get {
object obj = ResourceManager.GetObject("Circle_Visit", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Contas {
get {
object obj = ResourceManager.GetObject("Contas", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Excel {
get {
object obj = ResourceManager.GetObject("Excel", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Icone {
get {
object obj = ResourceManager.GetObject("Icone", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap login {
get {
object obj = ResourceManager.GetObject("login", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap pasta_usuario {
get {
object obj = ResourceManager.GetObject("pasta-usuario", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Consulta um recurso localizado do tipo System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Splash_1 {
get {
object obj = ResourceManager.GetObject("Splash_1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@ -0,0 +1,214 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Circle_Backup" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Backup.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_First" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_First.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Last" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Last.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Delete" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_User" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_User.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Login" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Login.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Bank" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Bank.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Excel" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Excel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Next" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Next.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Client" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Client.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="pasta-usuario" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\pasta-usuario.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="login" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\login.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Print" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Print.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Visit" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Visit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Pay" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Pay.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Bills2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Bills2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Note" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Note.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Edit" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Edit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Cars" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Cars.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Insert" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Insert.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Calendar" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Calendar.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Calculator" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Calculator.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Contas" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Contas.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Cancel" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Cancel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Stock" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Stock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Splash_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Splash_1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Save" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Save.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Search" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Search.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Bills" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Bills.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Circle_Previous" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Circle_Previous.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Icone" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Icone.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View File

@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FMovel.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

View File

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

131
FMovel/FMovel/Variaveis.cs Normal file
View File

@ -0,0 +1,131 @@
using FMovel.Models;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace FMovel
{
class Variaveis
{
// ATUALIZADOR
public static string LinkSite { get; set; } = "http://zendioninc.mooo.com";
public static int IDSistema { get; set; } = 9;
public static bool Online { get; set; } = false;
public static string NomeProjeto { get; set; } = "FMovel";
public static Version VersaoAtual { get; set; } = Assembly.GetEntryAssembly().GetName().Version;
public static string CaminhoProjeto { get; set; } = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName);
public static string CaminhoBackup { get; set; } = "C:\\FMovel\\";
// FORMULARIOS
public static frmLogin frmLogin = new frmLogin();
public static frmMenu frmMenu = new frmMenu();
public static frmVisitas frmVisitas = new frmVisitas();
public static frmUsuarios frmUsuarios = new frmUsuarios();
public static frmClientes frmClientes = new frmClientes();
public static frmFornecedores frmFornecedores = new frmFornecedores();
public static frmFabricantes frmFabricantes = new frmFabricantes();
public static frmVeiculos frmVeiculos = new frmVeiculos();
public static frmContasPagar frmContasPagar = new frmContasPagar();
public static frmCentrosCustos frmCentrosCustos = new frmCentrosCustos();
public static frmBancos frmBancos = new frmBancos();
public static frmConsultaContas frmConsultaContas = new frmConsultaContas();
public static frmMovimentosFixos frmMovimentosFixos = new frmMovimentosFixos();
public static frmAgendamentos frmAgendamentos = new frmAgendamentos();
public static frmPermissoes frmPermissoes = new frmPermissoes();
public static frmBackup frmBackup = new frmBackup();
public static frmConfiguracoes frmConfiguracoes = new frmConfiguracoes();
public static frmVeiculosCustos frmVeiculosCustos = new frmVeiculosCustos();
public static frmSobre frmSobre = new frmSobre();
// MYSQL CONNECTION
public static string MySQLHost { get; set; } = ConfigurationManager.AppSettings["MySQLHost"].ToString();
public static string MySQLUser { get; set; } = ConfigurationManager.AppSettings["MySQLUser"].ToString();
public static string MySQLPass { get; set; } = ConfigurationManager.AppSettings["MySQLPassword"].ToString();
public static string MySQLDB { get; set; } = ConfigurationManager.AppSettings["MySQLDatabase"].ToString();
// TABELAS
public static List<UsuariosModel> TabelaUsuarios = new List<UsuariosModel>();
public static DateTime? TabelaUsuarios_LU = null;
public static List<VisitasModel> TabelaVisitas = new List<VisitasModel>();
public static DateTime? TabelaVisitas_LU = null;
public static List<ResultadosVisitasModel> TabelaResultadosVisitas = new List<ResultadosVisitasModel>();
public static DateTime? TabelaResultadosVisitas_LU = null;
public static List<ConsultaVeiculosModel> TabelaConsultaVeiculos = new List<ConsultaVeiculosModel>();
public static DateTime? TabelaConsultaVeiculos_LU = null;
public static List<EstadosModel> TabelaEstados = new List<EstadosModel>();
public static DateTime? TabelaEstados_LU = null;
public static List<CidadesModel> TabelaCidades = new List<CidadesModel>();
public static DateTime? TabelaCidades_LU = null;
public static List<ClientesModel> TabelaClientes = new List<ClientesModel>();
public static DateTime? TabelaClientes_LU = null;
public static List<FornecedoresModel> TabelaFornecedores = new List<FornecedoresModel>();
public static DateTime? TabelaFornecedores_LU = null;
public static List<FabricantesModel> TabelaFabricantes = new List<FabricantesModel>();
public static DateTime? TabelaFabricantes_LU = null;
public static List<VeiculosDetalhesModel> TabelaVeiculosDetalhes = new List<VeiculosDetalhesModel>();
public static DateTime? TabelaVeiculosDetalhes_LU = null;
public static List<VeiculosModel> TabelaVeiculos = new List<VeiculosModel>();
public static DateTime? TabelaVeiculos_LU = null;
public static List<EstoqueModel> TabelaEstoque = new List<EstoqueModel>();
public static DateTime? TabelaEstoque_LU = null;
public static List<ContasPagarModel> TabelaContasPagar = new List<ContasPagarModel>();
public static DateTime? TabelaContasPagar_LU = null;
public static List<CentroCustosModel> TabelaCentrosCustos = new List<CentroCustosModel>();
public static DateTime? TabelaCentrosCustos_LU = null;
public static List<BancosModel> TabelaBancos = new List<BancosModel>();
public static DateTime? TabelaBancos_LU = null;
public static List<MovimentosFixosModel> TabelaMovimentosFixos = new List<MovimentosFixosModel>();
public static DateTime? TabelaMovimentosFixos_LU = null;
public static List<ConsultaMovimentosModel> TabelaConsultaMovimentos = new List<ConsultaMovimentosModel>();
public static DateTime? TabelaConsultaMovimentos_LU = null;
public static List<AgendamentosModel> TabelaAgendamentos = new List<AgendamentosModel>();
public static DateTime? TabelaAgendamentos_LU = null;
public static List<PermissoesModel> TabelaPermissoes = new List<PermissoesModel>();
public static DateTime? TabelaPermissoes_LU = null;
public static List<PermissoesAcoesModel> TabelaPermissoesAcoes = new List<PermissoesAcoesModel>();
public static DateTime? TabelaPermissoesAcoes_LU = null;
public static List<ConsultaPermissoesUsuarioModel> TabelaConsultaPermissoesUsuario = new List<ConsultaPermissoesUsuarioModel>();
public static DateTime? TabelaConsultaPermissoesUsuario_LU = null;
public static List<ConfiguracoesModel> TabelaConfiguracoes = new List<ConfiguracoesModel>();
public static DateTime? TabelaConfiguracoes_LU = null;
public static List<VeiculosCustosModel> TabelaVeiculosCustos = new List<VeiculosCustosModel>();
public static DateTime? TabelaVeiculosCustos_LU = null;
public static List<TotaisModel> TabelaTotais = new List<TotaisModel>();
public static DateTime? TabelaTotais_LU = null;
public static List<ConsultaCentrosdecustoModel> TabelaConsultaCentrodecustos = new List<ConsultaCentrosdecustoModel>();
public static DateTime? TabelaConsultaCentrodecustos_LU = null;
public static List<ConsultaBancosModel> TabelaConsultaBancos = new List<ConsultaBancosModel>();
public static DateTime? TabelaConsultaBancos_LU = null;
public static List<ExtratoModel> TabelaConsultaExtrato = new List<ExtratoModel>();
public static DateTime? TabelaConsultaExtrato_LU = null;
public static List<ContasQuitadasModel> TabelaContasQuitadas = new List<ContasQuitadasModel>();
public static DateTime? TabelaContasQuitadas_LU = null;
public static List<UsuariosMenusModel> TabelaUsuariosMenus = new List<UsuariosMenusModel>();
public static DateTime? TabelaUsuariosMenus_LU = null;
public static List<MenusModel> TabelaMenus = new List<MenusModel>();
public static DateTime? TabelaMenus_LU = null;
public static bool Logado { get; set; } = false;
public static UsuariosModel UsuarioLogado { get; set; }
public static int IndexMovimentoSelecionado { get; set; } = 0;
public static int IndexAgendamentoSelecionado { get; set; } = 0;
public enum Acoes
{
Inserir,
Excluir,
Alterar,
Consultar,
Abrir,
Imprimir,
SemAcao,
AcessoTotal
}
}
}

Binary file not shown.

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<appSettings>
<add key="MySQLHost" value="zendioninc.mooo.com" />
<add key="MySQLDatabase" value="fmovel" />
<add key="MySQLUser" value="zendion" />
<add key="MySQLPassword" value="Z210203!" />
</appSettings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,296 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>K4os.Compression.LZ4.Streams</name>
</assembly>
<members>
<member name="T:K4os.Compression.LZ4.Streams.ILZ4Descriptor">
<summary>
LZ4 Frame descriptor.
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.ContentLength">
<summary>Content length. Not always known.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.ContentChecksum">
<summary>Indicates if content checksum is provided.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.Chaining">
<summary>Indicates if blocks are chained (dependent) or not (independent).</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.BlockChecksum">
<summary>Indicates if block checksums are provided.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.Dictionary">
<summary>Dictionary id. May be null.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.BlockSize">
<summary>Block size.</summary>
</member>
<member name="T:K4os.Compression.LZ4.Streams.LZ4DecoderSettings">
<summary>
Decoder settings.
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderSettings.ExtraMemory">
<summary>Extra memory for decompression.</summary>
</member>
<member name="T:K4os.Compression.LZ4.Streams.LZ4DecoderStream">
<summary>
LZ4 Decompression stream handling.
</summary>
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.#ctor(System.IO.Stream,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Decoder},System.Boolean)">
<summary>Creates new instance <see cref="T:K4os.Compression.LZ4.Streams.LZ4DecoderStream"/>.</summary>
<param name="inner">Inner stream.</param>
<param name="decoderFactory">A function which will create appropriate decoder depending
on frame descriptor.</param>
<param name="leaveOpen">If <c>true</c> inner stream will not be closed after disposing.</param>
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Flush">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.FlushAsync(System.Threading.CancellationToken)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Read(System.Byte[],System.Int32,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.ReadByte">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Dispose">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Dispose(System.Boolean)">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.CanRead">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.CanSeek">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.CanWrite">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Length">
<summary>
Length of stream. Please note, this will only work if original LZ4 stream has
<c>ContentLength</c> field set in descriptor. Otherwise returned value will be <c>-1</c>.
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Position">
<summary>
Position within the stream. Position can be read, but cannot be set as LZ4 stream does
not have <c>Seek</c> capability.
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.CanTimeout">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.WriteTimeout">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.ReadTimeout">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Seek(System.Int64,System.IO.SeekOrigin)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.SetLength(System.Int64)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Write(System.Byte[],System.Int32,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.WriteByte(System.Byte)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
<inheritdoc />
</member>
<member name="T:K4os.Compression.LZ4.Streams.LZ4EncoderSettings">
<summary>
LZ4 encoder settings.
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.ContentLength">
<summary>
Content length. It is not enforced, it can be set to any value, but it will be
written to the stream so it can be used while decoding. If you don't know the length
just leave default value.
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.ChainBlocks">
<summary>
Indicates if blocks should be chained (dependent) or not (independent). Dependent blocks
(with chaining) provide better compression ratio but are a little but slower and take
more memory.
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.BlockSize">
<summary>
Block size. You can use any block size, but default values for LZ4 are 64k, 256k, 1m,
and 4m. 64k is good enough for dependent blocks, but for independent blocks bigger is
better.
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.ContentChecksum">
<summary>Indicates is content checksum is provided. Not implemented yet.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.BlockChecksum">
<summary>Indicates if block checksum is provided. Not implemented yet.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.Dictionary">
<summary>Dictionary id. Not implemented yet.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.CompressionLevel">
<summary>Compression level.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.ExtraMemory">
<summary>Extra memory (for the process, more is usually better).</summary>
</member>
<member name="T:K4os.Compression.LZ4.Streams.LZ4EncoderStream">
<summary>
LZ4 compression stream.
</summary>
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.#ctor(System.IO.Stream,K4os.Compression.LZ4.Streams.ILZ4Descriptor,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Encoder},System.Boolean)">
<summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.LZ4EncoderStream"/>.</summary>
<param name="inner">Inner stream.</param>
<param name="descriptor">LZ4 Descriptor.</param>
<param name="encoderFactory">Function which will take descriptor and return
appropriate encoder.</param>
<param name="leaveOpen">Indicates if <paramref name="inner"/> stream should be left
open after disposing.</param>
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Flush">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.FlushAsync(System.Threading.CancellationToken)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Close">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.WriteByte(System.Byte)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Write(System.Byte[],System.Int32,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Dispose">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Dispose(System.Boolean)">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.CanRead">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.CanSeek">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.CanWrite">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Length">
<summary>Length of the stream and number of bytes written so far.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Position">
<summary>Read-only position in the stream. Trying to set it will throw
<see cref="T:System.InvalidOperationException"/>.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.CanTimeout">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.ReadTimeout">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.WriteTimeout">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Seek(System.Int64,System.IO.SeekOrigin)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.SetLength(System.Int64)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Read(System.Byte[],System.Int32,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.ReadByte">
<inheritdoc />
</member>
<member name="T:K4os.Compression.LZ4.Streams.LZ4Descriptor">
<summary>
LZ4 frame descriptor.
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.ContentLength">
<summary>Content length (if available).</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.ContentChecksum">
<summary>Indicates if content checksum if present.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.Chaining">
<summary>Indicates if blocks are chained.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.BlockChecksum">
<summary>Indicates if block checksums are present.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.Dictionary">
<summary>Dictionary id (or null).</summary>
</member>
<member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.BlockSize">
<summary>Block size.</summary>
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4Descriptor.#ctor(System.Nullable{System.Int64},System.Boolean,System.Boolean,System.Boolean,System.Nullable{System.UInt32},System.Int32)">
<summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.LZ4Descriptor"/>.</summary>
<param name="contentLength">Content length.</param>
<param name="contentChecksum">Content checksum flag.</param>
<param name="chaining">Chaining flag.</param>
<param name="blockChecksum">Block checksum flag.</param>
<param name="dictionary">Dictionary id.</param>
<param name="blockSize">Block size.</param>
</member>
<member name="T:K4os.Compression.LZ4.Streams.LZ4Stream">
<summary>
Utility class with factory methods to create LZ4 compression and decompression streams.
</summary>
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4Stream.Encode(System.IO.Stream,K4os.Compression.LZ4.Streams.LZ4EncoderSettings,System.Boolean)">
<summary>Created compression stream on top of inner stream.</summary>
<param name="stream">Inner stream.</param>
<param name="settings">Compression settings.</param>
<param name="leaveOpen">Leave inner stream open after disposing.</param>
<returns>Compression stream.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4Stream.Encode(System.IO.Stream,K4os.Compression.LZ4.LZ4Level,System.Int32,System.Boolean)">
<summary>Created compression stream on top of inner stream.</summary>
<param name="stream">Inner stream.</param>
<param name="level">Compression level.</param>
<param name="extraMemory">Extra memory used for compression.</param>
<param name="leaveOpen">Leave inner stream open after disposing.</param>
<returns>Compression stream.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4Stream.Decode(System.IO.Stream,K4os.Compression.LZ4.Streams.LZ4DecoderSettings,System.Boolean)">
<summary>Creates decompression stream on top of inner stream.</summary>
<param name="stream">Inner stream.</param>
<param name="settings">Decompression settings.</param>
<param name="leaveOpen">Leave inner stream open after disposing.</param>
<returns>Decompression stream.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Streams.LZ4Stream.Decode(System.IO.Stream,System.Int32,System.Boolean)">
<summary>Creates decompression stream on top of inner stream.</summary>
<param name="stream">Inner stream.</param>
<param name="extraMemory">Extra memory used for decompression.</param>
<param name="leaveOpen">Leave inner stream open after disposing.</param>
<returns>Decompression stream.</returns>
</member>
</members>
</doc>

Binary file not shown.

View File

@ -0,0 +1,794 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>K4os.Compression.LZ4</name>
</assembly>
<members>
<member name="T:K4os.Compression.LZ4.Encoders.EncoderAction">
<summary>
Action performed by encoder using <c>FlushAndEncode</c> method.
</summary>
</member>
<member name="F:K4os.Compression.LZ4.Encoders.EncoderAction.None">
<summary>Nothing has happened, most likely loading 0 bytes.</summary>
</member>
<member name="F:K4os.Compression.LZ4.Encoders.EncoderAction.Loaded">
<summary>Some bytes has been loaded into encoder.</summary>
</member>
<member name="F:K4os.Compression.LZ4.Encoders.EncoderAction.Copied">
<summary>Compression was not possible so bytes has been copied.</summary>
</member>
<member name="F:K4os.Compression.LZ4.Encoders.EncoderAction.Encoded">
<summary>Compression succeeded.</summary>
</member>
<member name="T:K4os.Compression.LZ4.Encoders.ILZ4Decoder">
<summary>
Interface of LZ4 decoder used by LZ4 streams.
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Encoders.ILZ4Decoder.BlockSize">
<summary>Block size.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Encoders.ILZ4Decoder.BytesReady">
<summary>Bytes already decoded and available to be read.
Always smaller than <see cref="P:K4os.Compression.LZ4.Encoders.ILZ4Decoder.BlockSize"/></summary>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.ILZ4Decoder.Decode(System.Byte*,System.Int32,System.Int32)">
<summary>
Decodes previously compressed block and caches decompressed block in decoder.
Returns number of bytes decoded. These bytes can be read with <see cref="M:K4os.Compression.LZ4.Encoders.ILZ4Decoder.Drain(System.Byte*,System.Int32,System.Int32)" />.
</summary>
<param name="source">Points to compressed block.</param>
<param name="length">Length of compressed block.</param>
<param name="blockSize">Size of the block. Value <c>0</c> indicates default block size.</param>
<returns>Number of decoded bytes.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.ILZ4Decoder.Inject(System.Byte*,System.Int32)">
<summary>
Inject already decompressed block and caches it in decoder.
Used with uncompressed-yet-chained blocks and pre-made dictionaries.
These bytes can be read with <see cref="M:K4os.Compression.LZ4.Encoders.ILZ4Decoder.Drain(System.Byte*,System.Int32,System.Int32)" />.
</summary>
<param name="source">Points to uncompressed block.</param>
<param name="length">Length of uncompressed block.</param>
<returns>Number of decoded bytes.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.ILZ4Decoder.Drain(System.Byte*,System.Int32,System.Int32)">
<summary>
Reads previously decoded bytes. Please note, <paramref name="offset"/> should be
negative number, pointing to bytes before current head.
</summary>
<param name="target">Buffer to write to.</param>
<param name="offset">Offset in source buffer relatively to current head.
Please note, it should be negative value.</param>
<param name="length">Number of bytes to read.</param>
</member>
<member name="T:K4os.Compression.LZ4.Encoders.ILZ4Encoder">
<summary>
Interface of LZ4 encoder used by LZ4 streams.
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Encoders.ILZ4Encoder.BlockSize">
<summary>Block size.</summary>
</member>
<member name="P:K4os.Compression.LZ4.Encoders.ILZ4Encoder.BytesReady">
<summary>Number of bytes read for compression.
Always smaller than <see cref="P:K4os.Compression.LZ4.Encoders.ILZ4Encoder.BlockSize"/></summary>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.ILZ4Encoder.Topup(System.Byte*,System.Int32)">
<summary>Adds bytes to internal buffer. Increases <see cref="P:K4os.Compression.LZ4.Encoders.ILZ4Encoder.BytesReady"/></summary>
<param name="source">Source buffer.</param>
<param name="length">Source buffer length.</param>
<returns>Number of bytes topped up. If this function returns 0 it means that buffer
is full (<see cref="P:K4os.Compression.LZ4.Encoders.ILZ4Encoder.BytesReady"/> equals <see cref="P:K4os.Compression.LZ4.Encoders.ILZ4Encoder.BlockSize"/>) and
<see cref="M:K4os.Compression.LZ4.Encoders.ILZ4Encoder.Encode(System.Byte*,System.Int32,System.Boolean)"/> should be called to flush it.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.ILZ4Encoder.Encode(System.Byte*,System.Int32,System.Boolean)">
<summary>
Encodes bytes in internal buffer (see: <see cref="P:K4os.Compression.LZ4.Encoders.ILZ4Encoder.BytesReady"/>, <see cref="M:K4os.Compression.LZ4.Encoders.ILZ4Encoder.Topup(System.Byte*,System.Int32)"/>).
If <paramref name="allowCopy"/> is <c>true</c> then if encoded buffer is bigger than
source buffer source bytes are copied instead. In such case returned length is negative.
</summary>
<param name="target">Target buffer.</param>
<param name="length">Target buffer length.</param>
<param name="allowCopy">Indicates if copying is allowed.</param>
<returns>Length of encoded buffer. Negative if bytes are just copied.</returns>
</member>
<member name="T:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder">
<summary>
LZ4 decoder used with independent blocks mode. Plase note, that it will fail
if input data has been compressed with chained blocks
(<see cref="T:K4os.Compression.LZ4.Encoders.LZ4FastChainEncoder"/> and <see cref="T:K4os.Compression.LZ4.Encoders.LZ4HighChainEncoder"/>)
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.BlockSize">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.BytesReady">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.#ctor(System.Int32)">
<summary>Creates new instance of block decoder.</summary>
<param name="blockSize">Block size. Must be equal or greater to one used for compression.</param>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Decode(System.Byte*,System.Int32,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Inject(System.Byte*,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Drain(System.Byte*,System.Int32,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.ReleaseUnmanaged">
<inheritdoc />
</member>
<member name="T:K4os.Compression.LZ4.Encoders.LZ4BlockEncoder">
<summary>
Independent block encoder. Produces larger files but uses less memory and
gives better performance.
</summary>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockEncoder.#ctor(K4os.Compression.LZ4.LZ4Level,System.Int32)">
<summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Encoders.LZ4BlockEncoder"/></summary>
<param name="level">Compression level.</param>
<param name="blockSize">Block size.</param>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockEncoder.EncodeBlock(System.Byte*,System.Int32,System.Byte*,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockEncoder.CopyDict(System.Byte*,System.Int32)">
<inheritdoc />
</member>
<member name="T:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder">
<summary>LZ4 decoder handling dependent blocks.</summary>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.#ctor(System.Int32,System.Int32)">
<summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder"/>.</summary>
<param name="blockSize">Block size.</param>
<param name="extraBlocks">Number of extra blocks.</param>
</member>
<member name="P:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.BlockSize">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.BytesReady">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.Decode(System.Byte*,System.Int32,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.Inject(System.Byte*,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.Drain(System.Byte*,System.Int32,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.ReleaseUnmanaged">
<inheritdoc />
</member>
<member name="T:K4os.Compression.LZ4.Encoders.LZ4Decoder">
<summary>
Static class with factory methods to create LZ4 decoders.
</summary>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4Decoder.Create(System.Boolean,System.Int32,System.Int32)">
<summary>Creates appropriate decoder for given parameters.</summary>
<param name="chaining">Dependent blocks.</param>
<param name="blockSize">Block size.</param>
<param name="extraBlocks">Number of extra blocks.</param>
<returns>LZ4 decoder.</returns>
</member>
<member name="T:K4os.Compression.LZ4.Encoders.LZ4Encoder">
<summary>
Static class with factory method to create LZ4 encoders.
</summary>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4Encoder.Create(System.Boolean,K4os.Compression.LZ4.LZ4Level,System.Int32,System.Int32)">
<summary>Creates appropriate decoder for given parameters.</summary>
<param name="chaining">Dependent blocks.</param>
<param name="level">Compression level.</param>
<param name="blockSize">Block size.</param>
<param name="extraBlocks">Number of extra blocks.</param>
<returns>LZ4 encoder.</returns>
</member>
<member name="T:K4os.Compression.LZ4.Encoders.LZ4EncoderBase">
<summary>
Base class for LZ4 encoders. Provides basic functionality shared by
<see cref="T:K4os.Compression.LZ4.Encoders.LZ4BlockEncoder"/>, <see cref="T:K4os.Compression.LZ4.Encoders.LZ4FastChainEncoder"/>,
and <see cref="T:K4os.Compression.LZ4.Encoders.LZ4HighChainEncoder"/> encoders. Do not used directly.
</summary>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderBase.#ctor(System.Boolean,System.Int32,System.Int32)">
<summary>Creates new instance of encoder.</summary>
<param name="chaining">Needs to be <c>true</c> if using dependent blocks.</param>
<param name="blockSize">Block size.</param>
<param name="extraBlocks">Number of extra blocks.</param>
</member>
<member name="P:K4os.Compression.LZ4.Encoders.LZ4EncoderBase.BlockSize">
<inheritdoc />
</member>
<member name="P:K4os.Compression.LZ4.Encoders.LZ4EncoderBase.BytesReady">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderBase.Topup(System.Byte*,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderBase.Encode(System.Byte*,System.Int32,System.Boolean)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderBase.EncodeBlock(System.Byte*,System.Int32,System.Byte*,System.Int32)">
<summary>Encodes single block using appropriate algorithm.</summary>
<param name="source">Source buffer.</param>
<param name="sourceLength">Source buffer length.</param>
<param name="target">Target buffer.</param>
<param name="targetLength">Target buffer length.</param>
<returns>Number of bytes actually written to target buffer.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderBase.CopyDict(System.Byte*,System.Int32)">
<summary>Copies current dictionary.</summary>
<param name="target">Target buffer.</param>
<param name="dictionaryLength">Dictionary length.</param>
<returns>Dictionary length.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderBase.ReleaseUnmanaged">
<inheritdoc />
</member>
<member name="T:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions">
<summary>
Functionality of encoders added on top of fixed interface.
</summary>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.Topup(K4os.Compression.LZ4.Encoders.ILZ4Encoder,System.Byte*@,System.Int32)">
<summary>Tops encoder up with some data.</summary>
<param name="encoder">Encoder.</param>
<param name="source">Buffer pointer, will be shifted after operation by the number of
bytes actually loaded.</param>
<param name="length">Length of buffer.</param>
<returns><c>true</c> if buffer was topped up, <c>false</c> if no bytes were loaded.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.Topup(K4os.Compression.LZ4.Encoders.ILZ4Encoder,System.Byte[],System.Int32,System.Int32)">
<summary>Tops encoder up with some data.</summary>
<param name="encoder">Encoder.</param>
<param name="source">Buffer.</param>
<param name="offset">Buffer offset.</param>
<param name="length">Length of buffer.</param>
<returns>Number of bytes actually loaded.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.Topup(K4os.Compression.LZ4.Encoders.ILZ4Encoder,System.Byte[],System.Int32@,System.Int32)">
<summary>Tops encoder up with some data.</summary>
<param name="encoder">Encoder.</param>
<param name="source">Buffer.</param>
<param name="offset">Buffer offset, will be increased after operation by the number
of bytes actually loaded.</param>
<param name="length">Length of buffer.</param>
<returns><c>true</c> if buffer was topped up, <c>false</c> if no bytes were loaded.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.Encode(K4os.Compression.LZ4.Encoders.ILZ4Encoder,System.Byte[],System.Int32,System.Int32,System.Boolean)">
<summary>Encodes all bytes currently stored in encoder into target buffer.</summary>
<param name="encoder">Encoder.</param>
<param name="target">Target buffer.</param>
<param name="offset">Offset in target buffer.</param>
<param name="length">Length of target buffer.</param>
<param name="allowCopy">if <c>true</c> copying bytes is allowed.</param>
<returns>Number of bytes encoder. If bytes were copied than this value is negative.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.Encode(K4os.Compression.LZ4.Encoders.ILZ4Encoder,System.Byte[],System.Int32@,System.Int32,System.Boolean)">
<summary>Encodes all bytes currently stored in encoder into target buffer.</summary>
<param name="encoder">Encoder.</param>
<param name="target">Target buffer.</param>
<param name="offset">Offset in target buffer. Will be updated after operation.</param>
<param name="length">Length of target buffer.</param>
<param name="allowCopy">if <c>true</c> copying bytes is allowed.</param>
<returns>Result of this action. Bytes can be Copied (<see cref="F:K4os.Compression.LZ4.Encoders.EncoderAction.Copied"/>),
Encoded (<see cref="F:K4os.Compression.LZ4.Encoders.EncoderAction.Encoded"/>) or nothing could have
happened (<see cref="F:K4os.Compression.LZ4.Encoders.EncoderAction.None"/>).</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.Encode(K4os.Compression.LZ4.Encoders.ILZ4Encoder,System.Byte*@,System.Int32,System.Boolean)">
<summary>Encodes all bytes currently stored in encoder into target buffer.</summary>
<param name="encoder">Encoder.</param>
<param name="target">Target buffer. Will be updated after operation.</param>
<param name="length">Length of buffer.</param>
<param name="allowCopy">if <c>true</c> copying bytes is allowed.</param>
<returns>Result of this action. Bytes can be Copied (<see cref="F:K4os.Compression.LZ4.Encoders.EncoderAction.Copied"/>),
Encoded (<see cref="F:K4os.Compression.LZ4.Encoders.EncoderAction.Encoded"/>) or nothing could have
happened (<see cref="F:K4os.Compression.LZ4.Encoders.EncoderAction.None"/>).</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.TopupAndEncode(K4os.Compression.LZ4.Encoders.ILZ4Encoder,System.Byte*,System.Int32,System.Byte*,System.Int32,System.Boolean,System.Boolean,System.Int32@,System.Int32@)">
<summary>Tops encoder and encodes content.</summary>
<param name="encoder">Encoder.</param>
<param name="source">Source buffer (used to top up from).</param>
<param name="sourceLength">Source buffer length.</param>
<param name="target">Target buffer (used to encode into)</param>
<param name="targetLength">Target buffer length.</param>
<param name="forceEncode">Forces encoding even if encoder is not full.</param>
<param name="allowCopy">Allows to copy bytes if compression was not possible.</param>
<param name="loaded">Number of bytes loaded (topped up)</param>
<param name="encoded">Number if bytes encoded or copied.
Value is 0 if no encoding was done.</param>
<returns>Action performed.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.TopupAndEncode(K4os.Compression.LZ4.Encoders.ILZ4Encoder,System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean,System.Int32@,System.Int32@)">
<summary>Tops encoder and encodes content.</summary>
<param name="encoder">Encoder.</param>
<param name="source">Source buffer (used to top up from).</param>
<param name="sourceOffset">Offset within source buffer.</param>
<param name="sourceLength">Source buffer length.</param>
<param name="target">Target buffer (used to encode into)</param>
<param name="targetOffset">Offset within target buffer.</param>
<param name="targetLength">Target buffer length.</param>
<param name="forceEncode">Forces encoding even if encoder is not full.</param>
<param name="allowCopy">Allows to copy bytes if compression was not possible.</param>
<param name="loaded">Number of bytes loaded (topped up)</param>
<param name="encoded">Number if bytes encoded or copied.
Value is 0 if no encoding was done.</param>
<returns>Action performed.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.FlushAndEncode(K4os.Compression.LZ4.Encoders.ILZ4Encoder,System.Byte*,System.Int32,System.Boolean,System.Int32@)">
<summary>Encoded remaining bytes in encoder.</summary>
<param name="encoder">Encoder.</param>
<param name="target">Target buffer.</param>
<param name="targetLength">Target buffer length.</param>
<param name="allowCopy">Allows to copy bytes if compression was not possible.</param>
<param name="encoded">Number if bytes encoded or copied.
Value is 0 if no encoding was done.</param>
<returns>Action performed.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.FlushAndEncode(K4os.Compression.LZ4.Encoders.ILZ4Encoder,System.Byte[],System.Int32,System.Int32,System.Boolean,System.Int32@)">
<summary>Encoded remaining bytes in encoder.</summary>
<param name="encoder">Encoder.</param>
<param name="target">Target buffer.</param>
<param name="targetOffset">Offset within target buffer.</param>
<param name="targetLength">Target buffer length.</param>
<param name="allowCopy">Allows to copy bytes if compression was not possible.</param>
<param name="encoded">Number if bytes encoded or copied.
Value is 0 if no encoding was done.</param>
<returns>Action performed.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.Drain(K4os.Compression.LZ4.Encoders.ILZ4Decoder,System.Byte[],System.Int32,System.Int32,System.Int32)">
<summary>Drains decoder by reading all bytes which are ready.</summary>
<param name="decoder">Decoder.</param>
<param name="target">Target buffer.</param>
<param name="targetOffset">Offset within target buffer.</param>
<param name="offset">Offset in decoder relatively to decoder's head.
Please note, it should be negative value.</param>
<param name="length">Number of bytes.</param>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.DecodeAndDrain(K4os.Compression.LZ4.Encoders.ILZ4Decoder,System.Byte*,System.Int32,System.Byte*,System.Int32,System.Int32@)">
<summary>Decodes data and immediately drains it into target buffer.</summary>
<param name="decoder">Decoder.</param>
<param name="source">Source buffer (with compressed data, to be decoded).</param>
<param name="sourceLength">Source buffer length.</param>
<param name="target">Target buffer (to drained into).</param>
<param name="targetLength">Target buffer length.</param>
<param name="decoded">Number of bytes actually decoded.</param>
<returns><c>true</c> decoder was drained, <c>false</c> otherwise.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4EncoderExtensions.DecodeAndDrain(K4os.Compression.LZ4.Encoders.ILZ4Decoder,System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32,System.Int32@)">
<summary>Decodes data and immediately drains it into target buffer.</summary>
<param name="decoder">Decoder.</param>
<param name="source">Source buffer (with compressed data, to be decoded).</param>
<param name="sourceOffset">Offset within source buffer.</param>
<param name="sourceLength">Source buffer length.</param>
<param name="target">Target buffer (to drained into).</param>
<param name="targetOffset">Offset within target buffer.</param>
<param name="targetLength">Target buffer length.</param>
<param name="decoded">Number of bytes actually decoded.</param>
<returns><c>true</c> decoder was drained, <c>false</c> otherwise.</returns>
</member>
<member name="T:K4os.Compression.LZ4.Encoders.LZ4FastChainEncoder">
<summary>
LZ4 encoder using dependent blocks with fast compression.
</summary>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4FastChainEncoder.#ctor(System.Int32,System.Int32)">
<summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Encoders.LZ4FastChainEncoder"/></summary>
<param name="blockSize">Block size.</param>
<param name="extraBlocks">Number of extra blocks.</param>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4FastChainEncoder.ReleaseUnmanaged">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4FastChainEncoder.EncodeBlock(System.Byte*,System.Int32,System.Byte*,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4FastChainEncoder.CopyDict(System.Byte*,System.Int32)">
<inheritdoc />
</member>
<member name="T:K4os.Compression.LZ4.Encoders.LZ4HighChainEncoder">
<summary>
LZ4 encoder using dependent blocks with high compression.
</summary>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4HighChainEncoder.#ctor(K4os.Compression.LZ4.LZ4Level,System.Int32,System.Int32)">
<summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Encoders.LZ4HighChainEncoder"/></summary>
<param name="level">Compression level.</param>
<param name="blockSize">Block size.</param>
<param name="extraBlocks">Number of extra blocks.</param>
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4HighChainEncoder.ReleaseUnmanaged">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4HighChainEncoder.EncodeBlock(System.Byte*,System.Int32,System.Byte*,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Encoders.LZ4HighChainEncoder.CopyDict(System.Byte*,System.Int32)">
<inheritdoc />
</member>
<member name="T:K4os.Compression.LZ4.Internal.Mem">
<summary>Utility class with memory related functions.</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.K1">
<summary>1 KiB</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.K2">
<summary>2 KiB</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.K4">
<summary>4 KiB</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.K8">
<summary>8 KiB</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.K16">
<summary>16 KiB</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.K32">
<summary>32 KiB</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.K64">
<summary>64 KiB</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.K128">
<summary>128 KiB</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.K256">
<summary>256 KiB</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.K512">
<summary>512 KiB</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.M1">
<summary>1 MiB</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.M4">
<summary>4 MiB</summary>
</member>
<member name="F:K4os.Compression.LZ4.Internal.Mem.Empty">
<summary>Empty byte array.</summary>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.RoundUp(System.Int32,System.Int32)">
<summary>Rounds integer value up to nearest multiple of step.</summary>
<param name="value">A value.</param>
<param name="step">A step.</param>
<returns>Value rounded up.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Copy(System.Byte*,System.Byte*,System.Int32)">
<summary>
Copies memory block for <paramref name="source"/> to <paramref name="target"/>.
Even though it is called "copy" it actually behaves like "move" which
might be potential problem, although it shouldn't as I cannot think about
any situation when "copy" invalid behaviour (forward copy of overlapping blocks)
can be a desired.
</summary>
<param name="target">The target block address.</param>
<param name="source">The source block address.</param>
<param name="length">Length in bytes.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Move(System.Byte*,System.Byte*,System.Int32)">
<summary>
Copies memory block for <paramref name="source"/> to <paramref name="target"/>.
It handle "move" semantic properly handling overlapping blocks properly.
</summary>
<param name="target">The target block address.</param>
<param name="source">The source block address.</param>
<param name="length">Length in bytes.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.WildCopy(System.Byte*,System.Byte*,System.Void*)">
<summary>
Copies memory block for <paramref name="source"/> to <paramref name="target"/>
up to (around) <paramref name="limit"/>.
It does not handle overlapping blocks and may copy up to 8 bytes more than expected.
</summary>
<param name="target">The target block address.</param>
<param name="source">The source block address.</param>
<param name="limit">The limit (in target block).</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Zero(System.Byte*,System.Int32)">
<summary>Fill block of memory with zeroes.</summary>
<param name="target">Address.</param>
<param name="length">Length.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Fill(System.Byte*,System.Byte,System.Int32)">
<summary>Fills memory block with repeating pattern of a single byte.</summary>
<param name="target">Address.</param>
<param name="value">A pattern.</param>
<param name="length">Length.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.LoopCopy(System.Byte*,System.Byte*,System.Int32)">
<summary>
Copies memory block for <paramref name="source"/> to <paramref name="target"/>.
This is proper implementation of memcpy (with all then weird behaviour for
overlapping blocks). It is slower than "Copy" but may be required if "Copy"
causes problems.
</summary>
<param name="target">The target block address.</param>
<param name="source">The source block address.</param>
<param name="length">Length in bytes.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.LoopCopyBack(System.Byte*,System.Byte*,System.Int32)">
<summary>
Copies memory block backwards from <paramref name="source"/> to <paramref name="target"/>.
This is needed to implement memmove It is slower than "Move" but is needed for .NET 4.5,
which does not implement Buffer.MemoryCopy.
</summary>
<param name="target">The target block address.</param>
<param name="source">The source block address.</param>
<param name="length">Length in bytes.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.LoopMove(System.Byte*,System.Byte*,System.Int32)">
<summary>
Moves memory block for <paramref name="source"/> to <paramref name="target"/>.
It handles overlapping block properly.
</summary>
<param name="target">The target block address.</param>
<param name="source">The source block address.</param>
<param name="length">Length in bytes.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Copy8(System.Byte*,System.Byte*)">
<summary>Copies exactly 8 bytes from source to target.</summary>
<param name="target">Target address.</param>
<param name="source">Source address.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Copy16(System.Byte*,System.Byte*)">
<summary>Copies exactly 16 bytes from source to target.</summary>
<param name="target">Target address.</param>
<param name="source">Source address.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Copy18(System.Byte*,System.Byte*)">
<summary>Copies exactly 18 bytes from source to target.</summary>
<param name="target">Target address.</param>
<param name="source">Source address.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Alloc(System.Int32)">
<summary>Allocated block of memory. It is NOT initialized with zeroes.</summary>
<param name="size">Size in bytes.</param>
<returns>Pointer to allocated block.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.AllocZero(System.Int32)">
<summary>Allocated block of memory and fills it with zeroes.</summary>
<param name="size">Size in bytes.</param>
<returns>Pointer to allocated block.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Free(System.Void*)">
<summary>
Free memory allocated previously with <see cref="M:K4os.Compression.LZ4.Internal.Mem.Alloc(System.Int32)"/> or <see cref="M:K4os.Compression.LZ4.Internal.Mem.AllocZero(System.Int32)"/>
</summary>
<param name="ptr"></param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Peek8(System.Void*)">
<summary>Reads exactly 1 byte from given address.</summary>
<param name="p">Address.</param>
<returns>Byte at given address.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Peek16(System.Void*)">
<summary>Reads exactly 2 bytes from given address.</summary>
<param name="p">Address.</param>
<returns>2 bytes at given address.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Peek32(System.Void*)">
<summary>Reads exactly 4 bytes from given address.</summary>
<param name="p">Address.</param>
<returns>4 bytes at given address.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Peek64(System.Void*)">
<summary>Reads exactly 8 bytes from given address.</summary>
<param name="p">Address.</param>
<returns>8 bytes at given address.</returns>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Poke8(System.Void*,System.Byte)">
<summary>Writes exactly 1 byte to given address.</summary>
<param name="p">Address.</param>
<param name="v">Value.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Poke16(System.Void*,System.UInt16)">
<summary>Writes exactly 2 bytes to given address.</summary>
<param name="p">Address.</param>
<param name="v">Value.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Poke32(System.Void*,System.UInt32)">
<summary>Writes exactly 4 bytes to given address.</summary>
<param name="p">Address.</param>
<param name="v">Value.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.Mem.Poke64(System.Void*,System.UInt64)">
<summary>Writes exactly 8 bytes to given address.</summary>
<param name="p">Address.</param>
<param name="v">Value.</param>
</member>
<member name="T:K4os.Compression.LZ4.Internal.UnmanagedResources">
<summary>
Skeleton for class with unmanaged resources.
Implements <see cref="T:System.IDisposable"/> but also handles proper release in
case <see cref="M:K4os.Compression.LZ4.Internal.UnmanagedResources.Dispose"/> was not called.
</summary>
</member>
<member name="P:K4os.Compression.LZ4.Internal.UnmanagedResources.IsDisposed">
<summary>Determines if object was already disposed.</summary>
</member>
<member name="M:K4os.Compression.LZ4.Internal.UnmanagedResources.ThrowIfDisposed">
<summary>Throws exception is object has been disposed already. Convenience method.</summary>
<exception cref="T:System.ObjectDisposedException">Thrown if object is already disposed.</exception>
</member>
<member name="M:K4os.Compression.LZ4.Internal.UnmanagedResources.ReleaseUnmanaged">
<summary>Method releasing unmanaged resources.</summary>
</member>
<member name="M:K4os.Compression.LZ4.Internal.UnmanagedResources.ReleaseManaged">
<summary>Method releasing managed resources.</summary>
</member>
<member name="M:K4os.Compression.LZ4.Internal.UnmanagedResources.Dispose(System.Boolean)">
<summary>
Disposed resources.
</summary>
<param name="disposing"><c>true</c> if dispose was explicitly called,
<c>false</c> if called from GC.</param>
</member>
<member name="M:K4os.Compression.LZ4.Internal.UnmanagedResources.Dispose">
<inheritdoc />
</member>
<member name="M:K4os.Compression.LZ4.Internal.UnmanagedResources.Finalize">
<summary>Destructor.</summary>
</member>
<member name="T:K4os.Compression.LZ4.LZ4Codec">
<summary>
Static class exposing LZ4 block compression methods.
</summary>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Codec.MaximumOutputSize(System.Int32)">
<summary>Maximum size after compression.</summary>
<param name="length">Length of input buffer.</param>
<returns>Maximum length after compression.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Codec.Encode(System.Byte*,System.Int32,System.Byte*,System.Int32,K4os.Compression.LZ4.LZ4Level)">
<summary>Compresses data from one buffer into another.</summary>
<param name="source">Input buffer.</param>
<param name="sourceLength">Length of input buffer.</param>
<param name="target">Output buffer.</param>
<param name="targetLength">Output buffer length.</param>
<param name="level">Compression level.</param>
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Codec.Encode(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},K4os.Compression.LZ4.LZ4Level)">
<summary>Compresses data from one buffer into another.</summary>
<param name="source">Input buffer.</param>
<param name="target">Output buffer.</param>
<param name="level">Compression level.</param>
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Codec.Encode(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32,K4os.Compression.LZ4.LZ4Level)">
<summary>Compresses data from one buffer into another.</summary>
<param name="source">Input buffer.</param>
<param name="sourceOffset">Input buffer offset.</param>
<param name="sourceLength">Input buffer length.</param>
<param name="target">Output buffer.</param>
<param name="targetOffset">Output buffer offset.</param>
<param name="targetLength">Output buffer length.</param>
<param name="level">Compression level.</param>
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte*,System.Int32,System.Byte*,System.Int32)">
<summary>Decompresses data from given buffer.</summary>
<param name="source">Input buffer.</param>
<param name="sourceLength">Input buffer length.</param>
<param name="target">Output buffer.</param>
<param name="targetLength">Output buffer length.</param>
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.ReadOnlySpan{System.Byte},System.Span{System.Byte})">
<summary>Decompresses data from given buffer.</summary>
<param name="source">Input buffer.</param>
<param name="target">Output buffer.</param>
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)">
<summary>Decompresses data from given buffer.</summary>
<param name="source">Input buffer.</param>
<param name="sourceOffset">Input buffer offset.</param>
<param name="sourceLength">Input buffer length.</param>
<param name="target">Output buffer.</param>
<param name="targetOffset">Output buffer offset.</param>
<param name="targetLength">Output buffer length.</param>
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
</member>
<member name="T:K4os.Compression.LZ4.LZ4Level">
<summary>Compression level.</summary>
</member>
<member name="F:K4os.Compression.LZ4.LZ4Level.L00_FAST">
<summary>Fast compression.</summary>
</member>
<member name="F:K4os.Compression.LZ4.LZ4Level.L03_HC">
<summary>High compression, level 3.</summary>
</member>
<member name="F:K4os.Compression.LZ4.LZ4Level.L04_HC">
<summary>High compression, level 4.</summary>
</member>
<member name="F:K4os.Compression.LZ4.LZ4Level.L05_HC">
<summary>High compression, level 5.</summary>
</member>
<member name="F:K4os.Compression.LZ4.LZ4Level.L06_HC">
<summary>High compression, level 6.</summary>
</member>
<member name="F:K4os.Compression.LZ4.LZ4Level.L07_HC">
<summary>High compression, level 7.</summary>
</member>
<member name="F:K4os.Compression.LZ4.LZ4Level.L08_HC">
<summary>High compression, level 8.</summary>
</member>
<member name="F:K4os.Compression.LZ4.LZ4Level.L09_HC">
<summary>High compression, level 9.</summary>
</member>
<member name="F:K4os.Compression.LZ4.LZ4Level.L10_OPT">
<summary>Optimal compression, level 10.</summary>
</member>
<member name="F:K4os.Compression.LZ4.LZ4Level.L11_OPT">
<summary>Optimal compression, level 11.</summary>
</member>
<member name="F:K4os.Compression.LZ4.LZ4Level.L12_MAX">
<summary>Maximum compression, level 12.</summary>
</member>
<member name="T:K4os.Compression.LZ4.LZ4Pickler">
<summary>
Pickling support with LZ4 compression.
</summary>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte[],K4os.Compression.LZ4.LZ4Level)">
<summary>Compresses input buffer into self-contained package.</summary>
<param name="source">Input buffer.</param>
<param name="level">Compression level.</param>
<returns>Output buffer.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte[],System.Int32,System.Int32,K4os.Compression.LZ4.LZ4Level)">
<summary>Compresses input buffer into self-contained package.</summary>
<param name="source">Input buffer.</param>
<param name="sourceOffset">Input buffer offset.</param>
<param name="sourceLength">Input buffer length.</param>
<param name="level">Compression level.</param>
<returns>Output buffer.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.ReadOnlySpan{System.Byte},K4os.Compression.LZ4.LZ4Level)">
<summary>Compresses input buffer into self-contained package.</summary>
<param name="source">Input buffer.</param>
<param name="level">Compression level.</param>
<returns>Output buffer.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte*,System.Int32,K4os.Compression.LZ4.LZ4Level)">
<summary>Compresses input buffer into self-contained package.</summary>
<param name="source">Input buffer.</param>
<param name="sourceLength">Length of input data.</param>
<param name="level">Compression level.</param>
<returns>Output buffer.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte[])">
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
<param name="source">Input buffer.</param>
<returns>Output buffer.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte[],System.Int32,System.Int32)">
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
<param name="source">Input buffer.</param>
<param name="sourceOffset">Input buffer offset.</param>
<param name="sourceLength">Input buffer length.</param>
<returns>Output buffer.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte})">
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
<param name="source">Input buffer.</param>
<returns>Output buffer.</returns>
</member>
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte*,System.Int32)">
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
<param name="source">Input buffer.</param>
<param name="sourceLength">Input buffer length.</param>
<returns>Output buffer.</returns>
</member>
</members>
</doc>

Binary file not shown.

View File

@ -0,0 +1,163 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>K4os.Hash.xxHash</name>
</assembly>
<members>
<member name="T:K4os.Hash.xxHash.HashAlgorithmAdapter">
<summary>
Adapter implementing <see cref="T:System.Security.Cryptography.HashAlgorithm"/>
</summary>
</member>
<member name="M:K4os.Hash.xxHash.HashAlgorithmAdapter.#ctor(System.Int32,System.Action,System.Action{System.Byte[],System.Int32,System.Int32},System.Func{System.Byte[]})">
<summary>
Creates new <see cref="T:K4os.Hash.xxHash.HashAlgorithmAdapter"/>.
</summary>
<param name="hashSize">Hash size (in bytes)</param>
<param name="reset">Reset function.</param>
<param name="update">Update function.</param>
<param name="digest">Digest function.</param>
</member>
<member name="P:K4os.Hash.xxHash.HashAlgorithmAdapter.HashSize">
<inheritdoc />
</member>
<member name="P:K4os.Hash.xxHash.HashAlgorithmAdapter.Hash">
<inheritdoc />
</member>
<member name="M:K4os.Hash.xxHash.HashAlgorithmAdapter.HashCore(System.Byte[],System.Int32,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Hash.xxHash.HashAlgorithmAdapter.HashFinal">
<inheritdoc />
</member>
<member name="M:K4os.Hash.xxHash.HashAlgorithmAdapter.Initialize">
<inheritdoc />
</member>
<member name="T:K4os.Hash.xxHash.XXH">
<summary>
Base class for both <see cref="T:K4os.Hash.xxHash.XXH32"/> and <see cref="T:K4os.Hash.xxHash.XXH64"/>. Do not use directly.
</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH.#ctor">
<summary>Protected constructor to prevent instantiation.</summary>
</member>
<member name="T:K4os.Hash.xxHash.XXH32">
<summary>
xxHash 32-bit.
</summary>
</member>
<member name="F:K4os.Hash.xxHash.XXH32.EmptyHash">
<summary>Hash of empty buffer.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.Void*,System.Int32)">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.ReadOnlySpan{System.Byte})">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.Byte[],System.Int32,System.Int32)">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="offset">Starting offset.</param>
<param name="length">Length of buffer.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.#ctor">
<summary>Creates xxHash instance.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Reset">
<summary>Resets hash calculation.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.Byte*,System.Int32)">
<summary>Updates the has using given buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.ReadOnlySpan{System.Byte})">
<summary>Updates the has using given buffer.</summary>
<param name="bytes">Buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.Byte[],System.Int32,System.Int32)">
<summary>Updates the has using given buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="offset">Starting offset.</param>
<param name="length">Length of buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Digest">
<summary>Hash so far.</summary>
<returns>Hash so far.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.DigestBytes">
<summary>Hash so far, as byte array.</summary>
<returns>Hash so far.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.AsHashAlgorithm">
<summary>Converts this class to <see cref="T:System.Security.Cryptography.HashAlgorithm"/></summary>
<returns><see cref="T:System.Security.Cryptography.HashAlgorithm"/></returns>
</member>
<member name="T:K4os.Hash.xxHash.XXH64">
<summary>
xxHash 64-bit.
</summary>
</member>
<member name="F:K4os.Hash.xxHash.XXH64.EmptyHash">
<summary>Hash of empty buffer.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.Void*,System.Int32)">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.ReadOnlySpan{System.Byte})">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.Byte[],System.Int32,System.Int32)">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="offset">Starting offset.</param>
<param name="length">Length of buffer.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.#ctor">
<summary>Creates xxHash instance.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Reset">
<summary>Resets hash calculation.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.Byte*,System.Int32)">
<summary>Updates the has using given buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.ReadOnlySpan{System.Byte})">
<summary>Updates the has using given buffer.</summary>
<param name="bytes">Buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.Byte[],System.Int32,System.Int32)">
<summary>Updates the has using given buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="offset">Starting offset.</param>
<param name="length">Length of buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Digest">
<summary>Hash so far.</summary>
<returns>Hash so far.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.DigestBytes">
<summary>Hash so far, as byte array.</summary>
<returns>Hash so far.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.AsHashAlgorithm">
<summary>Converts this class to <see cref="T:System.Security.Cryptography.HashAlgorithm"/></summary>
<returns><see cref="T:System.Security.Cryptography.HashAlgorithm"/></returns>
</member>
</members>
</doc>

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?><doc>
<assembly>
<name>System.Buffers</name>
</assembly>
<members>
<member name="T:System.Buffers.ArrayPool`1">
<summary>Provides a resource pool that enables reusing instances of type <see cref="T[]"></see>.</summary>
<typeparam name="T">The type of the objects that are in the resource pool.</typeparam>
</member>
<member name="M:System.Buffers.ArrayPool`1.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Buffers.ArrayPool`1"></see> class.</summary>
</member>
<member name="M:System.Buffers.ArrayPool`1.Create">
<summary>Creates a new instance of the <see cref="T:System.Buffers.ArrayPool`1"></see> class.</summary>
<returns>A new instance of the <see cref="System.Buffers.ArrayPool`1"></see> class.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Create(System.Int32,System.Int32)">
<summary>Creates a new instance of the <see cref="T:System.Buffers.ArrayPool`1"></see> class using the specifed configuration.</summary>
<param name="maxArrayLength">The maximum length of an array instance that may be stored in the pool.</param>
<param name="maxArraysPerBucket">The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access.</param>
<returns>A new instance of the <see cref="System.Buffers.ArrayPool`1"></see> class with the specified configuration.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Rent(System.Int32)">
<summary>Retrieves a buffer that is at least the requested length.</summary>
<param name="minimumLength">The minimum length of the array.</param>
<returns>An array of type <see cref="T[]"></see> that is at least <paramref name="minimumLength">minimumLength</paramref> in length.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)">
<summary>Returns an array to the pool that was previously obtained using the <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method on the same <see cref="T:System.Buffers.ArrayPool`1"></see> instance.</summary>
<param name="array">A buffer to return to the pool that was previously obtained using the <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method.</param>
<param name="clearArray">Indicates whether the contents of the buffer should be cleared before reuse. If <paramref name="clearArray">clearArray</paramref> is set to true, and if the pool will store the buffer to enable subsequent reuse, the <see cref="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)"></see> method will clear the <paramref name="array">array</paramref> of its contents so that a subsequent caller using the <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method will not see the content of the previous caller. If <paramref name="clearArray">clearArray</paramref> is set to false or if the pool will release the buffer, the array&amp;#39;s contents are left unchanged.</param>
</member>
<member name="P:System.Buffers.ArrayPool`1.Shared">
<summary>Gets a shared <see cref="T:System.Buffers.ArrayPool`1"></see> instance.</summary>
<returns>A shared <see cref="System.Buffers.ArrayPool`1"></see> instance.</returns>
</member>
</members>
</doc>

Binary file not shown.

View File

@ -0,0 +1,355 @@
<?xml version="1.0" encoding="utf-8"?><doc>
<assembly>
<name>System.Memory</name>
</assembly>
<members>
<member name="T:System.Span`1">
<typeparam name="T"></typeparam>
</member>
<member name="M:System.Span`1.#ctor(`0[])">
<param name="array"></param>
</member>
<member name="M:System.Span`1.#ctor(System.Void*,System.Int32)">
<param name="pointer"></param>
<param name="length"></param>
</member>
<member name="M:System.Span`1.#ctor(`0[],System.Int32)">
<param name="array"></param>
<param name="start"></param>
</member>
<member name="M:System.Span`1.#ctor(`0[],System.Int32,System.Int32)">
<param name="array"></param>
<param name="start"></param>
<param name="length"></param>
</member>
<member name="M:System.Span`1.Clear">
</member>
<member name="M:System.Span`1.CopyTo(System.Span{`0})">
<param name="destination"></param>
</member>
<member name="M:System.Span`1.DangerousCreate(System.Object,`0@,System.Int32)">
<param name="obj"></param>
<param name="objectData"></param>
<param name="length"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.DangerousGetPinnableReference">
<returns></returns>
</member>
<member name="P:System.Span`1.Empty">
<returns></returns>
</member>
<member name="M:System.Span`1.Equals(System.Object)">
<param name="obj"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.Fill(`0)">
<param name="value"></param>
</member>
<member name="M:System.Span`1.GetHashCode">
<returns></returns>
</member>
<member name="P:System.Span`1.IsEmpty">
<returns></returns>
</member>
<member name="P:System.Span`1.Item(System.Int32)">
<param name="index"></param>
<returns></returns>
</member>
<member name="P:System.Span`1.Length">
<returns></returns>
</member>
<member name="M:System.Span`1.op_Equality(System.Span{`0},System.Span{`0})">
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.op_Implicit(System.ArraySegment{T})~System.Span{T}">
<param name="arraySegment"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.op_Implicit(System.Span{T})~System.ReadOnlySpan{T}">
<param name="span"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.op_Implicit(T[])~System.Span{T}">
<param name="array"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.op_Inequality(System.Span{`0},System.Span{`0})">
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.Slice(System.Int32)">
<param name="start"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.Slice(System.Int32,System.Int32)">
<param name="start"></param>
<param name="length"></param>
<returns></returns>
</member>
<member name="M:System.Span`1.ToArray">
<returns></returns>
</member>
<member name="M:System.Span`1.TryCopyTo(System.Span{`0})">
<param name="destination"></param>
<returns></returns>
</member>
<member name="T:System.SpanExtensions">
</member>
<member name="M:System.SpanExtensions.AsBytes``1(System.ReadOnlySpan{``0})">
<param name="source"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.AsBytes``1(System.Span{``0})">
<param name="source"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.AsSpan(System.String)">
<param name="text"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.AsSpan``1(System.ArraySegment{``0})">
<param name="arraySegment"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.AsSpan``1(``0[])">
<param name="array"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.CopyTo``1(``0[],System.Span{``0})">
<param name="array"></param>
<param name="destination"></param>
<typeparam name="T"></typeparam>
</member>
<member name="M:System.SpanExtensions.IndexOf(System.Span{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="span"></param>
<param name="value"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf(System.Span{System.Byte},System.Byte)">
<param name="span"></param>
<param name="value"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf(System.ReadOnlySpan{System.Byte},System.Byte)">
<param name="span"></param>
<param name="value"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="span"></param>
<param name="value"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
<param name="span"></param>
<param name="value"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf``1(System.ReadOnlySpan{``0},``0)">
<param name="span"></param>
<param name="value"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf``1(System.Span{``0},System.ReadOnlySpan{``0})">
<param name="span"></param>
<param name="value"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOf``1(System.Span{``0},``0)">
<param name="span"></param>
<param name="value"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOfAny(System.ReadOnlySpan{System.Byte},System.Byte,System.Byte,System.Byte)">
<param name="span"></param>
<param name="value0"></param>
<param name="value1"></param>
<param name="value2"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOfAny(System.Span{System.Byte},System.Byte,System.Byte,System.Byte)">
<param name="span"></param>
<param name="value0"></param>
<param name="value1"></param>
<param name="value2"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOfAny(System.Span{System.Byte},System.Byte,System.Byte)">
<param name="span"></param>
<param name="value0"></param>
<param name="value1"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOfAny(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="span"></param>
<param name="values"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOfAny(System.Span{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="span"></param>
<param name="values"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.IndexOfAny(System.ReadOnlySpan{System.Byte},System.Byte,System.Byte)">
<param name="span"></param>
<param name="value0"></param>
<param name="value1"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.NonPortableCast``2(System.ReadOnlySpan{``0})">
<param name="source"></param>
<typeparam name="TFrom"></typeparam>
<typeparam name="TTo"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.NonPortableCast``2(System.Span{``0})">
<param name="source"></param>
<typeparam name="TFrom"></typeparam>
<typeparam name="TTo"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.SequenceEqual(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="first"></param>
<param name="second"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.SequenceEqual(System.Span{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="first"></param>
<param name="second"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.SequenceEqual``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
<param name="first"></param>
<param name="second"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.SequenceEqual``1(System.Span{``0},System.ReadOnlySpan{``0})">
<param name="first"></param>
<param name="second"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.StartsWith(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="span"></param>
<param name="value"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.StartsWith(System.Span{System.Byte},System.ReadOnlySpan{System.Byte})">
<param name="span"></param>
<param name="value"></param>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.StartsWith``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
<param name="span"></param>
<param name="value"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="M:System.SpanExtensions.StartsWith``1(System.Span{``0},System.ReadOnlySpan{``0})">
<param name="span"></param>
<param name="value"></param>
<typeparam name="T"></typeparam>
<returns></returns>
</member>
<member name="T:System.ReadOnlySpan`1">
<typeparam name="T"></typeparam>
</member>
<member name="M:System.ReadOnlySpan`1.#ctor(`0[])">
<param name="array"></param>
</member>
<member name="M:System.ReadOnlySpan`1.#ctor(System.Void*,System.Int32)">
<param name="pointer"></param>
<param name="length"></param>
</member>
<member name="M:System.ReadOnlySpan`1.#ctor(`0[],System.Int32)">
<param name="array"></param>
<param name="start"></param>
</member>
<member name="M:System.ReadOnlySpan`1.#ctor(`0[],System.Int32,System.Int32)">
<param name="array"></param>
<param name="start"></param>
<param name="length"></param>
</member>
<member name="M:System.ReadOnlySpan`1.CopyTo(System.Span{`0})">
<param name="destination"></param>
</member>
<member name="M:System.ReadOnlySpan`1.DangerousCreate(System.Object,`0@,System.Int32)">
<param name="obj"></param>
<param name="objectData"></param>
<param name="length"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.DangerousGetPinnableReference">
<returns></returns>
</member>
<member name="P:System.ReadOnlySpan`1.Empty">
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.Equals(System.Object)">
<param name="obj"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.GetHashCode">
<returns></returns>
</member>
<member name="P:System.ReadOnlySpan`1.IsEmpty">
<returns></returns>
</member>
<member name="P:System.ReadOnlySpan`1.Item(System.Int32)">
<param name="index"></param>
<returns></returns>
</member>
<member name="P:System.ReadOnlySpan`1.Length">
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.op_Equality(System.ReadOnlySpan{`0},System.ReadOnlySpan{`0})">
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.op_Implicit(System.ArraySegment{T})~System.ReadOnlySpan{T}">
<param name="arraySegment"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.op_Implicit(T[])~System.ReadOnlySpan{T}">
<param name="array"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.op_Inequality(System.ReadOnlySpan{`0},System.ReadOnlySpan{`0})">
<param name="left"></param>
<param name="right"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.Slice(System.Int32)">
<param name="start"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.Slice(System.Int32,System.Int32)">
<param name="start"></param>
<param name="length"></param>
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.ToArray">
<returns></returns>
</member>
<member name="M:System.ReadOnlySpan`1.TryCopyTo(System.Span{`0})">
<param name="destination"></param>
<returns></returns>
</member>
</members>
</doc>

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,200 @@
<?xml version="1.0" encoding="utf-8"?><doc>
<assembly>
<name>System.Runtime.CompilerServices.Unsafe</name>
</assembly>
<members>
<member name="T:System.Runtime.CompilerServices.Unsafe">
<summary>Contains generic, low-level functionality for manipulating pointers.</summary>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Add``1(``0@,System.Int32)">
<summary>Adds an element offset to the given reference.</summary>
<param name="source">The reference to add the offset to.</param>
<param name="elementOffset">The offset to add.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the addition of offset to pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Add``1(``0@,System.IntPtr)">
<summary>Adds an element offset to the given reference.</summary>
<param name="source">The reference to add the offset to.</param>
<param name="elementOffset">The offset to add.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the addition of offset to pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AddByteOffset``1(``0@,System.IntPtr)">
<summary>Adds a byte offset to the given reference.</summary>
<param name="source">The reference to add the offset to.</param>
<param name="byteOffset">The offset to add.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the addition of byte offset to pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AreSame``1(``0@,``0@)">
<summary>Determines whether the specified references point to the same location.</summary>
<param name="left">The first reference to compare.</param>
<param name="right">The second reference to compare.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>true if <paramref name="left">left</paramref> and <paramref name="right">right</paramref> point to the same location; otherwise, false.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.As``1(System.Object)">
<summary>Casts the given object to the specified type.</summary>
<param name="o">The object to cast.</param>
<typeparam name="T">The type which the object will be cast to.</typeparam>
<returns>The original object, casted to the given type.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.As``2(``0@)">
<summary>Reinterprets the given reference as a reference to a value of type <typeparamref name="TTo">TTo</typeparamref>.</summary>
<param name="source">The reference to reinterpret.</param>
<typeparam name="TFrom">The type of reference to reinterpret..</typeparam>
<typeparam name="TTo">The desired type of the reference.</typeparam>
<returns>A reference to a value of type <typeparamref name="TTo">TTo</typeparamref>.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AsPointer``1(``0@)">
<summary>Returns a pointer to the given by-ref parameter.</summary>
<param name="value">The object whose pointer is obtained.</param>
<typeparam name="T">The type of object.</typeparam>
<returns>A pointer to the given value.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AsRef``1(System.Void*)">
<summary>Reinterprets the given location as a reference to a value of type <typeparamref name="T">T</typeparamref>.</summary>
<param name="source">The location of the value to reference.</param>
<typeparam name="T">The type of the interpreted location.</typeparam>
<returns>A reference to a value of type <typeparamref name="T">T</typeparamref>.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.ByteOffset``1(``0@,``0@)">
<summary>Determines the byte offset from origin to target from the given references.</summary>
<param name="origin">The reference to origin.</param>
<param name="target">The reference to target.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>Byte offset from origin to target i.e. <paramref name="target">target</paramref> - <paramref name="origin">origin</paramref>.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Copy``1(System.Void*,``0@)">
<summary>Copies a value of type <typeparamref name="T">T</typeparamref> to the given location.</summary>
<param name="destination">The location to copy to.</param>
<param name="source">A reference to the value to copy.</param>
<typeparam name="T">The type of value to copy.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Copy``1(``0@,System.Void*)">
<summary>Copies a value of type <typeparamref name="T">T</typeparamref> to the given location.</summary>
<param name="destination">The location to copy to.</param>
<param name="source">A pointer to the value to copy.</param>
<typeparam name="T">The type of value to copy.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlock(System.Byte@,System.Byte@,System.UInt32)">
<summary>Copies bytes from the source address to the destination address.</summary>
<param name="destination">The destination address to copy to.</param>
<param name="source">The source address to copy from.</param>
<param name="byteCount">The number of bytes to copy.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlock(System.Void*,System.Void*,System.UInt32)">
<summary>Copies bytes from the source address to the destination address.</summary>
<param name="destination">The destination address to copy to.</param>
<param name="source">The source address to copy from.</param>
<param name="byteCount">The number of bytes to copy.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlockUnaligned(System.Void*,System.Void*,System.UInt32)">
<summary>Copies bytes from the source address to the destination address
without assuming architecture dependent alignment of the addresses.</summary>
<param name="destination">The destination address to copy to.</param>
<param name="source">The source address to copy from.</param>
<param name="byteCount">The number of bytes to copy.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlockUnaligned(System.Byte@,System.Byte@,System.UInt32)">
<summary>Copies bytes from the source address to the destination address
without assuming architecture dependent alignment of the addresses.</summary>
<param name="destination">The destination address to copy to.</param>
<param name="source">The source address to copy from.</param>
<param name="byteCount">The number of bytes to copy.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlock(System.Byte@,System.Byte,System.UInt32)">
<summary>Initializes a block of memory at the given location with a given initial value.</summary>
<param name="startAddress">The address of the start of the memory block to initialize.</param>
<param name="value">The value to initialize the block to.</param>
<param name="byteCount">The number of bytes to initialize.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlock(System.Void*,System.Byte,System.UInt32)">
<summary>Initializes a block of memory at the given location with a given initial value.</summary>
<param name="startAddress">The address of the start of the memory block to initialize.</param>
<param name="value">The value to initialize the block to.</param>
<param name="byteCount">The number of bytes to initialize.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(System.Byte@,System.Byte,System.UInt32)">
<summary>Initializes a block of memory at the given location with a given initial value
without assuming architecture dependent alignment of the address.</summary>
<param name="startAddress">The address of the start of the memory block to initialize.</param>
<param name="value">The value to initialize the block to.</param>
<param name="byteCount">The number of bytes to initialize.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(System.Void*,System.Byte,System.UInt32)">
<summary>Initializes a block of memory at the given location with a given initial value
without assuming architecture dependent alignment of the address.</summary>
<param name="startAddress">The address of the start of the memory block to initialize.</param>
<param name="value">The value to initialize the block to.</param>
<param name="byteCount">The number of bytes to initialize.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Read``1(System.Void*)">
<summary>Reads a value of type <typeparamref name="T">T</typeparamref> from the given location.</summary>
<param name="source">The location to read from.</param>
<typeparam name="T">The type to read.</typeparam>
<returns>An object of type <typeparamref name="T">T</typeparamref> read from the given location.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.ReadUnaligned``1(System.Byte@)">
<summary>Reads a value of type <typeparamref name="T">T</typeparamref> from the given location
without assuming architecture dependent alignment of the addresses.</summary>
<param name="source">The location to read from.</param>
<typeparam name="T">The type to read.</typeparam>
<returns>An object of type <typeparamref name="T">T</typeparamref> read from the given location.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.ReadUnaligned``1(System.Void*)">
<summary>Reads a value of type <typeparamref name="T">T</typeparamref> from the given location
without assuming architecture dependent alignment of the addresses.</summary>
<param name="source">The location to read from.</param>
<typeparam name="T">The type to read.</typeparam>
<returns>An object of type <typeparamref name="T">T</typeparamref> read from the given location.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.SizeOf``1">
<summary>Returns the size of an object of the given type parameter.</summary>
<typeparam name="T">The type of object whose size is retrieved.</typeparam>
<returns>The size of an object of type <typeparamref name="T">T</typeparamref>.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(``0@,System.Int32)">
<summary>Subtracts an element offset from the given reference.</summary>
<param name="source">The reference to subtract the offset from.</param>
<param name="elementOffset">The offset to subtract.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the subraction of offset from pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(``0@,System.IntPtr)">
<summary>Subtracts an element offset from the given reference.</summary>
<param name="source">The reference to subtract the offset from.</param>
<param name="elementOffset">The offset to subtract.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the subraction of offset from pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.SubtractByteOffset``1(``0@,System.IntPtr)">
<summary>Subtracts a byte offset from the given reference.</summary>
<param name="source">The reference to subtract the offset from.</param>
<param name="byteOffset"></param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the subraction of byte offset from pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Write``1(System.Void*,``0)">
<summary>Writes a value of type <typeparamref name="T">T</typeparamref> to the given location.</summary>
<param name="destination">The location to write to.</param>
<param name="value">The value to write.</param>
<typeparam name="T">The type of value to write.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.WriteUnaligned``1(System.Byte@,``0)">
<summary>Writes a value of type <typeparamref name="T">T</typeparamref> to the given location
without assuming architecture dependent alignment of the addresses.</summary>
<param name="destination">The location to write to.</param>
<param name="value">The value to write.</param>
<typeparam name="T">The type of value to write.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.WriteUnaligned``1(System.Void*,``0)">
<summary>Writes a value of type <typeparamref name="T">T</typeparamref> to the given location
without assuming architecture dependent alignment of the addresses.</summary>
<param name="destination">The location to write to.</param>
<param name="value">The value to write.</param>
<typeparam name="T">The type of value to write.</typeparam>
</member>
</members>
</doc>

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More