v20.1.0.47
This commit is contained in:
Родитель
756c630705
Коммит
eca045dc7a
|
@ -0,0 +1,17 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<SyncfusionInstallLocation>D:\Work\SVN\20.1.0.1\Assemblies_Licensing</SyncfusionInstallLocation>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('_45'))">
|
||||
<BaseIntermediateOutputPath>obj_45\</BaseIntermediateOutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('_50'))">
|
||||
<BaseIntermediateOutputPath>obj_50\</BaseIntermediateOutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('_47'))">
|
||||
<BaseIntermediateOutputPath>obj_47\</BaseIntermediateOutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('_60'))">
|
||||
<BaseIntermediateOutputPath>obj_60\</BaseIntermediateOutputPath>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -449,4 +449,4 @@ Syncfusion has no liability for any damage or consequence that may arise by the
|
|||
|
||||
* To renew the subscription, click [here](https://www.syncfusion.com/sales/products?utm_source=github&utm_medium=listing) or contact our sales team at <salessupport@syncfusion.com>.
|
||||
|
||||
<p>Copyright © 2001-2022 Syncfusion, Inc. Updated on 2022-02-01 at precisely 18:47:54 EST.</p>
|
||||
<p>Copyright © 2001-2022 Syncfusion, Inc. Updated on 2022-04-04 at precisely 16:54:34 EST.</p>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -0,0 +1,7 @@
|
|||
<Application
|
||||
x:Class="syncfusion.barcodedemos.wpf.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:syncfusion.barcodedemos.wpf">
|
||||
<Application.Resources />
|
||||
</Application>
|
|
@ -0,0 +1,31 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 syncfusion.demoscommon.wpf;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
|
||||
namespace syncfusion.barcodedemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
protected override void OnStartup(StartupEventArgs e)
|
||||
{
|
||||
var window = new MainWindow(new BarcodeDemosViewModel());
|
||||
window.Show();
|
||||
base.OnStartup(e);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 syncfusion.demoscommon.wpf;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace syncfusion.barcodedemos.wpf
|
||||
{
|
||||
public class BarcodeDemosViewModel : DemoBrowserViewModel
|
||||
{
|
||||
public override List<ProductDemo> GetDemosDetails()
|
||||
{
|
||||
var productdemos = new List<ProductDemo>();
|
||||
productdemos.Add(new BarcodeProductDemos());
|
||||
return productdemos;
|
||||
}
|
||||
}
|
||||
|
||||
public class BarcodeProductDemos : ProductDemo
|
||||
{
|
||||
public BarcodeProductDemos()
|
||||
{
|
||||
this.Product = "Barcode";
|
||||
this.ProductCategory = "DATA VISUALIZATION";
|
||||
this.Demos = new List<DemoInfo>();
|
||||
this.Demos.Add(new DemoInfo() { SampleName = "Barcode", GroupName = "Barcode", DemoViewType = typeof(SfBarcode) });
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,62 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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.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("syncfusion.barcodedemos.wpf_lib_47")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Syncfusion Inc.")]
|
||||
[assembly: AssemblyProduct("syncfusion.barcodedemos.wpf_lib_47")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2001-2022 Syncfusion Inc.")]
|
||||
[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")]
|
|
@ -0,0 +1,78 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace syncfusion.barcodedemos.wpf_lib_47.Properties
|
||||
{
|
||||
|
||||
|
||||
/// <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 ((resourceMan == null))
|
||||
{
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("syncfusion.barcodedemos.wpf_lib_47.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,117 @@
|
|||
<?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>
|
|
@ -0,0 +1,37 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace syncfusion.barcodedemos.wpf_lib_47.Properties
|
||||
{
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||
{
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default
|
||||
{
|
||||
get
|
||||
{
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
|
@ -0,0 +1,89 @@
|
|||
<democommon:DemoControl xmlns:democommon="clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf" x:Class="syncfusion.barcodedemos.wpf.SfBarcode"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
|
||||
xmlns:cc="clr-namespace:Syncfusion.UI.Xaml.Controls.Barcode;assembly=Syncfusion.SfBarcode.WPF"
|
||||
Title="Barcode" VerticalAlignment="Center" HorizontalAlignment="Center"
|
||||
Width="600" Height="450" Loaded="Window_Loaded">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="5*"/>
|
||||
<ColumnDefinition Width="5*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Grid Grid.Column="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="20"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Border Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<cc:SfBarcode x:Name="barcodeControl" Text="HTTP://WWW.SYNCFUSION.COM" Symbology="QRBarcode">
|
||||
<cc:SfBarcode.SymbologySettings>
|
||||
<cc:QRBarcodeSetting XDimension="8"/>
|
||||
</cc:SfBarcode.SymbologySettings>
|
||||
</cc:SfBarcode>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
<Border Grid.Column="0" BorderThickness="0" BorderBrush="Black" Background="#F2F2F2" Padding="0,20,0,0">
|
||||
<Grid Margin="15,5,15,5">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="0" Orientation="Vertical" VerticalAlignment="Top">
|
||||
<StackPanel Orientation="Horizontal" VerticalAlignment="Top">
|
||||
<Label FontWeight="Bold" FontFamily="Segoe UI">Symbology</Label>
|
||||
</StackPanel>
|
||||
<ComboBox Margin="5" Name="barcodeTypeList" SelectionChanged="barcodeTypeList_SelectionChanged" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="1" Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal" VerticalAlignment="Top">
|
||||
|
||||
<Label FontWeight="Bold" FontFamily="Segoe UI">Text to Encode</Label>
|
||||
</StackPanel>
|
||||
<TextBox Margin="5" Name="textToEncode" GotFocus="textToEncode_GotFocus"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="2" Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal" VerticalAlignment="Top">
|
||||
<Label FontWeight="Bold" FontFamily="Segoe UI">Allowed Characters</Label>
|
||||
</StackPanel>
|
||||
<Border Margin="5" BorderBrush="#CCCCCC" BorderThickness="1">
|
||||
<ScrollViewer Height="150" VerticalScrollBarVisibility="Visible" Background="White">
|
||||
<TextBlock TextWrapping="WrapWithOverflow" Name="barCodeTip" Padding="5"/>
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
</StackPanel>
|
||||
<Border Grid.Row="3" Padding="5">
|
||||
<StackPanel >
|
||||
<Button Name="button1" Content="UPDATE" Width="100" Height="30" FontSize="14" FontFamily="Segoe UI" VerticalAlignment="Center" HorizontalAlignment="Left" Click="button1_Click" >
|
||||
<Button.Style>
|
||||
<Style TargetType="Button">
|
||||
<Setter Property="Background" Value="#06BCD4" />
|
||||
<Setter Property="Foreground" Value="White" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Border x:Name="bg" Background="{TemplateBinding Background}">
|
||||
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Border>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Setter Property="Background" Value="#0CC8E2" TargetName="bg" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
</Button.Style>
|
||||
</Button>
|
||||
<TextBlock Padding="5" Name="errorNotify" VerticalAlignment="Bottom" Foreground="Red" Visibility="Hidden">*Invalid characters found in entered text</TextBlock>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</democommon:DemoControl>
|
|
@ -0,0 +1,252 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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.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.Text.RegularExpressions;
|
||||
using Syncfusion.UI.Xaml.Controls.Barcode;
|
||||
using Syncfusion.Windows.Shared;
|
||||
using syncfusion.demoscommon.wpf;
|
||||
namespace syncfusion.barcodedemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for Window1.xaml
|
||||
/// </summary>
|
||||
public partial class SfBarcode : DemoControl
|
||||
{
|
||||
private List<string> allowedTexts;
|
||||
private List<string> validTexts;
|
||||
|
||||
public SfBarcode()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
allowedTexts = new List<string>();
|
||||
allowedTexts.Add("1 2 3 4 5 6 7 8 9 0\nText length should be 11 or 12!!!");
|
||||
allowedTexts.Add("0-9, A-Z,a dash(-),a dot(.),$,/,+,%, SPACE");
|
||||
allowedTexts.Add("0-9 A-Z a-z");
|
||||
allowedTexts.Add("0-9, a dash(-)");
|
||||
allowedTexts.Add("0-9,-,$,:,/,a dot(.),+");
|
||||
allowedTexts.Add("1 2 3 4 5 6 7 8 9 0\nText length should be 8!!!");
|
||||
allowedTexts.Add("1 2 3 4 5 6 7 8 9 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z - . $ / + % SPACE");
|
||||
allowedTexts.Add("All 128 ASCII characters");
|
||||
allowedTexts.Add("NUL (0x00) SOH (0x01) STX (0x02) ETX (0x03) EOT"
|
||||
+ "(0x04) ENQ (0x05) ACK (0x06) BEL (0x07) BS (0x08) HT (0x09) LF (0x0A) VT"
|
||||
+ "(0x0B) FF (0x0C) CR (0x0D) SO (0x0E) SI (0x0F) DLE (0x10) DC1 (0x11) DC2"
|
||||
+ "(0x12) DC3 (0x13) DC4 (0x14) NAK (0x15) SYN (0x16) ETB (0x17) CAN"
|
||||
+ "(0x18) EM (0x19) SUB (0x1A) ESC (0x1B) FS (0x1C) GS (0x1D) RS (0x1E) US"
|
||||
+ "(0x1F) SPACE (0x20) \" ! # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A"
|
||||
+ "B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ / ]^ _");
|
||||
allowedTexts.Add("SPACE (0x20) ! \" # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 :"
|
||||
+ "; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ / ]^ _ ` a"
|
||||
+ "b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ DEL (•)");
|
||||
allowedTexts.Add("0 1 2 3 4 5 6 7 8 9");
|
||||
allowedTexts.Add("All 128 ASCII characters");
|
||||
allowedTexts.Add("All 128 ASCII characters");
|
||||
|
||||
validTexts = new List<string>();
|
||||
validTexts.Add(@"^[\x00-\x7F]");
|
||||
validTexts.Add(@"^[\x41-\x5A\x30-\x39\x20\-\.\$\/\+\%\ ]+$");
|
||||
validTexts.Add(@"^[\x00-\x7F]+$");
|
||||
validTexts.Add(@"^[0-9\-]*$");
|
||||
validTexts.Add(@"^[\d\-\$\:\/\.\+]+$");
|
||||
validTexts.Add(@"^[\x41-\x5A\x30-\x39\x20\-\*\.\$\/\+\%]+$");
|
||||
validTexts.Add(@"^[\x41-\x5A\x30-\x39\x20\-\.\$\/\+\%\ ]+$");
|
||||
validTexts.Add(@"^[\000-\177]*$");
|
||||
validTexts.Add(@"^[\000-\137]*$");
|
||||
validTexts.Add(@"^[\040-\177]*$");
|
||||
validTexts.Add(@"^(([0-9]{2})+?)*$");
|
||||
validTexts.Add("");
|
||||
validTexts.Add("");
|
||||
|
||||
barcodeTypeList.Items.Add("UpcBarcode");
|
||||
barcodeTypeList.Items.Add("Code39");
|
||||
barcodeTypeList.Items.Add("Code39Extended");
|
||||
barcodeTypeList.Items.Add("Code11");
|
||||
barcodeTypeList.Items.Add("Codabar");
|
||||
barcodeTypeList.Items.Add("Code32");
|
||||
barcodeTypeList.Items.Add("Code93");
|
||||
barcodeTypeList.Items.Add("Code93Extended");
|
||||
barcodeTypeList.Items.Add("Code128A");
|
||||
barcodeTypeList.Items.Add("Code128B");
|
||||
barcodeTypeList.Items.Add("Code128C");
|
||||
barcodeTypeList.Items.Add("DataMatrix");
|
||||
barcodeTypeList.Items.Add("QRBarcode");
|
||||
}
|
||||
|
||||
private void barcodeTypeList_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
barCodeTip.Text = allowedTexts[barcodeTypeList.SelectedIndex];
|
||||
barcodeControl.Symbology = (BarcodeSymbolType)Enum.Parse(typeof(BarcodeSymbolType), barcodeTypeList.SelectedItem.ToString(), true);
|
||||
|
||||
switch (barcodeControl.Symbology)
|
||||
{
|
||||
case BarcodeSymbolType.Codabar:
|
||||
CodabarSetting codabar = new CodabarSetting();
|
||||
codabar.BarHeight = 120;
|
||||
barcodeControl.SymbologySettings = codabar;
|
||||
textToEncode.Text = "01234567";
|
||||
barcodeControl.DisplayText = true;
|
||||
break;
|
||||
case BarcodeSymbolType.Code11:
|
||||
Code11Setting code11 = new Code11Setting();
|
||||
code11.BarHeight = 120;
|
||||
barcodeControl.SymbologySettings = code11;
|
||||
textToEncode.Text = "01234567";
|
||||
barcodeControl.DisplayText = true;
|
||||
break;
|
||||
case BarcodeSymbolType.Code32:
|
||||
Code32Setting code32 = new Code32Setting();
|
||||
code32.BarHeight = 120;
|
||||
barcodeControl.SymbologySettings = code32;
|
||||
textToEncode.Text = "01234567";
|
||||
barcodeControl.DisplayText = true;
|
||||
break;
|
||||
case BarcodeSymbolType.Code128C:
|
||||
Code128CSetting code128C = new Code128CSetting();
|
||||
code128C.BarHeight = 120;
|
||||
barcodeControl.SymbologySettings = code128C;
|
||||
textToEncode.Text = "01234567";
|
||||
barcodeControl.DisplayText = true;
|
||||
break;
|
||||
|
||||
case BarcodeSymbolType.QRBarcode:
|
||||
{
|
||||
QRBarcodeSetting setting = new QRBarcodeSetting();
|
||||
setting.XDimension = 5;
|
||||
barcodeControl.SymbologySettings = setting;
|
||||
textToEncode.Text = @"HTTP://WWW.SYNCFUSION.COM";
|
||||
barcodeControl.DisplayText = false;
|
||||
}
|
||||
break;
|
||||
case BarcodeSymbolType.DataMatrix:
|
||||
{
|
||||
DataMatrixSetting setting = new DataMatrixSetting();
|
||||
setting.XDimension = 8;
|
||||
barcodeControl.SymbologySettings = setting;
|
||||
textToEncode.Text = "SYNCFUSION";
|
||||
barcodeControl.DisplayText = false;
|
||||
}
|
||||
break;
|
||||
case BarcodeSymbolType.Code128B:
|
||||
Code128BSetting code128B = new Code128BSetting();
|
||||
code128B.BarHeight = 120;
|
||||
barcodeControl.SymbologySettings = code128B;
|
||||
textToEncode.Text = "SYNCFUSION";
|
||||
barcodeControl.DisplayText = true;
|
||||
break;
|
||||
case BarcodeSymbolType.Code128A:
|
||||
Code128ASetting code128A = new Code128ASetting();
|
||||
code128A.BarHeight = 120;
|
||||
barcodeControl.SymbologySettings = code128A;
|
||||
textToEncode.Text = "SYNCFUSION";
|
||||
barcodeControl.DisplayText = true;
|
||||
break;
|
||||
case BarcodeSymbolType.Code39:
|
||||
Code39Setting code39 = new Code39Setting();
|
||||
code39.BarHeight = 120;
|
||||
barcodeControl.SymbologySettings = code39;
|
||||
textToEncode.Text = "SYNCFUSION";
|
||||
barcodeControl.DisplayText = true;
|
||||
break;
|
||||
case BarcodeSymbolType.Code39Extended:
|
||||
Code39ExtendedSetting code39Ex = new Code39ExtendedSetting();
|
||||
code39Ex.BarHeight = 120;
|
||||
barcodeControl.SymbologySettings = code39Ex;
|
||||
textToEncode.Text = "SYNCFUSION";
|
||||
barcodeControl.DisplayText = true;
|
||||
break;
|
||||
case BarcodeSymbolType.Code93:
|
||||
Code93Setting code93 = new Code93Setting();
|
||||
code93.BarHeight = 120;
|
||||
barcodeControl.SymbologySettings = code93;
|
||||
textToEncode.Text = "SYNCFUSION";
|
||||
barcodeControl.DisplayText = true;
|
||||
break;
|
||||
case BarcodeSymbolType.Code93Extended:
|
||||
Code93ExtendedSetting code93Ex = new Code93ExtendedSetting();
|
||||
code93Ex.BarHeight = 120;
|
||||
barcodeControl.SymbologySettings = code93Ex;
|
||||
textToEncode.Text = "SYNCFUSION";
|
||||
barcodeControl.DisplayText = true;
|
||||
break;
|
||||
case BarcodeSymbolType.UpcBarcode:
|
||||
UpcBarcodeSetting codeUpc = new UpcBarcodeSetting();
|
||||
codeUpc.BarHeight = 120;
|
||||
textToEncode.Text = "01234567890";
|
||||
barcodeControl.DisplayText = true;
|
||||
break;
|
||||
default:
|
||||
textToEncode.Text = "SYNCFUSION";
|
||||
break;
|
||||
}
|
||||
ValidateText();
|
||||
barcodeControl.Text = textToEncode.Text;
|
||||
}
|
||||
|
||||
private void ValidateText()
|
||||
{
|
||||
string expression = validTexts[barcodeTypeList.SelectedIndex];
|
||||
|
||||
Regex validator = new Regex(expression, RegexOptions.Singleline);
|
||||
errorNotify.Visibility = Visibility.Visible;
|
||||
if ((barcodeTypeList.SelectedItem.ToString() != "QRBarcode") && barcodeTypeList.SelectedItem.ToString() != "DataMatrix" && barcodeTypeList.SelectedItem.ToString() != "Code32" && textToEncode.Text.Length > 14)
|
||||
errorNotify.Text = "*Only 14 characters are allowed";
|
||||
else if (barcodeTypeList.SelectedItem.ToString() == "DataMatrix" && textToEncode.Text.Length > 60)
|
||||
errorNotify.Text = "*Only 60 characters are allowed";
|
||||
else if (barcodeTypeList.SelectedItem.ToString() == "QRBarcode" && textToEncode.Text.Length > 270)
|
||||
errorNotify.Text = "*Only 270 characters are allowed";
|
||||
else if (!validator.Match(textToEncode.Text).Success || ((barcodeTypeList.SelectedItem.ToString() == "Code32") && textToEncode.Text.Length != 8))
|
||||
{
|
||||
barcodeControl.Text = "";
|
||||
errorNotify.Visibility = Visibility.Visible;
|
||||
errorNotify.Text = "*Invalid characters found in entered text";
|
||||
}
|
||||
else
|
||||
errorNotify.Visibility = Visibility.Collapsed;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if ((barcodeTypeList.SelectedItem.ToString() != "QRBarcode") && barcodeTypeList.SelectedItem.ToString() != "DataMatrix" && barcodeTypeList.SelectedItem.ToString() != "Code32" && textToEncode.Text.Length > 14)
|
||||
barcodeControl.Visibility = Visibility.Hidden;
|
||||
else if (barcodeTypeList.SelectedItem.ToString() == "DataMatrix" && textToEncode.Text.Length > 60)
|
||||
barcodeControl.Visibility = Visibility.Hidden;
|
||||
else if (barcodeTypeList.SelectedItem.ToString() == "QRBarcode" && textToEncode.Text.Length > 270)
|
||||
barcodeControl.Visibility = Visibility.Hidden;
|
||||
else
|
||||
{
|
||||
barcodeControl.Text = textToEncode.Text;
|
||||
barcodeControl.Visibility = Visibility.Visible;
|
||||
}
|
||||
ValidateText();
|
||||
}
|
||||
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
barcodeTypeList.SelectedIndex = 12;
|
||||
barcodeTypeList_SelectionChanged(null, null);
|
||||
}
|
||||
|
||||
private void textToEncode_GotFocus(object sender, RoutedEventArgs e)
|
||||
{
|
||||
TextBox box = sender as TextBox;
|
||||
box.SelectAll();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,102 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{47480186-e252-4f0c-a16a-8ea6500cad56}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>syncfusion.barcodedemos.wpf</RootNamespace>
|
||||
<AssemblyName>syncfusion.barcodedemos.wpfapplication</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<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.Net.Http" />
|
||||
<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="App.xaml.cs">
|
||||
<DependentUpon>App.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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_45.csproj">
|
||||
<Project>{9ef55cdb-ed67-4a06-bc2a-1f811f791191}</Project>
|
||||
<Name>syncfusion.demoscommon.wpf_lib_45</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="syncfusion.barcodedemos.wpf_lib_45.csproj">
|
||||
<Project>{bdb42436-7107-4d53-80b8-77b2e10c5d3a}</Project>
|
||||
<Name>syncfusion.barcodedemos.wpf_lib_45</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\common\demos.common.props" />
|
||||
</Project>
|
|
@ -0,0 +1,34 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.barcodedemos.wpf_45", "syncfusion.barcodedemos.wpf_45.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.barcodedemos.wpf_lib_45", "syncfusion.barcodedemos.wpf_lib_45.csproj", "{BDB42436-7107-4D53-80B8-77B2E10C5D3A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_45", "..\common\syncfusion.demoscommon.wpf_lib_45.csproj", "{9EF55CDB-ED67-4A06-BC2A-1F811F791191}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,102 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>syncfusion.barcodedemos.wpf</RootNamespace>
|
||||
<AssemblyName>syncfusion.barcodedemos.wpfapplication</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<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.Net.Http" />
|
||||
<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="App.xaml.cs">
|
||||
<DependentUpon>App.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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_47.csproj">
|
||||
<Project>{9ef55cdb-ed67-4a06-bc2a-1f811f791191}</Project>
|
||||
<Name>syncfusion.demoscommon.wpf_lib_47</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="syncfusion.barcodedemos.wpf_lib_47.csproj">
|
||||
<Project>{bdb42436-7107-4d53-80b8-77b2e10c5d3a}</Project>
|
||||
<Name>syncfusion.barcodedemos.wpf_lib_47</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\common\demos.common.props" />
|
||||
</Project>
|
|
@ -0,0 +1,37 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29324.140
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.barcodedemos.wpf_47", "syncfusion.barcodedemos.wpf_47.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.barcodedemos.wpf_lib_47", "syncfusion.barcodedemos.wpf_lib_47.csproj", "{BDB42436-7107-4D53-80B8-77B2E10C5D3A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_47", "..\common\syncfusion.demoscommon.wpf_lib_47.csproj", "{9EF55CDB-ED67-4A06-BC2A-1F811F791191}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,61 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<UseWPF>true</UseWPF>
|
||||
<EnableDefaultEmbeddedResourceItems>False</EnableDefaultEmbeddedResourceItems>
|
||||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<AssemblyName>syncfusion.barcodedemos.wpfapplication</AssemblyName>
|
||||
<RootNamespace>syncfusion.barcodedemos.wpf</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Xml|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="obj\**" />
|
||||
<Compile Remove="obj_45\**" />
|
||||
<Compile Remove="obj_47\**" />
|
||||
<Compile Remove="obj_50\**" />
|
||||
<Compile Remove="obj_60\**" />
|
||||
<EmbeddedResource Remove="obj\**" />
|
||||
<EmbeddedResource Remove="obj_45\**" />
|
||||
<EmbeddedResource Remove="obj_47\**" />
|
||||
<EmbeddedResource Remove="obj_50\**" />
|
||||
<EmbeddedResource Remove="obj_60\**" />
|
||||
<None Remove="obj\**" />
|
||||
<None Remove="obj_45\**" />
|
||||
<None Remove="obj_47\**" />
|
||||
<None Remove="obj_50\**" />
|
||||
<None Remove="obj_60\**" />
|
||||
<Page Remove="obj\**" />
|
||||
<Page Remove="obj_45\**" />
|
||||
<Page Remove="obj_47\**" />
|
||||
<Page Remove="obj_50\**" />
|
||||
<Page Remove="obj_60\**" />
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_50.csproj">
|
||||
<Name>syncfusion.demoscommon.wpf_lib_50</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="syncfusion.barcodedemos.wpf_lib_50.csproj">
|
||||
<Name>syncfusion.barcodedemos.wpf_lib_50</Name>
|
||||
</ProjectReference>
|
||||
<None Remove="Properties\Settings.settings" />
|
||||
<None Include="Properties\Settings.settings" />
|
||||
<None Remove="App.config" />
|
||||
<None Include="App.config" />
|
||||
<Page Remove="Views\SfBarcode.xaml" />
|
||||
<Compile Remove="Views\SfBarcode.xaml.cs" />
|
||||
<Compile Remove="BarcodeDemosViewModel.cs" />
|
||||
<ApplicationDefinition Include="App.xaml" />
|
||||
<Compile Include="App.xaml.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\common\demos.common.props">
|
||||
</Import>
|
||||
</Project>
|
|
@ -0,0 +1,36 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29020.237
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.barcodedemos.wpf_50", "syncfusion.barcodedemos.wpf_50.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.barcodedemos.wpf_lib_50", "syncfusion.barcodedemos.wpf_lib_50.csproj", "{BDB42436-7107-4D53-80B8-77B2E10C5D3A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_50", "..\common\syncfusion.demoscommon.wpf_lib_50.csproj", "{9EF55CDB-ED67-4A06-BC2A-1F811F791191}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,61 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net6.0-windows</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<UseWPF>true</UseWPF>
|
||||
<EnableDefaultEmbeddedResourceItems>False</EnableDefaultEmbeddedResourceItems>
|
||||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<AssemblyName>syncfusion.barcodedemos.wpfapplication</AssemblyName>
|
||||
<RootNamespace>syncfusion.barcodedemos.wpf</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Xml|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="obj\**" />
|
||||
<Compile Remove="obj_45\**" />
|
||||
<Compile Remove="obj_47\**" />
|
||||
<Compile Remove="obj_50\**" />
|
||||
<Compile Remove="obj_60\**" />
|
||||
<EmbeddedResource Remove="obj\**" />
|
||||
<EmbeddedResource Remove="obj_45\**" />
|
||||
<EmbeddedResource Remove="obj_47\**" />
|
||||
<EmbeddedResource Remove="obj_50\**" />
|
||||
<EmbeddedResource Remove="obj_60\**" />
|
||||
<None Remove="obj\**" />
|
||||
<None Remove="obj_45\**" />
|
||||
<None Remove="obj_47\**" />
|
||||
<None Remove="obj_50\**" />
|
||||
<None Remove="obj_60\**" />
|
||||
<Page Remove="obj\**" />
|
||||
<Page Remove="obj_45\**" />
|
||||
<Page Remove="obj_47\**" />
|
||||
<Page Remove="obj_50\**" />
|
||||
<Page Remove="obj_60\**" />
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_60.csproj">
|
||||
<Name>syncfusion.demoscommon.wpf_lib_60</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="syncfusion.barcodedemos.wpf_lib_60.csproj">
|
||||
<Name>syncfusion.barcodedemos.wpf_lib_60</Name>
|
||||
</ProjectReference>
|
||||
<None Remove="Properties\Settings.settings" />
|
||||
<None Include="Properties\Settings.settings" />
|
||||
<None Remove="App.config" />
|
||||
<None Include="App.config" />
|
||||
<Page Remove="Views\SfBarcode.xaml" />
|
||||
<Compile Remove="Views\SfBarcode.xaml.cs" />
|
||||
<Compile Remove="BarcodeDemosViewModel.cs" />
|
||||
<ApplicationDefinition Include="App.xaml" />
|
||||
<Compile Include="App.xaml.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\common\demos.common.props">
|
||||
</Import>
|
||||
</Project>
|
|
@ -0,0 +1,36 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.0.31410.414
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.barcodedemos.wpf_60", "syncfusion.barcodedemos.wpf_60.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.barcodedemos.wpf_lib_60", "syncfusion.barcodedemos.wpf_lib_60.csproj", "{BDB42436-7107-4D53-80B8-77B2E10C5D3A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_60", "..\common\syncfusion.demoscommon.wpf_lib_60.csproj", "{9EF55CDB-ED67-4A06-BC2A-1F811F791191}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,101 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{504b29d7-59ea-445a-85fe-fdfa8e7a2347}</ProjectGuid>
|
||||
<OutputType>library</OutputType>
|
||||
<RootNamespace>syncfusion.barcodedemos.wpf</RootNamespace>
|
||||
<AssemblyName>syncfusion.barcodedemos.wpf</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.Xaml.Behaviors.Wpf" xmlns="">
|
||||
<HintPath>..\resources\Assembilies\Microsoft.Xaml.Behaviors.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<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.Net.Http" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
|
||||
<PackageReference Include="Syncfusion.SfBarcode.WPF" Version="20.1.0.47"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BarcodeDemosViewModel.cs" />
|
||||
<Compile Include="Views\SfBarcode.xaml.cs">
|
||||
<DependentUpon>SfBarcode.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Page Include="Views\SfBarcode.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_45.csproj">
|
||||
<Project>{fa11ba0a-2b67-4e9b-a0bd-43e01223eb30}</Project>
|
||||
<Name>syncfusion.demoscommon.wpf_lib_45</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\common\demos.common.props" />
|
||||
</Project>
|
|
@ -0,0 +1,28 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.barcodedemos.wpf_lib_45", "syncfusion.barcodedemos.wpf_lib_45.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_45", "..\common\syncfusion.demoscommon.wpf_lib_45.csproj", "{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,99 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{57A26964-0BBA-4BBE-B1DC-7412B8DC10F8}</ProjectGuid>
|
||||
<OutputType>library</OutputType>
|
||||
<RootNamespace>syncfusion.barcodedemos.wpf</RootNamespace>
|
||||
<AssemblyName>syncfusion.barcodedemos.wpf</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.19" />
|
||||
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<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.Net.Http" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
|
||||
<PackageReference Include="Syncfusion.SfBarcode.WPF" Version="20.1.0.47"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BarcodeDemosViewModel.cs" />
|
||||
<Compile Include="Views\SfBarcode.xaml.cs">
|
||||
<DependentUpon>SfBarcode.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Page Include="Views\SfBarcode.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_47.csproj">
|
||||
<Project>{fa11ba0a-2b67-4e9b-a0bd-43e01223eb30}</Project>
|
||||
<Name>syncfusion.demoscommon.wpf_lib_47</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\common\demos.common.props" />
|
||||
</Project>
|
|
@ -0,0 +1,30 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29020.237
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.barcodedemos.wpf_lib_47", "syncfusion.barcodedemos.wpf_lib_47.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_47", "..\common\syncfusion.demoscommon.wpf_lib_47.csproj", "{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,56 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>library</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<UseWPF>true</UseWPF>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<AssemblyName>syncfusion.barcodedemos.wpf</AssemblyName>
|
||||
<RootNamespace>syncfusion.barcodedemos.wpf</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Xml|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="obj\**" />
|
||||
<Compile Remove="obj_45\**" />
|
||||
<Compile Remove="obj_47\**" />
|
||||
<Compile Remove="obj_50\**" />
|
||||
<Compile Remove="obj_60\**" />
|
||||
<EmbeddedResource Remove="obj\**" />
|
||||
<EmbeddedResource Remove="obj_45\**" />
|
||||
<EmbeddedResource Remove="obj_47\**" />
|
||||
<EmbeddedResource Remove="obj_50\**" />
|
||||
<EmbeddedResource Remove="obj_60\**" />
|
||||
<None Remove="obj\**" />
|
||||
<None Remove="obj_45\**" />
|
||||
<None Remove="obj_47\**" />
|
||||
<None Remove="obj_50\**" />
|
||||
<None Remove="obj_60\**" />
|
||||
<Page Remove="obj\**" />
|
||||
<Page Remove="obj_45\**" />
|
||||
<Page Remove="obj_47\**" />
|
||||
<Page Remove="obj_50\**" />
|
||||
<Page Remove="obj_60\**" />
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_50.csproj">
|
||||
<Name>syncfusion.demoscommon.wpf_lib_50</Name>
|
||||
</ProjectReference>
|
||||
<None Remove="Properties\Settings.settings" />
|
||||
<None Include="Properties\Settings.settings" />
|
||||
<None Remove="App.config" />
|
||||
<Compile Remove="App.xaml.cs" />
|
||||
<ApplicationDefinition Remove="App.xaml" />
|
||||
|
||||
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.19" />
|
||||
|
||||
<PackageReference Include="Syncfusion.SfBarcode.WPF" Version="20.1.0.47"/>
|
||||
</ItemGroup>
|
||||
<Import Project="..\common\demos.common.props">
|
||||
</Import>
|
||||
</Project>
|
|
@ -0,0 +1,30 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29020.237
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.barcodedemos.wpf_lib_50", "syncfusion.barcodedemos.wpf_lib_50.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_50", "..\common\syncfusion.demoscommon.wpf_lib_50.csproj", "{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,56 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>library</OutputType>
|
||||
<TargetFramework>net6.0-windows</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<UseWPF>true</UseWPF>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<AssemblyName>syncfusion.barcodedemos.wpf</AssemblyName>
|
||||
<RootNamespace>syncfusion.barcodedemos.wpf</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Xml|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="obj\**" />
|
||||
<Compile Remove="obj_45\**" />
|
||||
<Compile Remove="obj_47\**" />
|
||||
<Compile Remove="obj_50\**" />
|
||||
<Compile Remove="obj_60\**" />
|
||||
<EmbeddedResource Remove="obj\**" />
|
||||
<EmbeddedResource Remove="obj_45\**" />
|
||||
<EmbeddedResource Remove="obj_47\**" />
|
||||
<EmbeddedResource Remove="obj_50\**" />
|
||||
<EmbeddedResource Remove="obj_60\**" />
|
||||
<None Remove="obj\**" />
|
||||
<None Remove="obj_45\**" />
|
||||
<None Remove="obj_47\**" />
|
||||
<None Remove="obj_50\**" />
|
||||
<None Remove="obj_60\**" />
|
||||
<Page Remove="obj\**" />
|
||||
<Page Remove="obj_45\**" />
|
||||
<Page Remove="obj_47\**" />
|
||||
<Page Remove="obj_50\**" />
|
||||
<Page Remove="obj_60\**" />
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_60.csproj">
|
||||
<Name>syncfusion.demoscommon.wpf_lib_60</Name>
|
||||
</ProjectReference>
|
||||
<None Remove="Properties\Settings.settings" />
|
||||
<None Include="Properties\Settings.settings" />
|
||||
<None Remove="App.config" />
|
||||
<Compile Remove="App.xaml.cs" />
|
||||
<ApplicationDefinition Remove="App.xaml" />
|
||||
|
||||
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.19" />
|
||||
|
||||
<PackageReference Include="Syncfusion.SfBarcode.WPF" Version="20.1.0.47"/>
|
||||
</ItemGroup>
|
||||
<Import Project="..\common\demos.common.props">
|
||||
</Import>
|
||||
</Project>
|
|
@ -0,0 +1,30 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.0.31410.414
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.barcodedemos.wpf_lib_60", "syncfusion.barcodedemos.wpf_lib_60.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_60", "..\common\syncfusion.demoscommon.wpf_lib_60.csproj", "{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/>
|
||||
</startup>
|
||||
</configuration>
|
|
@ -0,0 +1,7 @@
|
|||
<Application
|
||||
x:Class="syncfusion.bulletgraphdemos.wpf.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:syncfusion.bulletgraphdemos.wpf">
|
||||
<Application.Resources />
|
||||
</Application>
|
|
@ -0,0 +1,31 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 syncfusion.demoscommon.wpf;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
|
||||
namespace syncfusion.bulletgraphdemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
protected override void OnStartup(StartupEventArgs e)
|
||||
{
|
||||
var window = new MainWindow(new BulletGraphDemosViewModel());
|
||||
window.Show();
|
||||
base.OnStartup(e);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 syncfusion.demoscommon.wpf;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace syncfusion.bulletgraphdemos.wpf
|
||||
{
|
||||
public class BulletGraphDemosViewModel : DemoBrowserViewModel
|
||||
{
|
||||
public override List<ProductDemo> GetDemosDetails()
|
||||
{
|
||||
var productdemos = new List<ProductDemo>();
|
||||
productdemos.Add(new BulletGraphProductDemos());
|
||||
return productdemos;
|
||||
}
|
||||
}
|
||||
|
||||
public class BulletGraphProductDemos : ProductDemo
|
||||
{
|
||||
public BulletGraphProductDemos()
|
||||
{
|
||||
this.Product = "Bullet Graph";
|
||||
this.ProductCategory = "CHARTS";
|
||||
this.Demos = new List<DemoInfo>();
|
||||
this.Demos.Add(new DemoInfo() { SampleName = "Getting Started", GroupName = "BULLET GRAPH", DemoViewType = typeof(GettingStarted), Description= "This sample showcases the bulletgraph control's customization of ticks, labels and caption position." });
|
||||
this.Demos.Add(new DemoInfo() { SampleName = "Bullet Graph Measures", GroupName = "BULLET GRAPH", DemoViewType = typeof(BulletGraphMeasures), Description = "This sample showcases the customization with ticks and labels of the bulletgraph control, comparative and featured measures and customization of binding range stroke." });
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,62 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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.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("syncfusion.bulletgraphdemos.wpf")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Syncfusion Inc.")]
|
||||
[assembly: AssemblyProduct("syncfusion.bulletgraphdemos.wpf")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2001-2022 Syncfusion Inc.")]
|
||||
[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")]
|
|
@ -0,0 +1,70 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace syncfusion.bulletgraphdemos.wpf.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", "16.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 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("syncfusion.bulletgraphdemos.wpf.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,117 @@
|
|||
<?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>
|
|
@ -0,0 +1,33 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace syncfusion.bulletgraphdemos.wpf.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.3.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
|
@ -0,0 +1,177 @@
|
|||
<democommon:DemoControl
|
||||
x:Class="syncfusion.bulletgraphdemos.wpf.BulletGraphMeasures"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:democommon="clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf"
|
||||
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
|
||||
Width="auto"
|
||||
Height="auto"
|
||||
OptionsPosition="Right"
|
||||
OptionsSize="Auto">
|
||||
|
||||
<Grid>
|
||||
<syncfusion:SfBulletGraph
|
||||
x:Name="SfBulletGraph"
|
||||
Margin="5"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
CaptionPosition="Far"
|
||||
ComparativeMeasure="1072"
|
||||
ComparativeMeasureSymbolStrokeThickness="5"
|
||||
FeaturedMeasure="1400"
|
||||
FeaturedMeasureBarStrokeThickness="5"
|
||||
Interval="200"
|
||||
LabelOffset="5"
|
||||
LabelPosition="Below"
|
||||
LabelSize="10"
|
||||
MajorTickSize="13"
|
||||
MajorTickStrokeThickness="1"
|
||||
Maximum="1600"
|
||||
Minimum="0"
|
||||
MinorTickSize="8"
|
||||
MinorTickStrokeThickness="1"
|
||||
MinorTicksPerInterval="3"
|
||||
Orientation="Vertical"
|
||||
QualitativeRangesSize="30"
|
||||
QuantitativeScaleLength="500"
|
||||
ShowToolTip="False"
|
||||
TickPosition="Below">
|
||||
<syncfusion:SfBulletGraph.Caption>
|
||||
<StackPanel Margin="0,0,0,0">
|
||||
<TextBlock
|
||||
Margin="0,0,0,2"
|
||||
HorizontalAlignment="Center"
|
||||
FontSize="12px">
|
||||
CIT Revenue YTD
|
||||
</TextBlock>
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
FontSize="12px">
|
||||
($ millions)
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
</syncfusion:SfBulletGraph.Caption>
|
||||
<syncfusion:SfBulletGraph.QualitativeRanges>
|
||||
<syncfusion:QualitativeRange
|
||||
Name="range1"
|
||||
RangeEnd="700"
|
||||
RangeStroke="#61A301" />
|
||||
<syncfusion:QualitativeRange
|
||||
Name="range2"
|
||||
RangeEnd="1250"
|
||||
RangeStroke="#FCDA21" />
|
||||
<syncfusion:QualitativeRange
|
||||
Name="range3"
|
||||
RangeEnd="1600"
|
||||
RangeStroke="#D61E40" />
|
||||
</syncfusion:SfBulletGraph.QualitativeRanges>
|
||||
</syncfusion:SfBulletGraph>
|
||||
</Grid>
|
||||
|
||||
<democommon:DemoControl.Options>
|
||||
<Grid
|
||||
Width="200"
|
||||
Margin="0,0,10,0"
|
||||
HorizontalAlignment="Left">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<CheckBox
|
||||
Grid.Row="0"
|
||||
Height="24px"
|
||||
Margin="10,5"
|
||||
Content="Bind Range Stroke To Labels"
|
||||
IsChecked="{Binding BindRangeStrokeToLabels, ElementName=SfBulletGraph, Mode=TwoWay}" />
|
||||
|
||||
<CheckBox
|
||||
Grid.Row="1"
|
||||
Height="24px"
|
||||
Margin="10,5"
|
||||
Content="Bind Range Stroke To Ticks"
|
||||
IsChecked="{Binding BindRangeStrokeToTicks, ElementName=SfBulletGraph, Mode=TwoWay}" />
|
||||
|
||||
<CheckBox
|
||||
Grid.Row="2"
|
||||
Height="24px"
|
||||
Margin="10,5"
|
||||
Content="Enable Animation"
|
||||
IsChecked="{Binding EnableAnimation, ElementName=SfBulletGraph, Mode=TwoWay}"
|
||||
Visibility="Collapsed" />
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="3"
|
||||
Height="24px"
|
||||
Margin="10,5,10,0"
|
||||
Text="Featured Measure" />
|
||||
<Slider
|
||||
Grid.Row="4"
|
||||
Height="24px"
|
||||
Margin="10,0,10,5"
|
||||
Maximum="{Binding Maximum, ElementName=SfBulletGraph, Mode=TwoWay}"
|
||||
Minimum="{Binding Minimum, ElementName=SfBulletGraph, Mode=TwoWay}"
|
||||
Value="{Binding FeaturedMeasure, ElementName=SfBulletGraph, Mode=TwoWay}" />
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="5"
|
||||
Height="24px"
|
||||
Margin="10,5,10,0"
|
||||
Text="Comparative Measure" />
|
||||
<Slider
|
||||
Grid.Row="6"
|
||||
Height="24px"
|
||||
Margin="10,0,10,5"
|
||||
Maximum="{Binding Maximum, ElementName=SfBulletGraph, Mode=TwoWay}"
|
||||
Minimum="{Binding Minimum, ElementName=SfBulletGraph, Mode=TwoWay}"
|
||||
Value="{Binding ComparativeMeasure, ElementName=SfBulletGraph, Mode=TwoWay}" />
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="7"
|
||||
Height="24px"
|
||||
Margin="10,10,10,0"
|
||||
Text="Range1 Stroke" />
|
||||
<syncfusion:ColorPicker
|
||||
Grid.Row="8"
|
||||
Height="24px"
|
||||
Margin="10,0,10,10"
|
||||
Brush="{Binding ElementName=range1, Path=RangeStroke, Mode=TwoWay}" />
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="9"
|
||||
Height="24px"
|
||||
Margin="10,10,10,0"
|
||||
Text="Range2 Stroke" />
|
||||
<syncfusion:ColorPicker
|
||||
Grid.Row="10"
|
||||
Height="24px"
|
||||
Margin="10,0,10,10"
|
||||
Brush="{Binding ElementName=range2, Path=RangeStroke, Mode=TwoWay}" />
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="11"
|
||||
Height="24px"
|
||||
Margin="10,10,10,0"
|
||||
Text="Range3 Stroke" />
|
||||
<syncfusion:ColorPicker
|
||||
Grid.Row="12"
|
||||
Height="24px"
|
||||
Margin="10,0,10,10"
|
||||
Brush="{Binding ElementName=range3, Path=RangeStroke, Mode=TwoWay}" />
|
||||
|
||||
</Grid>
|
||||
</democommon:DemoControl.Options>
|
||||
|
||||
</democommon:DemoControl>
|
|
@ -0,0 +1,54 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 syncfusion.demoscommon.wpf;
|
||||
using Syncfusion.SfSkinManager;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
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;
|
||||
|
||||
namespace syncfusion.bulletgraphdemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for BulletGraphMeasures.xaml
|
||||
/// </summary>
|
||||
public partial class BulletGraphMeasures : DemoControl
|
||||
{
|
||||
public BulletGraphMeasures()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public BulletGraphMeasures(string themename) : base(themename)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (SfBulletGraph != null)
|
||||
{
|
||||
SfBulletGraph.Dispose();
|
||||
SfBulletGraph = null;
|
||||
}
|
||||
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,294 @@
|
|||
<democommon:DemoControl
|
||||
x:Class="syncfusion.bulletgraphdemos.wpf.GettingStarted"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:democommon="clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf"
|
||||
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
|
||||
Width="auto"
|
||||
Height="auto"
|
||||
OptionsPosition="Right"
|
||||
OptionsSize="Auto">
|
||||
|
||||
<democommon:DemoControl.Resources>
|
||||
<democommon:EnumDisplayNameConverter x:Key="EnumDisplayNameConverter" />
|
||||
</democommon:DemoControl.Resources>
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="30" />
|
||||
<RowDefinition Height="170" />
|
||||
<RowDefinition Height="170" />
|
||||
<RowDefinition Height="170" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
FontFamily="Segoe UI"
|
||||
FontSize="14px"
|
||||
Text="2005 YTD Actual Vs Budget" />
|
||||
<syncfusion:SfBulletGraph
|
||||
x:Name="SfBulletGraph1"
|
||||
Grid.Row="1"
|
||||
VerticalAlignment="Center"
|
||||
CaptionPosition="{Binding SelectedItem, ElementName=cmb_CaptionPosition, Mode=TwoWay}"
|
||||
ComparativeMeasure="250"
|
||||
ComparativeMeasureSymbolStrokeThickness="5"
|
||||
EnableAnimation="False"
|
||||
FeaturedMeasure="270"
|
||||
FeaturedMeasureBarStrokeThickness="7"
|
||||
FlowDirection="{Binding SelectedItem, ElementName=cmb_FlowDirection, Mode=TwoWay}"
|
||||
Interval="50"
|
||||
LabelOffset="5"
|
||||
LabelPosition="{Binding SelectedItem, ElementName=cmb_LabelPosition, Mode=TwoWay}"
|
||||
LabelSize="10"
|
||||
MajorTickSize="14"
|
||||
MajorTickStrokeThickness="1.5"
|
||||
Maximum="300"
|
||||
Minimum="0"
|
||||
MinorTickSize="8"
|
||||
MinorTickStrokeThickness="1.5"
|
||||
MinorTicksPerInterval="{Binding Value, ElementName=sld_MinorTicksPerInterval, Mode=TwoWay}"
|
||||
Orientation="Horizontal"
|
||||
QualitativeRangesSize="30"
|
||||
QuantitativeScaleLength="450"
|
||||
ShowToolTip="False"
|
||||
TickPosition="{Binding SelectedItem, ElementName=cmb_TickPosition, Mode=TwoWay}">
|
||||
<syncfusion:SfBulletGraph.Caption>
|
||||
<StackPanel Margin="10,0,10,0">
|
||||
<TextBlock
|
||||
Margin="2"
|
||||
HorizontalAlignment="Center"
|
||||
FontSize="12px">
|
||||
Revenue
|
||||
</TextBlock>
|
||||
<TextBlock
|
||||
Margin="2"
|
||||
HorizontalAlignment="Center"
|
||||
FontSize="12px">
|
||||
U.S. $ (1,000s)
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
</syncfusion:SfBulletGraph.Caption>
|
||||
<syncfusion:SfBulletGraph.QualitativeRanges>
|
||||
<syncfusion:QualitativeRange RangeEnd="150" Opacity="0.5" />
|
||||
<syncfusion:QualitativeRange RangeEnd="225" Opacity="0.7" />
|
||||
<syncfusion:QualitativeRange RangeEnd="300" />
|
||||
</syncfusion:SfBulletGraph.QualitativeRanges>
|
||||
</syncfusion:SfBulletGraph>
|
||||
|
||||
<syncfusion:SfBulletGraph
|
||||
x:Name="SfBulletGraph2"
|
||||
Grid.Row="2"
|
||||
VerticalAlignment="Center"
|
||||
CaptionPosition="{Binding SelectedItem, ElementName=cmb_CaptionPosition, Mode=TwoWay}"
|
||||
ComparativeMeasure="30"
|
||||
ComparativeMeasureSymbolStrokeThickness="5"
|
||||
EnableAnimation="False"
|
||||
FeaturedMeasure="45"
|
||||
FeaturedMeasureBarStrokeThickness="7"
|
||||
FlowDirection="{Binding SelectedItem, ElementName=cmb_FlowDirection, Mode=TwoWay}"
|
||||
Interval="25"
|
||||
LabelOffset="5"
|
||||
LabelPosition="{Binding SelectedItem, ElementName=cmb_LabelPosition, Mode=TwoWay}"
|
||||
LabelSize="10"
|
||||
MajorTickSize="14"
|
||||
MajorTickStrokeThickness="1.5"
|
||||
Maximum="150"
|
||||
Minimum="0"
|
||||
MinorTickSize="8"
|
||||
MinorTickStrokeThickness="1.5"
|
||||
MinorTicksPerInterval="{Binding Value, ElementName=sld_MinorTicksPerInterval, Mode=TwoWay}"
|
||||
Orientation="Horizontal"
|
||||
QualitativeRangesSize="30"
|
||||
QuantitativeScaleLength="450"
|
||||
ShowToolTip="False"
|
||||
TickPosition="{Binding SelectedItem, ElementName=cmb_TickPosition, Mode=TwoWay}">
|
||||
<syncfusion:SfBulletGraph.Caption>
|
||||
<StackPanel Margin="10,0,10,0">
|
||||
<TextBlock
|
||||
Margin="2"
|
||||
HorizontalAlignment="Center"
|
||||
FontSize="12px">
|
||||
Expenses
|
||||
</TextBlock>
|
||||
<TextBlock
|
||||
Margin="2"
|
||||
HorizontalAlignment="Center"
|
||||
FontSize="12px">
|
||||
U.S. $ (1,000s)
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
</syncfusion:SfBulletGraph.Caption>
|
||||
<syncfusion:SfBulletGraph.QualitativeRanges>
|
||||
<syncfusion:QualitativeRange RangeEnd="40" Opacity="0.5" />
|
||||
<syncfusion:QualitativeRange RangeEnd="80" Opacity="0.7" />
|
||||
<syncfusion:QualitativeRange RangeEnd="150" />
|
||||
</syncfusion:SfBulletGraph.QualitativeRanges>
|
||||
</syncfusion:SfBulletGraph>
|
||||
|
||||
<syncfusion:SfBulletGraph
|
||||
x:Name="SfBulletGraph3"
|
||||
Grid.Row="3"
|
||||
VerticalAlignment="Center"
|
||||
CaptionPosition="{Binding SelectedItem, ElementName=cmb_CaptionPosition, Mode=TwoWay}"
|
||||
ComparativeMeasure="27"
|
||||
ComparativeMeasureSymbolStrokeThickness="5"
|
||||
EnableAnimation="False"
|
||||
FeaturedMeasure="22.5"
|
||||
FeaturedMeasureBarStrokeThickness="7"
|
||||
FlowDirection="{Binding SelectedItem, ElementName=cmb_FlowDirection, Mode=TwoWay}"
|
||||
Interval="5"
|
||||
LabelOffset="5"
|
||||
LabelPosition="{Binding SelectedItem, ElementName=cmb_LabelPosition, Mode=TwoWay}"
|
||||
LabelSize="10"
|
||||
MajorTickSize="14"
|
||||
MajorTickStrokeThickness="1.5"
|
||||
Maximum="30"
|
||||
Minimum="0"
|
||||
MinorTickSize="8"
|
||||
MinorTickStrokeThickness="1.5"
|
||||
MinorTicksPerInterval="{Binding Value, ElementName=sld_MinorTicksPerInterval, Mode=TwoWay}"
|
||||
Orientation="Horizontal"
|
||||
QualitativeRangesSize="30"
|
||||
QuantitativeScaleLength="450"
|
||||
ShowToolTip="False"
|
||||
TickPosition="{Binding SelectedItem, ElementName=cmb_TickPosition, Mode=TwoWay}"
|
||||
Visibility="Visible">
|
||||
<syncfusion:SfBulletGraph.Caption>
|
||||
<StackPanel Margin="10,0,10,0">
|
||||
<TextBlock
|
||||
Margin="2"
|
||||
HorizontalAlignment="Center"
|
||||
FontSize="12px">
|
||||
Profit
|
||||
</TextBlock>
|
||||
<TextBlock
|
||||
Margin="2"
|
||||
HorizontalAlignment="Center"
|
||||
FontSize="12px">
|
||||
Percentage (%)
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
</syncfusion:SfBulletGraph.Caption>
|
||||
<syncfusion:SfBulletGraph.QualitativeRanges>
|
||||
<syncfusion:QualitativeRange RangeEnd="20" Opacity="0.5" />
|
||||
<syncfusion:QualitativeRange RangeEnd="25" Opacity="0.7" />
|
||||
<syncfusion:QualitativeRange RangeEnd="30" />
|
||||
</syncfusion:SfBulletGraph.QualitativeRanges>
|
||||
</syncfusion:SfBulletGraph>
|
||||
|
||||
</Grid>
|
||||
|
||||
<democommon:DemoControl.Options>
|
||||
<Grid
|
||||
Width="200"
|
||||
Margin="0,0,10,0"
|
||||
HorizontalAlignment="Left">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="0"
|
||||
Height="24px"
|
||||
Margin="5,0,0,0"
|
||||
Text="Flow Direction" />
|
||||
<ComboBox
|
||||
x:Name="cmb_FlowDirection"
|
||||
Grid.Row="1"
|
||||
Height="24px"
|
||||
Margin="5,0,0,10"
|
||||
ItemsSource="{democommon:EnumValuesExtension Type=FlowDirection}"
|
||||
SelectedIndex="0">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Converter={StaticResource EnumDisplayNameConverter}}" />
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="2"
|
||||
Height="24px"
|
||||
Margin="5,10,0,0"
|
||||
Text="Label Position" />
|
||||
<ComboBox
|
||||
x:Name="cmb_LabelPosition"
|
||||
Grid.Row="3"
|
||||
Height="24px"
|
||||
Margin="5,0,0,10"
|
||||
ItemsSource="{democommon:EnumValuesExtension Type=syncfusion:BulletGraphLabelsPosition}"
|
||||
SelectedIndex="1">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Converter={StaticResource EnumDisplayNameConverter}}" />
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="4"
|
||||
Height="24px"
|
||||
Margin="5,10,0,0"
|
||||
Text="Tick Position" />
|
||||
<ComboBox
|
||||
x:Name="cmb_TickPosition"
|
||||
Grid.Row="5"
|
||||
Height="24px"
|
||||
Margin="5,0,0,10"
|
||||
ItemsSource="{democommon:EnumValuesExtension Type=syncfusion:BulletGraphTicksPosition}"
|
||||
SelectedIndex="1">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Converter={StaticResource EnumDisplayNameConverter}}" />
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="6"
|
||||
Height="24px"
|
||||
Margin="5,10,0,0"
|
||||
Text="Caption Position" />
|
||||
<ComboBox
|
||||
x:Name="cmb_CaptionPosition"
|
||||
Grid.Row="7"
|
||||
Height="24px"
|
||||
Margin="5,0,0,10"
|
||||
ItemsSource="{democommon:EnumValuesExtension Type=syncfusion:BulletGraphCaptionPosition}"
|
||||
SelectedIndex="0">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Converter={StaticResource EnumDisplayNameConverter}}" />
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="8"
|
||||
Height="24px"
|
||||
Margin="5,10,0,0"
|
||||
Text="Minor Ticks Per Interval" />
|
||||
<Slider
|
||||
Name="sld_MinorTicksPerInterval"
|
||||
Grid.Row="9"
|
||||
Height="24px"
|
||||
Margin="5,0,0,10"
|
||||
Maximum="5"
|
||||
Minimum="0"
|
||||
Value="3" />
|
||||
|
||||
</Grid>
|
||||
</democommon:DemoControl.Options>
|
||||
</democommon:DemoControl>
|
|
@ -0,0 +1,59 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 syncfusion.demoscommon.wpf;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using Syncfusion.SfSkinManager;
|
||||
|
||||
|
||||
namespace syncfusion.bulletgraphdemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for GettingStarted.xaml
|
||||
/// </summary>
|
||||
public partial class GettingStarted : DemoControl
|
||||
{
|
||||
public GettingStarted()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public GettingStarted(string themename) : base(themename)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (SfBulletGraph1 != null)
|
||||
{
|
||||
SfBulletGraph1.Dispose();
|
||||
SfBulletGraph1 = null;
|
||||
}
|
||||
|
||||
if (SfBulletGraph2 != null)
|
||||
{
|
||||
SfBulletGraph2.Dispose();
|
||||
SfBulletGraph2 = null;
|
||||
}
|
||||
|
||||
if (SfBulletGraph3 != null)
|
||||
{
|
||||
SfBulletGraph3.Dispose();
|
||||
SfBulletGraph3 = null;
|
||||
}
|
||||
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Microsoft.Xaml.Behaviors.Wpf" version="1.1.19" targetFramework="net47" />
|
||||
</packages>
|
|
@ -0,0 +1,105 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{ffbd99e7-583f-46d5-b544-3ac4ce0bc5f9}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>syncfusion.bulletgraphdemos.wpf</RootNamespace>
|
||||
<AssemblyName>syncfusion.bulletgraphdemos.wpfapplication</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.SfBulletGraph.WPF">
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<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.Net.Http" />
|
||||
<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="App.xaml.cs">
|
||||
<DependentUpon>App.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>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_45.csproj">
|
||||
<Project>{9ef55cdb-ed67-4a06-bc2a-1f811f791191}</Project>
|
||||
<Name>syncfusion.demoscommon.wpf_lib_45</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="syncfusion.bulletgraphdemos.wpf_lib_45.csproj">
|
||||
<Project>{bdb42436-7107-4d53-80b8-77b2e10c5d3a}</Project>
|
||||
<Name>syncfusion.bulletgraphdemos.wpf_lib_45</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\common\demos.common.props" />
|
||||
</Project>
|
|
@ -0,0 +1,34 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.bulletgraphdemos.wpf_45", "syncfusion.bulletgraphdemos.wpf_45.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.bulletgraphdemos.wpf_lib_45", "syncfusion.bulletgraphdemos.wpf_lib_45.csproj", "{BDB42436-7107-4D53-80B8-77B2E10C5D3A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_45", "..\common\syncfusion.demoscommon.wpf_lib_45.csproj", "{9EF55CDB-ED67-4A06-BC2A-1F811F791191}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,105 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>syncfusion.bulletgraphdemos.wpf</RootNamespace>
|
||||
<AssemblyName>syncfusion.bulletgraphdemos.wpfapplication</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.SfBulletGraph.WPF">
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<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.Net.Http" />
|
||||
<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="App.xaml.cs">
|
||||
<DependentUpon>App.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>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_47.csproj">
|
||||
<Project>{9ef55cdb-ed67-4a06-bc2a-1f811f791191}</Project>
|
||||
<Name>syncfusion.demoscommon.wpf_lib_47</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="syncfusion.bulletgraphdemos.wpf_lib_47.csproj">
|
||||
<Project>{bdb42436-7107-4d53-80b8-77b2e10c5d3a}</Project>
|
||||
<Name>syncfusion.bulletgraphdemos.wpf_lib_47</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\common\demos.common.props" />
|
||||
</Project>
|
|
@ -0,0 +1,37 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29324.140
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.bulletgraphdemos.wpf_47", "syncfusion.bulletgraphdemos.wpf_47.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.bulletgraphdemos.wpf_lib_47", "syncfusion.bulletgraphdemos.wpf_lib_47.csproj", "{BDB42436-7107-4D53-80B8-77B2E10C5D3A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_47", "..\common\syncfusion.demoscommon.wpf_lib_47.csproj", "{9EF55CDB-ED67-4A06-BC2A-1F811F791191}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,68 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<UseWPF>true</UseWPF>
|
||||
<EnableDefaultEmbeddedResourceItems>False</EnableDefaultEmbeddedResourceItems>
|
||||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<AssemblyName>syncfusion.bulletgraphdemos.wpfapplication</AssemblyName>
|
||||
<RootNamespace>syncfusion.bulletgraphdemos.wpf</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Xml|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="obj\**" />
|
||||
<Compile Remove="obj_45\**" />
|
||||
<Compile Remove="obj_47\**" />
|
||||
<Compile Remove="obj_50\**" />
|
||||
<Compile Remove="obj_60\**" />
|
||||
<EmbeddedResource Remove="obj\**" />
|
||||
<EmbeddedResource Remove="obj_45\**" />
|
||||
<EmbeddedResource Remove="obj_47\**" />
|
||||
<EmbeddedResource Remove="obj_50\**" />
|
||||
<EmbeddedResource Remove="obj_60\**" />
|
||||
<None Remove="obj\**" />
|
||||
<None Remove="obj_45\**" />
|
||||
<None Remove="obj_47\**" />
|
||||
<None Remove="obj_50\**" />
|
||||
<None Remove="obj_60\**" />
|
||||
<Page Remove="obj\**" />
|
||||
<Page Remove="obj_45\**" />
|
||||
<Page Remove="obj_47\**" />
|
||||
<Page Remove="obj_50\**" />
|
||||
<Page Remove="obj_60\**" />
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_50.csproj">
|
||||
<Name>syncfusion.demoscommon.wpf_lib_50</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="syncfusion.bulletgraphdemos.wpf_lib_50.csproj">
|
||||
<Name>syncfusion.bulletgraphdemos.wpf_lib_50</Name>
|
||||
</ProjectReference>
|
||||
<None Remove="Properties\Settings.settings" />
|
||||
<None Include="Properties\Settings.settings" />
|
||||
<None Remove="packages.config" />
|
||||
<None Include="packages.config" />
|
||||
<None Remove="App.config" />
|
||||
<None Include="App.config" />
|
||||
<Page Remove="Views\BulletGraphMeasures.xaml" />
|
||||
<Compile Remove="Views\BulletGraphMeasures.xaml.cs" />
|
||||
<Page Remove="Views\GettingStarted.xaml" />
|
||||
<Compile Remove="Views\GettingStarted.xaml.cs" />
|
||||
<Compile Remove="BulletGraphDemosViewModel.cs" />
|
||||
<ApplicationDefinition Include="App.xaml" />
|
||||
<Compile Include="App.xaml.cs" />
|
||||
<Reference Include="Syncfusion.SfBulletGraph.WPF">
|
||||
<HintPath>$(SyncfusionInstallLocation)\precompiledassemblies\net5.0\Syncfusion.SfBulletGraph.WPF.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<Import Project="..\common\demos.common.props">
|
||||
</Import>
|
||||
</Project>
|
|
@ -0,0 +1,36 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29020.237
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.bulletgraphdemos.wpf_50", "syncfusion.bulletgraphdemos.wpf_50.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.bulletgraphdemos.wpf_lib_50", "syncfusion.bulletgraphdemos.wpf_lib_50.csproj", "{BDB42436-7107-4D53-80B8-77B2E10C5D3A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_50", "..\common\syncfusion.demoscommon.wpf_lib_50.csproj", "{9EF55CDB-ED67-4A06-BC2A-1F811F791191}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,68 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net6.0-windows</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<UseWPF>true</UseWPF>
|
||||
<EnableDefaultEmbeddedResourceItems>False</EnableDefaultEmbeddedResourceItems>
|
||||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<AssemblyName>syncfusion.bulletgraphdemos.wpfapplication</AssemblyName>
|
||||
<RootNamespace>syncfusion.bulletgraphdemos.wpf</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Xml|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="obj\**" />
|
||||
<Compile Remove="obj_45\**" />
|
||||
<Compile Remove="obj_47\**" />
|
||||
<Compile Remove="obj_50\**" />
|
||||
<Compile Remove="obj_60\**" />
|
||||
<EmbeddedResource Remove="obj\**" />
|
||||
<EmbeddedResource Remove="obj_45\**" />
|
||||
<EmbeddedResource Remove="obj_47\**" />
|
||||
<EmbeddedResource Remove="obj_50\**" />
|
||||
<EmbeddedResource Remove="obj_60\**" />
|
||||
<None Remove="obj\**" />
|
||||
<None Remove="obj_45\**" />
|
||||
<None Remove="obj_47\**" />
|
||||
<None Remove="obj_50\**" />
|
||||
<None Remove="obj_60\**" />
|
||||
<Page Remove="obj\**" />
|
||||
<Page Remove="obj_45\**" />
|
||||
<Page Remove="obj_47\**" />
|
||||
<Page Remove="obj_50\**" />
|
||||
<Page Remove="obj_60\**" />
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_60.csproj">
|
||||
<Name>syncfusion.demoscommon.wpf_lib_60</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="syncfusion.bulletgraphdemos.wpf_lib_60.csproj">
|
||||
<Name>syncfusion.bulletgraphdemos.wpf_lib_60</Name>
|
||||
</ProjectReference>
|
||||
<None Remove="Properties\Settings.settings" />
|
||||
<None Include="Properties\Settings.settings" />
|
||||
<None Remove="packages.config" />
|
||||
<None Include="packages.config" />
|
||||
<None Remove="App.config" />
|
||||
<None Include="App.config" />
|
||||
<Page Remove="Views\BulletGraphMeasures.xaml" />
|
||||
<Compile Remove="Views\BulletGraphMeasures.xaml.cs" />
|
||||
<Page Remove="Views\GettingStarted.xaml" />
|
||||
<Compile Remove="Views\GettingStarted.xaml.cs" />
|
||||
<Compile Remove="BulletGraphDemosViewModel.cs" />
|
||||
<ApplicationDefinition Include="App.xaml" />
|
||||
<Compile Include="App.xaml.cs" />
|
||||
<Reference Include="Syncfusion.SfBulletGraph.WPF">
|
||||
<HintPath>$(SyncfusionInstallLocation)\precompiledassemblies\net5.0\Syncfusion.SfBulletGraph.WPF.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<Import Project="..\common\demos.common.props">
|
||||
</Import>
|
||||
</Project>
|
|
@ -0,0 +1,36 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.0.31410.414
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.bulletgraphdemos.wpf_60", "syncfusion.bulletgraphdemos.wpf_60.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.bulletgraphdemos.wpf_lib_60", "syncfusion.bulletgraphdemos.wpf_lib_60.csproj", "{BDB42436-7107-4D53-80B8-77B2E10C5D3A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_60", "..\common\syncfusion.demoscommon.wpf_lib_60.csproj", "{9EF55CDB-ED67-4A06-BC2A-1F811F791191}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BDB42436-7107-4D53-80B8-77B2E10C5D3A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,113 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{7ee47023-af22-4aea-b8dd-ae6a0a957017}</ProjectGuid>
|
||||
<OutputType>library</OutputType>
|
||||
<RootNamespace>syncfusion.bulletgraphdemos.wpf</RootNamespace>
|
||||
<AssemblyName>syncfusion.bulletgraphdemos.wpf</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.Xaml.Behaviors.Wpf" xmlns="">
|
||||
<HintPath>..\resources\Assembilies\Microsoft.Xaml.Behaviors.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<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.Net.Http" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
|
||||
<PackageReference Include="Syncfusion.SfBulletGraph.WPF" Version="20.1.0.47"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BulletGraphDemosViewModel.cs" />
|
||||
<Compile Include="Views\BulletGraphMeasures.xaml.cs">
|
||||
<DependentUpon>BulletGraphMeasures.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Views\GettingStarted.xaml.cs">
|
||||
<DependentUpon>GettingStarted.xaml</DependentUpon>
|
||||
</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>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Page Include="Views\BulletGraphMeasures.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Views\GettingStarted.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_45.csproj">
|
||||
<Project>{fa11ba0a-2b67-4e9b-a0bd-43e01223eb30}</Project>
|
||||
<Name>syncfusion.demoscommon.wpf_lib_45</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\common\demos.common.props" />
|
||||
</Project>
|
|
@ -0,0 +1,28 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.bulletgraphdemos.wpf_lib_45", "syncfusion.bulletgraphdemos.wpf_lib_45.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_45", "..\common\syncfusion.demoscommon.wpf_lib_45.csproj", "{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,111 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{BDB42436-7107-4D53-80B8-77B2E10C5D3A}</ProjectGuid>
|
||||
<OutputType>library</OutputType>
|
||||
<RootNamespace>syncfusion.bulletgraphdemos.wpf</RootNamespace>
|
||||
<AssemblyName>syncfusion.bulletgraphdemos.wpf</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.19" />
|
||||
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<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.Net.Http" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
|
||||
<PackageReference Include="Syncfusion.SfBulletGraph.WPF" Version="20.1.0.47"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BulletGraphDemosViewModel.cs" />
|
||||
<Compile Include="Views\BulletGraphMeasures.xaml.cs">
|
||||
<DependentUpon>BulletGraphMeasures.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Views\GettingStarted.xaml.cs">
|
||||
<DependentUpon>GettingStarted.xaml</DependentUpon>
|
||||
</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>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Page Include="Views\BulletGraphMeasures.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Views\GettingStarted.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_47.csproj">
|
||||
<Project>{fa11ba0a-2b67-4e9b-a0bd-43e01223eb30}</Project>
|
||||
<Name>syncfusion.demoscommon.wpf_lib_47</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\common\demos.common.props" />
|
||||
</Project>
|
|
@ -0,0 +1,30 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29020.237
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.bulletgraphdemos.wpf_lib_47", "syncfusion.bulletgraphdemos.wpf_lib_47.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_47", "..\common\syncfusion.demoscommon.wpf_lib_47.csproj", "{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,58 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>library</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<UseWPF>true</UseWPF>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<AssemblyName>syncfusion.bulletgraphdemos.wpf</AssemblyName>
|
||||
<RootNamespace>syncfusion.bulletgraphdemos.wpf</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Xml|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="obj\**" />
|
||||
<Compile Remove="obj_45\**" />
|
||||
<Compile Remove="obj_47\**" />
|
||||
<Compile Remove="obj_50\**" />
|
||||
<Compile Remove="obj_60\**" />
|
||||
<EmbeddedResource Remove="obj\**" />
|
||||
<EmbeddedResource Remove="obj_45\**" />
|
||||
<EmbeddedResource Remove="obj_47\**" />
|
||||
<EmbeddedResource Remove="obj_50\**" />
|
||||
<EmbeddedResource Remove="obj_60\**" />
|
||||
<None Remove="obj\**" />
|
||||
<None Remove="obj_45\**" />
|
||||
<None Remove="obj_47\**" />
|
||||
<None Remove="obj_50\**" />
|
||||
<None Remove="obj_60\**" />
|
||||
<Page Remove="obj\**" />
|
||||
<Page Remove="obj_45\**" />
|
||||
<Page Remove="obj_47\**" />
|
||||
<Page Remove="obj_50\**" />
|
||||
<Page Remove="obj_60\**" />
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_50.csproj">
|
||||
<Name>syncfusion.demoscommon.wpf_lib_50</Name>
|
||||
</ProjectReference>
|
||||
<None Remove="Properties\Settings.settings" />
|
||||
<None Include="Properties\Settings.settings" />
|
||||
<None Remove="packages.config" />
|
||||
<None Include="packages.config" />
|
||||
<None Remove="App.config" />
|
||||
<Compile Remove="App.xaml.cs" />
|
||||
<ApplicationDefinition Remove="App.xaml" />
|
||||
|
||||
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.19" />
|
||||
|
||||
<PackageReference Include="Syncfusion.SfBulletGraph.WPF" Version="20.1.0.47"/>
|
||||
</ItemGroup>
|
||||
<Import Project="..\common\demos.common.props">
|
||||
</Import>
|
||||
</Project>
|
|
@ -0,0 +1,30 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29020.237
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.bulletgraphdemos.wpf_lib_50", "syncfusion.bulletgraphdemos.wpf_lib_50.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_50", "..\common\syncfusion.demoscommon.wpf_lib_50.csproj", "{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,58 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>library</OutputType>
|
||||
<TargetFramework>net6.0-windows</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<UseWPF>true</UseWPF>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<AssemblyName>syncfusion.bulletgraphdemos.wpf</AssemblyName>
|
||||
<RootNamespace>syncfusion.bulletgraphdemos.wpf</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Xml|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="obj\**" />
|
||||
<Compile Remove="obj_45\**" />
|
||||
<Compile Remove="obj_47\**" />
|
||||
<Compile Remove="obj_50\**" />
|
||||
<Compile Remove="obj_60\**" />
|
||||
<EmbeddedResource Remove="obj\**" />
|
||||
<EmbeddedResource Remove="obj_45\**" />
|
||||
<EmbeddedResource Remove="obj_47\**" />
|
||||
<EmbeddedResource Remove="obj_50\**" />
|
||||
<EmbeddedResource Remove="obj_60\**" />
|
||||
<None Remove="obj\**" />
|
||||
<None Remove="obj_45\**" />
|
||||
<None Remove="obj_47\**" />
|
||||
<None Remove="obj_50\**" />
|
||||
<None Remove="obj_60\**" />
|
||||
<Page Remove="obj\**" />
|
||||
<Page Remove="obj_45\**" />
|
||||
<Page Remove="obj_47\**" />
|
||||
<Page Remove="obj_50\**" />
|
||||
<Page Remove="obj_60\**" />
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_60.csproj">
|
||||
<Name>syncfusion.demoscommon.wpf_lib_60</Name>
|
||||
</ProjectReference>
|
||||
<None Remove="Properties\Settings.settings" />
|
||||
<None Include="Properties\Settings.settings" />
|
||||
<None Remove="packages.config" />
|
||||
<None Include="packages.config" />
|
||||
<None Remove="App.config" />
|
||||
<Compile Remove="App.xaml.cs" />
|
||||
<ApplicationDefinition Remove="App.xaml" />
|
||||
|
||||
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.19" />
|
||||
|
||||
<PackageReference Include="Syncfusion.SfBulletGraph.WPF" Version="20.1.0.47"/>
|
||||
</ItemGroup>
|
||||
<Import Project="..\common\demos.common.props">
|
||||
</Import>
|
||||
</Project>
|
|
@ -0,0 +1,30 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.0.31410.414
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.bulletgraphdemos.wpf_lib_60", "syncfusion.bulletgraphdemos.wpf_lib_60.csproj", "{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_60", "..\common\syncfusion.demoscommon.wpf_lib_60.csproj", "{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FA11BA0A-2B67-4E9B-A0BD-43E01223EB30}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {F63209FD-3F26-4196-A153-EF3024474E2C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/>
|
||||
</startup>
|
||||
</configuration>
|
|
@ -0,0 +1,8 @@
|
|||
<Application x:Class="syncfusion.calculatedemos.wpf.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:syncfusion.calculatedemos.wpf">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
</Application>
|
|
@ -0,0 +1,32 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 syncfusion.demoscommon.wpf;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
|
||||
protected override void OnStartup(StartupEventArgs e)
|
||||
{
|
||||
var window = new MainWindow(new CalculateDemosViewModel());
|
||||
window.Show();
|
||||
base.OnStartup(e);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,350 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 Microsoft.Xaml.Behaviors;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
internal class SelectionBehavior : Behavior<Selector>
|
||||
{
|
||||
private GettingStartedViewModel viewModel;
|
||||
|
||||
#region Overrides
|
||||
|
||||
protected override void OnAttached()
|
||||
{
|
||||
base.OnAttached();
|
||||
this.viewModel = (AssociatedObject.DataContext as GettingStartedViewModel);
|
||||
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
|
||||
}
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 syncfusion.demoscommon.wpf;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
public class CalculateDemosViewModel: DemoBrowserViewModel
|
||||
{
|
||||
public override List<ProductDemo> GetDemosDetails()
|
||||
{
|
||||
var productdemos = new List<ProductDemo>();
|
||||
productdemos.Add(new CalculatorProductDemos());
|
||||
return productdemos;
|
||||
}
|
||||
}
|
||||
|
||||
public class CalculatorProductDemos : ProductDemo
|
||||
{
|
||||
public CalculatorProductDemos()
|
||||
{
|
||||
this.Product = "Calculate";
|
||||
this.ProductCategory = "MISCELLANEOUS";
|
||||
this.Demos = new List<DemoInfo>();
|
||||
|
||||
this.Demos.Add(new DemoInfo() { SampleName = "Array Calculation", GroupName = "PRODUCT SHOWCASE", Description = "This sample illustrates how to add calculation support to a double array by wrapping the array in a class that implements the ICalcData interface.", DemoViewType = typeof(ArrayCalculationDemo) });
|
||||
this.Demos.Add(new DemoInfo() { SampleName = "Function Library", GroupName = "GETTING STARTED", Description = "This sample explains about different formulas supported by CalcQuick objects. The following displays the sample output image.", DemoViewType = typeof(GettingStarted) });
|
||||
this.Demos.Add(new DemoInfo() { SampleName = "CalcQuick", GroupName = "CALCQUICK", Description = "This sample illustrates how to quickly add calculations support for usercontrol or controls on an application.", DemoViewType = typeof(CalcQuickDemo) });
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,173 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 Syncfusion.Calculate;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// A class that allows you to quickly add calculation support for controls on a form, or usercontrol.
|
||||
/// </summary>
|
||||
public class CalcQuick : CalcQuickBase
|
||||
{
|
||||
#region code that handle Controls as key objects
|
||||
|
||||
/// <summary>
|
||||
/// A Virtual method that registers an array of controls as formula objects in this CalcQuick instance.
|
||||
/// </summary>
|
||||
/// <param name="controls">The control array.</param>
|
||||
public virtual void RegisterControlArray(Control[] controls)
|
||||
{
|
||||
foreach (Control c in controls)
|
||||
{
|
||||
RegisterControl(c);
|
||||
}
|
||||
|
||||
base.AutoCalc = true;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Have a textbox to handle the textchanged event
|
||||
/// </summary>
|
||||
public event TextChangedEventHandler TextChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Used to register a control as a calculation object in this CalcQuick instance.
|
||||
/// </summary>
|
||||
/// <param name="c">The control to register.</param>
|
||||
/// <remarks>
|
||||
/// To reference this calculation object from another calculation in this CalcQuick
|
||||
/// object, you use the Control.Name string. The value of this calculation object is
|
||||
/// bound to the Control.Text property.
|
||||
/// </remarks>
|
||||
protected virtual void RegisterControl(Control c)
|
||||
{
|
||||
////Subscribe once.
|
||||
if (this.NameToControlMap.Count == 0)
|
||||
{
|
||||
this.ValueSet += new QuickValueSetEventHandler(CalcQuickValueSet);
|
||||
}
|
||||
|
||||
if (this.ControlModifiedFlags.ContainsKey(c) ||
|
||||
this.NameToControlMap.ContainsKey(c.Name))
|
||||
{
|
||||
throw new ArgumentException(string.Format(this.Engine.FormulaErrorStrings[this.Engine.already_registered], c.Name));
|
||||
}
|
||||
|
||||
this.ControlModifiedFlags.Add(c, false);
|
||||
NameToControlMap.Add(c.Name.ToUpper(), c);
|
||||
|
||||
if (c.GetType() == typeof(ComboBox))
|
||||
{
|
||||
//There we will raise the textchanged event of the combobox
|
||||
(c as ComboBox).SelectionChanged += new SelectionChangedEventHandler(CalcQuick_SelectionChanged);
|
||||
}
|
||||
else if (c.GetType() == typeof(TextBox))
|
||||
{
|
||||
//There we will raise the textchanged event of the combobox
|
||||
(c as TextBox).TextChanged += new TextChangedEventHandler(tb_TextChanged);
|
||||
}
|
||||
c.MouseLeave += new MouseEventHandler(CalcQuick_MouseLeave);
|
||||
}
|
||||
|
||||
void CalcQuick_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
if (sender != null && !this.ignoreChanges
|
||||
&& this.ControlModifiedFlags.ContainsKey(sender))
|
||||
{
|
||||
this.ControlModifiedFlags[sender] = true;
|
||||
}
|
||||
}
|
||||
|
||||
void CalcQuick_MouseLeave(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (sender != null)
|
||||
{
|
||||
Control c = sender as Control;
|
||||
if (this.ControlModifiedFlags.ContainsKey(c))
|
||||
{
|
||||
if ((bool)this.ControlModifiedFlags[sender])
|
||||
{
|
||||
if (c.GetType() == typeof(TextBox))
|
||||
this[c.Name] = (c as TextBox).Text;
|
||||
else if (c.GetType() == typeof(ComboBox))
|
||||
this[c.Name] = (c as ComboBox).Text;
|
||||
////triggers a possible recalculate
|
||||
this.ControlModifiedFlags[c] = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void tb_TextChanged(object sender, TextChangedEventArgs e)
|
||||
{
|
||||
//Just raise the textChanged Event of the combo if something it is
|
||||
//subscribed to our event
|
||||
if (TextChanged != null)
|
||||
{
|
||||
TextChanged(sender, e);
|
||||
}
|
||||
if (sender != null && !this.ignoreChanges
|
||||
&& this.ControlModifiedFlags.ContainsKey(sender))
|
||||
{
|
||||
this.ControlModifiedFlags[sender] = true;
|
||||
}
|
||||
}
|
||||
|
||||
////Used to autoset the value back to the control.
|
||||
private void CalcQuickValueSet(object sender, QuickValueSetEventArgs e)
|
||||
{
|
||||
if (NameToControlMap.ContainsKey(e.Key))
|
||||
{
|
||||
Control c = this.NameToControlMap[e.Key] as Control;
|
||||
if (c.GetType() == typeof(TextBox))
|
||||
(c as TextBox).Text = e.Value;
|
||||
else if (c.GetType() == typeof(ComboBox))
|
||||
(c as ComboBox).Text = e.Value;
|
||||
}
|
||||
}
|
||||
|
||||
////When using controls as keys, this event is
|
||||
////used to mark a control as modified.
|
||||
private void control_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (sender != null && !this.ignoreChanges
|
||||
&& this.ControlModifiedFlags.ContainsKey(sender))
|
||||
{
|
||||
this.ControlModifiedFlags[sender] = true;
|
||||
}
|
||||
}
|
||||
|
||||
////When using controls as keys, this event is
|
||||
////used to trigger an autochange if needed.
|
||||
private void control_Leave(object sender, EventArgs e)
|
||||
{
|
||||
if (sender != null)
|
||||
{
|
||||
Control c = sender as Control;
|
||||
if (this.ControlModifiedFlags.ContainsKey(c))
|
||||
{
|
||||
if ((bool)this.ControlModifiedFlags[sender])
|
||||
{
|
||||
this[c.Name] = c.DataContext.ToString(); ////triggers a possible recalculate
|
||||
this.ControlModifiedFlags[c] = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,168 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022
|
||||
//
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 Syncfusion.Calculate;
|
||||
using System;
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
/// <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
|
||||
}
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
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
|
||||
}
|
||||
}
|
|
@ -0,0 +1,373 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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.ComponentModel;
|
||||
using System.Windows;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Windows.Input;
|
||||
using Syncfusion.Calculate;
|
||||
using syncfusion.demoscommon.wpf;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
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 DelegateCommand<object>(ExecuteGenerateCommand);
|
||||
return Gencmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
Gencmd = value;
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand Setcmd;
|
||||
public ICommand SetCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Setcmd == null)
|
||||
Setcmd = new DelegateCommand<object>(ExecuteSetCommand);
|
||||
return Setcmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
Setcmd = value;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
#region Command Execution
|
||||
private void ExecuteSetCommand(object param)
|
||||
{
|
||||
if (NRows == 0)
|
||||
{
|
||||
MessageBox.Show("Generate data first.");
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
int row = Row;
|
||||
int col = Col;
|
||||
string val = CalcValue.ToString();
|
||||
if (this.nRows != row && this.nCols != col)
|
||||
{
|
||||
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");
|
||||
}
|
||||
|
||||
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 ExecuteGenerateCommand(object param)
|
||||
{
|
||||
//create some sample data
|
||||
NRows = r.Next(10) + 2;
|
||||
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
|
||||
data = new ArrayCalcData(a);
|
||||
|
||||
//create an CalcEngine object using this ArrayCalcData object
|
||||
CalcEngine engine = new CalcEngine(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 INotifyPropertyChanged Contents
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
public void OnpropertyChanged(string propertyname)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
{
|
||||
PropertyChanged(this, new PropertyChangedEventArgs(propertyname));
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,144 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 syncfusion.demoscommon.wpf;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
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 DelegateCommand<object>(ExecuteAlegbraicCommand);
|
||||
return algebraicCmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
algebraicCmd = value;
|
||||
}
|
||||
}
|
||||
public ICommand AngelCmd
|
||||
{
|
||||
get
|
||||
{
|
||||
if (angelCmd == null)
|
||||
angelCmd = new DelegateCommand<object>(ExecuteAngleCommand);
|
||||
return angelCmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
angelCmd = value;
|
||||
}
|
||||
}
|
||||
public ICommand AutoAngelCmd
|
||||
{
|
||||
get
|
||||
{
|
||||
if (autoAngelCmd == null)
|
||||
autoAngelCmd = new DelegateCommand<object>(ExecuteAutoAngleCmd);
|
||||
return autoAngelCmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
autoAngelCmd = value;
|
||||
}
|
||||
}
|
||||
public ICommand AutoCalcCmd
|
||||
{
|
||||
get
|
||||
{
|
||||
if (autoCalcCmd == null)
|
||||
autoCalcCmd = new DelegateCommand<object>(ExecuteAutoCalcCmd);
|
||||
return autoCalcCmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
autoCalcCmd = value;
|
||||
}
|
||||
}
|
||||
public ICommand ContorlCmd
|
||||
{
|
||||
get
|
||||
{
|
||||
if (contorlCmd == null)
|
||||
contorlCmd = new DelegateCommand<object>(ExecuteControlCmd);
|
||||
return contorlCmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
contorlCmd = value;
|
||||
}
|
||||
}
|
||||
|
||||
public ICommand ManualCmd
|
||||
{
|
||||
get
|
||||
{
|
||||
if (manualCmd == null)
|
||||
manualCmd = new DelegateCommand<object>(ExecuteMaualCommand);
|
||||
return manualCmd;
|
||||
}
|
||||
set
|
||||
{
|
||||
manualCmd = value;
|
||||
}
|
||||
}
|
||||
|
||||
#region Command Execution
|
||||
private void ExecuteAlegbraicCommand(object param)
|
||||
{
|
||||
AlgebraicExpressions alg = new AlgebraicExpressions();
|
||||
alg.Show();
|
||||
}
|
||||
private void ExecuteAngleCommand(object param)
|
||||
{
|
||||
AngleForm ang = new AngleForm();
|
||||
ang.Show();
|
||||
}
|
||||
private void ExecuteAutoAngleCmd(object param)
|
||||
{
|
||||
AutoAngleForm auto = new AutoAngleForm();
|
||||
auto.Show();
|
||||
}
|
||||
|
||||
private void ExecuteAutoCalcCmd(object param)
|
||||
{
|
||||
AutoCalcForm autocal = new AutoCalcForm();
|
||||
autocal.Show();
|
||||
}
|
||||
private void ExecuteControlCmd(object param)
|
||||
{
|
||||
MoreComplexForm cont = new MoreComplexForm();
|
||||
cont.Show();
|
||||
}
|
||||
private void ExecuteMaualCommand(object param)
|
||||
{
|
||||
ManualCalcForm manual = new ManualCalcForm();
|
||||
manual.Show();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,62 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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.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("syncfusion.calculatordemos.wpf")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Syncfusion Inc.")]
|
||||
[assembly: AssemblyProduct("syncfusion.calculatordemos.wpf")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2001-2022 Syncfusion Inc.")]
|
||||
[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")]
|
|
@ -0,0 +1,70 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf.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", "15.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("syncfusion.calculatedemos.wpf.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,117 @@
|
|||
<?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>
|
|
@ -0,0 +1,33 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
|
@ -0,0 +1,31 @@
|
|||
<syncfusion:ChromelessWindow
|
||||
xmlns:democommon="clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf" x:Class="syncfusion.calculatedemos.wpf.AlgebraicExpressions"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
|
||||
Height="345" Width="496" Title="AlgebraicExpression"
|
||||
WindowStartupLocation="CenterScreen" Loaded="Window_Loaded"
|
||||
BorderThickness="1">
|
||||
<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>
|
|
@ -0,0 +1,69 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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.Windows;
|
||||
using Syncfusion.Windows.Shared;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
/// <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;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
<syncfusion:ChromelessWindow
|
||||
xmlns:democommon="clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf" x:Class="syncfusion.calculatedemos.wpf.AngleForm"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
|
||||
Height="297" Width="431"
|
||||
WindowStartupLocation="CenterScreen" Title="AngleForm"
|
||||
BorderThickness="1" IsEnabled="True" >
|
||||
<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>
|
|
@ -0,0 +1,58 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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.Windows;
|
||||
using Syncfusion.Windows.Shared;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
/// <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"];
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
<syncfusion:ChromelessWindow
|
||||
xmlns:democommon="clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf" x:Class="syncfusion.calculatedemos.wpf.AutoAngleForm"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
|
||||
Height="245" Width="370" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded"
|
||||
BorderThickness="1" Title="AutoAngleForm" IsEnabled="True" >
|
||||
<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>
|
|
@ -0,0 +1,80 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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.Windows;
|
||||
using Syncfusion.Windows.Shared;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for AutoAngleForm.xaml
|
||||
/// </summary>
|
||||
public partial class AutoAngleForm : ChromelessWindow
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
public AutoAngleForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region API Definition
|
||||
//Initialize Calcualtor
|
||||
//CalcQuickBase calculator = new CalcQuickBase();
|
||||
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();
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
<syncfusion:ChromelessWindow
|
||||
x:Class="syncfusion.calculatedemos.wpf.AutoCalcForm"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
|
||||
Height="228" Width="352" Title="AutoCalcForm" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded"
|
||||
BorderThickness="1" IsEnabled="True">
|
||||
<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>
|
|
@ -0,0 +1,126 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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.Windows;
|
||||
using Syncfusion.Windows.Shared;
|
||||
using Syncfusion.Calculate;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
/// <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;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
<democommon:DemoControl
|
||||
xmlns:democommon="clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf"
|
||||
x:Class="syncfusion.calculatedemos.wpf.CalcQuickDemo"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:interaction="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:action="clr-namespace:syncfusion.calculatedemos.wpf"
|
||||
xmlns:local="clr-namespace:syncfusion.calculatedemos.wpf"
|
||||
x:Name="CalcQuickDemo1">
|
||||
<Grid>
|
||||
<Grid.DataContext>
|
||||
<local:Model/>
|
||||
</Grid.DataContext>
|
||||
<Button Content="Manual Calculations" Height="34" Click="button1_Click" HorizontalAlignment="Left" Margin="169,23,0,0" Name="button1" VerticalAlignment="Top" Width="190">
|
||||
</Button>
|
||||
<Button Content="Auto Calculations" Height="34" Click="button2_Click" HorizontalAlignment="Left" Margin="169,77,0,0" Name="button2" VerticalAlignment="Top" Width="190">
|
||||
</Button>
|
||||
<Button Content="Controls as Keys" Height="34" Click="button3_Click" HorizontalAlignment="Left" Margin="169,129,0,0" Name="button3" VerticalAlignment="Top" Width="190">
|
||||
</Button>
|
||||
<Button Content="Angle Calculations" Height="34" Click="button4_Click" HorizontalAlignment="Left" Margin="169,184,0,0" Name="button4" VerticalAlignment="Top" Width="190">
|
||||
</Button>
|
||||
<Button Content="Auto Angle Calculations" Height="34" Click="button5_Click" HorizontalAlignment="Left" Margin="169,238,0,0" Name="button5" VerticalAlignment="Top" Width="190" >
|
||||
</Button>
|
||||
<Button Content="Algebraic Expressions" Height="34" Click="button6_Click" HorizontalAlignment="Left" Margin="169,292,0,0" Name="button6" VerticalAlignment="Top" Width="190" >
|
||||
</Button>
|
||||
</Grid>
|
||||
</democommon:DemoControl>
|
|
@ -0,0 +1,73 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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.Windows;
|
||||
using syncfusion.demoscommon.wpf;
|
||||
using Syncfusion.Windows.Shared;
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for CalcQuickDemo.xaml
|
||||
/// </summary>
|
||||
public partial class CalcQuickDemo : DemoControl
|
||||
{
|
||||
public CalcQuickDemo()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public CalcQuickDemo(string themename):base(themename)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
#region Events
|
||||
|
||||
private void button1_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ManualCalcForm form = new ManualCalcForm();
|
||||
SfSkinManagerExtension.SetTheme(this, form);
|
||||
form.Show();
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
AutoCalcForm form = new AutoCalcForm();
|
||||
SfSkinManagerExtension.SetTheme(this, form);
|
||||
form.Show();
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
MoreComplexForm form = new MoreComplexForm();
|
||||
SfSkinManagerExtension.SetTheme(this, form);
|
||||
form.Show();
|
||||
}
|
||||
|
||||
private void button4_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
AngleForm form = new AngleForm();
|
||||
SfSkinManagerExtension.SetTheme(this, form);
|
||||
form.Show();
|
||||
}
|
||||
|
||||
private void button5_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
AutoAngleForm form = new AutoAngleForm();
|
||||
SfSkinManagerExtension.SetTheme(this, form);
|
||||
form.Show();
|
||||
}
|
||||
|
||||
private void button6_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
AlgebraicExpressions form = new AlgebraicExpressions();
|
||||
SfSkinManagerExtension.SetTheme(this, form);
|
||||
form.Show();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
<syncfusion:ChromelessWindow
|
||||
x:Class="syncfusion.calculatedemos.wpf.ManualCalcForm"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
|
||||
Height="268" Width="456" BorderThickness="1" Title="ManualCalcForm" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded">
|
||||
<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>
|
|
@ -0,0 +1,76 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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.Windows;
|
||||
using Syncfusion.Windows.Shared;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for ManualCalcForm.xaml
|
||||
/// </summary>
|
||||
public partial class ManualCalcForm : ChromelessWindow
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
public ManualCalcForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
//public ManualCalcForm(string themeName)
|
||||
//{
|
||||
// SfSkinManager.SetTheme(this, new Theme() { ThemeName = themeName });
|
||||
// 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();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
<syncfusion:ChromelessWindow
|
||||
x:Class="syncfusion.calculatedemos.wpf.MoreComplexForm"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
|
||||
Height="362" Width="290" Loaded="Window_Loaded" WindowStartupLocation="CenterScreen"
|
||||
BorderThickness="1" Title="MoreComplexForm">
|
||||
<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>
|
|
@ -0,0 +1,96 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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.Windows;
|
||||
using System.Windows.Input;
|
||||
using Syncfusion.Windows.Shared;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MoreComplexForm.xaml
|
||||
/// </summary>
|
||||
public partial class MoreComplexForm : ChromelessWindow
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
public MoreComplexForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
CalcQuickDemoDataViewModel dat = new CalcQuickDemoDataViewModel();
|
||||
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);
|
||||
}
|
||||
|
||||
#endregion
|
||||
protected override void OnClosed(EventArgs e)
|
||||
{
|
||||
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);
|
||||
base.OnClosed(e);
|
||||
}
|
||||
#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"];
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
<democommon:DemoControl
|
||||
xmlns:democommon="clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf"
|
||||
x:Class="syncfusion.calculatedemos.wpf.GettingStarted"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:local="clr-namespace:syncfusion.calculatedemos.wpf">
|
||||
<Grid>
|
||||
<Grid.DataContext >
|
||||
<local:GettingStartedViewModel/>
|
||||
</Grid.DataContext>
|
||||
<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>
|
||||
</democommon:DemoControl>
|
|
@ -0,0 +1,27 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 syncfusion.demoscommon.wpf;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for GettingStarted.xaml
|
||||
/// </summary>
|
||||
public partial class GettingStarted : DemoControl
|
||||
{
|
||||
//Constructor
|
||||
public GettingStarted()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public GettingStarted(string themename) : base(themename)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
<democommon:DemoControl
|
||||
xmlns:democommon="clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf"
|
||||
x:Class="syncfusion.calculatedemos.wpf.ArrayCalculationDemo"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:syncfusion.calculatedemos.wpf"
|
||||
mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
|
||||
<democommon:DemoControl.DataContext>
|
||||
<local:Data/>
|
||||
</democommon:DemoControl.DataContext>
|
||||
<Grid>
|
||||
<GroupBox Header="Settings" FontSize="12" Height="181" HorizontalAlignment="Left" Margin="345,30,0,0" Name="groupBox1" VerticalAlignment="Top" Width="142">
|
||||
<Grid Height="150" Width="132">
|
||||
<TextBox Height="24" HorizontalAlignment="Left" Margin="67,16,0,0" Name="txtRow" VerticalAlignment="Top" Width="46" Text="{Binding Row}" />
|
||||
<Label Content="Row" Height="28" HorizontalAlignment="Left" Margin="17,12,0,0" Name="label1" VerticalAlignment="Top" />
|
||||
<TextBox Height="24" HorizontalAlignment="Left" Margin="67,46,0,0" Name="txtCol" VerticalAlignment="Top" Width="46" Text="{Binding Col}" />
|
||||
<Label Content="Col" Height="28" HorizontalAlignment="Left" Margin="17,42,0,0" Name="label2" VerticalAlignment="Top" />
|
||||
<TextBox Height="23" HorizontalAlignment="Left" Margin="67,75,0,0" Name="txtVal" VerticalAlignment="Top" Width="46" Text="{Binding CalcValue}" />
|
||||
<Label Content="Value" Height="28" HorizontalAlignment="Left" Margin="17,70,0,0" Name="label3" VerticalAlignment="Top" />
|
||||
<Button Content="Set" Height="23" HorizontalAlignment="Left" Margin="17,109,0,0" Name="button2" VerticalAlignment="Top" Width="96" Command="{Binding SetCommand}"/>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
<TextBox Height="150" HorizontalAlignment="Left" Margin="16,61,0,0" Name="txtResult" Text="{Binding Result}" VerticalAlignment="Top" Width="302" IsReadOnly="True" TextWrapping="Wrap" />
|
||||
<Button Content="Generate Data" Height="23" HorizontalAlignment="Left" Margin="16,27,0,0" Name="button1" VerticalAlignment="Top" Width="302" Command="{Binding GenCommand}" />
|
||||
</Grid>
|
||||
</democommon:DemoControl>
|
|
@ -0,0 +1,28 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 syncfusion.demoscommon.wpf;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for ArrayCalculationDemo.xaml
|
||||
/// </summary>
|
||||
public partial class ArrayCalculationDemo : DemoControl
|
||||
{
|
||||
#region Constructor
|
||||
public ArrayCalculationDemo()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public ArrayCalculationDemo(string themename) : base(themename)
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,50 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
public class CalcQuickDemoDataViewModel
|
||||
{
|
||||
#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
|
||||
}
|
||||
}
|
|
@ -0,0 +1,177 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 System.Collections;
|
||||
using syncfusion.demoscommon.wpf;
|
||||
|
||||
namespace syncfusion.calculatedemos.wpf
|
||||
{
|
||||
public class GettingStartedViewModel : 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 GettingStartedViewModel()
|
||||
{
|
||||
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 DelegateCommand<object>(ExecuteComputeCommand);
|
||||
return compute;
|
||||
}
|
||||
set
|
||||
{
|
||||
compute = value;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
//Initialize calculate object
|
||||
CalcQuick calculate = new CalcQuick();
|
||||
private void ExecuteComputeCommand(object param)
|
||||
{
|
||||
calculate["A"] = TxtA;
|
||||
calculate["B"] = TxtB;
|
||||
calculate["C"] = TxtC;
|
||||
calculate["D"] = TxtD;
|
||||
calculate["Gen"] = TxtGen;
|
||||
|
||||
calculate.SetDirty();
|
||||
|
||||
TxtA = calculate["A"];
|
||||
TxtB = calculate["B"];
|
||||
TxtC = calculate["C"];
|
||||
TxtD = calculate["D"];
|
||||
TxtGen = calculate["Gen"];
|
||||
}
|
||||
#region INotifyPropertyChanged Members
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
public void OnPropertyChanged(string name)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
{
|
||||
PropertyChanged(this, new PropertyChangedEventArgs(name));
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Microsoft.Xaml.Behaviors.Wpf" version="1.1.19" targetFramework="net47" />
|
||||
</packages>
|
|
@ -0,0 +1,114 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{2e1e6e69-254d-49d7-bba7-0ca884e45968}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>syncfusion.calculatedemos.wpf</RootNamespace>
|
||||
<AssemblyName>syncfusion.calculatedemos.wpfapplication</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base" />
|
||||
<Reference Include="Syncfusion.Compression.Base" />
|
||||
<Reference Include="Syncfusion.Grid.WPF" />
|
||||
<Reference Include="Syncfusion.GridCommon.WPF" />
|
||||
<Reference Include="Syncfusion.Linq.Base" />
|
||||
<Reference Include="Syncfusion.Tools.WPF" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Data.Linq" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<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.Net.Http" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="UIAutomationTypes" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
<Reference Include="WindowsFormsIntegration" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_45.csproj">
|
||||
<Project>{9ef55cdb-ed67-4a06-bc2a-1f811f791191}</Project>
|
||||
<Name>syncfusion.demoscommon.wpf_lib_45</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="syncfusion.calculatedemos.wpf_lib_45.csproj">
|
||||
<Project>{83f230f0-2e49-4e56-beb9-ed295ef11145}</Project>
|
||||
<Name>syncfusion.calculatedemos.wpf_lib_45</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\common\demos.common.props" />
|
||||
</Project>
|
|
@ -0,0 +1,34 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.calculatedemos.wpf_45", "syncfusion.calculatedemos.wpf_45.csproj", "{0C01D5EB-7834-4B8F-8F43-286F2DA0165E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_45", "..\common\syncfusion.demoscommon.wpf_lib_45.csproj", "{9EF55CDB-ED67-4A06-BC2A-1F811F791191}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.calculatedemos.wpf_lib_45", "syncfusion.calculatedemos.wpf_lib_45.csproj", "{83F230F0-2E49-4E56-BEB9-ED295EF11145}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{0C01D5EB-7834-4B8F-8F43-286F2DA0165E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0C01D5EB-7834-4B8F-8F43-286F2DA0165E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0C01D5EB-7834-4B8F-8F43-286F2DA0165E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0C01D5EB-7834-4B8F-8F43-286F2DA0165E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{83F230F0-2E49-4E56-BEB9-ED295EF11145}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{83F230F0-2E49-4E56-BEB9-ED295EF11145}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{83F230F0-2E49-4E56-BEB9-ED295EF11145}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{83F230F0-2E49-4E56-BEB9-ED295EF11145}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {58FDFFBF-B925-4483-A649-0175F9676AEA}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,114 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{0C01D5EB-7834-4B8F-8F43-286F2DA0165E}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>syncfusion.calculatedemos.wpf</RootNamespace>
|
||||
<AssemblyName>syncfusion.calculatedemos.wpfapplication</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Syncfusion.Calculate.Base" />
|
||||
<Reference Include="Syncfusion.Compression.Base" />
|
||||
<Reference Include="Syncfusion.Grid.WPF" />
|
||||
<Reference Include="Syncfusion.GridCommon.WPF" />
|
||||
<Reference Include="Syncfusion.Linq.Base" />
|
||||
<Reference Include="Syncfusion.Tools.WPF" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Data.Linq" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<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.Net.Http" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="UIAutomationTypes" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
<Reference Include="WindowsFormsIntegration" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_47.csproj">
|
||||
<Project>{9ef55cdb-ed67-4a06-bc2a-1f811f791191}</Project>
|
||||
<Name>syncfusion.demoscommon.wpf_lib_47</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="syncfusion.calculatedemos.wpf_lib_47.csproj">
|
||||
<Project>{83f230f0-2e49-4e56-beb9-ed295ef11145}</Project>
|
||||
<Name>syncfusion.calculatedemos.wpf_lib_47</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\common\demos.common.props" />
|
||||
</Project>
|
|
@ -0,0 +1,37 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29009.5
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.calculatedemos.wpf_47", "syncfusion.calculatedemos.wpf_47.csproj", "{0C01D5EB-7834-4B8F-8F43-286F2DA0165E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.demoscommon.wpf_lib_47", "..\common\syncfusion.demoscommon.wpf_lib_47.csproj", "{9EF55CDB-ED67-4A06-BC2A-1F811F791191}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syncfusion.calculatedemos.wpf_lib_47", "syncfusion.calculatedemos.wpf_lib_47.csproj", "{83F230F0-2E49-4E56-BEB9-ED295EF11145}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{0C01D5EB-7834-4B8F-8F43-286F2DA0165E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0C01D5EB-7834-4B8F-8F43-286F2DA0165E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0C01D5EB-7834-4B8F-8F43-286F2DA0165E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0C01D5EB-7834-4B8F-8F43-286F2DA0165E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9EF55CDB-ED67-4A06-BC2A-1F811F791191}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{83F230F0-2E49-4E56-BEB9-ED295EF11145}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{83F230F0-2E49-4E56-BEB9-ED295EF11145}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{83F230F0-2E49-4E56-BEB9-ED295EF11145}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{83F230F0-2E49-4E56-BEB9-ED295EF11145}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {58FDFFBF-B925-4483-A649-0175F9676AEA}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,103 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<UseWPF>true</UseWPF>
|
||||
<EnableDefaultEmbeddedResourceItems>False</EnableDefaultEmbeddedResourceItems>
|
||||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<AssemblyName>syncfusion.calculatedemos.wpfapplication</AssemblyName>
|
||||
<RootNamespace>syncfusion.calculatedemos.wpf</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Xml|AnyCPU'">
|
||||
<DefineConstants>TRACE;NET50</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="obj\**" />
|
||||
<Compile Remove="obj_45\**" />
|
||||
<Compile Remove="obj_47\**" />
|
||||
<Compile Remove="obj_50\**" />
|
||||
<Compile Remove="obj_60\**" />
|
||||
<EmbeddedResource Remove="obj\**" />
|
||||
<EmbeddedResource Remove="obj_45\**" />
|
||||
<EmbeddedResource Remove="obj_47\**" />
|
||||
<EmbeddedResource Remove="obj_50\**" />
|
||||
<EmbeddedResource Remove="obj_60\**" />
|
||||
<None Remove="obj\**" />
|
||||
<None Remove="obj_45\**" />
|
||||
<None Remove="obj_47\**" />
|
||||
<None Remove="obj_50\**" />
|
||||
<None Remove="obj_60\**" />
|
||||
<Page Remove="obj\**" />
|
||||
<Page Remove="obj_45\**" />
|
||||
<Page Remove="obj_47\**" />
|
||||
<Page Remove="obj_50\**" />
|
||||
<Page Remove="obj_60\**" />
|
||||
<ProjectReference Include="..\common\syncfusion.demoscommon.wpf_lib_50.csproj">
|
||||
<Name>syncfusion.demoscommon.wpf_lib_50</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="syncfusion.calculatedemos.wpf_lib_50.csproj">
|
||||
<Name>syncfusion.calculatedemos.wpf_lib_50</Name>
|
||||
</ProjectReference>
|
||||
<None Remove="Properties\Settings.settings" />
|
||||
<None Include="Properties\Settings.settings" />
|
||||
<None Remove="App.config" />
|
||||
<None Include="App.config" />
|
||||
<Compile Remove="Behavior\SelectionBehavior.cs" />
|
||||
<Compile Remove="Helper\CalcQuick.cs" />
|
||||
<Compile Remove="Model\ArrayCalcData.cs" />
|
||||
<Compile Remove="Model\BindList.cs" />
|
||||
<Compile Remove="Model\Data.cs" />
|
||||
<Compile Remove="Model\Model.cs" />
|
||||
<Page Remove="View\CalcQuick\CalcQuickDemo\AlgebraicExpressions.xaml" />
|
||||
<Compile Remove="View\CalcQuick\CalcQuickDemo\AlgebraicExpressions.xaml.cs" />
|
||||
<Page Remove="View\CalcQuick\CalcQuickDemo\AngleForm.xaml" />
|
||||
<Compile Remove="View\CalcQuick\CalcQuickDemo\AngleForm.xaml.cs" />
|
||||
<Page Remove="View\CalcQuick\CalcQuickDemo\AutoAngleForm.xaml" />
|
||||
<Compile Remove="View\CalcQuick\CalcQuickDemo\AutoAngleForm.xaml.cs" />
|
||||
<Page Remove="View\CalcQuick\CalcQuickDemo\AutoCalcForm.xaml" />
|
||||
<Compile Remove="View\CalcQuick\CalcQuickDemo\AutoCalcForm.xaml.cs" />
|
||||
<Page Remove="View\CalcQuick\CalcQuickDemo\CalcQuickDemo.xaml" />
|
||||
<Compile Remove="View\CalcQuick\CalcQuickDemo\CalcQuickDemo.xaml.cs" />
|
||||
<Page Remove="View\CalcQuick\CalcQuickDemo\ManualCalcForm.xaml" />
|
||||
<Compile Remove="View\CalcQuick\CalcQuickDemo\ManualCalcForm.xaml.cs" />
|
||||
<Page Remove="View\CalcQuick\CalcQuickDemo\MoreComplexForm.xaml" />
|
||||
<Compile Remove="View\CalcQuick\CalcQuickDemo\MoreComplexForm.xaml.cs" />
|
||||
<Page Remove="View\Getting Started\GettingStarted.xaml" />
|
||||
<Compile Remove="View\Getting Started\GettingStarted.xaml.cs" />
|
||||
<Page Remove="View\Product Showcase\ArrayCalculationDemo.xaml" />
|
||||
<Compile Remove="View\Product Showcase\ArrayCalculationDemo.xaml.cs" />
|
||||
<Compile Remove="ViewModel\CalcQuickDemoDataViewModel.cs" />
|
||||
<Compile Remove="ViewModel\GettingStartedViewModel.cs" />
|
||||
<Compile Remove="CalculateDemosViewModel.cs" />
|
||||
<ApplicationDefinition Include="App.xaml" />
|
||||
<Compile Include="App.xaml.cs" />
|
||||
<Reference Include="Syncfusion.Calculate.Base">
|
||||
<HintPath>$(SyncfusionInstallLocation)\precompiledassemblies\net5.0\Syncfusion.Calculate.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Compression.Base">
|
||||
<HintPath>$(SyncfusionInstallLocation)\precompiledassemblies\net5.0\Syncfusion.Compression.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Grid.WPF">
|
||||
<HintPath>$(SyncfusionInstallLocation)\precompiledassemblies\net5.0\Syncfusion.Grid.WPF.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.GridCommon.WPF">
|
||||
<HintPath>$(SyncfusionInstallLocation)\precompiledassemblies\net5.0\Syncfusion.GridCommon.WPF.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Linq.Base">
|
||||
<HintPath>$(SyncfusionInstallLocation)\precompiledassemblies\net5.0\Syncfusion.Linq.Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Syncfusion.Tools.WPF">
|
||||
<HintPath>$(SyncfusionInstallLocation)\precompiledassemblies\net5.0\Syncfusion.Tools.WPF.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<Import Project="..\common\demos.common.props">
|
||||
</Import>
|
||||
</Project>
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче