diff --git a/GettingStarted_Chart/GettingStarted_Chart.sln b/GettingStarted_Chart/GettingStarted_Chart.sln deleted file mode 100644 index bf90239..0000000 --- a/GettingStarted_Chart/GettingStarted_Chart.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29911.84 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GettingStarted_Chart", "GettingStarted_Chart\GettingStarted_Chart.csproj", "{3FCCF646-1E13-4BD1-9919-0BDA35A468CE}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug-Xml|Any CPU = Debug-Xml|Any CPU - Release|Any CPU = Release|Any CPU - Release-Xml|Any CPU = Release-Xml|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {3FCCF646-1E13-4BD1-9919-0BDA35A468CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3FCCF646-1E13-4BD1-9919-0BDA35A468CE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3FCCF646-1E13-4BD1-9919-0BDA35A468CE}.Debug-Xml|Any CPU.ActiveCfg = Debug|Any CPU - {3FCCF646-1E13-4BD1-9919-0BDA35A468CE}.Debug-Xml|Any CPU.Build.0 = Debug|Any CPU - {3FCCF646-1E13-4BD1-9919-0BDA35A468CE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3FCCF646-1E13-4BD1-9919-0BDA35A468CE}.Release|Any CPU.Build.0 = Release|Any CPU - {3FCCF646-1E13-4BD1-9919-0BDA35A468CE}.Release-Xml|Any CPU.ActiveCfg = Release|Any CPU - {3FCCF646-1E13-4BD1-9919-0BDA35A468CE}.Release-Xml|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {8FBDE750-8622-477B-AE16-7EA0B14CB742} - EndGlobalSection -EndGlobal diff --git a/GettingStarted_Chart/GettingStarted_Chart.slnx b/GettingStarted_Chart/GettingStarted_Chart.slnx new file mode 100644 index 0000000..f14eb0d --- /dev/null +++ b/GettingStarted_Chart/GettingStarted_Chart.slnx @@ -0,0 +1,3 @@ + + + diff --git a/GettingStarted_Chart/GettingStarted_Chart/App.config b/GettingStarted_Chart/GettingStarted_Chart/App.config deleted file mode 100644 index 8324aa6..0000000 --- a/GettingStarted_Chart/GettingStarted_Chart/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/GettingStarted_Chart/GettingStarted_Chart/Form1.Designer.cs b/GettingStarted_Chart/GettingStarted_Chart/Form1.Designer.cs index 70b196c..f26d27e 100644 --- a/GettingStarted_Chart/GettingStarted_Chart/Form1.Designer.cs +++ b/GettingStarted_Chart/GettingStarted_Chart/Form1.Designer.cs @@ -3,6 +3,7 @@ using System.ComponentModel; using System.Drawing; using System.Windows.Forms; +using static System.Windows.Forms.VisualStyles.VisualStyleElement; namespace GettingStarted_Chart { @@ -46,8 +47,8 @@ private void InitializeComponent() this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0); this.chartControl1.ChartArea.CursorReDraw = false; this.chartControl1.DataSourceName = "[none]"; - this.chartControl1.IsWindowLess = false; - this.chartControl1.TabIndex = 0; + this.chartControl1.IsWindowLess = false; + this.chartControl1.TabIndex = 0; this.chartControl1.Skins = Skins.Metro; // @@ -55,7 +56,7 @@ private void InitializeComponent() // this.chartControl1.PrimaryXAxis.ValueType = ChartValueType.Category; this.chartControl1.PrimaryXAxis.TitleColor = System.Drawing.SystemColors.ControlText; - + BindingList dataSource = new BindingList(); dataSource.Add(new SalesData("1999", 3)); dataSource.Add(new SalesData("2000", 7)); diff --git a/GettingStarted_Chart/GettingStarted_Chart/Form1.cs b/GettingStarted_Chart/GettingStarted_Chart/Form1.cs index 610d119..82f57fc 100644 --- a/GettingStarted_Chart/GettingStarted_Chart/Form1.cs +++ b/GettingStarted_Chart/GettingStarted_Chart/Form1.cs @@ -1,13 +1,3 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - namespace GettingStarted_Chart { public partial class Form1 : Form diff --git a/GettingStarted_Chart/GettingStarted_Chart/GettingStarted_Chart.csproj b/GettingStarted_Chart/GettingStarted_Chart/GettingStarted_Chart.csproj index 2375f69..54f56f4 100644 --- a/GettingStarted_Chart/GettingStarted_Chart/GettingStarted_Chart.csproj +++ b/GettingStarted_Chart/GettingStarted_Chart/GettingStarted_Chart.csproj @@ -1,108 +1,15 @@ - - - + + - Debug - AnyCPU - {3FCCF646-1E13-4BD1-9919-0BDA35A468CE} WinExe - Properties - WindowsFormsApplication1 - WindowsFormsApplication1 - v4.6 - 512 - true + net10.0-windows + enable + true + enable - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\Syncfusion.Chart.Base.18.2.0.58\lib\net46\Syncfusion.Chart.Base.dll - - - ..\packages\Syncfusion.Chart.Windows.18.2.0.58\lib\net46\Syncfusion.Chart.Windows.dll - - - ..\packages\Syncfusion.Grouping.Base.18.2.0.58\lib\net46\Syncfusion.Grouping.Base.dll - - - ..\packages\Syncfusion.Licensing.18.2.0.58\lib\net46\Syncfusion.Licensing.dll - - - ..\packages\Syncfusion.Shared.Base.18.2.0.58\lib\net46\Syncfusion.Shared.Base.dll - - - - - - - - - - - - - - - - - Form - - - Form1.cs - - - - - - Form1.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - + - + - - + \ No newline at end of file diff --git a/GettingStarted_Chart/GettingStarted_Chart/Program.cs b/GettingStarted_Chart/GettingStarted_Chart/Program.cs index f7ebdf2..867f25c 100644 --- a/GettingStarted_Chart/GettingStarted_Chart/Program.cs +++ b/GettingStarted_Chart/GettingStarted_Chart/Program.cs @@ -1,22 +1,17 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using System.Windows.Forms; - namespace GettingStarted_Chart { - static class Program + internal static class Program { /// - /// The main entry point for the application. + /// The main entry point for the application. /// [STAThread] static void Main() { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); + // To customize application configuration such as set high DPI settings or default font, + // see https://aka.ms/applicationconfiguration. + ApplicationConfiguration.Initialize(); Application.Run(new Form1()); } } -} +} \ No newline at end of file diff --git a/GettingStarted_Chart/GettingStarted_Chart/Properties/AssemblyInfo.cs b/GettingStarted_Chart/GettingStarted_Chart/Properties/AssemblyInfo.cs deleted file mode 100644 index 8efd043..0000000 --- a/GettingStarted_Chart/GettingStarted_Chart/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 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("WindowsFormsApplication1")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("WindowsFormsApplication1")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[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)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("3fccf646-1e13-4bd1-9919-0bda35a468ce")] - -// 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/GettingStarted_Chart/GettingStarted_Chart/Properties/Resources.Designer.cs b/GettingStarted_Chart/GettingStarted_Chart/Properties/Resources.Designer.cs deleted file mode 100644 index ad0ace6..0000000 --- a/GettingStarted_Chart/GettingStarted_Chart/Properties/Resources.Designer.cs +++ /dev/null @@ -1,71 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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 GettingStarted_Chart.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("WindowsFormsApplication1.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/GettingStarted_Chart/GettingStarted_Chart/Properties/Resources.resx b/GettingStarted_Chart/GettingStarted_Chart/Properties/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/GettingStarted_Chart/GettingStarted_Chart/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/GettingStarted_Chart/GettingStarted_Chart/Properties/Settings.Designer.cs b/GettingStarted_Chart/GettingStarted_Chart/Properties/Settings.Designer.cs deleted file mode 100644 index c71270d..0000000 --- a/GettingStarted_Chart/GettingStarted_Chart/Properties/Settings.Designer.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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 GettingStarted_Chart.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/GettingStarted_Chart/GettingStarted_Chart/Properties/Settings.settings b/GettingStarted_Chart/GettingStarted_Chart/Properties/Settings.settings deleted file mode 100644 index 3964565..0000000 --- a/GettingStarted_Chart/GettingStarted_Chart/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/GettingStarted_Chart/GettingStarted_Chart/packages.config b/GettingStarted_Chart/GettingStarted_Chart/packages.config deleted file mode 100644 index 966f789..0000000 --- a/GettingStarted_Chart/GettingStarted_Chart/packages.config +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file