v16.4.0.42
This commit is contained in:
Родитель
3b9d405be3
Коммит
59d132e6b1
|
@ -1,46 +0,0 @@
|
|||
using System.Windows.Interactivity;
|
||||
using Syncfusion.Windows.Shared;
|
||||
|
||||
namespace FirstSample.Action
|
||||
{
|
||||
class ButtonAction : TargetedTriggerAction<ChromelessWindow>
|
||||
{
|
||||
protected override void Invoke(object parameter)
|
||||
{
|
||||
switch (((parameter as System.Windows.RoutedEventArgs).Source as System.Windows.Controls.Button).Name)
|
||||
{
|
||||
case "button6":
|
||||
AlgebraicExpressions alg = new AlgebraicExpressions();
|
||||
alg.Show();
|
||||
this.Target.Hide();
|
||||
break;
|
||||
case "button4":
|
||||
AngleForm ang = new AngleForm();
|
||||
ang.Show();
|
||||
this.Target.Hide();
|
||||
break;
|
||||
case "button5":
|
||||
AutoAngleForm autoang = new AutoAngleForm();
|
||||
autoang.Show();
|
||||
this.Target.Hide();
|
||||
break;
|
||||
case "button2":
|
||||
AutoCalcForm autocalc = new AutoCalcForm();
|
||||
autocalc.Show();
|
||||
this.Target.Hide();
|
||||
break;
|
||||
case "button1":
|
||||
ManualCalcForm manual = new ManualCalcForm();
|
||||
manual.Show();
|
||||
this.Target.Hide();
|
||||
break;
|
||||
case "button3":
|
||||
MoreComplexForm more = new MoreComplexForm();
|
||||
more.Show();
|
||||
this.Target.Hide();
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
<Application x:Class="FirstSample.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
StartupUri="MainWindow.xaml">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
</Application>
|
|
@ -1,20 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
public App()
|
||||
{
|
||||
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense(Syncfusion.Licensing.DemoCommon.FindLicenseKey());
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,184 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{3D5CB426-9C65-4502-8A8C-6703EB26615C}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FirstSample_2010</RootNamespace>
|
||||
<AssemblyName>FirstSample_2010</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</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|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net40\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Calculate.Wpf">
|
||||
<HintPath>packages\Syncfusion.Calculate.Wpf.16.3.0.21\lib\net40\Syncfusion.Calculate.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net40\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net40\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Windows.Interactivity">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\..\Common\Data\Interactivity_Binaries\WPF\4.0\System.Windows.Interactivity.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Action\ButtonAction.cs" />
|
||||
<Compile Include="Command\AlgebraicCmd.cs" />
|
||||
<Compile Include="Command\AngleCmd.cs" />
|
||||
<Compile Include="Command\AutoAngleCmd.cs" />
|
||||
<Compile Include="Command\AutoCalcCmd.cs" />
|
||||
<Compile Include="Command\ControlCmd.cs" />
|
||||
<Compile Include="Command\Manualcmd.cs" />
|
||||
<Compile Include="Model\Model.cs" />
|
||||
<Compile Include="View\AlgebraicExpressions.xaml.cs">
|
||||
<DependentUpon>AlgebraicExpressions.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AngleForm.xaml.cs">
|
||||
<DependentUpon>AngleForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AutoAngleForm.xaml.cs">
|
||||
<DependentUpon>AutoAngleForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AutoCalcForm.xaml.cs">
|
||||
<DependentUpon>AutoCalcForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewModel\Data.cs" />
|
||||
<Compile Include="View\ManualCalcForm.xaml.cs">
|
||||
<DependentUpon>ManualCalcForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\MoreComplexForm.xaml.cs">
|
||||
<DependentUpon>MoreComplexForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Page Include="View\AlgebraicExpressions.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AngleForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AutoAngleForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AutoCalcForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\ManualCalcForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\MoreComplexForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net40\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,20 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CalcQuickDemo_2010", "CalcQuickDemo_2010.csproj", "{3D5CB426-9C65-4502-8A8C-6703EB26615C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Debug|x86.Build.0 = Debug|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Release|x86.ActiveCfg = Release|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,186 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{3D5CB426-9C65-4502-8A8C-6703EB26615C}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FirstSample_2010</RootNamespace>
|
||||
<AssemblyName>FirstSample_2010</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net45\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Calculate.Wpf">
|
||||
<HintPath>packages\Syncfusion.Calculate.Wpf.16.3.0.21\lib\net45\Syncfusion.Calculate.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net45\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net45\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Windows.Interactivity">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\..\Common\Data\Interactivity_Binaries\WPF\4.0\System.Windows.Interactivity.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Action\ButtonAction.cs" />
|
||||
<Compile Include="Command\AlgebraicCmd.cs" />
|
||||
<Compile Include="Command\AngleCmd.cs" />
|
||||
<Compile Include="Command\AutoAngleCmd.cs" />
|
||||
<Compile Include="Command\AutoCalcCmd.cs" />
|
||||
<Compile Include="Command\ControlCmd.cs" />
|
||||
<Compile Include="Command\Manualcmd.cs" />
|
||||
<Compile Include="Model\Model.cs" />
|
||||
<Compile Include="View\AlgebraicExpressions.xaml.cs">
|
||||
<DependentUpon>AlgebraicExpressions.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AngleForm.xaml.cs">
|
||||
<DependentUpon>AngleForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AutoAngleForm.xaml.cs">
|
||||
<DependentUpon>AutoAngleForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AutoCalcForm.xaml.cs">
|
||||
<DependentUpon>AutoCalcForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewModel\Data.cs" />
|
||||
<Compile Include="View\ManualCalcForm.xaml.cs">
|
||||
<DependentUpon>ManualCalcForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\MoreComplexForm.xaml.cs">
|
||||
<DependentUpon>MoreComplexForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Page Include="View\AlgebraicExpressions.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AngleForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AutoAngleForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AutoCalcForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\ManualCalcForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\MoreComplexForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net45\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,20 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CalcQuickDemo_2012", "CalcQuickDemo_2012.csproj", "{3D5CB426-9C65-4502-8A8C-6703EB26615C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Debug|x86.Build.0 = Debug|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Release|x86.ActiveCfg = Release|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,186 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{3D5CB426-9C65-4502-8A8C-6703EB26615C}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FirstSample_2010</RootNamespace>
|
||||
<AssemblyName>FirstSample_2010</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net451\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Calculate.Wpf">
|
||||
<HintPath>packages\Syncfusion.Calculate.Wpf.16.3.0.21\lib\net451\Syncfusion.Calculate.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net451\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net451\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Windows.Interactivity">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\..\Common\Data\Interactivity_Binaries\WPF\4.0\System.Windows.Interactivity.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Action\ButtonAction.cs" />
|
||||
<Compile Include="Command\AlgebraicCmd.cs" />
|
||||
<Compile Include="Command\AngleCmd.cs" />
|
||||
<Compile Include="Command\AutoAngleCmd.cs" />
|
||||
<Compile Include="Command\AutoCalcCmd.cs" />
|
||||
<Compile Include="Command\ControlCmd.cs" />
|
||||
<Compile Include="Command\Manualcmd.cs" />
|
||||
<Compile Include="Model\Model.cs" />
|
||||
<Compile Include="View\AlgebraicExpressions.xaml.cs">
|
||||
<DependentUpon>AlgebraicExpressions.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AngleForm.xaml.cs">
|
||||
<DependentUpon>AngleForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AutoAngleForm.xaml.cs">
|
||||
<DependentUpon>AutoAngleForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AutoCalcForm.xaml.cs">
|
||||
<DependentUpon>AutoCalcForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewModel\Data.cs" />
|
||||
<Compile Include="View\ManualCalcForm.xaml.cs">
|
||||
<DependentUpon>ManualCalcForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\MoreComplexForm.xaml.cs">
|
||||
<DependentUpon>MoreComplexForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Page Include="View\AlgebraicExpressions.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AngleForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AutoAngleForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AutoCalcForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\ManualCalcForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\MoreComplexForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net451\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2013
|
||||
VisualStudioVersion = 12.0.21005.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CalcQuickDemo_2013", "CalcQuickDemo_2013.csproj", "{3D5CB426-9C65-4502-8A8C-6703EB26615C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Debug|x86.Build.0 = Debug|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Release|x86.ActiveCfg = Release|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,186 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{3D5CB426-9C65-4502-8A8C-6703EB26615C}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FirstSample_2010</RootNamespace>
|
||||
<AssemblyName>FirstSample_2010</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net46\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Calculate.Wpf">
|
||||
<HintPath>packages\Syncfusion.Calculate.Wpf.16.3.0.21\lib\net46\Syncfusion.Calculate.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net46\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net46\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Windows.Interactivity">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\..\Common\Data\Interactivity_Binaries\WPF\4.0\System.Windows.Interactivity.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Action\ButtonAction.cs" />
|
||||
<Compile Include="Command\AlgebraicCmd.cs" />
|
||||
<Compile Include="Command\AngleCmd.cs" />
|
||||
<Compile Include="Command\AutoAngleCmd.cs" />
|
||||
<Compile Include="Command\AutoCalcCmd.cs" />
|
||||
<Compile Include="Command\ControlCmd.cs" />
|
||||
<Compile Include="Command\Manualcmd.cs" />
|
||||
<Compile Include="Model\Model.cs" />
|
||||
<Compile Include="View\AlgebraicExpressions.xaml.cs">
|
||||
<DependentUpon>AlgebraicExpressions.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AngleForm.xaml.cs">
|
||||
<DependentUpon>AngleForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AutoAngleForm.xaml.cs">
|
||||
<DependentUpon>AutoAngleForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AutoCalcForm.xaml.cs">
|
||||
<DependentUpon>AutoCalcForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewModel\Data.cs" />
|
||||
<Compile Include="View\ManualCalcForm.xaml.cs">
|
||||
<DependentUpon>ManualCalcForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\MoreComplexForm.xaml.cs">
|
||||
<DependentUpon>MoreComplexForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Page Include="View\AlgebraicExpressions.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AngleForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AutoAngleForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AutoCalcForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\ManualCalcForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\MoreComplexForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net46\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 12.0.21005.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CalcQuickDemo_2013", "CalcQuickDemo_2015.csproj", "{3D5CB426-9C65-4502-8A8C-6703EB26615C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Debug|x86.Build.0 = Debug|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Release|x86.ActiveCfg = Release|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,186 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{3D5CB426-9C65-4502-8A8C-6703EB26615C}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FirstSample_2010</RootNamespace>
|
||||
<AssemblyName>FirstSample_2010</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net46\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Calculate.Wpf">
|
||||
<HintPath>packages\Syncfusion.Calculate.Wpf.16.3.0.21\lib\net46\Syncfusion.Calculate.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net46\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net46\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Windows.Interactivity">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\..\Common\Data\Interactivity_Binaries\WPF\4.0\System.Windows.Interactivity.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Action\ButtonAction.cs" />
|
||||
<Compile Include="Command\AlgebraicCmd.cs" />
|
||||
<Compile Include="Command\AngleCmd.cs" />
|
||||
<Compile Include="Command\AutoAngleCmd.cs" />
|
||||
<Compile Include="Command\AutoCalcCmd.cs" />
|
||||
<Compile Include="Command\ControlCmd.cs" />
|
||||
<Compile Include="Command\Manualcmd.cs" />
|
||||
<Compile Include="Model\Model.cs" />
|
||||
<Compile Include="View\AlgebraicExpressions.xaml.cs">
|
||||
<DependentUpon>AlgebraicExpressions.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AngleForm.xaml.cs">
|
||||
<DependentUpon>AngleForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AutoAngleForm.xaml.cs">
|
||||
<DependentUpon>AutoAngleForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\AutoCalcForm.xaml.cs">
|
||||
<DependentUpon>AutoCalcForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewModel\Data.cs" />
|
||||
<Compile Include="View\ManualCalcForm.xaml.cs">
|
||||
<DependentUpon>ManualCalcForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\MoreComplexForm.xaml.cs">
|
||||
<DependentUpon>MoreComplexForm.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Page Include="View\AlgebraicExpressions.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AngleForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AutoAngleForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\AutoCalcForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\ManualCalcForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\MoreComplexForm.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net46\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion 15.0.26020.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CalcQuickDemo_2017", "CalcQuickDemo_2017.csproj", "{3D5CB426-9C65-4502-8A8C-6703EB26615C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Debug|x86.Build.0 = Debug|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Release|x86.ActiveCfg = Release|x86
|
||||
{3D5CB426-9C65-4502-8A8C-6703EB26615C}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,32 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
using System.Windows;
|
||||
using Syncfusion.Calculate;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
public class AlgebraicCmd : ICommand
|
||||
{
|
||||
|
||||
public AlgebraicCmd()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public bool CanExecute(object parameter)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public event EventHandler CanExecuteChanged;
|
||||
public void Execute(object parameter)
|
||||
{
|
||||
AlgebraicExpressions alg = new AlgebraicExpressions();
|
||||
alg.Show();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
using System.Windows;
|
||||
using Syncfusion.Calculate;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
public class AngleCmd : ICommand
|
||||
{
|
||||
|
||||
|
||||
public AngleCmd()
|
||||
{
|
||||
//viewModel = _viewModel;
|
||||
}
|
||||
|
||||
public bool CanExecute(object parameter)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public event EventHandler CanExecuteChanged;
|
||||
public void Execute(object parameter)
|
||||
{
|
||||
AngleForm ang = new AngleForm();
|
||||
ang.Show();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
using System.Windows;
|
||||
using Syncfusion.Calculate;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
public class AutoAngleCmd : ICommand
|
||||
{
|
||||
|
||||
|
||||
public AutoAngleCmd()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public bool CanExecute(object parameter)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public event EventHandler CanExecuteChanged;
|
||||
public void Execute(object parameter)
|
||||
{
|
||||
AutoAngleForm auto = new AutoAngleForm();
|
||||
auto.Show();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
using System.Windows;
|
||||
using Syncfusion.Calculate;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
public class AutoCalcCmd : ICommand
|
||||
{
|
||||
|
||||
|
||||
public AutoCalcCmd()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public bool CanExecute(object parameter)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public event EventHandler CanExecuteChanged;
|
||||
public void Execute(object parameter)
|
||||
{
|
||||
AutoCalcForm autocal = new AutoCalcForm();
|
||||
autocal.Show();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -1,32 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
using System.Windows;
|
||||
using Syncfusion.Calculate;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
public class ControlCmd : ICommand
|
||||
{
|
||||
|
||||
public ControlCmd()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public bool CanExecute(object parameter)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public event EventHandler CanExecuteChanged;
|
||||
public void Execute(object parameter)
|
||||
{
|
||||
MoreComplexForm cont = new MoreComplexForm();
|
||||
cont.Show();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
using System.Windows;
|
||||
using Syncfusion.Calculate;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
public class Manualcmd : ICommand
|
||||
{
|
||||
|
||||
|
||||
public Manualcmd()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public bool CanExecute(object parameter)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public event EventHandler CanExecuteChanged;
|
||||
public void Execute(object parameter)
|
||||
{
|
||||
ManualCalcForm manual = new ManualCalcForm();
|
||||
manual.Show();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 664 B |
|
@ -1,57 +0,0 @@
|
|||
<syncfusion:ChromelessWindow x:Class="FirstSample.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:interaction="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
|
||||
xmlns:action="clr-namespace:FirstSample.Action"
|
||||
xmlns:local="clr-namespace:FirstSample"
|
||||
Title="CalcQuick Demo"
|
||||
x:Name="mainWindow1"
|
||||
Height="390" Width="535" syncfusion:SkinStorage.VisualStyle="Metro" xmlns:syncfusion="http://schemas.syncfusion.com/wpf" BorderThickness="1" BorderBrush="#FF3399FF" WindowStartupLocation="CenterScreen" Icon="/FirstSample_2010;component/Icon/sfgrid.ico">
|
||||
<syncfusion:ChromelessWindow.DataContext>
|
||||
<local:Model/>
|
||||
</syncfusion:ChromelessWindow.DataContext>
|
||||
<Grid>
|
||||
<Button Content="Manual Calculations" Height="34" HorizontalAlignment="Left" Margin="169,23,0,0" Name="button1" VerticalAlignment="Top" Width="190">
|
||||
<interaction:Interaction.Triggers>
|
||||
<interaction:EventTrigger EventName="Click">
|
||||
<action:ButtonAction TargetName="mainWindow1" />
|
||||
</interaction:EventTrigger>
|
||||
</interaction:Interaction.Triggers>
|
||||
</Button>
|
||||
<Button Content="Auto Calculations" Height="34" HorizontalAlignment="Left" Margin="169,77,0,0" Name="button2" VerticalAlignment="Top" Width="190">
|
||||
<interaction:Interaction.Triggers>
|
||||
<interaction:EventTrigger EventName="Click">
|
||||
<action:ButtonAction TargetName="mainWindow1" />
|
||||
</interaction:EventTrigger>
|
||||
</interaction:Interaction.Triggers>
|
||||
</Button>
|
||||
<Button Content="Controls as Keys" Height="34" HorizontalAlignment="Left" Margin="169,129,0,0" Name="button3" VerticalAlignment="Top" Width="190">
|
||||
<interaction:Interaction.Triggers>
|
||||
<interaction:EventTrigger EventName="Click">
|
||||
<action:ButtonAction TargetName="mainWindow1" />
|
||||
</interaction:EventTrigger>
|
||||
</interaction:Interaction.Triggers>
|
||||
</Button>
|
||||
<Button Content="Angle Calculations" Height="34" HorizontalAlignment="Left" Margin="169,184,0,0" Name="button4" VerticalAlignment="Top" Width="190">
|
||||
<interaction:Interaction.Triggers>
|
||||
<interaction:EventTrigger EventName="Click">
|
||||
<action:ButtonAction TargetName="mainWindow1" />
|
||||
</interaction:EventTrigger>
|
||||
</interaction:Interaction.Triggers>
|
||||
</Button>
|
||||
<Button Content="Auto Angle Calculations" Height="34" HorizontalAlignment="Left" Margin="169,238,0,0" Name="button5" VerticalAlignment="Top" Width="190" >
|
||||
<interaction:Interaction.Triggers>
|
||||
<interaction:EventTrigger EventName="Click">
|
||||
<action:ButtonAction TargetName="mainWindow1" />
|
||||
</interaction:EventTrigger>
|
||||
</interaction:Interaction.Triggers>
|
||||
</Button>
|
||||
<Button Content="Algebraic Expressions" Height="34" HorizontalAlignment="Left" Margin="169,292,0,0" Name="button6" VerticalAlignment="Top" Width="190" >
|
||||
<interaction:Interaction.Triggers>
|
||||
<interaction:EventTrigger EventName="Click">
|
||||
<action:ButtonAction TargetName="mainWindow1" />
|
||||
</interaction:EventTrigger>
|
||||
</interaction:Interaction.Triggers>
|
||||
</Button>
|
||||
</Grid>
|
||||
</syncfusion:ChromelessWindow>
|
|
@ -1,75 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Forms;
|
||||
using Syncfusion.Windows.Shared;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : ChromelessWindow
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
#region Events
|
||||
|
||||
private void button1_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ManualCalcForm f = new ManualCalcForm();
|
||||
this.Close();
|
||||
f.Show();
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
AutoCalcForm f = new AutoCalcForm();
|
||||
this.Close();
|
||||
f.Show();
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
MoreComplexForm f = new MoreComplexForm();
|
||||
this.Close();
|
||||
f.Show();
|
||||
}
|
||||
|
||||
private void button4_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
AngleForm f = new AngleForm();
|
||||
this.Close();
|
||||
f.Show();
|
||||
}
|
||||
|
||||
private void button5_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
AutoAngleForm f = new AutoAngleForm();
|
||||
this.Close();
|
||||
f.Show();
|
||||
}
|
||||
|
||||
private void button6_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
AlgebraicExpressions f = new AlgebraicExpressions();
|
||||
this.Close();
|
||||
f.Show();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -1,103 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
public class Model
|
||||
{
|
||||
#region "API Definition"
|
||||
|
||||
public ICommand manualCmd;
|
||||
public ICommand algebraicCmd;
|
||||
public ICommand angelCmd;
|
||||
public ICommand autoAngelCmd;
|
||||
public ICommand autoCalcCmd;
|
||||
public ICommand contorlCmd;
|
||||
|
||||
#endregion
|
||||
|
||||
public ICommand AlgebraicCmd
|
||||
{
|
||||
get
|
||||
{
|
||||
if (algebraicCmd == null)
|
||||
algebraicCmd = new AlgebraicCmd();
|
||||
return algebraicCmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
algebraicCmd = value;
|
||||
}
|
||||
}
|
||||
public ICommand AngelCmd
|
||||
{
|
||||
get
|
||||
{
|
||||
if (angelCmd == null)
|
||||
angelCmd = new AngleCmd();
|
||||
return angelCmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
angelCmd = value;
|
||||
}
|
||||
}
|
||||
public ICommand AutoAngelCmd
|
||||
{
|
||||
get
|
||||
{
|
||||
if (autoAngelCmd == null)
|
||||
autoAngelCmd = new AutoAngleCmd();
|
||||
return autoAngelCmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
autoAngelCmd = value;
|
||||
}
|
||||
}
|
||||
public ICommand AutoCalcCmd
|
||||
{
|
||||
get
|
||||
{
|
||||
if (autoCalcCmd == null)
|
||||
autoCalcCmd = new AutoCalcCmd();
|
||||
return autoCalcCmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
autoCalcCmd = value;
|
||||
}
|
||||
}
|
||||
public ICommand ContorlCmd
|
||||
{
|
||||
get
|
||||
{
|
||||
if (contorlCmd == null)
|
||||
contorlCmd = new ControlCmd();
|
||||
return contorlCmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
contorlCmd = value;
|
||||
}
|
||||
}
|
||||
|
||||
public ICommand ManualCmd
|
||||
{
|
||||
get
|
||||
{
|
||||
if (manualCmd == null)
|
||||
manualCmd = new Manualcmd();
|
||||
return manualCmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
manualCmd = value;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageRestore>
|
||||
<add key="enabled" value="True" />
|
||||
<add key="automatic" value="True" />
|
||||
</packageRestore>
|
||||
<packageSources>
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||
<add key="Syncfusion WPF Package 16.3.0.21" value="http://nuget.syncfusion.com/nuget_wpf/nuget/getsyncfusionpackages/wpf" />
|
||||
<add key="Syncfusion WPF Sample Package 16.3.0.21" value="http://nuget.syncfusion.com/nuget_wpfsb/nuget/getsyncfusionpackages/wpfsb" />
|
||||
</packageSources>
|
||||
<activePackageSource>
|
||||
<add key="Syncfusion WPF Package 16.3.0.21" value="http://nuget.syncfusion.com/nuget_wpf/nuget/getsyncfusionpackages/wpf" />
|
||||
<add key="Syncfusion WPF Sample Package 16.3.0.21" value="http://nuget.syncfusion.com/nuget_wpfsb/nuget/getsyncfusionpackages/wpfsb" />
|
||||
</activePackageSource>
|
||||
<bindingRedirects>
|
||||
<add key="skip" value="False" />
|
||||
</bindingRedirects>
|
||||
</configuration>
|
|
@ -1,55 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("FirstSample_2010")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("FirstSample_2010")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2013")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
//In order to begin building localizable applications, set
|
||||
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
|
||||
//inside a <PropertyGroup>. For example, if you are using US english
|
||||
//in your source files, set the <UICulture> to en-US. Then uncomment
|
||||
//the NeutralResourceLanguage attribute below. Update the "en-US" in
|
||||
//the line below to match the UICulture setting in the project file.
|
||||
|
||||
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
||||
|
||||
|
||||
[assembly: ThemeInfo(
|
||||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
||||
//(used if a resource is not found in the page,
|
||||
// or application resource dictionaries)
|
||||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
||||
//(used if a resource is not found in the page,
|
||||
// app, or any theme specific resource dictionaries)
|
||||
)]
|
||||
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
@ -1,63 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18408
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FirstSample_2010.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </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("FirstSample_2010.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,117 +0,0 @@
|
|||
<?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.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: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" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</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" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
|
@ -1,26 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18408
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FirstSample_2010.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
|
@ -1,27 +0,0 @@
|
|||
<syncfusion:ChromelessWindow x:Class="FirstSample.AlgebraicExpressions"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="AlgebraicExpressions" Height="345" Width="496" syncfusion:SkinStorage.VisualStyle="Metro" Loaded="Window_Loaded" xmlns:syncfusion="http://schemas.syncfusion.com/wpf" BorderThickness="1" BorderBrush="#FF3399FF" WindowStartupLocation="CenterScreen" Icon="/FirstSample_2010;component/Icon/sfgrid.ico" Closed="ChromelessWindow_Closed">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="120*" />
|
||||
<RowDefinition Height="131*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Button Content="Compute" Height="23" HorizontalAlignment="Left" Margin="198,96,0,0" Name="button1" VerticalAlignment="Top" Width="155" Click="button1_Click" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="197,16,0,0" Name="txtalg" VerticalAlignment="Top" Width="120" Text="sqrt(2) * 2" />
|
||||
<Label Content="Enter an algebraic expression:" Height="27" HorizontalAlignment="Left" Margin="20,12,0,0" Name="label1" VerticalAlignment="Top" Width="171" />
|
||||
<Label Content="Computed value:" Height="31" HorizontalAlignment="Left" Margin="20,55,0,0" Name="label2" VerticalAlignment="Top" Width="119" />
|
||||
<Label Content="" Height="23" HorizontalAlignment="Left" Margin="198,55,0,0" Name="lblco" VerticalAlignment="Top" Width="119" />
|
||||
<GroupBox Grid.Row="1" Header="Variable Settings" Height="127" HorizontalAlignment="Left" Margin="20,24,0,0" Name="groupBox1" VerticalAlignment="Top" Width="204">
|
||||
<Grid>
|
||||
<Label Content="Name" Height="28" HorizontalAlignment="Left" Margin="10,10,0,0" Name="label4" VerticalAlignment="Top" />
|
||||
<Label Content="Value" Height="28" HorizontalAlignment="Left" Margin="10,39,0,0" Name="label5" VerticalAlignment="Top" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="54,14,0,0" Name="txtName" VerticalAlignment="Top" Width="120" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="54,44,0,0" Name="txtValue" VerticalAlignment="Top" Width="120" />
|
||||
<Button Content="Set" Height="23" HorizontalAlignment="Left" Margin="54,75,0,0" Name="button2" VerticalAlignment="Top" Width="120" Click="button2_Click" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
<TextBox Height="84" HorizontalAlignment="Left" Margin="250,55,0,0" Name="txtSet" VerticalAlignment="Top" Width="187" Grid.Row="1" />
|
||||
<Label Content="Set" Height="23" HorizontalAlignment="Left" Margin="250,24,0,0" Name="label6" VerticalAlignment="Top" Width="30" Grid.Row="1" />
|
||||
</Grid>
|
||||
</syncfusion:ChromelessWindow >
|
|
@ -1,81 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using Syncfusion.Calculate;
|
||||
using Syncfusion.Windows.Shared;
|
||||
using Syncfusion.Windows.Calculate;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for AlgebraicExpressions.xaml
|
||||
/// </summary>
|
||||
public partial class AlgebraicExpressions : ChromelessWindow
|
||||
{
|
||||
#region API definition
|
||||
|
||||
//Initialize Calculator
|
||||
private CalcQuick calculator = null;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public AlgebraicExpressions()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Event Handlers
|
||||
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
calculator = new CalcQuick();
|
||||
|
||||
this.calculator["base"] = (3).ToString();
|
||||
this.calculator["height"] = (2.5).ToString();
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
//Register a variable name and its value.
|
||||
string name = this.txtName.Text;
|
||||
string val = this.txtValue.Text;
|
||||
if (name.Length > 0)
|
||||
this.calculator[name] = val;
|
||||
|
||||
this.txtSet.Text += name + ": " + val + Environment.NewLine;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
string s = calculator.ParseAndCompute(this.txtalg.Text);
|
||||
this.lblco.Content = s;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
//show error
|
||||
this.lblco.Content = ex.Message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void ChromelessWindow_Closed(object sender, EventArgs e)
|
||||
{
|
||||
MainWindow form = new MainWindow();
|
||||
form.Show();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
<syncfusion:ChromelessWindow x:Class="FirstSample.AngleForm"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="AngleForm" Height="297" Width="431" syncfusion:SkinStorage.VisualStyle="Metro" xmlns:syncfusion="http://schemas.syncfusion.com/wpf" BorderThickness="1" BorderBrush="#FF3399FF" WindowStartupLocation="CenterScreen" Icon="/FirstSample_2010;component/Icon/sfgrid.ico" IsEnabled="True" Closed="ChromelessWindow_Closed">
|
||||
<Grid>
|
||||
<Label Content="Enter an angle and press the Compute button." Height="28" HorizontalAlignment="Left" Margin="66,12,0,0" Name="label1" VerticalAlignment="Top" />
|
||||
<Button Content="Compute" Height="23" HorizontalAlignment="Left" Margin="193,54,0,0" Name="button1" VerticalAlignment="Top" Width="144" Click="button1_Click" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="193,101,0,0" Name="Angle" VerticalAlignment="Top" Width="144" Text="30" />
|
||||
<TextBox Height="23" Margin="193,145,72,0" Name="cosTB" VerticalAlignment="Top" Text="= sin([Angle] * pi() / 180) " />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="193,189,0,0" Name="sinTB" VerticalAlignment="Top" Width="144" Text="= cos([Angle] * pi() / 180) " />
|
||||
<Label Content="Enter an angle and press the Compute button." Height="38" HorizontalAlignment="Left" Margin="28,97,0,0" Name="label2" VerticalAlignment="Top" Width="140" />
|
||||
<Label Content="Enter an angle and press the Compute button." Height="38" HorizontalAlignment="Left" Margin="28,145,0,0" Name="label3" VerticalAlignment="Top" Width="140" />
|
||||
<Label Content="Enter an angle and press the Compute button." Height="31" HorizontalAlignment="Left" Margin="28,189,0,0" Name="label4" VerticalAlignment="Top" Width="140" />
|
||||
</Grid>
|
||||
</syncfusion:ChromelessWindow>
|
|
@ -1,70 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using Syncfusion.Calculate;
|
||||
using Syncfusion.Windows.Shared;
|
||||
using Syncfusion.Windows.Calculate;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for AngleForm.xaml
|
||||
/// </summary>
|
||||
public partial class AngleForm : ChromelessWindow
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
public AngleForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region API Definition
|
||||
|
||||
//Initialize Calculator
|
||||
CalcQuick calculator = new CalcQuick();
|
||||
|
||||
#endregion
|
||||
|
||||
#region Event Handler
|
||||
|
||||
private void button1_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
//Let the calculator know the values / formulas
|
||||
//by using an indexer on the calculator object.
|
||||
//Here we are using the text box names as the indexer keys
|
||||
//provided to the calculator object. This is not required.
|
||||
//The only restrictions for the indexer key values are that they
|
||||
//unique nonempty strings.
|
||||
this.calculator["Angle"] = this.Angle.Text;
|
||||
this.calculator["cosTB"] = this.cosTB.Text;
|
||||
this.calculator["sinTB"] = this.sinTB.Text;
|
||||
|
||||
//Mark the calculator dirty:
|
||||
this.calculator.SetDirty();
|
||||
|
||||
//Now as the values are retrieved from the calculator, they
|
||||
//will be the newly calculated values.
|
||||
this.cosTB.Text = this.calculator["cosTB"];
|
||||
this.sinTB.Text = this.calculator["sinTB"];
|
||||
}
|
||||
|
||||
private void ChromelessWindow_Closed(object sender, EventArgs e)
|
||||
{
|
||||
MainWindow form = new MainWindow();
|
||||
form.Show();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
<syncfusion:ChromelessWindow x:Class="FirstSample.AutoAngleForm"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="AutoAngleForm" Height="245" syncfusion:SkinStorage.VisualStyle="Metro" Width="370" Loaded="Window_Loaded" xmlns:syncfusion="http://schemas.syncfusion.com/wpf" BorderThickness="1" BorderBrush="#FF3399FF" WindowStartupLocation="CenterScreen" Icon="/FirstSample_2010;component/Icon/sfgrid.ico" IsEnabled="True" Closed="ChromelessWindow_Closed">
|
||||
<Grid>
|
||||
<Label Content="Enter an angle and press Tab to see its Sine and Cosine." Height="28" HorizontalAlignment="Left" Margin="23,12,0,0" Name="label1" VerticalAlignment="Top" />
|
||||
<Label Content="angle in degrees" Height="28" HorizontalAlignment="Left" Margin="33,61,0,0" Name="label2" VerticalAlignment="Top" />
|
||||
<Label Content="sine of angle" Height="28" HorizontalAlignment="Left" Margin="33,107,0,0" Name="label3" VerticalAlignment="Top" />
|
||||
<Label Content="cosine of angle" Height="28" HorizontalAlignment="Left" Margin="33,156,0,0" Name="label4" VerticalAlignment="Top" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="145,65,0,0" Name="Angle" VerticalAlignment="Top" Width="120" Text="30" AcceptsReturn="False" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="145,111,0,0" Name="cosTB" VerticalAlignment="Top" Width="120" Text="= sin([Angle] * pi() / 180) " />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="145,156,0,0" Name="sinTB" VerticalAlignment="Top" Width="120" Text="= cos([Angle] * pi() / 180) " />
|
||||
</Grid>
|
||||
</syncfusion:ChromelessWindow>
|
|
@ -1,91 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using Syncfusion.Calculate;
|
||||
using System.Windows.Forms;
|
||||
using Syncfusion.Windows.Shared;
|
||||
using Syncfusion.Windows.Calculate;
|
||||
namespace FirstSample
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for AutoAngleForm.xaml
|
||||
/// </summary>
|
||||
public partial class AutoAngleForm : ChromelessWindow
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
public AutoAngleForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region API Definition
|
||||
//Initialize Calcualtor
|
||||
CalcQuick calculator = null;
|
||||
#endregion
|
||||
|
||||
#region Event Handler
|
||||
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
//TextBox Angle = new TextBox();
|
||||
this.Angle.Name = "Angle";
|
||||
this.Angle.Text = "30";
|
||||
|
||||
//cosTB = new TextBox();
|
||||
this.cosTB.Name = "cosTB";
|
||||
this.cosTB.Text = "= cos([Angle] * pi() / 180) ";
|
||||
|
||||
//sinTB = new TextBox();
|
||||
this.sinTB.Name = "sinTB";
|
||||
this.sinTB.Text = "= sin([Angle] * pi() / 180) ";
|
||||
|
||||
//Instantiate a CalcQuick object:
|
||||
calculator = new CalcQuick();
|
||||
|
||||
this.calculator["Angle"] = this.Angle.Text;
|
||||
this.calculator["cosTB"] = this.cosTB.Text;
|
||||
this.calculator["sinTB"] = this.sinTB.Text;
|
||||
|
||||
//Mark the calculator dirty:
|
||||
this.calculator.SetDirty();
|
||||
|
||||
//Now as the values are retrieved from the calculator, they
|
||||
//will be the newly calculated values.
|
||||
this.cosTB.Text = this.calculator["cosTB"];
|
||||
this.sinTB.Text = this.calculator["sinTB"];
|
||||
|
||||
//Register the controls used in calculations.
|
||||
//The formula names used are the Control.Name strings.
|
||||
this.calculator.RegisterControlArray(new System.Windows.Controls.Control[]
|
||||
{
|
||||
this.Angle,
|
||||
this.cosTB,
|
||||
this.sinTB
|
||||
});
|
||||
|
||||
//Allow the CalcQuick sheet to create dependency lists among the formula objects
|
||||
//necesary for auto-calculations.
|
||||
this.calculator.RefreshAllCalculations();
|
||||
}
|
||||
|
||||
private void ChromelessWindow_Closed(object sender, EventArgs e)
|
||||
{
|
||||
MainWindow form = new MainWindow();
|
||||
form.Show();
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
<syncfusion:ChromelessWindow x:Class="FirstSample.AutoCalcForm"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="AutoCalcForm" Height="228" Width="352" syncfusion:SkinStorage.VisualStyle="Metro" Loaded="Window_Loaded" xmlns:syncfusion="http://schemas.syncfusion.com/wpf" BorderThickness="1" BorderBrush="#FF3399FF" WindowStartupLocation="CenterScreen" Icon="/FirstSample_2010;component/Icon/sfgrid.ico" IsEnabled="True" Closed="ChromelessWindow_Closed">
|
||||
<Grid>
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="86,21,0,0" Name="txtA" VerticalAlignment="Top" Width="120" />
|
||||
<Label Content="A" Height="28" HorizontalAlignment="Left" Margin="24,21,0,0" Name="label1" VerticalAlignment="Top" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="86,64,0,0" Name="txtB" VerticalAlignment="Top" Width="120" />
|
||||
<Label Content="B" Height="28" HorizontalAlignment="Left" Margin="24,64,0,0" Name="label2" VerticalAlignment="Top" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="86,107,0,0" Name="txtC" VerticalAlignment="Top" Width="120" />
|
||||
<Label Content="C" Height="28" HorizontalAlignment="Left" Margin="24,107,0,0" Name="label3" VerticalAlignment="Top" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="86,150,0,0" Name="txtD" VerticalAlignment="Top" Width="120" />
|
||||
<Label Content="D" Height="28" HorizontalAlignment="Left" Margin="24,150,0,0" Name="label4" VerticalAlignment="Top" />
|
||||
<Label Height="28" HorizontalAlignment="Left" Margin="214,12,0,0" Name="lbla" VerticalAlignment="Top" Width="102" />
|
||||
<Label Height="28" HorizontalAlignment="Left" Margin="214,59,0,0" Name="lblb" VerticalAlignment="Top" Width="102" />
|
||||
<Label Height="28" HorizontalAlignment="Left" Margin="214,102,0,0" Name="lblc" VerticalAlignment="Top" Width="102" />
|
||||
<Label Height="28" HorizontalAlignment="Left" Margin="214,0,0,15" Name="lbld" VerticalAlignment="Bottom" Width="102" />
|
||||
</Grid>
|
||||
</syncfusion:ChromelessWindow>
|
|
@ -1,137 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using Syncfusion.Calculate;
|
||||
using Syncfusion.Windows.Shared;
|
||||
using Syncfusion.Windows.Calculate;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for AutoCalcForm.xaml
|
||||
/// </summary>
|
||||
public partial class AutoCalcForm : ChromelessWindow
|
||||
{
|
||||
#region API Definition
|
||||
CalcQuick calculator = null;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
|
||||
public AutoCalcForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Event Handlers
|
||||
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
//1) Instantiate a CalcQuick object:
|
||||
calculator = new CalcQuick();
|
||||
|
||||
//2) Populate your controls:
|
||||
this.txtA.Text = "12";
|
||||
this.txtB.Text = "3";
|
||||
this.txtC.Text = "= [A] + 2 * [B]";
|
||||
|
||||
//C is the only formula:
|
||||
this.lblc.Content= this.txtC.Text;
|
||||
|
||||
|
||||
//Must enter formula names before turning on calculations.
|
||||
//3) Assign formula object names:
|
||||
calculator["A"] = this.txtA.Text;
|
||||
calculator["B"] = this.txtB.Text;
|
||||
calculator["C"] = this.txtC.Text;
|
||||
calculator["D"] = this.txtD.Text;
|
||||
|
||||
//4) Turn on auto calculations:
|
||||
this.calculator.AutoCalc = true;
|
||||
|
||||
//5) Subscribe to the event to set newly calculated values:
|
||||
this.calculator.ValueSet += new QuickValueSetEventHandler(calculator_ValueSet);
|
||||
|
||||
//6) Subscribe to some events (in this case, Leave events) to trigger setting values into CalcQuick:
|
||||
this.txtA.LostFocus += new RoutedEventHandler(txtA_MouseLeave);
|
||||
this.txtB.LostFocus += new RoutedEventHandler(txtB_MouseLeave);
|
||||
this.txtC.LostFocus += new RoutedEventHandler(txtC_MouseLeave);
|
||||
this.txtD.LostFocus += new RoutedEventHandler(txtD_MouseLeave);
|
||||
|
||||
//7) Allow the CalcQuick sheet to create dependency lists among the formula objects
|
||||
// necesary for auto-calculations.
|
||||
this.calculator.RefreshAllCalculations();
|
||||
}
|
||||
|
||||
void txtD_MouseLeave(object sender, RoutedEventArgs e)
|
||||
{
|
||||
calculator["D"] = this.txtD.Text;
|
||||
this.lbld.Content = this.calculator.GetFormula("D");
|
||||
this.txtD.AcceptsTab = false;
|
||||
}
|
||||
|
||||
void txtC_MouseLeave(object sender, RoutedEventArgs e)
|
||||
{
|
||||
calculator["C"] = this.txtC.Text;
|
||||
this.lblc.Content = this.calculator.GetFormula("C");
|
||||
this.txtC.AcceptsTab = false;
|
||||
}
|
||||
|
||||
void txtB_MouseLeave(object sender, RoutedEventArgs e)
|
||||
{
|
||||
calculator["B"] = this.txtB.Text;
|
||||
this.lblb.Content = this.calculator.GetFormula("B");
|
||||
this.txtB.AcceptsTab = false;
|
||||
}
|
||||
|
||||
void txtA_MouseLeave(object sender, RoutedEventArgs e)
|
||||
{
|
||||
calculator["A"] = this.txtA.Text;
|
||||
this.lbla.Content = this.calculator.GetFormula("A");
|
||||
this.txtA.AcceptsTab = false;
|
||||
}
|
||||
|
||||
// Raised when a value is calculated:
|
||||
private void calculator_ValueSet(object sender, QuickValueSetEventArgs e)
|
||||
{
|
||||
// if(e.Action == FormulaInfoSetAction.CalculatedValueSet)
|
||||
{
|
||||
switch (e.Key)
|
||||
{
|
||||
case "A":
|
||||
this.txtA.Text = this.calculator[e.Key].ToString();
|
||||
break;
|
||||
case "B":
|
||||
this.txtB.Text = this.calculator[e.Key].ToString();
|
||||
break;
|
||||
case "C":
|
||||
this.txtC.Text = this.calculator[e.Key].ToString();
|
||||
break;
|
||||
case "D":
|
||||
this.txtD.Text = this.calculator[e.Key].ToString();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void ChromelessWindow_Closed(object sender, EventArgs e)
|
||||
{
|
||||
MainWindow form = new MainWindow();
|
||||
form.Show();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
<syncfusion:ChromelessWindow x:Class="FirstSample.ManualCalcForm"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="ManualCalcForm" Height="268" Width="456" BorderThickness="1" syncfusion:SkinStorage.VisualStyle="Metro" Loaded="Window_Loaded" xmlns:syncfusion="http://schemas.syncfusion.com/wpf" BorderBrush="#FF3399FF" WindowStartupLocation="CenterScreen" Icon="/FirstSample_2010;component/Icon/sfgrid.ico" Closed="ChromelessWindow_Closed">
|
||||
<Grid>
|
||||
<TextBox Height="27" HorizontalAlignment="Left" Margin="94,31,0,0" Name="txtA" VerticalAlignment="Top" Width="153" />
|
||||
<TextBox Height="27" HorizontalAlignment="Left" Margin="94,80,0,0" Name="txtB" VerticalAlignment="Top" Width="153" />
|
||||
<TextBox Height="27" HorizontalAlignment="Left" Margin="94,127,0,0" Name="txtC" VerticalAlignment="Top" Width="153" />
|
||||
<TextBox Height="27" HorizontalAlignment="Left" Margin="94,174,0,0" Name="txtD" VerticalAlignment="Top" Width="153" />
|
||||
<Label Content="A" Height="28" HorizontalAlignment="Left" Margin="26,27,0,0" Name="label1" VerticalAlignment="Top" />
|
||||
<Label Content="B" Height="28" HorizontalAlignment="Left" Margin="26,76,0,0" Name="label2" VerticalAlignment="Top" />
|
||||
<Label Content="C" Height="28" HorizontalAlignment="Left" Margin="26,123,0,0" Name="label3" VerticalAlignment="Top" />
|
||||
<Label Content="D" Height="28" HorizontalAlignment="Left" Margin="26,170,0,0" Name="label4" VerticalAlignment="Top" />
|
||||
<Button Content="Calculate" Height="23" HorizontalAlignment="Left" Margin="304,32,0,0" Name="butCalc" VerticalAlignment="Top" Width="106" Click="butCalc_Click" />
|
||||
<Button Content="Show Formulas" Height="23" HorizontalAlignment="Left" Margin="304,80,0,0" Name="butForm" VerticalAlignment="Top" Width="106" Click="butForm_Click" />
|
||||
<Button Content="Reset Keys" Height="23" HorizontalAlignment="Left" Margin="304,125,0,0" Name="butReset" VerticalAlignment="Top" Width="106" Click="butReset_Click" />
|
||||
</Grid>
|
||||
</syncfusion:ChromelessWindow>
|
|
@ -1,83 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using Syncfusion.Calculate;
|
||||
using Syncfusion.Windows.Shared;
|
||||
using Syncfusion.Windows.Calculate;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for ManualCalcForm.xaml
|
||||
/// </summary>
|
||||
public partial class ManualCalcForm : ChromelessWindow
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
public ManualCalcForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
//Initialize Calculator
|
||||
CalcQuick calculator = null;
|
||||
|
||||
#region Event Handlers
|
||||
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
calculator = new CalcQuick();
|
||||
|
||||
this.txtA.Text = "12";
|
||||
this.txtB.Text = "=[A] + [C]";
|
||||
this.txtC.Text = "13";
|
||||
}
|
||||
|
||||
private void butCalc_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
calculator["A"] = this.txtA.Text;
|
||||
calculator["B"] = this.txtB.Text;
|
||||
calculator["C"] = this.txtC.Text;
|
||||
calculator["D"] = this.txtD.Text;
|
||||
|
||||
calculator.SetDirty();
|
||||
|
||||
this.txtA.Text = calculator["A"].ToString();
|
||||
this.txtB.Text = calculator["B"].ToString();
|
||||
this.txtC.Text = calculator["C"].ToString();
|
||||
this.txtD.Text = calculator["D"].ToString();
|
||||
}
|
||||
|
||||
private void butForm_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
this.txtA.Text = calculator.GetFormula("A");
|
||||
this.txtB.Text = calculator.GetFormula("B");
|
||||
this.txtC.Text = calculator.GetFormula("C");
|
||||
this.txtD.Text = calculator.GetFormula("D");
|
||||
}
|
||||
|
||||
private void butReset_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
calculator.ResetKeys();
|
||||
}
|
||||
|
||||
private void ChromelessWindow_Closed(object sender, EventArgs e)
|
||||
{
|
||||
MainWindow form = new MainWindow();
|
||||
form.Show();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
<syncfusion:ChromelessWindow x:Class="FirstSample.MoreComplexForm"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="More Complex Form Demo" xmlns:syncfusion="http://schemas.syncfusion.com/wpf" syncfusion:SkinStorage.VisualStyle="Metro" Height="362" Width="281" Icon="/FirstSample_2010;component/Icon/sfgrid.ico" Loaded="Window_Loaded" BorderThickness="1" BorderBrush="#FF3399FF" WindowStartupLocation="CenterScreen">
|
||||
<Grid>
|
||||
<Label Content="Item" Height="28" HorizontalAlignment="Left" Margin="12,21,0,0" Name="label1" VerticalAlignment="Top" />
|
||||
<Label Content="Quantity" Height="28" HorizontalAlignment="Left" Margin="12,68,0,0" Name="label2" VerticalAlignment="Top" />
|
||||
<Label Content="Price" HorizontalAlignment="Left" Margin="12,112,0,186" Name="label3" Width="56" />
|
||||
<Label Content=" Discount" Height="28" HorizontalAlignment="Left" Margin="12,155,0,0" Name="label4" VerticalAlignment="Top" />
|
||||
<Label Content="Shipping" Height="28" HorizontalAlignment="Left" Margin="12,199,0,0" Name="label5" VerticalAlignment="Top" />
|
||||
<Label Content="Tax" Height="28" HorizontalAlignment="Left" Margin="12,242,0,0" Name="label6" VerticalAlignment="Top" Width="56" />
|
||||
<ComboBox Height="23" HorizontalAlignment="Left" Margin="101,26,0,0" Name="cboItem" VerticalAlignment="Top" Width="120" />
|
||||
<ComboBox Height="23" HorizontalAlignment="Left" Margin="101,155,0,0" Name="cboDiscount" VerticalAlignment="Top" Width="120" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="101,68,0,0" Name="txtQty" VerticalAlignment="Top" Width="120" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="101,112,0,0" Name="txtPrice" VerticalAlignment="Top" Width="120" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="101,199,0,0" Name="txtShipping" VerticalAlignment="Top" Width="120" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="101,242,0,0" Name="txtTax" VerticalAlignment="Top" Width="120" />
|
||||
<Label Content="Total" Height="28" HorizontalAlignment="Left" Margin="12,0,0,8" Name="label7" VerticalAlignment="Bottom" Width="56" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="101,285,0,0" Name="txtTotal" VerticalAlignment="Top" Width="120" Text="= ([Quantity] * [Price]) * (1-[Discount]) + [Shipping] + [Tax]" />
|
||||
</Grid>
|
||||
</syncfusion:ChromelessWindow>
|
|
@ -1,103 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using Syncfusion.Calculate;
|
||||
using Syncfusion.Windows.Shared;
|
||||
using Syncfusion.Windows.Calculate;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MoreComplexForm.xaml
|
||||
/// </summary>
|
||||
public partial class MoreComplexForm : ChromelessWindow
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
public MoreComplexForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
Data dat = new Data();
|
||||
this.cboDiscount.ItemsSource = dat.BindDiscount();
|
||||
this.cboItem.ItemsSource = dat.BindItem();
|
||||
this.txtPrice.MouseLeave += new MouseEventHandler(txtPrice_MouseLeave);
|
||||
this.txtQty.MouseLeave += new MouseEventHandler(txtPrice_MouseLeave);
|
||||
this.txtShipping.MouseLeave += new MouseEventHandler(txtPrice_MouseLeave);
|
||||
this.txtTax.MouseLeave += new MouseEventHandler(txtPrice_MouseLeave);
|
||||
this.txtTotal.MouseLeave += new MouseEventHandler(txtPrice_MouseLeave);
|
||||
this.Closed += MoreComplexForm_Closed;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Event Handler
|
||||
/// <summary>
|
||||
/// Set Calculator properties on MouseLeave
|
||||
/// </summary>
|
||||
void txtPrice_MouseLeave(object sender, MouseEventArgs e)
|
||||
{
|
||||
calculator["Quantity"] = this.txtQty.Text;
|
||||
calculator["Price"] = this.txtPrice.Text;
|
||||
calculator["Discount"] = this.cboDiscount.Text;
|
||||
calculator["Shipping"] = this.txtShipping.Text;
|
||||
calculator["Tax"] = this.txtTax.Text;
|
||||
calculator["Total"] = this.txtTotal.Text;
|
||||
|
||||
calculator.SetDirty();
|
||||
|
||||
this.txtQty.Text = calculator["Quantity"];
|
||||
this.txtPrice.Text = calculator["Price"];
|
||||
this.cboDiscount.Text = calculator["Discount"];
|
||||
this.txtShipping.Text = calculator["Shipping"];
|
||||
this.txtTax.Text = calculator["Tax"];
|
||||
this.txtTotal.Text = calculator["Total"];
|
||||
}
|
||||
|
||||
CalcQuick calculator = new CalcQuick();
|
||||
/// <summary>
|
||||
/// Instantiate a CalcQuick object
|
||||
/// </summary>
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
this.txtPrice.Text = "0";
|
||||
//Instantiate a CalcQuick object:
|
||||
calculator["Quantity"] = this.txtQty.Text;
|
||||
calculator["Price"] = this.txtPrice.Text;
|
||||
calculator["Discount"] = this.cboDiscount.Text;
|
||||
calculator["Shipping"] = this.txtShipping.Text;
|
||||
calculator["Tax"] = this.txtTax.Text;
|
||||
calculator["Total"] = this.txtTotal.Text;
|
||||
|
||||
calculator.SetDirty();
|
||||
|
||||
this.txtQty.Text = calculator["Quantity"];
|
||||
this.txtPrice.Text = calculator["Price"];
|
||||
this.cboDiscount.Text = calculator["Discount"];
|
||||
this.txtShipping.Text = calculator["Shipping"];
|
||||
this.txtTax.Text = calculator["Tax"];
|
||||
this.txtTotal.Text = calculator["Total"];
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Open the Main Form
|
||||
/// </summary>
|
||||
void MoreComplexForm_Closed(object sender, EventArgs e)
|
||||
{
|
||||
MainWindow form = new MainWindow();
|
||||
form.Show();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace FirstSample
|
||||
{
|
||||
public class Data
|
||||
{
|
||||
#region BindItem
|
||||
/// <summary>
|
||||
/// Add BindItem List collection
|
||||
/// </summary>
|
||||
public List<string> BindItem()
|
||||
{
|
||||
List<string> lt=new List<string>();
|
||||
lt.Add("WidgetA");
|
||||
lt.Add("WidgetB");
|
||||
lt.Add("WidgetC");
|
||||
return lt;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region BindDiscount
|
||||
/// <summary>
|
||||
/// Add BindDiscount List items
|
||||
/// </summary>
|
||||
public List<string> BindDiscount()
|
||||
{
|
||||
List<string> lt = new List<string>();
|
||||
lt.Add("1%");
|
||||
lt.Add("2%");
|
||||
lt.Add("3%");
|
||||
lt.Add("5%");
|
||||
lt.Add("10%");
|
||||
lt.Add("20%");
|
||||
return lt;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1"/></startup></configuration>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<packages>
|
||||
<package id="syncfusion.calculate.base" version="16.3.0.21" />
|
||||
<package id="syncfusion.calculate.wpf" version="16.3.0.21" />
|
||||
<package id="syncfusion.shared.wpf" version="16.3.0.21" />
|
||||
<package id="syncfusion.samplelayout" version="16.3.0.21" />
|
||||
<package id="syncfusion.licensing" version="16.3.0.21" />
|
||||
</packages>
|
|
@ -1,6 +0,0 @@
|
|||
<FlowDocument PagePadding="5,0,5,0" AllowDrop="True" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" FontFamily="Cambria" FontSize="14">
|
||||
<Paragraph>This sample illustrates how to quickly add calculations support for usercontrol or controls on an application.</Paragraph>
|
||||
<Paragraph TextAlignment="Center"><Image Source="Images\ManualCalc.png" Stretch="None" /></Paragraph>
|
||||
|
||||
|
||||
</FlowDocument>
|
|
@ -1,8 +0,0 @@
|
|||
<FlowDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Paragraph FontWeight="Bold" FontFamily="Cambria" FontSize="14">
|
||||
CalcQuick
|
||||
</Paragraph>
|
||||
|
||||
<Paragraph FontFamily="Cambria" FontSize="14"> <Bold>CalcQuick Demo</Bold> - This Sample explains the calculate operation that can be performed using CalcQuick objects.</Paragraph>
|
||||
</FlowDocument>
|
|
@ -1,8 +0,0 @@
|
|||
<Application x:Class="FormulaSupport.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
StartupUri="MainWindow.xaml">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
</Application>
|
|
@ -1,20 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
|
||||
namespace FormulaSupport
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
public App()
|
||||
{
|
||||
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense(Syncfusion.Licensing.DemoCommon.FindLicenseKey());
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,343 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Interactivity;
|
||||
using System.Windows.Controls.Primitives;
|
||||
|
||||
namespace FormulaSupport
|
||||
{
|
||||
internal class SelectionBehavior : Behavior<Selector>
|
||||
{
|
||||
private ViewModel viewModel;
|
||||
|
||||
#region Overrides
|
||||
|
||||
protected override void OnAttached()
|
||||
{
|
||||
base.OnAttached();
|
||||
this.viewModel = (AssociatedObject.DataContext as ViewModel);
|
||||
AssociatedObject.SelectionChanged += OnSelectionChanged;
|
||||
}
|
||||
|
||||
protected override void OnDetaching()
|
||||
{
|
||||
base.OnDetaching();
|
||||
AssociatedObject.SelectionChanged -= OnSelectionChanged;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
|
||||
public static readonly DependencyProperty SelectedItemProperty =
|
||||
DependencyProperty.Register("SelectedItem", typeof(object), typeof(SelectionBehavior),
|
||||
new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnSelectedItemChanged));
|
||||
|
||||
public object SelectedItem
|
||||
{
|
||||
get { return GetValue(SelectedItemProperty); }
|
||||
set { SetValue(SelectedItemProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty IgnoreNullSelectionProperty =
|
||||
DependencyProperty.Register("IgnoreNullSelection", typeof(bool), typeof(SelectionBehavior), new PropertyMetadata(true));
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether null selection (which usually occurs since the combobox is rebuilt or its list is refreshed) should be ignored.
|
||||
/// True by default.
|
||||
/// </summary>
|
||||
public bool IgnoreNullSelection
|
||||
{
|
||||
get { return (bool)GetValue(IgnoreNullSelectionProperty); }
|
||||
set { SetValue(IgnoreNullSelectionProperty, value); }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Event Handlers
|
||||
|
||||
/// <summary>
|
||||
/// Called when the SelectedItem dependency property is changed.
|
||||
/// Updates the associated selector's SelectedItem with the new value.
|
||||
/// </summary>
|
||||
private static void OnSelectedItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
var behavior = (SelectionBehavior)d;
|
||||
var selector = behavior.AssociatedObject;
|
||||
selector.SelectedValue = e.NewValue;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when the associated selector's selection is changed.
|
||||
/// Tries to assign it to the <see cref="SelectedItem"/> property.
|
||||
/// If it fails, updates the selector's with <see cref="SelectedItem"/> property's current value.
|
||||
/// </summary>
|
||||
private void OnSelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
if (IgnoreNullSelection && (e.AddedItems == null || e.AddedItems.Count == 0)) return;
|
||||
SelectedItem = AssociatedObject.SelectedItem;
|
||||
|
||||
if (SelectedItem != AssociatedObject.SelectedItem)
|
||||
{
|
||||
AssociatedObject.SelectedItem = SelectedItem;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(viewModel.TxtA) && !string.IsNullOrEmpty(viewModel.TxtB))
|
||||
{
|
||||
switch (((BindList)SelectedItem).Formula.Trim())
|
||||
{
|
||||
case "Sum":
|
||||
case "Avg":
|
||||
case "Max":
|
||||
case "Min":
|
||||
case "And":
|
||||
case "Or":
|
||||
case "Product":
|
||||
case "Average":
|
||||
case "Sumsq":
|
||||
case "Avedev":
|
||||
case "Averagea":
|
||||
case "Gammadist":
|
||||
case "Geomean":
|
||||
case "Harmean":
|
||||
case "Hypgeomdist":
|
||||
case "Binomdist":
|
||||
case "Normdist":
|
||||
case "Count":
|
||||
case "Counta":
|
||||
case "Devsq":
|
||||
case "Kurt":
|
||||
case "Maxa":
|
||||
case "Median":
|
||||
case "Mina":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A],[B],[C],[D])";
|
||||
break;
|
||||
case "Pi":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "()*([A]+[B]*[C]+[D])";
|
||||
break;
|
||||
case "VLookUp":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(2,[A],5,true)";
|
||||
break;
|
||||
case "HLookUp":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(2,[A],1,true)";
|
||||
break;
|
||||
case "Sign":
|
||||
case "Gammaln":
|
||||
case "Countblank":
|
||||
case "Fisher":
|
||||
case "Fisherinv":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A])";
|
||||
break;
|
||||
case "NormsInv":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A]/100)";
|
||||
break;
|
||||
case "Norminv":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(0.98,0,1)";
|
||||
break;
|
||||
case "Finv":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(0.01,[A],[B])";
|
||||
break;
|
||||
case "Pow":
|
||||
case "Power":
|
||||
case "Sumx2my2":
|
||||
case "Sumx2py2":
|
||||
case "Sumxmy2":
|
||||
case "Intercept":
|
||||
case "Chidist":
|
||||
case "Chiinv":
|
||||
case "Chitest":
|
||||
case "Large":
|
||||
case "Rsq":
|
||||
case "Slope":
|
||||
case "Small":
|
||||
case "Steyx":
|
||||
case "Trimmean":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A],[D])";
|
||||
break;
|
||||
case "Roman":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A],4)";
|
||||
break;
|
||||
case "If":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A]+[B]>[C]+[D],True)";
|
||||
break;
|
||||
case "Sumif":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A],[B]>[C],[D])";
|
||||
break;
|
||||
case "Not":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(IF([A]+[B]>[C]+[D],True))";
|
||||
break;
|
||||
case "False":
|
||||
case "True":
|
||||
this.viewModel.TxtGen = "=(IF([A]+[B]>[C]+[D],True))" + ((BindList)SelectedItem).Formula.ToString() + "()";
|
||||
break;
|
||||
case "Left":
|
||||
case "Right":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(TextLength,[A]+[B])";
|
||||
break;
|
||||
case "Len":
|
||||
case "Int":
|
||||
case "Column":
|
||||
case "IsError":
|
||||
case "IsNumber":
|
||||
case "IsLogical":
|
||||
case "IsNA":
|
||||
case "IsErr":
|
||||
case "IsBlank":
|
||||
case "IsText":
|
||||
case "IsNonText":
|
||||
case "Exp":
|
||||
case "Sinh":
|
||||
case "Sqrt":
|
||||
case "Log10":
|
||||
case "LN":
|
||||
case "Atanh":
|
||||
case "Acosh":
|
||||
case "Asin":
|
||||
case "Asinh":
|
||||
case "ABS":
|
||||
case "Atan":
|
||||
case "Cos":
|
||||
case "Sin":
|
||||
case "Cosh":
|
||||
case "Tanh":
|
||||
case "Log":
|
||||
case "Fact":
|
||||
case "Ln":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(Sum([A],[B],[C],[D]))";
|
||||
break;
|
||||
case "Db":
|
||||
case "Ddb":
|
||||
case "Fv":
|
||||
case "Ipmt":
|
||||
case "Ispmt":
|
||||
case "Pmt":
|
||||
case "Ppmt":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A],[B],[C],[D])";
|
||||
break;
|
||||
case "Mirr":
|
||||
case "Nper":
|
||||
case "Npv":
|
||||
case "Rate":
|
||||
case "Sln":
|
||||
case "Syd":
|
||||
case "Vdb":
|
||||
case "Date":
|
||||
case "Time":
|
||||
case "Gammainv":
|
||||
case "Confidence":
|
||||
case "CritBinom":
|
||||
case "Expondist":
|
||||
case "Fdist":
|
||||
case "Forecast":
|
||||
case "Lognormdist":
|
||||
case "Loginv":
|
||||
case "Negbinomdist":
|
||||
case "Poisson":
|
||||
case "Standardize":
|
||||
case "Weibull":
|
||||
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A],[B],[C])";
|
||||
break;
|
||||
case "Rand":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "()*Sum([A],[B],[C],[D])";
|
||||
break;
|
||||
case "Ceiling":
|
||||
case "Floor":
|
||||
case "Rounddown":
|
||||
case "Round":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(Sum([A],[B],[C],[D]),0.5)";
|
||||
break;
|
||||
case "Day":
|
||||
case "Datevalue":
|
||||
case "Days360":
|
||||
case "Hour":
|
||||
case "Minute":
|
||||
case "Second":
|
||||
case "Month":
|
||||
case "Now":
|
||||
case "Today":
|
||||
case "Weekday":
|
||||
case "Year":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(" + DateTime.Now.Date.ToShortDateString() + ")";
|
||||
break;
|
||||
case "Index":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A])";
|
||||
break;
|
||||
case "OffSet":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A],-1,-1)";
|
||||
break;
|
||||
case "Mid":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(MidPoint,1,[A])";
|
||||
break;
|
||||
case "Exact":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A],[A])";
|
||||
break;
|
||||
case "Fixed":
|
||||
case "Prob":
|
||||
case "Rank":
|
||||
case "Skew":
|
||||
case "Stdev":
|
||||
case "Stdeva":
|
||||
case "Stdevp":
|
||||
case "Stdevpa":
|
||||
case "Var":
|
||||
case "Vara":
|
||||
case "Varp":
|
||||
case "Varpa":
|
||||
case "Ztest":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A],3,1)";
|
||||
break;
|
||||
case "Lower":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(LOWERTEXT)";
|
||||
break;
|
||||
case "Upper":
|
||||
case "Trim":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(uppertext)";
|
||||
break;
|
||||
case "Text":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(Sum([A],[B],[C],[D]),$0.00)";
|
||||
break;
|
||||
case "Concatenate":
|
||||
case "Combin":
|
||||
case "Correl":
|
||||
case "Covar":
|
||||
case "Pearson":
|
||||
case "Percentile":
|
||||
case "Percentrank":
|
||||
case "Permut":
|
||||
case "Atan2":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A],[B])";
|
||||
break;
|
||||
case "Substitute":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A],[A],[B])";
|
||||
break;
|
||||
case "Irr":
|
||||
case "Xirr":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(Sum([A],[B],[C],[D])," + DateTime.Now + ",0.1)";
|
||||
break;
|
||||
case "Value":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(Avg([A],[B],[C],[D]))";
|
||||
break;
|
||||
case "Mod":
|
||||
case "Mode":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(Sum([A],[B],[C],[D]))/2";
|
||||
break;
|
||||
case "Trunc":
|
||||
case "Degrees":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "(Pi([A],[B],[C],[D]))";
|
||||
break;
|
||||
case "Countif":
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A],True)";
|
||||
break;
|
||||
default:
|
||||
this.viewModel.TxtGen = "=" + ((BindList)SelectedItem).Formula.ToString() + "([A]+[B])";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
using Syncfusion.Calculate;
|
||||
using Syncfusion.Windows.Calculate;
|
||||
|
||||
namespace FormulaSupport
|
||||
{
|
||||
public class ComputeCmd : ICommand
|
||||
{
|
||||
private ViewModel viewModel;
|
||||
|
||||
#region Constructor
|
||||
public ComputeCmd(ViewModel _viewModel)
|
||||
{
|
||||
viewModel = _viewModel;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#pragma warning disable 67
|
||||
public event EventHandler CanExecuteChanged;
|
||||
#pragma warning restore 67
|
||||
//Initialize calculate object
|
||||
CalcQuick calculate = new CalcQuick();
|
||||
|
||||
#region Methods
|
||||
|
||||
public bool CanExecute(object parameter)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public void Execute(object parameter)
|
||||
{
|
||||
calculate["A"] = viewModel.TxtA;
|
||||
calculate["B"] = viewModel.TxtB;
|
||||
calculate["C"] = viewModel.TxtC;
|
||||
calculate["D"] = viewModel.TxtD;
|
||||
calculate["Gen"] = viewModel.TxtGen;
|
||||
|
||||
calculate.SetDirty();
|
||||
|
||||
viewModel.TxtA = calculate["A"];
|
||||
viewModel.TxtB = calculate["B"];
|
||||
viewModel.TxtC = calculate["C"];
|
||||
viewModel.TxtD = calculate["D"];
|
||||
viewModel.TxtGen = calculate["Gen"];
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
|
@ -1,136 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FormulaSupport</RootNamespace>
|
||||
<AssemblyName>FormulaSupport</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</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|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net40\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Calculate.Wpf">
|
||||
<HintPath>packages\Syncfusion.Calculate.Wpf.16.3.0.21\lib\net40\Syncfusion.Calculate.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net40\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net40\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Windows.Interactivity">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\..\Common\Data\Interactivity_Binaries\WPF\4.0\System.Windows.Interactivity.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Behaviour\SelectionBehavior.cs" />
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Command\ComputeCmd.cs" />
|
||||
<Compile Include="ViewModel\ViewModel.cs" />
|
||||
<Compile Include="Model\BindList.cs" />
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net40\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,20 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FunctionLibraryDemo_2010", "FunctionLibraryDemo_2010.csproj", "{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Debug|x86.Build.0 = Debug|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Release|x86.ActiveCfg = Release|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,138 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FormulaSupport</RootNamespace>
|
||||
<AssemblyName>FormulaSupport</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net45\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Calculate.Wpf">
|
||||
<HintPath>packages\Syncfusion.Calculate.Wpf.16.3.0.21\lib\net45\Syncfusion.Calculate.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net45\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net45\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Windows.Interactivity">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\..\Common\Data\Interactivity_Binaries\WPF\4.0\System.Windows.Interactivity.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Behaviour\SelectionBehavior.cs" />
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Command\ComputeCmd.cs" />
|
||||
<Compile Include="ViewModel\ViewModel.cs" />
|
||||
<Compile Include="Model\BindList.cs" />
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net45\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,20 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FunctionLibraryDemo_2012", "FunctionLibraryDemo_2012.csproj", "{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Debug|x86.Build.0 = Debug|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Release|x86.ActiveCfg = Release|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,138 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FormulaSupport</RootNamespace>
|
||||
<AssemblyName>FormulaSupport</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net451\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Calculate.Wpf">
|
||||
<HintPath>packages\Syncfusion.Calculate.Wpf.16.3.0.21\lib\net451\Syncfusion.Calculate.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net451\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net451\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Windows.Interactivity">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\..\Common\Data\Interactivity_Binaries\WPF\4.0\System.Windows.Interactivity.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Behaviour\SelectionBehavior.cs" />
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Command\ComputeCmd.cs" />
|
||||
<Compile Include="ViewModel\ViewModel.cs" />
|
||||
<Compile Include="Model\BindList.cs" />
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net451\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,20 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FunctionLibraryDemo_2012", "FunctionLibraryDemo_2012.csproj", "{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Debug|x86.Build.0 = Debug|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Release|x86.ActiveCfg = Release|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,138 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FormulaSupport</RootNamespace>
|
||||
<AssemblyName>FormulaSupport</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net46\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Calculate.Wpf">
|
||||
<HintPath>packages\Syncfusion.Calculate.Wpf.16.3.0.21\lib\net46\Syncfusion.Calculate.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net46\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net46\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Windows.Interactivity">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\..\Common\Data\Interactivity_Binaries\WPF\4.0\System.Windows.Interactivity.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Behaviour\SelectionBehavior.cs" />
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Command\ComputeCmd.cs" />
|
||||
<Compile Include="ViewModel\ViewModel.cs" />
|
||||
<Compile Include="Model\BindList.cs" />
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net46\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.23103.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FunctionLibraryDemo_2015", "FunctionLibraryDemo_2015.csproj", "{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Debug|x86.Build.0 = Debug|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Release|x86.ActiveCfg = Release|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,138 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FormulaSupport</RootNamespace>
|
||||
<AssemblyName>FormulaSupport</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net46\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Calculate.Wpf">
|
||||
<HintPath>packages\Syncfusion.Calculate.Wpf.16.3.0.21\lib\net46\Syncfusion.Calculate.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net46\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net46\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Windows.Interactivity">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\..\Common\Data\Interactivity_Binaries\WPF\4.0\System.Windows.Interactivity.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Behaviour\SelectionBehavior.cs" />
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Command\ComputeCmd.cs" />
|
||||
<Compile Include="ViewModel\ViewModel.cs" />
|
||||
<Compile Include="Model\BindList.cs" />
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net46\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion 15.0.26020.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FunctionLibraryDemo_2017", "FunctionLibraryDemo_2017.csproj", "{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Debug|x86.Build.0 = Debug|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Release|x86.ActiveCfg = Release|x86
|
||||
{05FB1E74-CA87-4CBE-8EA4-D24C821E3C24}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 664 B |
|
@ -1,34 +0,0 @@
|
|||
<syncfusion:ChromelessWindow x:Class="FormulaSupport.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="Function Library Demo" xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
|
||||
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
|
||||
xmlns:local="clr-namespace:FormulaSupport" syncfusion:SkinStorage.VisualStyle="Metro" Height="276" Width="509" BorderThickness="1" BorderBrush="#FF3399FF" WindowStartupLocation="CenterScreen" Icon="Icon/sfgrid.ico">
|
||||
<syncfusion:ChromelessWindow.DataContext >
|
||||
<local:ViewModel/>
|
||||
</syncfusion:ChromelessWindow.DataContext>
|
||||
<Grid>
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="136,67,0,0" Name="txtA" Text="{Binding TxtA}" VerticalAlignment="Top" Width="120" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="136,109,0,0" Name="txtB" Text="{Binding TxtB}" VerticalAlignment="Top" Width="120" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="136,149,0,0" Name="txtGen" Text="{Binding TxtGen}" VerticalAlignment="Top" Width="326" />
|
||||
<ComboBox Height="23" HorizontalAlignment="Left" Margin="136,23,0,0" Name="comboBox1" VerticalAlignment="Top" Width="326" ItemsSource="{Binding Items}">
|
||||
<i:Interaction.Behaviors>
|
||||
<local:SelectionBehavior SelectedItem="{Binding SelectedItem,Mode=TwoWay}" />
|
||||
</i:Interaction.Behaviors>
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Formula}"/>
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
<Button Content="Compute" Height="32" HorizontalAlignment="Left" Margin="28,191,0,0" Name="button1" VerticalAlignment="Top" Width="434" Command="{Binding computeCommand}" />
|
||||
<Label Content="A" Height="28" HorizontalAlignment="Left" Margin="29,67,0,0" Name="label1" VerticalAlignment="Top" />
|
||||
<Label Content="B" Height="28" HorizontalAlignment="Left" Margin="29,109,0,0" Name="label2" VerticalAlignment="Top" />
|
||||
<Label Content="Select Formula" Height="28" HorizontalAlignment="Left" Margin="28,23,0,0" Name="label3" VerticalAlignment="Top" />
|
||||
<Label Content="Formula/Result" Height="28" HorizontalAlignment="Left" Margin="26,149,0,0" Name="label4" VerticalAlignment="Top" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="342,67,0,0" Name="TxtC" Text="{Binding TxtC}" VerticalAlignment="Top" Width="120" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="342,109,0,0" Name="TxtD" Text="{Binding TxtD}" VerticalAlignment="Top" Width="120" />
|
||||
<Label Content="C" Height="28" HorizontalAlignment="Left" Margin="282,62,0,0" Name="label5" VerticalAlignment="Top" />
|
||||
<Label Content="D" Height="28" HorizontalAlignment="Left" Margin="281,109,0,0" Name="label6" VerticalAlignment="Top" />
|
||||
</Grid>
|
||||
</syncfusion:ChromelessWindow>
|
|
@ -1,29 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using Syncfusion.Windows.Shared;
|
||||
|
||||
namespace FormulaSupport
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : ChromelessWindow
|
||||
{
|
||||
//Constructor
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace FormulaSupport
|
||||
{
|
||||
public class BindList: INotifyPropertyChanged
|
||||
{
|
||||
#region Constructor
|
||||
public BindList()
|
||||
{
|
||||
//this.Formula = string.Empty;
|
||||
}
|
||||
#endregion
|
||||
|
||||
public string formula;
|
||||
public string Formula
|
||||
{
|
||||
get { return formula; }
|
||||
set { formula = value; }
|
||||
}
|
||||
|
||||
#region INotifyPropertyChanged Members
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
public void Onpropertychagned(string name)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
{
|
||||
PropertyChanged(this,new PropertyChangedEventArgs(name));
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageRestore>
|
||||
<add key="enabled" value="True" />
|
||||
<add key="automatic" value="True" />
|
||||
</packageRestore>
|
||||
<packageSources>
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||
<add key="Syncfusion WPF Package 16.3.0.21" value="http://nuget.syncfusion.com/nuget_wpf/nuget/getsyncfusionpackages/wpf" />
|
||||
<add key="Syncfusion WPF Sample Package 16.3.0.21" value="http://nuget.syncfusion.com/nuget_wpfsb/nuget/getsyncfusionpackages/wpfsb" />
|
||||
</packageSources>
|
||||
<activePackageSource>
|
||||
<add key="Syncfusion WPF Package 16.3.0.21" value="http://nuget.syncfusion.com/nuget_wpf/nuget/getsyncfusionpackages/wpf" />
|
||||
<add key="Syncfusion WPF Sample Package 16.3.0.21" value="http://nuget.syncfusion.com/nuget_wpfsb/nuget/getsyncfusionpackages/wpfsb" />
|
||||
</activePackageSource>
|
||||
<bindingRedirects>
|
||||
<add key="skip" value="False" />
|
||||
</bindingRedirects>
|
||||
</configuration>
|
|
@ -1,2 +0,0 @@
|
|||
------ Clean started: Project: FormulaSupport_2010, Configuration: Debug x86 ------
|
||||
========== Clean: 1 succeeded, 0 failed, 0 skipped ==========
|
|
@ -1,44 +0,0 @@
|
|||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'D:\TrunkBackup\IssueFix\Feature11.1\Calculate.Wpf trunk - Copy\Formula Support Demo\CS\bin\Debug\FormulaSupport_2010.vshost.exe', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
The thread 'vshost.NotifyLoad' (0x928) has exited with code 0 (0x0).
|
||||
The thread 'vshost.LoadReference' (0x33c) has exited with code 0 (0x0).
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'D:\TrunkBackup\IssueFix\Feature11.1\Calculate.Wpf trunk - Copy\Formula Support Demo\CS\bin\Debug\FormulaSupport_2010.exe', Symbols loaded.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
Step into: Stepping over non-user code 'FormulaSupport.App.App'
|
||||
Step into: Stepping over non-user code 'FormulaSupport.App.InitializeComponent'
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'D:\TrunkBackup\IssueFix\Feature11.1\Calculate.Wpf trunk - Copy\Formula Support Demo\CS\bin\Debug\Syncfusion.Shared.Wpf.dll'
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'D:\TrunkBackup\IssueFix\Feature11.1\Calculate.Wpf trunk - Copy\Formula Support Demo\CS\bin\Debug\Syncfusion.Core.dll'
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero2\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero2.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'D:\TrunkBackup\IssueFix\Feature11.1\Calculate.Wpf trunk - Copy\Formula Support Demo\CS\bin\Debug\System.Windows.Interactivity.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'D:\TrunkBackup\IssueFix\Feature11.1\Calculate.Wpf trunk - Copy\Formula Support Demo\CS\bin\Debug\Syncfusion.Calculate.Windows.dll'
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'D:\TrunkBackup\IssueFix\Feature11.1\Calculate.Wpf trunk - Copy\Formula Support Demo\CS\bin\Debug\Syncfusion.Calculate.Base.dll'
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemData\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemData.dll'
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXmlLinq\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXmlLinq.dll'
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll'
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Syncfusion.Windows.Shared.ChromelessWindow', AncestorLevel='1''. BindingExpression:Path=ResizeBorderThickness; DataItem=null; target element is 'WindowChrome' (HashCode=55334219); target property is 'ResizeBorderThickness' (type 'Thickness')
|
||||
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Syncfusion.Windows.Shared.ChromelessWindow', AncestorLevel='1''. BindingExpression:Path=CornerRadius; DataItem=null; target element is 'WindowChrome' (HashCode=55334219); target property is 'CornerRadius' (type 'CornerRadius')
|
||||
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Syncfusion.Windows.Shared.ChromelessWindow', AncestorLevel='1''. BindingExpression:Path=ResizeBorderThickness; DataItem=null; target element is 'WindowChrome' (HashCode=3938132); target property is 'ResizeBorderThickness' (type 'Thickness')
|
||||
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Syncfusion.Windows.Shared.ChromelessWindow', AncestorLevel='1''. BindingExpression:Path=CornerRadius; DataItem=null; target element is 'WindowChrome' (HashCode=3938132); target property is 'CornerRadius' (type 'CornerRadius')
|
||||
'FormulaSupport_2010.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationProvider\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationProvider.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
|
||||
The thread '<No Name>' (0x11c0) has exited with code 0 (0x0).
|
||||
The thread 'vshost.RunParkingWindow' (0x1308) has exited with code 0 (0x0).
|
||||
The thread '<No Name>' (0x1624) has exited with code 0 (0x0).
|
||||
The program '[1272] FormulaSupport_2010.vshost.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).
|
|
@ -1,55 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("FormulaSupport")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("FormulaSupport")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2013")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
//In order to begin building localizable applications, set
|
||||
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
|
||||
//inside a <PropertyGroup>. For example, if you are using US english
|
||||
//in your source files, set the <UICulture> to en-US. Then uncomment
|
||||
//the NeutralResourceLanguage attribute below. Update the "en-US" in
|
||||
//the line below to match the UICulture setting in the project file.
|
||||
|
||||
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
||||
|
||||
|
||||
[assembly: ThemeInfo(
|
||||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
||||
//(used if a resource is not found in the page,
|
||||
// or application resource dictionaries)
|
||||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
||||
//(used if a resource is not found in the page,
|
||||
// app, or any theme specific resource dictionaries)
|
||||
)]
|
||||
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
@ -1,63 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18408
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FormulaSupport.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </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("FormulaSupport.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,117 +0,0 @@
|
|||
<?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.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: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" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</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" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
|
@ -1,26 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18408
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FormulaSupport.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
|
@ -1,160 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001 - 2013
|
||||
// Copyright Syncfusion Inc. 2001 - 2013. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Input;
|
||||
using Syncfusion.Windows.Calculate;
|
||||
using System.Collections;
|
||||
|
||||
namespace FormulaSupport
|
||||
{
|
||||
public class ViewModel : INotifyPropertyChanged
|
||||
{
|
||||
#region Variable Declerations
|
||||
|
||||
public string txtA = "3";
|
||||
public string txtB = "5";
|
||||
public string txtC = "10";
|
||||
public string txtD = "12";
|
||||
public string txtGen = string.Empty;
|
||||
ObservableCollection<BindList> ListOfFormula = new ObservableCollection<BindList>();
|
||||
ObservableCollection<BindList> tempListOfFormula = new ObservableCollection<BindList>();
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public ViewModel()
|
||||
{
|
||||
CalcQuick calculate = new CalcQuick();
|
||||
foreach (string formula in calculate.Engine.LibraryFunctions.Keys)
|
||||
{
|
||||
ListOfFormula.Add(new BindList() { Formula = formula });
|
||||
}
|
||||
|
||||
tempListOfFormula = new ObservableCollection<BindList>(ListOfFormula.OrderBy(c => c.Formula));
|
||||
tempListOfFormula.RemoveAt(0);
|
||||
tempListOfFormula.RemoveAt(0);
|
||||
tempListOfFormula.RemoveAt(0);
|
||||
ListOfFormula = tempListOfFormula;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
|
||||
public string TxtA
|
||||
{
|
||||
get { return txtA; }
|
||||
set
|
||||
{
|
||||
txtA = value;
|
||||
OnPropertyChanged("TxtA");
|
||||
}
|
||||
}
|
||||
|
||||
public string TxtB
|
||||
{
|
||||
get { return txtB; }
|
||||
set
|
||||
{
|
||||
txtB = value;
|
||||
OnPropertyChanged("TxtB");
|
||||
}
|
||||
}
|
||||
|
||||
public string TxtC
|
||||
{
|
||||
get { return txtC; }
|
||||
set
|
||||
{
|
||||
txtC = value;
|
||||
OnPropertyChanged("TxtC");
|
||||
}
|
||||
}
|
||||
|
||||
public string TxtD
|
||||
{
|
||||
get { return txtD; }
|
||||
set
|
||||
{
|
||||
txtD = value;
|
||||
OnPropertyChanged("TxtD");
|
||||
}
|
||||
}
|
||||
|
||||
public string TxtGen
|
||||
{
|
||||
get { return txtGen; }
|
||||
set
|
||||
{
|
||||
txtGen = value;
|
||||
OnPropertyChanged("TxtGen");
|
||||
}
|
||||
}
|
||||
|
||||
public ObservableCollection<BindList> Items
|
||||
{
|
||||
get
|
||||
{
|
||||
return ListOfFormula;
|
||||
}
|
||||
set
|
||||
{
|
||||
ListOfFormula = value;
|
||||
}
|
||||
}
|
||||
|
||||
private object selectedItem = null;
|
||||
public object SelectedItem
|
||||
{
|
||||
get
|
||||
{
|
||||
return selectedItem;
|
||||
}
|
||||
set
|
||||
{
|
||||
selectedItem = value;
|
||||
OnPropertyChanged("SelectedItem");
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand compute;
|
||||
public ICommand computeCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
if (compute == null)
|
||||
compute = new ComputeCmd(this);
|
||||
return compute;
|
||||
}
|
||||
set
|
||||
{
|
||||
compute = value;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region INotifyPropertyChanged Members
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
public void OnPropertyChanged(string name)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
{
|
||||
PropertyChanged(this, new PropertyChangedEventArgs(name));
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<packages>
|
||||
<package id="syncfusion.calculate.base" version="16.3.0.21" />
|
||||
<package id="syncfusion.calculate.wpf" version="16.3.0.21" />
|
||||
<package id="syncfusion.shared.wpf" version="16.3.0.21" />
|
||||
<package id="syncfusion.samplelayout" version="16.3.0.21" />
|
||||
<package id="syncfusion.licensing" version="16.3.0.21" />
|
||||
</packages>
|
|
@ -1,8 +0,0 @@
|
|||
<FlowDocument PagePadding="5,0,5,0" AllowDrop="True" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" FontFamily="Cambria" FontSize="14">
|
||||
|
||||
|
||||
<Paragraph>This sample explains about different formulas supported by CalcQuick objects. The following displays the sample output image. </Paragraph>
|
||||
|
||||
<Paragraph TextAlignment="Center"><Image Source="Images\FunctionLibrary.png" Stretch="None" /></Paragraph>
|
||||
|
||||
</FlowDocument>
|
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 5.3 KiB |
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 8.4 KiB |
|
@ -1,10 +0,0 @@
|
|||
<FlowDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" FontFamily="Cambria" FontSize="14">
|
||||
<Paragraph FontWeight="Bold" >
|
||||
Getting Started
|
||||
</Paragraph>
|
||||
<Paragraph >
|
||||
This section covers the formulae support provided by the calcQuick objects.
|
||||
</Paragraph>
|
||||
<Paragraph > <Bold>Formula Support</Bold> - This sample explains about different formulae supported by CalcQuick objects.</Paragraph>
|
||||
</FlowDocument>
|
|
@ -1,10 +0,0 @@
|
|||
<FlowDocument PagePadding="5,0,5,0" AllowDrop="True" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" FontFamily="Cambria" FontSize="14">
|
||||
|
||||
|
||||
<Paragraph>This sample illustrates how to add calculation support to a double array by
|
||||
wrapping the array in a class that implements the ICalcData interface.</Paragraph>
|
||||
<Paragraph FontWeight="Bold" >
|
||||
</Paragraph>
|
||||
|
||||
<Paragraph TextAlignment="Center"><Image Source="Images\Array.png" Stretch="None" /></Paragraph>
|
||||
</FlowDocument>
|
|
@ -1,8 +0,0 @@
|
|||
<Application x:Class="ArrayICalcData.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
StartupUri="Window1.xaml">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
</Application>
|
|
@ -1,20 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
|
||||
namespace ArrayICalcData
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
public App()
|
||||
{
|
||||
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense(Syncfusion.Licensing.DemoCommon.FindLicenseKey());
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,172 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{7CC4D2A0-812E-4E15-941F-FFB2360F782C}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ArrayICalcData</RootNamespace>
|
||||
<AssemblyName>WpfApplication1</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
||||
<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>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<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' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net40\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net40\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net40\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml.Linq">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data.DataSetExtensions">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="UIAutomationTypes" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Page Include="Window1.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Command\Gencmd.cs" />
|
||||
<Compile Include="Command\Setcmd.cs" />
|
||||
<Compile Include="Model\Data.cs" />
|
||||
<Compile Include="Model\ArrayCalcData.cs" />
|
||||
<Compile Include="Window1.xaml.cs">
|
||||
<DependentUpon>Window1.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net40\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,20 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArrayCalculationDemo_2010", "ArrayCalculationDemo_2010.csproj", "{7CC4D2A0-812E-4E15-941F-FFB2360F782C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,175 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{7CC4D2A0-812E-4E15-941F-FFB2360F782C}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ArrayICalcData</RootNamespace>
|
||||
<AssemblyName>WpfApplication1</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<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>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net45\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net45\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net45\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml.Linq">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data.DataSetExtensions">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="UIAutomationTypes" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Page Include="Window1.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Command\Gencmd.cs" />
|
||||
<Compile Include="Command\Setcmd.cs" />
|
||||
<Compile Include="Model\Data.cs" />
|
||||
<Compile Include="Model\ArrayCalcData.cs" />
|
||||
<Compile Include="Window1.xaml.cs">
|
||||
<DependentUpon>Window1.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net45\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,20 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArrayCalculationDemo_2012", "ArrayCalculationDemo_2012.csproj", "{7CC4D2A0-812E-4E15-941F-FFB2360F782C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,175 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{7CC4D2A0-812E-4E15-941F-FFB2360F782C}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ArrayICalcData</RootNamespace>
|
||||
<AssemblyName>WpfApplication1</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<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>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net451\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net451\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net451\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml.Linq">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data.DataSetExtensions">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="UIAutomationTypes" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Page Include="Window1.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Command\Gencmd.cs" />
|
||||
<Compile Include="Command\Setcmd.cs" />
|
||||
<Compile Include="Model\Data.cs" />
|
||||
<Compile Include="Model\ArrayCalcData.cs" />
|
||||
<Compile Include="Window1.xaml.cs">
|
||||
<DependentUpon>Window1.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net451\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2013
|
||||
VisualStudioVersion = 12.0.21005.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArrayCalculationDemo_2013", "ArrayCalculationDemo_2013.csproj", "{7CC4D2A0-812E-4E15-941F-FFB2360F782C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,175 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{7CC4D2A0-812E-4E15-941F-FFB2360F782C}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ArrayICalcData</RootNamespace>
|
||||
<AssemblyName>WpfApplication1</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<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>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net46\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net46\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net46\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml.Linq">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data.DataSetExtensions">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="UIAutomationTypes" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Page Include="Window1.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Command\Gencmd.cs" />
|
||||
<Compile Include="Command\Setcmd.cs" />
|
||||
<Compile Include="Model\Data.cs" />
|
||||
<Compile Include="Model\ArrayCalcData.cs" />
|
||||
<Compile Include="Window1.xaml.cs">
|
||||
<DependentUpon>Window1.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net46\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 12.0.21005.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArrayCalculationDemo_2013", "ArrayCalculationDemo_2015.csproj", "{7CC4D2A0-812E-4E15-941F-FFB2360F782C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,175 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{7CC4D2A0-812E-4E15-941F-FFB2360F782C}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ArrayICalcData</RootNamespace>
|
||||
<AssemblyName>WpfApplication1</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<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>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>packages\Syncfusion.Calculate.Base.16.3.0.21\lib\net46\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Shared.Wpf">
|
||||
<HintPath>packages\Syncfusion.Shared.Wpf.16.3.0.21\lib\net46\Syncfusion.Shared.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.SampleLayout">
|
||||
<HintPath>packages\Syncfusion.SampleLayout.16.3.0.21\lib\net46\Syncfusion.SampleLayout.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml.Linq">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data.DataSetExtensions">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="UIAutomationTypes" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Page Include="Window1.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Command\Gencmd.cs" />
|
||||
<Compile Include="Command\Setcmd.cs" />
|
||||
<Compile Include="Model\Data.cs" />
|
||||
<Compile Include="Model\ArrayCalcData.cs" />
|
||||
<Compile Include="Window1.xaml.cs">
|
||||
<DependentUpon>Window1.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Icon\sfgrid.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Licensing">
|
||||
<HintPath>packages\Syncfusion.Licensing.16.3.0.21\lib\net46\Syncfusion.Licensing.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion 15.0.26020.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArrayCalculationDemo_2017", "ArrayCalculationDemo_2017.csproj", "{7CC4D2A0-812E-4E15-941F-FFB2360F782C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7CC4D2A0-812E-4E15-941F-FFB2360F782C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,70 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
using System.Windows;
|
||||
using Syncfusion.Calculate;
|
||||
|
||||
namespace ArrayICalcData
|
||||
{
|
||||
public class Gencmd : ICommand
|
||||
{
|
||||
private Data viewModel;
|
||||
|
||||
#region Constructor
|
||||
|
||||
public Gencmd(Data _viewModel)
|
||||
{
|
||||
viewModel = _viewModel;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
|
||||
//Return boolean value
|
||||
public bool CanExecute(object parameter)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
#pragma warning disable 67
|
||||
public event EventHandler CanExecuteChanged;
|
||||
#pragma warning restore 67
|
||||
public void Execute(object parameter)
|
||||
{
|
||||
Generate();
|
||||
}
|
||||
|
||||
private void Generate()
|
||||
{
|
||||
//create some sample data
|
||||
viewModel.NRows = viewModel.r.Next(10) + 2;
|
||||
viewModel.nCols = viewModel.r.Next(3) + 1;
|
||||
double[,] a = new double[viewModel.nRows, viewModel.nCols];//{{1.1,2.1},{3.1,4.1}};
|
||||
for (int row = 0; row < viewModel.nRows; ++row)
|
||||
{
|
||||
for (int col = 0; col < viewModel.nCols; ++col)
|
||||
{
|
||||
a[row, col] = ((double)viewModel.r.Next(100)) / 10;
|
||||
}
|
||||
}
|
||||
//create a ArrayCalcData object and pass it this array
|
||||
viewModel.data = new ArrayCalcData(a);
|
||||
|
||||
//create an CalcEngine object using this ArrayCalcData object
|
||||
CalcEngine engine = new CalcEngine(viewModel.data);
|
||||
|
||||
//Turn on dependency tracking so values set with the Set button
|
||||
//take effect immediately
|
||||
engine.UseDependencies = true;
|
||||
|
||||
//call RecalculateRange so any formulas in the data can be initially computed.
|
||||
engine.RecalculateRange(RangeInfo.Cells(1, 1, viewModel.nRows + 1, viewModel.nCols + 1), viewModel.data);
|
||||
|
||||
viewModel.ShowObject();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -1,67 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
using System.Windows;
|
||||
|
||||
namespace ArrayICalcData
|
||||
{
|
||||
public class Setcmd : ICommand
|
||||
{
|
||||
private Data viewModel;
|
||||
|
||||
#region Constructor
|
||||
public Setcmd(Data _viewModel)
|
||||
{
|
||||
viewModel = _viewModel;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
|
||||
public bool CanExecute(object parameter)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
#pragma warning disable 67
|
||||
public event EventHandler CanExecuteChanged;
|
||||
#pragma warning restore 67
|
||||
public void Execute(object parameter)
|
||||
{
|
||||
if (viewModel.NRows == 0)
|
||||
{
|
||||
MessageBox.Show("Generate data first.");
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
int row = viewModel.Row;
|
||||
int col = viewModel.Col;
|
||||
string val = viewModel.CalcValue.ToString();
|
||||
if (this.viewModel.nRows != row && this.viewModel.nCols != col)
|
||||
{
|
||||
viewModel.data[row, col] = val;
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("Please enter a valid row and column index.\nThis field is belongs to Sum of the rows and columns");
|
||||
}
|
||||
|
||||
viewModel.ShowObject();
|
||||
}
|
||||
catch (IndexOutOfRangeException ex1)
|
||||
{
|
||||
MessageBox.Show("Please enter a valid row and column index.\r\nException: " + ex1.Message);
|
||||
}
|
||||
catch (FormatException ex2)
|
||||
{
|
||||
MessageBox.Show("Please enter a valid row and column index.\r\nException: " + ex2.Message);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 664 B |
|
@ -1,170 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001 - 2015
|
||||
//
|
||||
// Copyright Syncfusion Inc. 2001 - 2015. All rights reserved.
|
||||
//
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
//
|
||||
#endregion
|
||||
|
||||
using System;
|
||||
using Syncfusion.Calculate;
|
||||
|
||||
namespace ArrayICalcData
|
||||
{
|
||||
/// <summary>
|
||||
/// Wrapper class for a double array.
|
||||
/// </summary>
|
||||
/// <remarks> Wrapper class for a double array that adds an extra column
|
||||
/// to hold the sum of each row, and also adds an extra row
|
||||
/// to hold the sum of the columns.
|
||||
/// </remarks>
|
||||
public class ArrayCalcData : ICalcData
|
||||
{
|
||||
#region API Definitions
|
||||
|
||||
/// <summary>
|
||||
/// original double array
|
||||
/// </summary>
|
||||
private double[,] dValues;
|
||||
|
||||
/// <summary>
|
||||
/// vector holding the sum of the rows.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Serves as the last column.
|
||||
/// </remarks>
|
||||
private object[] rowSums;
|
||||
|
||||
/// <summary>
|
||||
/// Vector holding the sum of the columns.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Serves as the last row.
|
||||
/// </remarks>
|
||||
private object[] colSums;
|
||||
|
||||
int rowCount;
|
||||
int colCount;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of this ArrayCalcData object.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Since this class wraps a double array, the indexing is zero-based. But
|
||||
/// the ICalcData methods require one-based indexing by convention. So,
|
||||
/// one is added to the indexes when the ICalcData methods are called.
|
||||
/// </remarks>
|
||||
public object this[int row, int col]
|
||||
{
|
||||
get { return GetValueRowCol(row + 1, col + 1); }
|
||||
set { SetValueRowCol(value, row + 1, col + 1); }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
/// <summary>
|
||||
/// Wraps the double array with an extra row and column that holds calculated sums.
|
||||
/// </summary>
|
||||
/// <param name="dValues"></param>
|
||||
public ArrayCalcData(double[,] dValues)
|
||||
{
|
||||
this.dValues = dValues;
|
||||
rowCount = dValues.GetLength(0);
|
||||
colCount = dValues.GetLength(1);
|
||||
rowSums = new object[rowCount + 1];
|
||||
colSums = new object[colCount + 1];
|
||||
|
||||
//initialize the formulas for the row sums
|
||||
// eg. "=Sum(A5:D5)" to sum row 5
|
||||
for (int row = 0; row <= rowCount; ++row)
|
||||
{
|
||||
rowSums[row] = string.Format("=Sum(A{1}:{0}{1})",
|
||||
RangeInfo.GetAlphaLabel(colCount), row + 1);
|
||||
}
|
||||
|
||||
//initialize the formulas for the columns sums
|
||||
// eg. "=Sum(B1:B5)" to sum column 2
|
||||
for (int col = 0; col <= colCount; ++col)
|
||||
{
|
||||
colSums[col] = string.Format("=Sum({0}1:{0}{1})",
|
||||
RangeInfo.GetAlphaLabel(col + 1), rowCount);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region ICalcData Members
|
||||
|
||||
/// <summary>
|
||||
/// Gets the value into either the double array or column vector
|
||||
/// or row vector.
|
||||
/// </summary>
|
||||
/// <param name="row">one-based row index.</param>
|
||||
/// <param name="col">one-based column index.</param>
|
||||
/// <returns>The value.</returns>
|
||||
/// <remarks> By convention, ICalcData uses one-based indexes.</remarks>
|
||||
public object GetValueRowCol(int row, int col)
|
||||
{
|
||||
if (row - 1 == rowCount)
|
||||
{
|
||||
return colSums[col - 1];
|
||||
}
|
||||
else if (col - 1 == colCount)
|
||||
{
|
||||
return rowSums[row - 1];
|
||||
|
||||
}
|
||||
else
|
||||
return this.dValues[row - 1, col - 1];
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets the value into either the double array or column vector
|
||||
/// or row vector.
|
||||
/// </summary>
|
||||
/// <param name="row">one-based row index.</param>
|
||||
/// <param name="col">one-based column index.</param>
|
||||
/// <param name="value">The value to be set.</param>
|
||||
/// <remarks> This setter raises the ICalcData.ValueChanged event which
|
||||
/// is listened to by the CalcEngine to manage the calculations.
|
||||
///
|
||||
/// By convention, ICalcData uses one-based indexes.
|
||||
/// </remarks>
|
||||
public void SetValueRowCol(object value, int row, int col)
|
||||
{
|
||||
|
||||
if (row - 1 == rowCount)
|
||||
{
|
||||
colSums[col - 1] = value;
|
||||
}
|
||||
else if (col - 1 == colCount)
|
||||
{
|
||||
rowSums[row - 1] = value;
|
||||
}
|
||||
else
|
||||
this.dValues[row - 1, col - 1] = double.Parse(value.ToString());
|
||||
|
||||
ValueChangedEventArgs e1 = new ValueChangedEventArgs(row, col, value.ToString());
|
||||
ValueChanged(this, e1);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in the SetValueRowCol implementation
|
||||
/// </summary>
|
||||
public event Syncfusion.Calculate.ValueChangedEventHandler ValueChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Unused in this implementation.
|
||||
/// </summary>
|
||||
public void WireParentObject()
|
||||
{
|
||||
//empty
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -1,302 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
using System.Windows;
|
||||
using Syncfusion.Calculate;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace ArrayICalcData
|
||||
{
|
||||
public class Data : INotifyPropertyChanged
|
||||
{
|
||||
#region Constructor
|
||||
public Data()
|
||||
{
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region API Definition
|
||||
|
||||
public int row = 0;
|
||||
public int col = 0;
|
||||
public int calcvalue = 123;
|
||||
public string result = string.Empty;
|
||||
|
||||
public Random r = new Random();
|
||||
public ArrayCalcData data;
|
||||
public int nRows;
|
||||
public int nCols;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
|
||||
/// <summary>
|
||||
/// Displays the ArrayCalcData values in a TextBox.
|
||||
/// </summary>
|
||||
public void ShowObject()
|
||||
{
|
||||
Result = "";
|
||||
for (int i = 0; i <= this.nRows + 1; ++i)
|
||||
{
|
||||
for (int j = 0; j <= this.nCols + 1; ++j)
|
||||
{
|
||||
if (j == 0)
|
||||
{
|
||||
if (i == this.nRows + 1)
|
||||
Result += "Sum" + "\t";
|
||||
else
|
||||
Result += "\t";
|
||||
continue;
|
||||
}
|
||||
if (i == 0)
|
||||
{
|
||||
if (j == this.nCols + 1)
|
||||
Result += "Sum";
|
||||
else
|
||||
Result += "\t";
|
||||
}
|
||||
else
|
||||
Result += ArrayData[i - 1, j - 1].ToString() + "\t";
|
||||
}
|
||||
Result += "\r\n";
|
||||
}
|
||||
}
|
||||
|
||||
private string GetIconFile(string bitmapName)
|
||||
{
|
||||
for (int n = 0; n < 10; n++)
|
||||
{
|
||||
if (System.IO.File.Exists(bitmapName))
|
||||
return bitmapName;
|
||||
|
||||
bitmapName = @"..\" + bitmapName;
|
||||
}
|
||||
|
||||
return bitmapName;
|
||||
}
|
||||
|
||||
private void wait(double secs)
|
||||
{
|
||||
DateTime dt = DateTime.Now;
|
||||
while (((TimeSpan)(DateTime.Now - dt)).TotalSeconds < secs)
|
||||
{
|
||||
//Application.DoEvents();
|
||||
}
|
||||
}
|
||||
|
||||
private void Set()
|
||||
{
|
||||
if (this.nRows == 0)
|
||||
{
|
||||
MessageBox.Show("Generate data first.");
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
int row = Row;
|
||||
int col = Col;
|
||||
string val = CalcValue.ToString();
|
||||
|
||||
this.data[row, col] = val;
|
||||
|
||||
ShowObject();
|
||||
}
|
||||
catch (IndexOutOfRangeException ex1)
|
||||
{
|
||||
MessageBox.Show("Please enter a valid row and column index.\r\nException: " + ex1.Message);
|
||||
}
|
||||
catch (FormatException ex2)
|
||||
{
|
||||
MessageBox.Show("Please enter a valid row and column index.\r\nException: " + ex2.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void Generate()
|
||||
{
|
||||
//create some sample data
|
||||
this.nRows = r.Next(10) + 2;
|
||||
this.nCols = r.Next(3) + 1;
|
||||
double[,] a = new double[nRows, nCols];//{{1.1,2.1},{3.1,4.1}};
|
||||
for (int row = 0; row < nRows; ++row)
|
||||
for (int col = 0; col < nCols; ++col)
|
||||
a[row, col] = ((double)r.Next(100)) / 10;
|
||||
|
||||
//create a ArrayCalcData object and pass it this array
|
||||
this.data = new ArrayCalcData(a);
|
||||
|
||||
//create an CalcEngine object using this ArrayCalcData object
|
||||
CalcEngine engine = new CalcEngine(this.data);
|
||||
|
||||
//Turn on dependency tracking so values set with the Set button
|
||||
//take effect immediately
|
||||
engine.UseDependencies = true;
|
||||
|
||||
//call RecalculateRange so any formulas in the data can be initially computed.
|
||||
engine.RecalculateRange(RangeInfo.Cells(1, 1, nRows + 1, nCols + 1), data);
|
||||
|
||||
ShowObject();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region FindFile Utility
|
||||
/// <summary>
|
||||
/// Finds a file of the given name in the current directory or sibling "Data" directory.
|
||||
/// If file is not found, the parent folder is checked until the file is found. This method
|
||||
/// is used by our samples when they load data from a separate "Data" folder.
|
||||
/// </summary>
|
||||
/// <param name="dataDirName">The name of the "Data" folder.</param>
|
||||
/// <param name="fileName">The filename to be searched.</param>
|
||||
/// <returns>The full path of the file that was found; an empty string is returned if file is not found.</returns>
|
||||
|
||||
public static string FindFile(string dataDirName, string fileName)
|
||||
{
|
||||
dataDirName = dataDirName.TrimEnd('\\', '/');
|
||||
// Check both in parent folder and Parent\Data folders.
|
||||
string dataFileName = dataDirName + "\\" + fileName;
|
||||
for (int n = 0; n < 10; n++)
|
||||
{
|
||||
if (System.IO.File.Exists(fileName))
|
||||
{
|
||||
return fileName;
|
||||
}
|
||||
if (System.IO.File.Exists(dataFileName))
|
||||
{
|
||||
return dataFileName;
|
||||
}
|
||||
fileName = @"..\" + fileName;
|
||||
dataFileName = @"..\" + dataFileName;
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
|
||||
public int Row
|
||||
{
|
||||
get { return row; }
|
||||
set
|
||||
{
|
||||
row = value;
|
||||
OnpropertyChanged("Row");
|
||||
}
|
||||
|
||||
}
|
||||
public int Col
|
||||
{
|
||||
get { return col; }
|
||||
set
|
||||
{
|
||||
col = value;
|
||||
OnpropertyChanged("Col");
|
||||
}
|
||||
|
||||
}
|
||||
public int CalcValue
|
||||
{
|
||||
get { return calcvalue; }
|
||||
set
|
||||
{
|
||||
calcvalue = value;
|
||||
OnpropertyChanged("Value");
|
||||
}
|
||||
}
|
||||
|
||||
public string Result
|
||||
{
|
||||
get { return result; }
|
||||
set
|
||||
{
|
||||
result = value;
|
||||
OnpropertyChanged("Result");
|
||||
}
|
||||
}
|
||||
|
||||
public int NRows
|
||||
{
|
||||
get { return nRows; }
|
||||
set
|
||||
{
|
||||
nRows = value;
|
||||
OnpropertyChanged("NRows");
|
||||
}
|
||||
}
|
||||
|
||||
public int NCols
|
||||
{
|
||||
get { return nCols; }
|
||||
set
|
||||
{
|
||||
nCols = value;
|
||||
OnpropertyChanged("NCols");
|
||||
}
|
||||
}
|
||||
|
||||
public ArrayCalcData ArrayData
|
||||
{
|
||||
get { return data; }
|
||||
set
|
||||
{
|
||||
data = value;
|
||||
OnpropertyChanged("Data");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private ICommand Gencmd;
|
||||
public ICommand GenCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Gencmd == null)
|
||||
Gencmd = new Gencmd(this);
|
||||
return Gencmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
Gencmd = value;
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand Setcmd;
|
||||
public ICommand SetCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Setcmd == null)
|
||||
Setcmd = new Setcmd(this);
|
||||
return Setcmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
Setcmd = value;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region INotifyPropertyChanged Contents
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
public void OnpropertyChanged(string propertyname)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
{
|
||||
PropertyChanged(this, new PropertyChangedEventArgs(propertyname));
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageRestore>
|
||||
<add key="enabled" value="True" />
|
||||
<add key="automatic" value="True" />
|
||||
</packageRestore>
|
||||
<packageSources>
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||
<add key="Syncfusion WPF Package 16.3.0.21" value="http://nuget.syncfusion.com/nuget_wpf/nuget/getsyncfusionpackages/wpf" />
|
||||
<add key="Syncfusion WPF Sample Package 16.3.0.21" value="http://nuget.syncfusion.com/nuget_wpfsb/nuget/getsyncfusionpackages/wpfsb" />
|
||||
</packageSources>
|
||||
<activePackageSource>
|
||||
<add key="Syncfusion WPF Package 16.3.0.21" value="http://nuget.syncfusion.com/nuget_wpf/nuget/getsyncfusionpackages/wpf" />
|
||||
<add key="Syncfusion WPF Sample Package 16.3.0.21" value="http://nuget.syncfusion.com/nuget_wpfsb/nuget/getsyncfusionpackages/wpfsb" />
|
||||
</activePackageSource>
|
||||
<bindingRedirects>
|
||||
<add key="skip" value="False" />
|
||||
</bindingRedirects>
|
||||
</configuration>
|
|
@ -1,2 +0,0 @@
|
|||
------ Clean started: Project: ArrayICalcData_2010, Configuration: Debug Any CPU ------
|
||||
========== Clean: 1 succeeded, 0 failed, 0 skipped ==========
|
|
@ -1,55 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("WpfApplication1")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("WpfApplication1")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2013")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
//In order to begin building localizable applications, set
|
||||
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
|
||||
//inside a <PropertyGroup>. For example, if you are using US english
|
||||
//in your source files, set the <UICulture> to en-US. Then uncomment
|
||||
//the NeutralResourceLanguage attribute below. Update the "en-US" in
|
||||
//the line below to match the UICulture setting in the project file.
|
||||
|
||||
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
||||
|
||||
|
||||
[assembly: ThemeInfo(
|
||||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
||||
//(used if a resource is not found in the page,
|
||||
// or application resource dictionaries)
|
||||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
||||
//(used if a resource is not found in the page,
|
||||
// app, or any theme specific resource dictionaries)
|
||||
)]
|
||||
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
@ -1,63 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18408
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ArrayICalcData.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </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("ArrayICalcData.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче