diff --git a/Directory.Build.props b/Directory.Build.props deleted file mode 100644 index 3412f8e7e0..0000000000 --- a/Directory.Build.props +++ /dev/null @@ -1,14 +0,0 @@ - - - D:\Work\SVN\18.3.0.35\Assemblies - - - obj_45\ - - - obj_50\ - - - obj_47\ - - diff --git a/barcode/App.config b/barcode/App.config deleted file mode 100644 index 016d28fcc6..0000000000 --- a/barcode/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/barcode/App.xaml b/barcode/App.xaml deleted file mode 100644 index a5cc57b56a..0000000000 --- a/barcode/App.xaml +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/barcode/App.xaml.cs b/barcode/App.xaml.cs deleted file mode 100644 index cdddd28f9f..0000000000 --- a/barcode/App.xaml.cs +++ /dev/null @@ -1,31 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -{ - /// - /// Interaction logic for App.xaml - /// - public partial class App : Application - { - protected override void OnStartup(StartupEventArgs e) - { - var window = new MainWindow(new BarcodeDemosViewModel()); - window.Show(); - base.OnStartup(e); - } - } -} diff --git a/barcode/BarcodeDemosViewModel.cs b/barcode/BarcodeDemosViewModel.cs deleted file mode 100644 index 3ae7f0dd38..0000000000 --- a/barcode/BarcodeDemosViewModel.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 GetDemosDetails() - { - var productdemos = new List(); - productdemos.Add(new BarcodeProductDemos()); - return productdemos; - } - } - - public class BarcodeProductDemos : ProductDemo - { - public BarcodeProductDemos() - { - this.Product = "Barcode"; - this.ProductCategory = "DATA VISUALIZATION"; - this.Demos = new List(); - this.Demos.Add(new DemoInfo() { SampleName = "Barcode", GroupName = "Barcode", DemoViewType = typeof(SfBarcode) }); - } - } -} diff --git a/barcode/Properties/AssemblyInfo.cs b/barcode/Properties/AssemblyInfo.cs deleted file mode 100644 index f9bb4fd526..0000000000 --- a/barcode/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,62 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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-2020 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 -//CultureYouAreCodingWith in your .csproj file -//inside a . For example, if you are using US english -//in your source files, set the 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")] diff --git a/barcode/Properties/Resources.Designer.cs b/barcode/Properties/Resources.Designer.cs deleted file mode 100644 index 85db72e4b1..0000000000 --- a/barcode/Properties/Resources.Designer.cs +++ /dev/null @@ -1,78 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace syncfusion.barcodedemos.wpf_lib_47.Properties -{ - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((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; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - } -} diff --git a/barcode/Properties/Resources.resx b/barcode/Properties/Resources.resx deleted file mode 100644 index af7dbebbac..0000000000 --- a/barcode/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/barcode/Properties/Settings.Designer.cs b/barcode/Properties/Settings.Designer.cs deleted file mode 100644 index af3c0d5134..0000000000 --- a/barcode/Properties/Settings.Designer.cs +++ /dev/null @@ -1,37 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace 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; - } - } - } -} diff --git a/barcode/Properties/Settings.settings b/barcode/Properties/Settings.settings deleted file mode 100644 index 033d7a5e9e..0000000000 --- a/barcode/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/barcode/Views/SfBarcode.xaml b/barcode/Views/SfBarcode.xaml deleted file mode 100644 index 46cc9c7cd9..0000000000 --- a/barcode/Views/SfBarcode.xaml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *Invalid characters found in entered text - - - - - - diff --git a/barcode/Views/SfBarcode.xaml.cs b/barcode/Views/SfBarcode.xaml.cs deleted file mode 100644 index d05d4a65a9..0000000000 --- a/barcode/Views/SfBarcode.xaml.cs +++ /dev/null @@ -1,252 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -{ - /// - /// Interaction logic for Window1.xaml - /// - public partial class SfBarcode : DemoControl - { - private List allowedTexts; - private List validTexts; - - public SfBarcode() - { - InitializeComponent(); - - allowedTexts = new List(); - 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(); - 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(); - } - } -} diff --git a/barcode/syncfusion.barcodedemos.wpf_45.csproj b/barcode/syncfusion.barcodedemos.wpf_45.csproj deleted file mode 100644 index a168b41e44..0000000000 --- a/barcode/syncfusion.barcodedemos.wpf_45.csproj +++ /dev/null @@ -1,102 +0,0 @@ - - - - - Debug - AnyCPU - {efa9fb0d-7081-4443-9c6a-bf8ce40f7c2a} - WinExe - syncfusion.barcodedemos.wpf - syncfusion.barcodedemos.wpfapplication - v4.5 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true - true - - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - 4.0 - - - - - - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - - - {9ef55cdb-ed67-4a06-bc2a-1f811f791191} - syncfusion.demoscommon.wpf_lib_45 - - - {bdb42436-7107-4d53-80b8-77b2e10c5d3a} - syncfusion.barcodedemos.wpf_lib_45 - - - - - \ No newline at end of file diff --git a/barcode/syncfusion.barcodedemos.wpf_45.sln b/barcode/syncfusion.barcodedemos.wpf_45.sln deleted file mode 100644 index 9e9fe6a7b4..0000000000 --- a/barcode/syncfusion.barcodedemos.wpf_45.sln +++ /dev/null @@ -1,34 +0,0 @@ -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 diff --git a/barcode/syncfusion.barcodedemos.wpf_47.csproj b/barcode/syncfusion.barcodedemos.wpf_47.csproj deleted file mode 100644 index 0da335dba0..0000000000 --- a/barcode/syncfusion.barcodedemos.wpf_47.csproj +++ /dev/null @@ -1,102 +0,0 @@ - - - - - Debug - AnyCPU - {9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779} - WinExe - syncfusion.barcodedemos.wpf - syncfusion.barcodedemos.wpfapplication - v4.7 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true - true - - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - 4.0 - - - - - - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - - - {9ef55cdb-ed67-4a06-bc2a-1f811f791191} - syncfusion.demoscommon.wpf_lib_47 - - - {bdb42436-7107-4d53-80b8-77b2e10c5d3a} - syncfusion.barcodedemos.wpf_lib_47 - - - - - \ No newline at end of file diff --git a/barcode/syncfusion.barcodedemos.wpf_47.sln b/barcode/syncfusion.barcodedemos.wpf_47.sln deleted file mode 100644 index 6fa8895420..0000000000 --- a/barcode/syncfusion.barcodedemos.wpf_47.sln +++ /dev/null @@ -1,37 +0,0 @@ - -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 diff --git a/barcode/syncfusion.barcodedemos.wpf_50.csproj b/barcode/syncfusion.barcodedemos.wpf_50.csproj deleted file mode 100644 index 1905a4d073..0000000000 --- a/barcode/syncfusion.barcodedemos.wpf_50.csproj +++ /dev/null @@ -1,54 +0,0 @@ - - - WinExe - net5.0-windows - true - true - False - false - false - syncfusion.barcodedemos.wpfapplication - syncfusion.barcodedemos.wpf - - - TRACE;NET50 - - - TRACE;NET50 - - - - - - - - - - - - - - - - - - - - syncfusion.demoscommon.wpf_lib_50 - - - syncfusion.barcodedemos.wpf_lib_50 - - - - - - - - - - - - - - \ No newline at end of file diff --git a/barcode/syncfusion.barcodedemos.wpf_50.sln b/barcode/syncfusion.barcodedemos.wpf_50.sln deleted file mode 100644 index 21120d4a1d..0000000000 --- a/barcode/syncfusion.barcodedemos.wpf_50.sln +++ /dev/null @@ -1,36 +0,0 @@ -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 diff --git a/barcode/syncfusion.barcodedemos.wpf_lib_45.csproj b/barcode/syncfusion.barcodedemos.wpf_lib_45.csproj deleted file mode 100644 index c8eccd1b28..0000000000 --- a/barcode/syncfusion.barcodedemos.wpf_lib_45.csproj +++ /dev/null @@ -1,101 +0,0 @@ - - - - - Debug - AnyCPU - {e3e28438-7e60-4ff2-aaa6-12ce72ed3fd5} - library - syncfusion.barcodedemos.wpf - syncfusion.barcodedemos.wpf - v4.5 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true - true - - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\resources\Assembilies\Microsoft.Xaml.Behaviors.dll - - - - - - - - - - - - 4.0 - - - - - - - - - - - SfBarcode.xaml - - - Designer - MSBuild:Compile - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - {fa11ba0a-2b67-4e9b-a0bd-43e01223eb30} - syncfusion.demoscommon.wpf_lib_45 - - - - - \ No newline at end of file diff --git a/barcode/syncfusion.barcodedemos.wpf_lib_45.sln b/barcode/syncfusion.barcodedemos.wpf_lib_45.sln deleted file mode 100644 index aafc50477b..0000000000 --- a/barcode/syncfusion.barcodedemos.wpf_lib_45.sln +++ /dev/null @@ -1,28 +0,0 @@ -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 diff --git a/barcode/syncfusion.barcodedemos.wpf_lib_47.csproj b/barcode/syncfusion.barcodedemos.wpf_lib_47.csproj deleted file mode 100644 index 6f2c95310b..0000000000 --- a/barcode/syncfusion.barcodedemos.wpf_lib_47.csproj +++ /dev/null @@ -1,99 +0,0 @@ - - - - - Debug - AnyCPU - {57A26964-0BBA-4BBE-B1DC-7412B8DC10F8} - library - syncfusion.barcodedemos.wpf - syncfusion.barcodedemos.wpf - v4.7 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true - true - - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - 4.0 - - - - - - - - - - - SfBarcode.xaml - - - Designer - MSBuild:Compile - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - {fa11ba0a-2b67-4e9b-a0bd-43e01223eb30} - syncfusion.demoscommon.wpf_lib_47 - - - - - \ No newline at end of file diff --git a/barcode/syncfusion.barcodedemos.wpf_lib_47.sln b/barcode/syncfusion.barcodedemos.wpf_lib_47.sln deleted file mode 100644 index e17cbe1d18..0000000000 --- a/barcode/syncfusion.barcodedemos.wpf_lib_47.sln +++ /dev/null @@ -1,30 +0,0 @@ -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 diff --git a/barcode/syncfusion.barcodedemos.wpf_lib_50.csproj b/barcode/syncfusion.barcodedemos.wpf_lib_50.csproj deleted file mode 100644 index 75ff82b272..0000000000 --- a/barcode/syncfusion.barcodedemos.wpf_lib_50.csproj +++ /dev/null @@ -1,49 +0,0 @@ - - - library - net5.0-windows - true - true - false - syncfusion.barcodedemos.wpf - syncfusion.barcodedemos.wpf - - - TRACE;NET50 - - - TRACE;NET50 - - - - - - - - - - - - - - - - - - - - syncfusion.demoscommon.wpf_lib_50 - - - - - - - - - - - - - - \ No newline at end of file diff --git a/barcode/syncfusion.barcodedemos.wpf_lib_50.sln b/barcode/syncfusion.barcodedemos.wpf_lib_50.sln deleted file mode 100644 index fb7907e80f..0000000000 --- a/barcode/syncfusion.barcodedemos.wpf_lib_50.sln +++ /dev/null @@ -1,30 +0,0 @@ -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 diff --git a/bulletgraph/App.config b/bulletgraph/App.config deleted file mode 100644 index 9d2c7adf3b..0000000000 --- a/bulletgraph/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/bulletgraph/App.xaml b/bulletgraph/App.xaml deleted file mode 100644 index 85e6203193..0000000000 --- a/bulletgraph/App.xaml +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/bulletgraph/App.xaml.cs b/bulletgraph/App.xaml.cs deleted file mode 100644 index 73ca14ba87..0000000000 --- a/bulletgraph/App.xaml.cs +++ /dev/null @@ -1,31 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -{ - /// - /// Interaction logic for App.xaml - /// - public partial class App : Application - { - protected override void OnStartup(StartupEventArgs e) - { - var window = new MainWindow(new BulletGraphDemosViewModel()); - window.Show(); - base.OnStartup(e); - } - } -} diff --git a/bulletgraph/BulletGraphDemosViewModel.cs b/bulletgraph/BulletGraphDemosViewModel.cs deleted file mode 100644 index 4823b926c2..0000000000 --- a/bulletgraph/BulletGraphDemosViewModel.cs +++ /dev/null @@ -1,38 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 GetDemosDetails() - { - var productdemos = new List(); - productdemos.Add(new BulletGraphProductDemos()); - return productdemos; - } - } - - public class BulletGraphProductDemos : ProductDemo - { - public BulletGraphProductDemos() - { - this.Product = "Bullet Graph"; - this.ProductCategory = "DATA VISUALIZATION"; - this.Demos = new List(); - 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." }); - } - } -} diff --git a/bulletgraph/Properties/AssemblyInfo.cs b/bulletgraph/Properties/AssemblyInfo.cs deleted file mode 100644 index 089c25ab13..0000000000 --- a/bulletgraph/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,62 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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-2020 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 -//CultureYouAreCodingWith in your .csproj file -//inside a . For example, if you are using US english -//in your source files, set the 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")] diff --git a/bulletgraph/Properties/Resources.Designer.cs b/bulletgraph/Properties/Resources.Designer.cs deleted file mode 100644 index de7ca913a7..0000000000 --- a/bulletgraph/Properties/Resources.Designer.cs +++ /dev/null @@ -1,70 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace syncfusion.bulletgraphdemos.wpf.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "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() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("syncfusion.bulletgraphdemos.wpf.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/bulletgraph/Properties/Resources.resx b/bulletgraph/Properties/Resources.resx deleted file mode 100644 index af7dbebbac..0000000000 --- a/bulletgraph/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/bulletgraph/Properties/Settings.Designer.cs b/bulletgraph/Properties/Settings.Designer.cs deleted file mode 100644 index b579a6c4f6..0000000000 --- a/bulletgraph/Properties/Settings.Designer.cs +++ /dev/null @@ -1,33 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace 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; - } - } - } -} diff --git a/bulletgraph/Properties/Settings.settings b/bulletgraph/Properties/Settings.settings deleted file mode 100644 index 033d7a5e9e..0000000000 --- a/bulletgraph/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/bulletgraph/Views/BulletGraphMeasures.xaml b/bulletgraph/Views/BulletGraphMeasures.xaml deleted file mode 100644 index 214f60eb32..0000000000 --- a/bulletgraph/Views/BulletGraphMeasures.xaml +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - CIT Revenue YTD - - ($ millions) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bulletgraph/Views/BulletGraphMeasures.xaml.cs b/bulletgraph/Views/BulletGraphMeasures.xaml.cs deleted file mode 100644 index d61ba4e6d6..0000000000 --- a/bulletgraph/Views/BulletGraphMeasures.xaml.cs +++ /dev/null @@ -1,54 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -{ - /// - /// Interaction logic for BulletGraphMeasures.xaml - /// - 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); - } - } -} \ No newline at end of file diff --git a/bulletgraph/Views/GettingStarted.xaml b/bulletgraph/Views/GettingStarted.xaml deleted file mode 100644 index f8ba8350f9..0000000000 --- a/bulletgraph/Views/GettingStarted.xaml +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - - - - - - - - - - - - - - Revenue - - - U.S. $ (1,000s) - - - - - - - - - - - - - - - Expenses - - - U.S. $ (1,000s) - - - - - - - - - - - - - - - Profit - - - Percentage (%) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bulletgraph/Views/GettingStarted.xaml.cs b/bulletgraph/Views/GettingStarted.xaml.cs deleted file mode 100644 index 2d564970d4..0000000000 --- a/bulletgraph/Views/GettingStarted.xaml.cs +++ /dev/null @@ -1,59 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -{ - /// - /// Interaction logic for GettingStarted.xaml - /// - 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); - } - } -} diff --git a/bulletgraph/packages.config b/bulletgraph/packages.config deleted file mode 100644 index a3ddcf4c1e..0000000000 --- a/bulletgraph/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/bulletgraph/syncfusion.bulletgraphdemos.wpf_45.csproj b/bulletgraph/syncfusion.bulletgraphdemos.wpf_45.csproj deleted file mode 100644 index 2bffc79480..0000000000 --- a/bulletgraph/syncfusion.bulletgraphdemos.wpf_45.csproj +++ /dev/null @@ -1,105 +0,0 @@ - - - - - Debug - AnyCPU - {8248b69c-2a64-43da-8514-5d4bcd35ad25} - WinExe - syncfusion.bulletgraphdemos.wpf - syncfusion.bulletgraphdemos.wpfapplication - v4.5 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true - true - - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - 4.0 - - - - - - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - - - - {9ef55cdb-ed67-4a06-bc2a-1f811f791191} - syncfusion.demoscommon.wpf_lib_45 - - - {bdb42436-7107-4d53-80b8-77b2e10c5d3a} - syncfusion.bulletgraphdemos.wpf_lib_45 - - - - - \ No newline at end of file diff --git a/bulletgraph/syncfusion.bulletgraphdemos.wpf_45.sln b/bulletgraph/syncfusion.bulletgraphdemos.wpf_45.sln deleted file mode 100644 index 55b1520997..0000000000 --- a/bulletgraph/syncfusion.bulletgraphdemos.wpf_45.sln +++ /dev/null @@ -1,34 +0,0 @@ -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 diff --git a/bulletgraph/syncfusion.bulletgraphdemos.wpf_47.csproj b/bulletgraph/syncfusion.bulletgraphdemos.wpf_47.csproj deleted file mode 100644 index 45ab149d39..0000000000 --- a/bulletgraph/syncfusion.bulletgraphdemos.wpf_47.csproj +++ /dev/null @@ -1,105 +0,0 @@ - - - - - Debug - AnyCPU - {9B74D92A-F42C-4BF1-B0A5-DCDE9BF7E779} - WinExe - syncfusion.bulletgraphdemos.wpf - syncfusion.bulletgraphdemos.wpfapplication - v4.7 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true - true - - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - 4.0 - - - - - - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - - - - {9ef55cdb-ed67-4a06-bc2a-1f811f791191} - syncfusion.demoscommon.wpf_lib_47 - - - {bdb42436-7107-4d53-80b8-77b2e10c5d3a} - syncfusion.bulletgraphdemos.wpf_lib_47 - - - - - \ No newline at end of file diff --git a/bulletgraph/syncfusion.bulletgraphdemos.wpf_47.sln b/bulletgraph/syncfusion.bulletgraphdemos.wpf_47.sln deleted file mode 100644 index 603bfcb565..0000000000 --- a/bulletgraph/syncfusion.bulletgraphdemos.wpf_47.sln +++ /dev/null @@ -1,37 +0,0 @@ - -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 diff --git a/bulletgraph/syncfusion.bulletgraphdemos.wpf_50.csproj b/bulletgraph/syncfusion.bulletgraphdemos.wpf_50.csproj deleted file mode 100644 index ffe2f9a6c3..0000000000 --- a/bulletgraph/syncfusion.bulletgraphdemos.wpf_50.csproj +++ /dev/null @@ -1,61 +0,0 @@ - - - WinExe - net5.0-windows - true - true - False - false - false - syncfusion.bulletgraphdemos.wpfapplication - syncfusion.bulletgraphdemos.wpf - - - TRACE;NET50 - - - TRACE;NET50 - - - - - - - - - - - - - - - - - - - - syncfusion.demoscommon.wpf_lib_50 - - - syncfusion.bulletgraphdemos.wpf_lib_50 - - - - - - - - - - - - - - - - $(SyncfusionInstallLocation)\precompiledassemblies\net5.0\Syncfusion.SfBulletGraph.WPF.dll - - - - - \ No newline at end of file diff --git a/bulletgraph/syncfusion.bulletgraphdemos.wpf_50.sln b/bulletgraph/syncfusion.bulletgraphdemos.wpf_50.sln deleted file mode 100644 index b842a0d9aa..0000000000 --- a/bulletgraph/syncfusion.bulletgraphdemos.wpf_50.sln +++ /dev/null @@ -1,36 +0,0 @@ -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 diff --git a/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_45.csproj b/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_45.csproj deleted file mode 100644 index a8ab0a9a94..0000000000 --- a/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_45.csproj +++ /dev/null @@ -1,113 +0,0 @@ - - - - - Debug - AnyCPU - {95b05ec0-e5f3-4e2f-b207-86a40e45bbc6} - library - syncfusion.bulletgraphdemos.wpf - syncfusion.bulletgraphdemos.wpf - v4.5 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true - true - - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\resources\Assembilies\Microsoft.Xaml.Behaviors.dll - - - - - - - - - - - - 4.0 - - - - - - - - - - - BulletGraphMeasures.xaml - - - GettingStarted.xaml - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - - - - {fa11ba0a-2b67-4e9b-a0bd-43e01223eb30} - syncfusion.demoscommon.wpf_lib_45 - - - - - \ No newline at end of file diff --git a/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_45.sln b/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_45.sln deleted file mode 100644 index 187e13b9cb..0000000000 --- a/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_45.sln +++ /dev/null @@ -1,28 +0,0 @@ -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 diff --git a/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_47.csproj b/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_47.csproj deleted file mode 100644 index 4edc2bc585..0000000000 --- a/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_47.csproj +++ /dev/null @@ -1,111 +0,0 @@ - - - - - Debug - AnyCPU - {BDB42436-7107-4D53-80B8-77B2E10C5D3A} - library - syncfusion.bulletgraphdemos.wpf - syncfusion.bulletgraphdemos.wpf - v4.7 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true - true - - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - 4.0 - - - - - - - - - - - BulletGraphMeasures.xaml - - - GettingStarted.xaml - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - - - - {fa11ba0a-2b67-4e9b-a0bd-43e01223eb30} - syncfusion.demoscommon.wpf_lib_47 - - - - - \ No newline at end of file diff --git a/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_47.sln b/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_47.sln deleted file mode 100644 index 08fcba58f5..0000000000 --- a/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_47.sln +++ /dev/null @@ -1,30 +0,0 @@ -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 diff --git a/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_50.csproj b/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_50.csproj deleted file mode 100644 index f6428c2c2e..0000000000 --- a/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_50.csproj +++ /dev/null @@ -1,51 +0,0 @@ - - - library - net5.0-windows - true - true - false - syncfusion.bulletgraphdemos.wpf - syncfusion.bulletgraphdemos.wpf - - - TRACE;NET50 - - - TRACE;NET50 - - - - - - - - - - - - - - - - - - - - syncfusion.demoscommon.wpf_lib_50 - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_50.sln b/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_50.sln deleted file mode 100644 index 8d1fdae46c..0000000000 --- a/bulletgraph/syncfusion.bulletgraphdemos.wpf_lib_50.sln +++ /dev/null @@ -1,30 +0,0 @@ -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 diff --git a/calculate/App.config b/calculate/App.config deleted file mode 100644 index 9d2c7adf3b..0000000000 --- a/calculate/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/calculate/App.xaml b/calculate/App.xaml deleted file mode 100644 index c883071f1a..0000000000 --- a/calculate/App.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/calculate/App.xaml.cs b/calculate/App.xaml.cs deleted file mode 100644 index ed7a1312cf..0000000000 --- a/calculate/App.xaml.cs +++ /dev/null @@ -1,32 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -{ - /// - /// Interaction logic for App.xaml - /// - public partial class App : Application - { - - protected override void OnStartup(StartupEventArgs e) - { - var window = new MainWindow(new CalculateDemosViewModel()); - window.Show(); - base.OnStartup(e); - } - } -} diff --git a/calculate/Behavior/SelectionBehavior.cs b/calculate/Behavior/SelectionBehavior.cs deleted file mode 100644 index b5dc2731db..0000000000 --- a/calculate/Behavior/SelectionBehavior.cs +++ /dev/null @@ -1,350 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 - { - 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)); - - /// - /// Determines whether null selection (which usually occurs since the combobox is rebuilt or its list is refreshed) should be ignored. - /// True by default. - /// - public bool IgnoreNullSelection - { - get { return (bool)GetValue(IgnoreNullSelectionProperty); } - set { SetValue(IgnoreNullSelectionProperty, value); } - } - - #endregion - - #region Event Handlers - - /// - /// Called when the SelectedItem dependency property is changed. - /// Updates the associated selector's SelectedItem with the new value. - /// - private static void OnSelectedItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - var behavior = (SelectionBehavior)d; - var selector = behavior.AssociatedObject; - selector.SelectedValue = e.NewValue; - } - - /// - /// Called when the associated selector's selection is changed. - /// Tries to assign it to the property. - /// If it fails, updates the selector's with property's current value. - /// - 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 - } -} diff --git a/calculate/CalculateDemosViewModel.cs b/calculate/CalculateDemosViewModel.cs deleted file mode 100644 index 85d67f7ef1..0000000000 --- a/calculate/CalculateDemosViewModel.cs +++ /dev/null @@ -1,41 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 GetDemosDetails() - { - var productdemos = new List(); - productdemos.Add(new CalculatorProductDemos()); - return productdemos; - } - } - - public class CalculatorProductDemos : ProductDemo - { - public CalculatorProductDemos() - { - this.Product = "Calculate"; - this.ProductCategory = "MISCELLANEOUS"; - this.Demos = new List(); - - 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) }); - - } - } -} diff --git a/calculate/Helper/CalcQuick.cs b/calculate/Helper/CalcQuick.cs deleted file mode 100644 index a9487e0278..0000000000 --- a/calculate/Helper/CalcQuick.cs +++ /dev/null @@ -1,173 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -{ - /// - /// A class that allows you to quickly add calculation support for controls on a form, or usercontrol. - /// - public class CalcQuick : CalcQuickBase - { - #region code that handle Controls as key objects - - /// - /// A Virtual method that registers an array of controls as formula objects in this CalcQuick instance. - /// - /// The control array. - public virtual void RegisterControlArray(Control[] controls) - { - foreach (Control c in controls) - { - RegisterControl(c); - } - - base.AutoCalc = true; - } - - - /// - /// Have a textbox to handle the textchanged event - /// - public event TextChangedEventHandler TextChanged; - - /// - /// Used to register a control as a calculation object in this CalcQuick instance. - /// - /// The control to register. - /// - /// 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. - /// - 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 - } -} diff --git a/calculate/Model/ArrayCalcData.cs b/calculate/Model/ArrayCalcData.cs deleted file mode 100644 index a6297392e8..0000000000 --- a/calculate/Model/ArrayCalcData.cs +++ /dev/null @@ -1,168 +0,0 @@ -#region Copyright Syncfusion Inc. 2001 - 2020 -// -// Copyright Syncfusion Inc. 2001 - 2020. 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 -{ - /// - /// Wrapper class for a double array. - /// - /// 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. - /// - public class ArrayCalcData : ICalcData - { - #region API Definitions - - /// - /// original double array - /// - private double[,] dValues; - - /// - /// vector holding the sum of the rows. - /// - /// - /// Serves as the last column. - /// - private object[] rowSums; - - /// - /// Vector holding the sum of the columns. - /// - /// - /// Serves as the last row. - /// - private object[] colSums; - - int rowCount; - int colCount; - - /// - /// Gets or sets the value of this ArrayCalcData object. - /// - /// - /// 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. - /// - public object this[int row, int col] - { - get { return GetValueRowCol(row + 1, col + 1); } - set { SetValueRowCol(value, row + 1, col + 1); } - } - - #endregion - - #region Constructor - /// - /// Wraps the double array with an extra row and column that holds calculated sums. - /// - /// - 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 - - /// - /// Gets the value into either the double array or column vector - /// or row vector. - /// - /// one-based row index. - /// one-based column index. - /// The value. - /// By convention, ICalcData uses one-based indexes. - 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]; - } - - /// - /// Sets the value into either the double array or column vector - /// or row vector. - /// - /// one-based row index. - /// one-based column index. - /// The value to be set. - /// 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. - /// - 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); - } - - /// - /// Used in the SetValueRowCol implementation - /// - public event Syncfusion.Calculate.ValueChangedEventHandler ValueChanged; - - /// - /// Unused in this implementation. - /// - public void WireParentObject() - { - //empty - } - - #endregion - } -} diff --git a/calculate/Model/Data.cs b/calculate/Model/Data.cs deleted file mode 100644 index 9dfe161584..0000000000 --- a/calculate/Model/Data.cs +++ /dev/null @@ -1,373 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 - - /// - /// Displays the ArrayCalcData values in a TextBox. - /// - 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 - /// - /// 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. - /// - /// The name of the "Data" folder. - /// The filename to be searched. - /// The full path of the file that was found; an empty string is returned if file is not found. - - 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(ExecuteGenerateCommand); - return Gencmd; - } - set - { - Gencmd = value; - } - } - - private ICommand Setcmd; - public ICommand SetCommand - { - get - { - if (Setcmd == null) - Setcmd = new DelegateCommand(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 - } - -} - - - diff --git a/calculate/Model/Model.cs b/calculate/Model/Model.cs deleted file mode 100644 index a563381ad8..0000000000 --- a/calculate/Model/Model.cs +++ /dev/null @@ -1,144 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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(ExecuteAlegbraicCommand); - return algebraicCmd; - } - set - { - algebraicCmd = value; - } - } - public ICommand AngelCmd - { - get - { - if (angelCmd == null) - angelCmd = new DelegateCommand(ExecuteAngleCommand); - return angelCmd; - } - set - { - angelCmd = value; - } - } - public ICommand AutoAngelCmd - { - get - { - if (autoAngelCmd == null) - autoAngelCmd = new DelegateCommand(ExecuteAutoAngleCmd); - return autoAngelCmd; - } - set - { - autoAngelCmd = value; - } - } - public ICommand AutoCalcCmd - { - get - { - if (autoCalcCmd == null) - autoCalcCmd = new DelegateCommand(ExecuteAutoCalcCmd); - return autoCalcCmd; - } - set - { - autoCalcCmd = value; - } - } - public ICommand ContorlCmd - { - get - { - if (contorlCmd == null) - contorlCmd = new DelegateCommand(ExecuteControlCmd); - return contorlCmd; - } - set - { - contorlCmd = value; - } - } - - public ICommand ManualCmd - { - get - { - if (manualCmd == null) - manualCmd = new DelegateCommand(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 - } -} diff --git a/calculate/Properties/AssemblyInfo.cs b/calculate/Properties/AssemblyInfo.cs deleted file mode 100644 index 092ca42c26..0000000000 --- a/calculate/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,62 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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-2020 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 -//CultureYouAreCodingWith in your .csproj file -//inside a . For example, if you are using US english -//in your source files, set the 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")] diff --git a/calculate/Properties/Resources.Designer.cs b/calculate/Properties/Resources.Designer.cs deleted file mode 100644 index 55e581f3d1..0000000000 --- a/calculate/Properties/Resources.Designer.cs +++ /dev/null @@ -1,70 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace syncfusion.calculatedemos.wpf.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "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() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("syncfusion.calculatedemos.wpf.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/calculate/Properties/Resources.resx b/calculate/Properties/Resources.resx deleted file mode 100644 index af7dbebbac..0000000000 --- a/calculate/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/calculate/Properties/Settings.Designer.cs b/calculate/Properties/Settings.Designer.cs deleted file mode 100644 index 83e6a99122..0000000000 --- a/calculate/Properties/Settings.Designer.cs +++ /dev/null @@ -1,33 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace 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; - } - } - } -} diff --git a/calculate/Properties/Settings.settings b/calculate/Properties/Settings.settings deleted file mode 100644 index 033d7a5e9e..0000000000 --- a/calculate/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/calculate/View/CalcQuick/CalcQuickDemo/AlgebraicExpressions.xaml b/calculate/View/CalcQuick/CalcQuickDemo/AlgebraicExpressions.xaml deleted file mode 100644 index e7fae6b195..0000000000 --- a/calculate/View/CalcQuick/CalcQuickDemo/AlgebraicExpressions.xaml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - diff --git a/calculate/View/CalcQuick/CalcQuickDemo/CalcQuickDemo.xaml.cs b/calculate/View/CalcQuick/CalcQuickDemo/CalcQuickDemo.xaml.cs deleted file mode 100644 index 7917e25073..0000000000 --- a/calculate/View/CalcQuick/CalcQuickDemo/CalcQuickDemo.xaml.cs +++ /dev/null @@ -1,86 +0,0 @@ -#region Copyright Syncfusion Inc. 2001-2020. -// Copyright Syncfusion Inc. 2001-2020. 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 syncfusion.demoscommon.wpf; -using Syncfusion.SfSkinManager; -using Syncfusion.Windows.Shared; -namespace syncfusion.calculatedemos.wpf -{ - /// - /// Interaction logic for CalcQuickDemo.xaml - /// - 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 - } -} diff --git a/calculate/View/CalcQuick/CalcQuickDemo/ManualCalcForm.xaml b/calculate/View/CalcQuick/CalcQuickDemo/ManualCalcForm.xaml deleted file mode 100644 index e0de7e3035..0000000000 --- a/calculate/View/CalcQuick/CalcQuickDemo/ManualCalcForm.xaml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -