diff --git a/.travis.yml b/.travis.yml
index 556acdf..6fe0bb2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,12 @@
language: csharp
+mono: none
+os: linux
+dotnet: 2.1.4
+solution: Barcode.sln
+
+install:
+- dotnet restore
+
script:
- - xbuild Barcode.sln
+ - cd BarcodeStandard
+ - dotnet build
diff --git a/Barcode.sln b/Barcode.sln
index 93c83d5..0b4e25a 100644
--- a/Barcode.sln
+++ b/Barcode.sln
@@ -1,29 +1,13 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2012
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BarcodeLibTest", "BarcodeLibTest\BarcodeLibTest.csproj", "{8DB57BA1-E88C-43D9-AD0E-04BFA6B11C61}"
+# Visual Studio 15
+VisualStudioVersion = 15.0.27703.2018
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BarcodeStandard", "BarcodeStandard\BarcodeStandard.csproj", "{24B824A4-A4F1-4C31-A935-7EA11304B48B}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BarcodeLib", "BarcodeLib\BarcodeLib.csproj", "{F8646414-0C9C-49BB-9DA3-3923BF78A398}"
-EndProject
-Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "BarcodeDemo", "BarcodeDemo\", "{F66997B3-1333-4C79-A268-DA9DD62174A2}"
- ProjectSection(WebsiteProperties) = preProject
- TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
- Debug.AspNetCompiler.VirtualPath = "/BarcodeDemo"
- Debug.AspNetCompiler.PhysicalPath = "BarcodeDemo\"
- Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\BarcodeDemo\"
- Debug.AspNetCompiler.Updateable = "true"
- Debug.AspNetCompiler.ForceOverwrite = "true"
- Debug.AspNetCompiler.FixedNames = "false"
- Debug.AspNetCompiler.Debug = "True"
- Release.AspNetCompiler.VirtualPath = "/BarcodeDemo"
- Release.AspNetCompiler.PhysicalPath = "BarcodeDemo\"
- Release.AspNetCompiler.TargetPath = "PrecompiledWeb\BarcodeDemo\"
- Release.AspNetCompiler.Updateable = "true"
- Release.AspNetCompiler.ForceOverwrite = "true"
- Release.AspNetCompiler.FixedNames = "false"
- Release.AspNetCompiler.Debug = "False"
- VWDPort = "59259"
- DefaultWebSiteLanguage = "Visual C#"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BarcodeStandardExample", "BarcodeStandardExample\BarcodeStandardExample.csproj", "{411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}"
+ ProjectSection(ProjectDependencies) = postProject
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B} = {24B824A4-A4F1-4C31-A935-7EA11304B48B}
EndProjectSection
EndProject
Global
@@ -36,36 +20,35 @@ Global
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {8DB57BA1-E88C-43D9-AD0E-04BFA6B11C61}.Debug|.NET.ActiveCfg = Debug|Any CPU
- {8DB57BA1-E88C-43D9-AD0E-04BFA6B11C61}.Debug|.NET.Build.0 = Debug|Any CPU
- {8DB57BA1-E88C-43D9-AD0E-04BFA6B11C61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8DB57BA1-E88C-43D9-AD0E-04BFA6B11C61}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8DB57BA1-E88C-43D9-AD0E-04BFA6B11C61}.Debug|x86.ActiveCfg = Debug|Any CPU
- {8DB57BA1-E88C-43D9-AD0E-04BFA6B11C61}.Release|.NET.ActiveCfg = Release|Any CPU
- {8DB57BA1-E88C-43D9-AD0E-04BFA6B11C61}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8DB57BA1-E88C-43D9-AD0E-04BFA6B11C61}.Release|Any CPU.Build.0 = Release|Any CPU
- {8DB57BA1-E88C-43D9-AD0E-04BFA6B11C61}.Release|x86.ActiveCfg = Release|Any CPU
- {F8646414-0C9C-49BB-9DA3-3923BF78A398}.Debug|.NET.ActiveCfg = Debug|Any CPU
- {F8646414-0C9C-49BB-9DA3-3923BF78A398}.Debug|.NET.Build.0 = Debug|Any CPU
- {F8646414-0C9C-49BB-9DA3-3923BF78A398}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F8646414-0C9C-49BB-9DA3-3923BF78A398}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F8646414-0C9C-49BB-9DA3-3923BF78A398}.Debug|x86.ActiveCfg = Debug|x86
- {F8646414-0C9C-49BB-9DA3-3923BF78A398}.Debug|x86.Build.0 = Debug|x86
- {F8646414-0C9C-49BB-9DA3-3923BF78A398}.Release|.NET.ActiveCfg = Release|Any CPU
- {F8646414-0C9C-49BB-9DA3-3923BF78A398}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F8646414-0C9C-49BB-9DA3-3923BF78A398}.Release|Any CPU.Build.0 = Release|Any CPU
- {F8646414-0C9C-49BB-9DA3-3923BF78A398}.Release|x86.ActiveCfg = Release|x86
- {F8646414-0C9C-49BB-9DA3-3923BF78A398}.Release|x86.Build.0 = Release|x86
- {F66997B3-1333-4C79-A268-DA9DD62174A2}.Debug|.NET.ActiveCfg = Debug|Any CPU
- {F66997B3-1333-4C79-A268-DA9DD62174A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F66997B3-1333-4C79-A268-DA9DD62174A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F66997B3-1333-4C79-A268-DA9DD62174A2}.Debug|x86.ActiveCfg = Debug|Any CPU
- {F66997B3-1333-4C79-A268-DA9DD62174A2}.Release|.NET.ActiveCfg = Debug|Any CPU
- {F66997B3-1333-4C79-A268-DA9DD62174A2}.Release|Any CPU.ActiveCfg = Debug|Any CPU
- {F66997B3-1333-4C79-A268-DA9DD62174A2}.Release|Any CPU.Build.0 = Debug|Any CPU
- {F66997B3-1333-4C79-A268-DA9DD62174A2}.Release|x86.ActiveCfg = Debug|Any CPU
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B}.Debug|.NET.ActiveCfg = Debug|Any CPU
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B}.Debug|.NET.Build.0 = Debug|Any CPU
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B}.Debug|x86.Build.0 = Debug|Any CPU
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B}.Release|.NET.ActiveCfg = Release|Any CPU
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B}.Release|.NET.Build.0 = Release|Any CPU
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B}.Release|x86.ActiveCfg = Release|Any CPU
+ {24B824A4-A4F1-4C31-A935-7EA11304B48B}.Release|x86.Build.0 = Release|Any CPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}.Debug|.NET.ActiveCfg = Debug|Any CPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}.Debug|.NET.Build.0 = Debug|Any CPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}.Debug|x86.Build.0 = Debug|Any CPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}.Release|.NET.ActiveCfg = Release|Any CPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}.Release|.NET.Build.0 = Release|Any CPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}.Release|Any CPU.Build.0 = Release|Any CPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}.Release|x86.ActiveCfg = Release|Any CPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {E8B3FD4E-DAB0-460E-B8D8-9C5881AE6963}
+ EndGlobalSection
EndGlobal
diff --git a/BarcodeDemo/AjaxControlToolkit.dll b/BarcodeDemo/AjaxControlToolkit.dll
deleted file mode 100644
index 9cdf852..0000000
Binary files a/BarcodeDemo/AjaxControlToolkit.dll and /dev/null differ
diff --git a/BarcodeDemo/BarcodeLib.dll b/BarcodeDemo/BarcodeLib.dll
deleted file mode 100644
index 1b7dba9..0000000
Binary files a/BarcodeDemo/BarcodeLib.dll and /dev/null differ
diff --git a/BarcodeDemo/Default.aspx b/BarcodeDemo/Default.aspx
deleted file mode 100644
index e1374e7..0000000
--- a/BarcodeDemo/Default.aspx
+++ /dev/null
@@ -1,187 +0,0 @@
-<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
-
-<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
-
-
-
-
-
-
- Barcode Page
-
-
-
-
-
-
-
diff --git a/BarcodeDemo/Default.aspx.cs b/BarcodeDemo/Default.aspx.cs
deleted file mode 100644
index 0bb5efe..0000000
--- a/BarcodeDemo/Default.aspx.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-using System;
-using System.Collections;
-using System.Configuration;
-using System.Data;
-using System.Linq;
-using System.Web;
-using System.Web.Security;
-using System.Web.UI;
-using System.Web.UI.HtmlControls;
-using System.Web.UI.WebControls;
-using System.Web.UI.WebControls.WebParts;
-using System.Xml.Linq;
-
-public partial class _Default : System.Web.UI.Page
-{
- protected void Page_Load(object sender, EventArgs e)
- {
- this.BarcodeImage.Visible = false;
-
- lblLibraryVersion.Text = BarcodeLib.Barcode.Version.ToString();
- }
-
- protected void btnEncode_Click(object sender, EventArgs e)
- {
- string strImageURL = "GenerateBarcodeImage.aspx?d=" + this.txtData.Text.Trim() + "&h=" + this.txtHeight.Text.Trim() + "&w=" + this.txtWidth.Text.Trim() + "&bc=" + this.txtBackColor.Text.Trim() + "&fc=" + this.txtForeColor.Text.Trim() + "&t=" + this.cbEncodeType.SelectedValue + "&il=" + this.chkGenerateLabel.Checked.ToString() + "&if=" + this.ddlImageFormat.SelectedValue + "&align=" + GetAlignmentValue();
- this.BarcodeImage.ImageUrl = strImageURL;
- this.BarcodeImage.Width = Convert.ToInt32(this.txtWidth.Text);
- this.BarcodeImage.Height = Convert.ToInt32(this.txtHeight.Text);
- this.BarcodeImage.Visible = true;
- }
-
- protected string GetAlignmentValue()
- {
- if (this.rbAlignCenter.Checked)
- return "c";
- else if (this.rbAlignLeft.Checked)
- return "l";
- else if (this.rbAlignRight.Checked)
- return "r";
- return "c";
- }
-}
diff --git a/BarcodeDemo/GenerateBarcodeImage.aspx b/BarcodeDemo/GenerateBarcodeImage.aspx
deleted file mode 100644
index 058d2de..0000000
--- a/BarcodeDemo/GenerateBarcodeImage.aspx
+++ /dev/null
@@ -1,16 +0,0 @@
-<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GenerateBarcodeImage.aspx.cs" Inherits="GenerateBarcodeImage" %>
-
-
-
-
-
- Generate Barcode Image
-
-
-
-
-
diff --git a/BarcodeDemo/GenerateBarcodeImage.aspx.cs b/BarcodeDemo/GenerateBarcodeImage.aspx.cs
deleted file mode 100644
index 8722733..0000000
--- a/BarcodeDemo/GenerateBarcodeImage.aspx.cs
+++ /dev/null
@@ -1,126 +0,0 @@
-using System;
-using System.Collections;
-using System.Configuration;
-using System.Data;
-using System.Linq;
-using System.Web;
-using System.Web.Security;
-using System.Web.UI;
-using System.Web.UI.HtmlControls;
-using System.Web.UI.WebControls;
-using System.Web.UI.WebControls.WebParts;
-using System.Xml.Linq;
-using System.Drawing.Imaging;
-
-public partial class GenerateBarcodeImage : System.Web.UI.Page
-{
- protected void Page_Load(object sender, EventArgs e)
- {
- if (Request.QueryString["d"] != null)
- {
- //Read in the parameters
- string strData = Request.QueryString["d"];
- int imageHeight = Convert.ToInt32(Request.QueryString["h"]);
- int imageWidth = Convert.ToInt32(Request.QueryString["w"]);
- string Forecolor = Request.QueryString["fc"];
- string Backcolor = Request.QueryString["bc"];
- bool bIncludeLabel = Request.QueryString["il"].ToLower().Trim() == "true";
- string strImageFormat = Request.QueryString["if"].ToLower().Trim();
- string strAlignment = Request.QueryString["align"].ToLower().Trim();
-
- BarcodeLib.TYPE type = BarcodeLib.TYPE.UNSPECIFIED;
- switch (Request.QueryString["t"].Trim())
- {
- case "UPC-A": type = BarcodeLib.TYPE.UPCA; break;
- case "UPC-E": type = BarcodeLib.TYPE.UPCE; break;
- case "UPC 2 Digit Ext": type = BarcodeLib.TYPE.UPC_SUPPLEMENTAL_2DIGIT; break;
- case "UPC 5 Digit Ext": type = BarcodeLib.TYPE.UPC_SUPPLEMENTAL_5DIGIT; break;
- case "EAN-13": type = BarcodeLib.TYPE.EAN13; break;
- case "JAN-13": type = BarcodeLib.TYPE.JAN13; break;
- case "EAN-8": type = BarcodeLib.TYPE.EAN8; break;
- case "ITF-14": type = BarcodeLib.TYPE.ITF14; break;
- case "Codabar": type = BarcodeLib.TYPE.Codabar; break;
- case "PostNet": type = BarcodeLib.TYPE.PostNet; break;
- case "Bookland-ISBN": type = BarcodeLib.TYPE.BOOKLAND; break;
- case "Code 11": type = BarcodeLib.TYPE.CODE11; break;
- case "Code 39": type = BarcodeLib.TYPE.CODE39; break;
- case "Code 39 Extended": type = BarcodeLib.TYPE.CODE39Extended; break;
- case "Code 93": type = BarcodeLib.TYPE.CODE93; break;
- case "LOGMARS": type = BarcodeLib.TYPE.LOGMARS; break;
- case "MSI": type = BarcodeLib.TYPE.MSI_Mod10; break;
- case "Interleaved 2 of 5": type = BarcodeLib.TYPE.Interleaved2of5; break;
- case "Standard 2 of 5": type = BarcodeLib.TYPE.Standard2of5; break;
- case "Code 128": type = BarcodeLib.TYPE.CODE128; break;
- case "Code 128-A": type = BarcodeLib.TYPE.CODE128A; break;
- case "Code 128-B": type = BarcodeLib.TYPE.CODE128B; break;
- case "Code 128-C": type = BarcodeLib.TYPE.CODE128C; break;
- case "Telepen": type = BarcodeLib.TYPE.TELEPEN; break;
- case "FIM (Facing Identification Mark)": type = BarcodeLib.TYPE.FIM; break;
- case "Pharmacode": type = BarcodeLib.TYPE.PHARMACODE; break;
- default: break;
- }//switch
-
- System.Drawing.Image barcodeImage = null;
- try
- {
- BarcodeLib.Barcode b = new BarcodeLib.Barcode();
- if (type != BarcodeLib.TYPE.UNSPECIFIED)
- {
- b.IncludeLabel = bIncludeLabel;
-
- //alignment
- switch (strAlignment.ToLower().Trim())
- {
- case "c": b.Alignment = BarcodeLib.AlignmentPositions.CENTER;
- break;
- case "r": b.Alignment = BarcodeLib.AlignmentPositions.RIGHT;
- break;
- case "l": b.Alignment = BarcodeLib.AlignmentPositions.LEFT;
- break;
- default: b.Alignment = BarcodeLib.AlignmentPositions.CENTER;
- break;
- }//switch
-
- if (Forecolor.Trim() == "" && Forecolor.Trim().Length != 6)
- Forecolor = "000000";
- if (Backcolor.Trim() == "" && Backcolor.Trim().Length != 6)
- Backcolor = "FFFFFF";
-
- //===== Encoding performed here =====
- barcodeImage = b.Encode(type, strData.Trim(), System.Drawing.ColorTranslator.FromHtml("#" + Forecolor), System.Drawing.ColorTranslator.FromHtml("#" + Backcolor), imageWidth, imageHeight);
- //===================================
-
- //===== Static Encoding performed here =====
- //barcodeImage = BarcodeLib.Barcode.DoEncode(type, this.txtData.Text.Trim(), this.chkGenerateLabel.Checked, this.btnForeColor.BackColor, this.btnBackColor.BackColor);
- //==========================================
-
- Response.ContentType = "image/" + strImageFormat;
- System.IO.MemoryStream MemStream = new System.IO.MemoryStream();
-
- switch(strImageFormat)
- {
- case "gif": barcodeImage.Save(MemStream, ImageFormat.Gif); break;
- case "jpeg": barcodeImage.Save(MemStream, ImageFormat.Jpeg); break;
- case "png": barcodeImage.Save(MemStream, ImageFormat.Png); break;
- case "bmp": barcodeImage.Save(MemStream, ImageFormat.Bmp); break;
- case "tiff": barcodeImage.Save(MemStream, ImageFormat.Tiff); break;
- default: break;
- }//switch
- MemStream.WriteTo(Response.OutputStream);
- }//if
- }//try
- catch (Exception ex)
- {
- //TODO: find a way to return this to display the encoding error message
- }//catch
- finally
- {
- if (barcodeImage != null)
- {
- //Clean up / Dispose...
- barcodeImage.Dispose();
- }
- }//finally
- }//if
- }
-}
diff --git a/BarcodeDemo/stylesheet.css b/BarcodeDemo/stylesheet.css
deleted file mode 100644
index 6d87bdf..0000000
--- a/BarcodeDemo/stylesheet.css
+++ /dev/null
@@ -1,208 +0,0 @@
-/* General */
-body
-{
- background-image: url("../images/body_bg_light.gif");
-}
-
-div { text-align:left; }
-
-.ContentHolder
-{
- z-index: 1;
- left: 5px;
- top: 50px;
- /*min-height: 500px; */
- margin-top: 0;
- background-color:#FFFFFF;
- /*border:solid 1px #000000;*/
- visibility: visible;
- color: #DEDEDE;
-}
-
-.ContentBorderLeft
-{
- z-index: 1;
- margin-top: 0;
- background-color:#FFFFFF;
- border-left: solid 1px black;
- visibility: visible;
- color: #DEDEDE;
-}
-
-.ContentBorderRight
-{
- z-index: 1;
- margin-top: 0;
- background-color:#FFFFFF;
- border-right: solid 1px black;
- visibility: visible;
- color: #DEDEDE;
-}
-
-.ContentBorderBottom
-{
- z-index: 1;
- margin-top: 0;
- background-color:#FFFFFF;
- border-bottom: solid 1px black;
- visibility: visible;
- color: #DEDEDE;
-}
-
-.ContentBorderTop
-{
- z-index: 1;
- margin-top: 0;
- background-color:#FFFFFF;
- border-top: solid 1px black;
- visibility: visible;
- color: #DEDEDE;
-}
-
-.ContentBorderTopLeft
-{
- border-collapse: collapse;
- background: url(../images/topleftcorner-white.gif);
- background-repeat:no-repeat;
- background-position:bottom;
- height: 6px;
-}
-.ContentBorderTopRight
-{
- border-collapse: collapse;
- background: url(../images/toprightcorner-white.gif);
- background-repeat:no-repeat;
- background-position:bottom;
- height: 6px;
-}
-.ContentBorderBottomLeft
-{
- background: url(../images/bottomleftcorner-white.gif);
- background-repeat:no-repeat;
- background-position:bottom;
- height: 6px;
-}
-.ContentBorderBottomRight
-{
- background: url(../images/bottomrightcorner-white.gif);
- background-repeat:no-repeat;
- background-position:bottom;
- height: 6px;
-}
-
-.tableHeaderFooter
-{
- border-collapse: collapse;
- margin-right: auto;
- margin-left: auto;
- padding: 0 0 0 0;
-}
-
-.copyRight
-{
- color: #ABABAB;
- text-decoration: none;
-}
-
-.copyRight:hover
-{
- color: yellow;
- text-decoration: none;
-}
-
-table
-{
- border-collapse: collapse;
-}
-
-/* Picture Album */
-.PictureAlbumPageButtons
-{
- text-decoration: none;
- color: black;
-}
-.PictureAlbumPageButtons:hover
-{
- text-decoration: none;
- color: yellow;
-}
-
-/* Popup Images */
-.noBorderImage
-{
- border: none 0 black;
-}
-
-.noBorderImage:hover
-{
- filter: alpha(opacity=70);
- -moz-opacity: 0.7;
-}
-
-.modalBackground {
- background-color:Gray;
- filter:alpha(opacity=80);
- /*opacity:0.80;*/
-}
-
-/* Menu */
-.toolbar
-{
- font-size: 13px;
- font-family: Verdana;
- font-style: normal;
- color: #FFFFFF;
- margin: 0px;
- background: url(../images/menu-background.png);
- background-repeat: repeat-x;
- width: 688px;
- height: 28px;
- background-position:bottom;
-}
-.menuleftend
-{
- width: 6px;
- background: url(../images/menu-leftend.png);
- background-repeat: no-repeat;
- background-position:bottom;
-}
-.menurightend
-{
- width: 6px;
- background: url(../images/menu-rightend.png);
- background-repeat: no-repeat;
- background-position:bottom;
-}
-
-.MenuItemStatic
-{
- font-size: 13px;
- font-family: Verdana;
- font-style: normal;
- color: #CECECE;
- padding: 3px;
- margin: 0px;
- CURSOR: default;
-}
-.MenuItemStatic:hover
-{
- color: Yellow;
- cursor: pointer;
-}
-
-.MenuItemDynamicItem
-{
- font-size: 13px;
- font-family: Verdana;
- font-style: normal;
- color: #CECECE;
- padding: 0px;
- CURSOR: default;
- margin: 4px;
-}
-.MenuItemDynamicItem:hover
-{
- /*color: #94A8CD;*/
- color: Yellow;
- cursor: pointer;
-}
diff --git a/BarcodeDemo/web.config b/BarcodeDemo/web.config
deleted file mode 100644
index 15e7789..0000000
--- a/BarcodeDemo/web.config
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/BarcodeLib/BarcodeLib.csproj b/BarcodeLib/BarcodeLib.csproj
deleted file mode 100644
index e3fa48a..0000000
--- a/BarcodeLib/BarcodeLib.csproj
+++ /dev/null
@@ -1,169 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.21022
- 2.0
- {F8646414-0C9C-49BB-9DA3-3923BF78A398}
- Library
- Properties
- BarcodeLib
- BarcodeLib
-
-
- 3.5
-
-
- true
- v2.0
- publish\
- true
- Disk
- false
- Foreground
- 7
- Days
- false
- false
- true
- 0
- 1.0.0.%2a
- false
- false
- true
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- false
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
- false
-
-
- true
- bin\x86\Debug\
- DEBUG;TRACE
- full
- x86
- prompt
- false
-
-
- bin\x86\Release\
- TRACE
- true
- pdbonly
- x86
- prompt
- false
-
-
- signingKey.snk
-
-
-
-
-
-
-
-
-
-
-
- True
- True
- BarcodeXML.xsd
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Designer
-
-
-
- PreserveNewest
-
-
-
-
-
-
- False
- .NET Framework 3.5 SP1 Client Profile
- false
-
-
- False
- .NET Framework 3.5 SP1
- true
-
-
- False
- Windows Installer 3.1
- true
-
-
-
-
- BarcodeXML.xsd
-
-
- Designer
- MSDataSetGenerator
- BarcodeXML.Designer.cs
-
-
- BarcodeXML.xsd
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/BarcodeLib/BarcodeXML.Designer.cs b/BarcodeLib/BarcodeXML.Designer.cs
deleted file mode 100644
index 952a495..0000000
--- a/BarcodeLib/BarcodeXML.Designer.cs
+++ /dev/null
@@ -1,1255 +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.
-//
-//------------------------------------------------------------------------------
-
-#pragma warning disable 1591
-
-namespace BarcodeLib {
-
-
- ///
- ///Represents a strongly typed in-memory cache of data.
- ///
- [global::System.Serializable()]
- [global::System.ComponentModel.DesignerCategoryAttribute("code")]
- [global::System.ComponentModel.ToolboxItem(true)]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
- [global::System.Xml.Serialization.XmlRootAttribute("BarcodeXML")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
- public partial class BarcodeXML : global::System.Data.DataSet {
-
- private BarcodeDataTable tableBarcode;
-
- private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public BarcodeXML() {
- this.BeginInit();
- this.InitClass();
- global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- base.Tables.CollectionChanged += schemaChangedHandler;
- base.Relations.CollectionChanged += schemaChangedHandler;
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected BarcodeXML(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context, false) {
- if ((this.IsBinarySerialized(info, context) == true)) {
- this.InitVars(false);
- global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- this.Tables.CollectionChanged += schemaChangedHandler1;
- this.Relations.CollectionChanged += schemaChangedHandler1;
- return;
- }
- string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
- if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
- global::System.Data.DataSet ds = new global::System.Data.DataSet();
- ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
- if ((ds.Tables["Barcode"] != null)) {
- base.Tables.Add(new BarcodeDataTable(ds.Tables["Barcode"]));
- }
- this.DataSetName = ds.DataSetName;
- this.Prefix = ds.Prefix;
- this.Namespace = ds.Namespace;
- this.Locale = ds.Locale;
- this.CaseSensitive = ds.CaseSensitive;
- this.EnforceConstraints = ds.EnforceConstraints;
- this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
- this.InitVars();
- }
- else {
- this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
- }
- this.GetSerializationData(info, context);
- global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- base.Tables.CollectionChanged += schemaChangedHandler;
- this.Relations.CollectionChanged += schemaChangedHandler;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public BarcodeDataTable Barcode {
- get {
- return this.tableBarcode;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- [global::System.ComponentModel.BrowsableAttribute(true)]
- [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
- public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
- get {
- return this._schemaSerializationMode;
- }
- set {
- this._schemaSerializationMode = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
- public new global::System.Data.DataTableCollection Tables {
- get {
- return base.Tables;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
- public new global::System.Data.DataRelationCollection Relations {
- get {
- return base.Relations;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected override void InitializeDerivedDataSet() {
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public override global::System.Data.DataSet Clone() {
- BarcodeXML cln = ((BarcodeXML)(base.Clone()));
- cln.InitVars();
- cln.SchemaSerializationMode = this.SchemaSerializationMode;
- return cln;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected override bool ShouldSerializeTables() {
- return false;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected override bool ShouldSerializeRelations() {
- return false;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
- if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
- this.Reset();
- global::System.Data.DataSet ds = new global::System.Data.DataSet();
- ds.ReadXml(reader);
- if ((ds.Tables["Barcode"] != null)) {
- base.Tables.Add(new BarcodeDataTable(ds.Tables["Barcode"]));
- }
- this.DataSetName = ds.DataSetName;
- this.Prefix = ds.Prefix;
- this.Namespace = ds.Namespace;
- this.Locale = ds.Locale;
- this.CaseSensitive = ds.CaseSensitive;
- this.EnforceConstraints = ds.EnforceConstraints;
- this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
- this.InitVars();
- }
- else {
- this.ReadXml(reader);
- this.InitVars();
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
- global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
- this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
- stream.Position = 0;
- return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- internal void InitVars() {
- this.InitVars(true);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- internal void InitVars(bool initTable) {
- this.tableBarcode = ((BarcodeDataTable)(base.Tables["Barcode"]));
- if ((initTable == true)) {
- if ((this.tableBarcode != null)) {
- this.tableBarcode.InitVars();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- private void InitClass() {
- this.DataSetName = "BarcodeXML";
- this.Prefix = "";
- this.Namespace = "http://tempuri.org/BarcodeXML.xsd";
- this.EnforceConstraints = true;
- this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
- this.tableBarcode = new BarcodeDataTable();
- base.Tables.Add(this.tableBarcode);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- private bool ShouldSerializeBarcode() {
- return false;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
- if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
- this.InitVars();
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- BarcodeXML ds = new BarcodeXML();
- global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
- global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
- any.Namespace = ds.Namespace;
- sequence.Items.Add(any);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public delegate void BarcodeRowChangeEventHandler(object sender, BarcodeRowChangeEvent e);
-
- ///
- ///Represents the strongly named DataTable class.
- ///
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class BarcodeDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
-
- private global::System.Data.DataColumn columnType;
-
- private global::System.Data.DataColumn columnRawData;
-
- private global::System.Data.DataColumn columnEncodedValue;
-
- private global::System.Data.DataColumn columnEncodingTime;
-
- private global::System.Data.DataColumn columnIncludeLabel;
-
- private global::System.Data.DataColumn columnForecolor;
-
- private global::System.Data.DataColumn columnBackcolor;
-
- private global::System.Data.DataColumn columnCountryAssigningManufacturingCode;
-
- private global::System.Data.DataColumn columnImageWidth;
-
- private global::System.Data.DataColumn columnImageHeight;
-
- private global::System.Data.DataColumn columnImage;
-
- private global::System.Data.DataColumn columnRotateFlipType;
-
- private global::System.Data.DataColumn columnLabelPosition;
-
- private global::System.Data.DataColumn columnAlignment;
-
- private global::System.Data.DataColumn columnLabelFont;
-
- private global::System.Data.DataColumn columnImageFormat;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public BarcodeDataTable() {
- this.TableName = "Barcode";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- internal BarcodeDataTable(global::System.Data.DataTable table) {
- this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected BarcodeDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context) {
- this.InitVars();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn TypeColumn {
- get {
- return this.columnType;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn RawDataColumn {
- get {
- return this.columnRawData;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn EncodedValueColumn {
- get {
- return this.columnEncodedValue;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn EncodingTimeColumn {
- get {
- return this.columnEncodingTime;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn IncludeLabelColumn {
- get {
- return this.columnIncludeLabel;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn ForecolorColumn {
- get {
- return this.columnForecolor;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn BackcolorColumn {
- get {
- return this.columnBackcolor;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn CountryAssigningManufacturingCodeColumn {
- get {
- return this.columnCountryAssigningManufacturingCode;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn ImageWidthColumn {
- get {
- return this.columnImageWidth;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn ImageHeightColumn {
- get {
- return this.columnImageHeight;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn ImageColumn {
- get {
- return this.columnImage;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn RotateFlipTypeColumn {
- get {
- return this.columnRotateFlipType;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn LabelPositionColumn {
- get {
- return this.columnLabelPosition;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn AlignmentColumn {
- get {
- return this.columnAlignment;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn LabelFontColumn {
- get {
- return this.columnLabelFont;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataColumn ImageFormatColumn {
- get {
- return this.columnImageFormat;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public BarcodeRow this[int index] {
- get {
- return ((BarcodeRow)(this.Rows[index]));
- }
- }
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public event BarcodeRowChangeEventHandler BarcodeRowChanging;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public event BarcodeRowChangeEventHandler BarcodeRowChanged;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public event BarcodeRowChangeEventHandler BarcodeRowDeleting;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public event BarcodeRowChangeEventHandler BarcodeRowDeleted;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void AddBarcodeRow(BarcodeRow row) {
- this.Rows.Add(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public BarcodeRow AddBarcodeRow(
- string Type,
- string RawData,
- string EncodedValue,
- double EncodingTime,
- bool IncludeLabel,
- string Forecolor,
- string Backcolor,
- string CountryAssigningManufacturingCode,
- int ImageWidth,
- int ImageHeight,
- string Image,
- System.Drawing.RotateFlipType RotateFlipType,
- int LabelPosition,
- int Alignment,
- string LabelFont,
- string ImageFormat) {
- BarcodeRow rowBarcodeRow = ((BarcodeRow)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- Type,
- RawData,
- EncodedValue,
- EncodingTime,
- IncludeLabel,
- Forecolor,
- Backcolor,
- CountryAssigningManufacturingCode,
- ImageWidth,
- ImageHeight,
- Image,
- RotateFlipType,
- LabelPosition,
- Alignment,
- LabelFont,
- ImageFormat};
- rowBarcodeRow.ItemArray = columnValuesArray;
- this.Rows.Add(rowBarcodeRow);
- return rowBarcodeRow;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public virtual global::System.Collections.IEnumerator GetEnumerator() {
- return this.Rows.GetEnumerator();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public override global::System.Data.DataTable Clone() {
- BarcodeDataTable cln = ((BarcodeDataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected override global::System.Data.DataTable CreateInstance() {
- return new BarcodeDataTable();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- internal void InitVars() {
- this.columnType = base.Columns["Type"];
- this.columnRawData = base.Columns["RawData"];
- this.columnEncodedValue = base.Columns["EncodedValue"];
- this.columnEncodingTime = base.Columns["EncodingTime"];
- this.columnIncludeLabel = base.Columns["IncludeLabel"];
- this.columnForecolor = base.Columns["Forecolor"];
- this.columnBackcolor = base.Columns["Backcolor"];
- this.columnCountryAssigningManufacturingCode = base.Columns["CountryAssigningManufacturingCode"];
- this.columnImageWidth = base.Columns["ImageWidth"];
- this.columnImageHeight = base.Columns["ImageHeight"];
- this.columnImage = base.Columns["Image"];
- this.columnRotateFlipType = base.Columns["RotateFlipType"];
- this.columnLabelPosition = base.Columns["LabelPosition"];
- this.columnAlignment = base.Columns["Alignment"];
- this.columnLabelFont = base.Columns["LabelFont"];
- this.columnImageFormat = base.Columns["ImageFormat"];
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- private void InitClass() {
- this.columnType = new global::System.Data.DataColumn("Type", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnType);
- this.columnRawData = new global::System.Data.DataColumn("RawData", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnRawData);
- this.columnEncodedValue = new global::System.Data.DataColumn("EncodedValue", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnEncodedValue);
- this.columnEncodingTime = new global::System.Data.DataColumn("EncodingTime", typeof(double), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnEncodingTime);
- this.columnIncludeLabel = new global::System.Data.DataColumn("IncludeLabel", typeof(bool), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnIncludeLabel);
- this.columnForecolor = new global::System.Data.DataColumn("Forecolor", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnForecolor);
- this.columnBackcolor = new global::System.Data.DataColumn("Backcolor", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnBackcolor);
- this.columnCountryAssigningManufacturingCode = new global::System.Data.DataColumn("CountryAssigningManufacturingCode", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCountryAssigningManufacturingCode);
- this.columnImageWidth = new global::System.Data.DataColumn("ImageWidth", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnImageWidth);
- this.columnImageHeight = new global::System.Data.DataColumn("ImageHeight", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnImageHeight);
- this.columnImage = new global::System.Data.DataColumn("Image", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnImage);
- this.columnRotateFlipType = new global::System.Data.DataColumn("RotateFlipType", typeof(global::System.Drawing.RotateFlipType), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnRotateFlipType);
- this.columnLabelPosition = new global::System.Data.DataColumn("LabelPosition", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnLabelPosition);
- this.columnAlignment = new global::System.Data.DataColumn("Alignment", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnAlignment);
- this.columnLabelFont = new global::System.Data.DataColumn("LabelFont", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnLabelFont);
- this.columnImageFormat = new global::System.Data.DataColumn("ImageFormat", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnImageFormat);
- this.columnImage.MaxLength = 10000000;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public BarcodeRow NewBarcodeRow() {
- return ((BarcodeRow)(this.NewRow()));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new BarcodeRow(builder);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected override global::System.Type GetRowType() {
- return typeof(BarcodeRow);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.BarcodeRowChanged != null)) {
- this.BarcodeRowChanged(this, new BarcodeRowChangeEvent(((BarcodeRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.BarcodeRowChanging != null)) {
- this.BarcodeRowChanging(this, new BarcodeRowChangeEvent(((BarcodeRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.BarcodeRowDeleted != null)) {
- this.BarcodeRowDeleted(this, new BarcodeRowChangeEvent(((BarcodeRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.BarcodeRowDeleting != null)) {
- this.BarcodeRowDeleting(this, new BarcodeRowChangeEvent(((BarcodeRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void RemoveBarcodeRow(BarcodeRow row) {
- this.Rows.Remove(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
- global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- BarcodeXML ds = new BarcodeXML();
- global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
- any1.Namespace = "http://www.w3.org/2001/XMLSchema";
- any1.MinOccurs = new decimal(0);
- any1.MaxOccurs = decimal.MaxValue;
- any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any1);
- global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
- any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- any2.MinOccurs = new decimal(1);
- any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any2);
- global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute1.Name = "namespace";
- attribute1.FixedValue = ds.Namespace;
- type.Attributes.Add(attribute1);
- global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute2.Name = "tableTypeName";
- attribute2.FixedValue = "BarcodeDataTable";
- type.Attributes.Add(attribute2);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
- }
-
- ///
- ///Represents strongly named DataRow class.
- ///
- public partial class BarcodeRow : global::System.Data.DataRow {
-
- private BarcodeDataTable tableBarcode;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- internal BarcodeRow(global::System.Data.DataRowBuilder rb) :
- base(rb) {
- this.tableBarcode = ((BarcodeDataTable)(this.Table));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public string Type {
- get {
- try {
- return ((string)(this[this.tableBarcode.TypeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'Type\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.TypeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public string RawData {
- get {
- try {
- return ((string)(this[this.tableBarcode.RawDataColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'RawData\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.RawDataColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public string EncodedValue {
- get {
- try {
- return ((string)(this[this.tableBarcode.EncodedValueColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'EncodedValue\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.EncodedValueColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public double EncodingTime {
- get {
- try {
- return ((double)(this[this.tableBarcode.EncodingTimeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'EncodingTime\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.EncodingTimeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IncludeLabel {
- get {
- try {
- return ((bool)(this[this.tableBarcode.IncludeLabelColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'IncludeLabel\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.IncludeLabelColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public string Forecolor {
- get {
- try {
- return ((string)(this[this.tableBarcode.ForecolorColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'Forecolor\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.ForecolorColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public string Backcolor {
- get {
- try {
- return ((string)(this[this.tableBarcode.BackcolorColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'Backcolor\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.BackcolorColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public string CountryAssigningManufacturingCode {
- get {
- try {
- return ((string)(this[this.tableBarcode.CountryAssigningManufacturingCodeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CountryAssigningManufacturingCode\' in table \'Barcode\' is DB" +
- "Null.", e);
- }
- }
- set {
- this[this.tableBarcode.CountryAssigningManufacturingCodeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public int ImageWidth {
- get {
- try {
- return ((int)(this[this.tableBarcode.ImageWidthColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'ImageWidth\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.ImageWidthColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public int ImageHeight {
- get {
- try {
- return ((int)(this[this.tableBarcode.ImageHeightColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'ImageHeight\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.ImageHeightColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public string Image {
- get {
- try {
- return ((string)(this[this.tableBarcode.ImageColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'Image\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.ImageColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public System.Drawing.RotateFlipType RotateFlipType {
- get {
- try {
- return ((global::System.Drawing.RotateFlipType)(this[this.tableBarcode.RotateFlipTypeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'RotateFlipType\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.RotateFlipTypeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public int LabelPosition {
- get {
- try {
- return ((int)(this[this.tableBarcode.LabelPositionColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'LabelPosition\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.LabelPositionColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public int Alignment {
- get {
- try {
- return ((int)(this[this.tableBarcode.AlignmentColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'Alignment\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.AlignmentColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public string LabelFont {
- get {
- try {
- return ((string)(this[this.tableBarcode.LabelFontColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'LabelFont\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.LabelFontColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public string ImageFormat {
- get {
- try {
- return ((string)(this[this.tableBarcode.ImageFormatColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'ImageFormat\' in table \'Barcode\' is DBNull.", e);
- }
- }
- set {
- this[this.tableBarcode.ImageFormatColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsTypeNull() {
- return this.IsNull(this.tableBarcode.TypeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetTypeNull() {
- this[this.tableBarcode.TypeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsRawDataNull() {
- return this.IsNull(this.tableBarcode.RawDataColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetRawDataNull() {
- this[this.tableBarcode.RawDataColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsEncodedValueNull() {
- return this.IsNull(this.tableBarcode.EncodedValueColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetEncodedValueNull() {
- this[this.tableBarcode.EncodedValueColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsEncodingTimeNull() {
- return this.IsNull(this.tableBarcode.EncodingTimeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetEncodingTimeNull() {
- this[this.tableBarcode.EncodingTimeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsIncludeLabelNull() {
- return this.IsNull(this.tableBarcode.IncludeLabelColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetIncludeLabelNull() {
- this[this.tableBarcode.IncludeLabelColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsForecolorNull() {
- return this.IsNull(this.tableBarcode.ForecolorColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetForecolorNull() {
- this[this.tableBarcode.ForecolorColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsBackcolorNull() {
- return this.IsNull(this.tableBarcode.BackcolorColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetBackcolorNull() {
- this[this.tableBarcode.BackcolorColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsCountryAssigningManufacturingCodeNull() {
- return this.IsNull(this.tableBarcode.CountryAssigningManufacturingCodeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetCountryAssigningManufacturingCodeNull() {
- this[this.tableBarcode.CountryAssigningManufacturingCodeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsImageWidthNull() {
- return this.IsNull(this.tableBarcode.ImageWidthColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetImageWidthNull() {
- this[this.tableBarcode.ImageWidthColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsImageHeightNull() {
- return this.IsNull(this.tableBarcode.ImageHeightColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetImageHeightNull() {
- this[this.tableBarcode.ImageHeightColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsImageNull() {
- return this.IsNull(this.tableBarcode.ImageColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetImageNull() {
- this[this.tableBarcode.ImageColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsRotateFlipTypeNull() {
- return this.IsNull(this.tableBarcode.RotateFlipTypeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetRotateFlipTypeNull() {
- this[this.tableBarcode.RotateFlipTypeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsLabelPositionNull() {
- return this.IsNull(this.tableBarcode.LabelPositionColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetLabelPositionNull() {
- this[this.tableBarcode.LabelPositionColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsAlignmentNull() {
- return this.IsNull(this.tableBarcode.AlignmentColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetAlignmentNull() {
- this[this.tableBarcode.AlignmentColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsLabelFontNull() {
- return this.IsNull(this.tableBarcode.LabelFontColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetLabelFontNull() {
- this[this.tableBarcode.LabelFontColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public bool IsImageFormatNull() {
- return this.IsNull(this.tableBarcode.ImageFormatColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public void SetImageFormatNull() {
- this[this.tableBarcode.ImageFormatColumn] = global::System.Convert.DBNull;
- }
- }
-
- ///
- ///Row event argument class
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public class BarcodeRowChangeEvent : global::System.EventArgs {
-
- private BarcodeRow eventRow;
-
- private global::System.Data.DataRowAction eventAction;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public BarcodeRowChangeEvent(BarcodeRow row, global::System.Data.DataRowAction action) {
- this.eventRow = row;
- this.eventAction = action;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public BarcodeRow Row {
- get {
- return this.eventRow;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
- public global::System.Data.DataRowAction Action {
- get {
- return this.eventAction;
- }
- }
- }
- }
-}
-
-#pragma warning restore 1591
\ No newline at end of file
diff --git a/BarcodeLib/BarcodeXML.xsc b/BarcodeLib/BarcodeXML.xsc
deleted file mode 100644
index 05b0199..0000000
--- a/BarcodeLib/BarcodeXML.xsc
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/BarcodeLib/BarcodeXML.xsd b/BarcodeLib/BarcodeXML.xsd
deleted file mode 100644
index b2e51b7..0000000
--- a/BarcodeLib/BarcodeXML.xsd
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/BarcodeLib/BarcodeXML.xss b/BarcodeLib/BarcodeXML.xss
deleted file mode 100644
index aebf3d6..0000000
--- a/BarcodeLib/BarcodeXML.xss
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/BarcodeLib/Properties/AssemblyInfo.cs b/BarcodeLib/Properties/AssemblyInfo.cs
deleted file mode 100644
index 3a91e1c..0000000
--- a/BarcodeLib/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using System.Reflection;
-using System.Runtime.InteropServices;
-using System.Security;
-
-[assembly: AllowPartiallyTrustedCallers]
-
-// 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("BarcodeLib")]
-[assembly: AssemblyDescription("Barcode Image Generation Library")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Barnhill Software")]
-[assembly: AssemblyProduct("BarcodeLib")]
-[assembly: AssemblyCopyright("Copyright © Brad Barnhill 2007-present")]
-[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("6b4a01ba-c67e-443d-813f-24c0c0f39a02")]
-
-// 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 Revision and Build Numbers
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.3.0.0")]
-[assembly: AssemblyFileVersion("1.3.0.0")]
diff --git a/BarcodeLibTest/BarcodeLibTest.csproj b/BarcodeLibTest/BarcodeLibTest.csproj
deleted file mode 100644
index b3a3bc6..0000000
--- a/BarcodeLibTest/BarcodeLibTest.csproj
+++ /dev/null
@@ -1,147 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.21022
- 2.0
- {8DB57BA1-E88C-43D9-AD0E-04BFA6B11C61}
- WinExe
- Properties
- BarcodeLibTest
- BarcodeLibTest
- 1465CABE4A879E249A14FA206FD2C53D4E943647
- BarcodeLibTest_TemporaryKey.pfx
- true
- false
- true
-
-
- 3.5
-
-
- v2.0
- http://aimscpap28:81/Barcode/
- true
- Web
- true
- Foreground
- 7
- Days
- false
- false
- true
- 3
- 1.0.0.%2a
- false
- true
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- false
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
- false
-
-
-
-
-
-
-
-
-
-
- Form
-
-
- TestApp.cs
-
-
-
-
- Designer
- TestApp.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
- True
-
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
- True
- Settings.settings
- True
-
-
-
-
-
-
-
- False
- .NET Framework 3.5 SP1 Client Profile
- false
-
-
- False
- .NET Framework 2.0 %28x86%29
- true
-
-
- False
- .NET Framework 3.0 %28x86%29
- false
-
-
- False
- .NET Framework 3.5
- false
-
-
- False
- .NET Framework 3.5 SP1
- false
-
-
-
-
- {f8646414-0c9c-49bb-9da3-3923bf78a398}
- BarcodeLib
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/BarcodeLibTest/Form1.Designer.cs b/BarcodeLibTest/Form1.Designer.cs
deleted file mode 100644
index 399e597..0000000
--- a/BarcodeLibTest/Form1.Designer.cs
+++ /dev/null
@@ -1,393 +0,0 @@
-namespace BarcodeLibTest
-{
- partial class Form1
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
- this.barcode = new System.Windows.Forms.PictureBox();
- this.txtEncoded = new System.Windows.Forms.TextBox();
- this.txtData = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.statusStrip1 = new System.Windows.Forms.StatusStrip();
- this.tsslEncodedType = new System.Windows.Forms.ToolStripStatusLabel();
- this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
- this.label2 = new System.Windows.Forms.Label();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.txtHeight = new System.Windows.Forms.TextBox();
- this.txtWidth = new System.Windows.Forms.TextBox();
- this.label6 = new System.Windows.Forms.Label();
- this.label7 = new System.Windows.Forms.Label();
- this.chkGenerateLabel = new System.Windows.Forms.CheckBox();
- this.label5 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.btnBackColor = new System.Windows.Forms.Button();
- this.btnForeColor = new System.Windows.Forms.Button();
- this.label3 = new System.Windows.Forms.Label();
- this.btnSave = new System.Windows.Forms.Button();
- this.btnEncode = new System.Windows.Forms.Button();
- this.cbEncodeType = new System.Windows.Forms.ComboBox();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- ((System.ComponentModel.ISupportInitialize)(this.barcode)).BeginInit();
- this.statusStrip1.SuspendLayout();
- this.groupBox1.SuspendLayout();
- this.groupBox2.SuspendLayout();
- this.splitContainer1.Panel1.SuspendLayout();
- this.splitContainer1.Panel2.SuspendLayout();
- this.splitContainer1.SuspendLayout();
- this.SuspendLayout();
- //
- // barcode
- //
- this.barcode.BackColor = System.Drawing.Color.Transparent;
- this.barcode.Location = new System.Drawing.Point(12, 20);
- this.barcode.Name = "barcode";
- this.barcode.Size = new System.Drawing.Size(90, 52);
- this.barcode.TabIndex = 13;
- this.barcode.TabStop = false;
- //
- // txtEncoded
- //
- this.txtEncoded.Location = new System.Drawing.Point(7, 150);
- this.txtEncoded.Multiline = true;
- this.txtEncoded.Name = "txtEncoded";
- this.txtEncoded.ReadOnly = true;
- this.txtEncoded.Size = new System.Drawing.Size(187, 96);
- this.txtEncoded.TabIndex = 14;
- this.txtEncoded.TabStop = false;
- //
- // txtData
- //
- this.txtData.Location = new System.Drawing.Point(6, 36);
- this.txtData.Name = "txtData";
- this.txtData.Size = new System.Drawing.Size(188, 20);
- this.txtData.TabIndex = 1;
- this.txtData.Text = "038000356216";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(3, 20);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(86, 13);
- this.label1.TabIndex = 29;
- this.label1.Text = "Value to Encode";
- //
- // statusStrip1
- //
- this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.tsslEncodedType,
- this.toolStripStatusLabel1});
- this.statusStrip1.Location = new System.Drawing.Point(0, 346);
- this.statusStrip1.Name = "statusStrip1";
- this.statusStrip1.Size = new System.Drawing.Size(634, 22);
- this.statusStrip1.SizingGrip = false;
- this.statusStrip1.TabIndex = 30;
- this.statusStrip1.Text = "statusStrip1";
- //
- // tsslEncodedType
- //
- this.tsslEncodedType.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right;
- this.tsslEncodedType.Name = "tsslEncodedType";
- this.tsslEncodedType.Size = new System.Drawing.Size(4, 17);
- //
- // toolStripStatusLabel1
- //
- this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
- this.toolStripStatusLabel1.Size = new System.Drawing.Size(615, 17);
- this.toolStripStatusLabel1.Spring = true;
- this.toolStripStatusLabel1.Text = "Written by: Brad Barnhill";
- this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(3, 134);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(80, 13);
- this.label2.TabIndex = 33;
- this.label2.Text = "Encoded Value";
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.txtHeight);
- this.groupBox1.Controls.Add(this.txtWidth);
- this.groupBox1.Controls.Add(this.label6);
- this.groupBox1.Controls.Add(this.label7);
- this.groupBox1.Controls.Add(this.chkGenerateLabel);
- this.groupBox1.Controls.Add(this.label5);
- this.groupBox1.Controls.Add(this.label4);
- this.groupBox1.Controls.Add(this.btnBackColor);
- this.groupBox1.Controls.Add(this.btnForeColor);
- this.groupBox1.Controls.Add(this.label3);
- this.groupBox1.Controls.Add(this.btnSave);
- this.groupBox1.Controls.Add(this.btnEncode);
- this.groupBox1.Controls.Add(this.cbEncodeType);
- this.groupBox1.Controls.Add(this.label2);
- this.groupBox1.Controls.Add(this.txtData);
- this.groupBox1.Controls.Add(this.label1);
- this.groupBox1.Controls.Add(this.txtEncoded);
- this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.groupBox1.Location = new System.Drawing.Point(0, 0);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(210, 346);
- this.groupBox1.TabIndex = 35;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "User Information";
- //
- // txtHeight
- //
- this.txtHeight.Location = new System.Drawing.Point(105, 320);
- this.txtHeight.Name = "txtHeight";
- this.txtHeight.Size = new System.Drawing.Size(91, 20);
- this.txtHeight.TabIndex = 44;
- this.txtHeight.Text = "150";
- //
- // txtWidth
- //
- this.txtWidth.Location = new System.Drawing.Point(7, 320);
- this.txtWidth.Name = "txtWidth";
- this.txtWidth.Size = new System.Drawing.Size(90, 20);
- this.txtWidth.TabIndex = 43;
- this.txtWidth.Text = "300";
- //
- // label6
- //
- this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(102, 304);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(38, 13);
- this.label6.TabIndex = 42;
- this.label6.Text = "Height";
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.Location = new System.Drawing.Point(5, 304);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(35, 13);
- this.label7.TabIndex = 41;
- this.label7.Text = "Width";
- //
- // chkGenerateLabel
- //
- this.chkGenerateLabel.AutoSize = true;
- this.chkGenerateLabel.Location = new System.Drawing.Point(114, 16);
- this.chkGenerateLabel.Name = "chkGenerateLabel";
- this.chkGenerateLabel.Size = new System.Drawing.Size(95, 17);
- this.chkGenerateLabel.TabIndex = 40;
- this.chkGenerateLabel.Text = "Generate label";
- this.chkGenerateLabel.UseVisualStyleBackColor = true;
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(102, 256);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(92, 13);
- this.label5.TabIndex = 39;
- this.label5.Text = "Background Color";
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(5, 256);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(88, 13);
- this.label4.TabIndex = 38;
- this.label4.Text = "Foreground Color";
- //
- // btnBackColor
- //
- this.btnBackColor.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnBackColor.Location = new System.Drawing.Point(105, 272);
- this.btnBackColor.Name = "btnBackColor";
- this.btnBackColor.Size = new System.Drawing.Size(91, 23);
- this.btnBackColor.TabIndex = 37;
- this.btnBackColor.UseVisualStyleBackColor = true;
- this.btnBackColor.Click += new System.EventHandler(this.btnBackColor_Click);
- //
- // btnForeColor
- //
- this.btnForeColor.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnForeColor.Location = new System.Drawing.Point(8, 272);
- this.btnForeColor.Name = "btnForeColor";
- this.btnForeColor.Size = new System.Drawing.Size(91, 23);
- this.btnForeColor.TabIndex = 36;
- this.btnForeColor.UseVisualStyleBackColor = true;
- this.btnForeColor.Click += new System.EventHandler(this.btnForeColor_Click);
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(6, 61);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(52, 13);
- this.label3.TabIndex = 35;
- this.label3.Text = "Encoding";
- //
- // btnSave
- //
- this.btnSave.Location = new System.Drawing.Point(87, 104);
- this.btnSave.Name = "btnSave";
- this.btnSave.Size = new System.Drawing.Size(75, 23);
- this.btnSave.TabIndex = 4;
- this.btnSave.Text = "&Save As";
- this.btnSave.UseVisualStyleBackColor = true;
- this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
- //
- // btnEncode
- //
- this.btnEncode.Location = new System.Drawing.Point(6, 104);
- this.btnEncode.Name = "btnEncode";
- this.btnEncode.Size = new System.Drawing.Size(75, 23);
- this.btnEncode.TabIndex = 3;
- this.btnEncode.Text = "&Encode";
- this.btnEncode.UseVisualStyleBackColor = true;
- this.btnEncode.Click += new System.EventHandler(this.btnEncode_Click);
- //
- // cbEncodeType
- //
- this.cbEncodeType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cbEncodeType.FormattingEnabled = true;
- this.cbEncodeType.ItemHeight = 13;
- this.cbEncodeType.Items.AddRange(new object[] {
- "UPC-A",
- "UPC-E",
- "UPC 2 Digit Ext.",
- "UPC 5 Digit Ext.",
- "EAN-13",
- "JAN-13",
- "EAN-8",
- "ITF-14",
- "Interleaved 2 of 5",
- "Standard 2 of 5",
- "Codabar",
- "PostNet",
- "Bookland/ISBN",
- "Code 11",
- "Code 39",
- "Code 39 Extended",
- "Code 93",
- "Code 128",
- "Code 128-A",
- "Code 128-B",
- "Code 128-C",
- "LOGMARS",
- "MSI"});
- this.cbEncodeType.Location = new System.Drawing.Point(7, 77);
- this.cbEncodeType.Name = "cbEncodeType";
- this.cbEncodeType.Size = new System.Drawing.Size(121, 21);
- this.cbEncodeType.TabIndex = 2;
- //
- // groupBox2
- //
- this.groupBox2.Controls.Add(this.barcode);
- this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.groupBox2.Location = new System.Drawing.Point(0, 0);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(420, 346);
- this.groupBox2.TabIndex = 36;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "Barcode Image";
- //
- // splitContainer1
- //
- this.splitContainer1.BackColor = System.Drawing.SystemColors.Control;
- this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer1.Location = new System.Drawing.Point(0, 0);
- this.splitContainer1.Name = "splitContainer1";
- //
- // splitContainer1.Panel1
- //
- this.splitContainer1.Panel1.Controls.Add(this.groupBox1);
- //
- // splitContainer1.Panel2
- //
- this.splitContainer1.Panel2.Controls.Add(this.groupBox2);
- this.splitContainer1.Size = new System.Drawing.Size(634, 346);
- this.splitContainer1.SplitterDistance = 210;
- this.splitContainer1.TabIndex = 37;
- this.splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer1_SplitterMoved);
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(634, 368);
- this.Controls.Add(this.splitContainer1);
- this.Controls.Add(this.statusStrip1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Name = "Form1";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Barcode Encoder";
- this.Load += new System.EventHandler(this.Form1_Load);
- ((System.ComponentModel.ISupportInitialize)(this.barcode)).EndInit();
- this.statusStrip1.ResumeLayout(false);
- this.statusStrip1.PerformLayout();
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.groupBox2.ResumeLayout(false);
- this.splitContainer1.Panel1.ResumeLayout(false);
- this.splitContainer1.Panel2.ResumeLayout(false);
- this.splitContainer1.ResumeLayout(false);
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.PictureBox barcode;
- private System.Windows.Forms.TextBox txtEncoded;
- private System.Windows.Forms.TextBox txtData;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.StatusStrip statusStrip1;
- private System.Windows.Forms.ToolStripStatusLabel tsslEncodedType;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.ComboBox cbEncodeType;
- private System.Windows.Forms.Button btnEncode;
- private System.Windows.Forms.GroupBox groupBox2;
- private System.Windows.Forms.Button btnSave;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
- private System.Windows.Forms.SplitContainer splitContainer1;
- private System.Windows.Forms.Button btnBackColor;
- private System.Windows.Forms.Button btnForeColor;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.CheckBox chkGenerateLabel;
- private System.Windows.Forms.TextBox txtHeight;
- private System.Windows.Forms.TextBox txtWidth;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.Label label7;
- }
-}
-
diff --git a/BarcodeLibTest/Form1.cs b/BarcodeLibTest/Form1.cs
deleted file mode 100644
index d6160b0..0000000
--- a/BarcodeLibTest/Form1.cs
+++ /dev/null
@@ -1,159 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-
-namespace BarcodeLibTest
-{
- ///
- /// This form is a test form to show what all you can do with the Barcode Library.
- /// Only one call is actually needed to do the encoding and return the image of the
- /// barcode but the rest is just flare and user interface ... stuff.
- ///
- public partial class Form1 : Form
- {
- BarcodeLib.Barcode b = new BarcodeLib.Barcode();
-
- public Form1()
- {
- InitializeComponent();
- }
-
- private void Form1_Load(object sender, EventArgs e)
- {
- Bitmap temp = new Bitmap(1, 1);
- temp.SetPixel(0, 0, this.BackColor);
- barcode.Image = (Image)temp;
- cbEncodeType.SelectedIndex = 0;
-
- this.btnBackColor.BackColor = this.b.BackColor;
- this.btnForeColor.BackColor = this.b.ForeColor;
- }//Form1_Load
-
- private void btnEncode_Click(object sender, EventArgs e)
- {
- int W = Convert.ToInt32(this.txtWidth.Text.Trim());
- int H = Convert.ToInt32(this.txtHeight.Text.Trim());
-
- BarcodeLib.TYPE type = BarcodeLib.TYPE.UNSPECIFIED;
- switch (cbEncodeType.SelectedItem.ToString().Trim())
- {
- case "UPC-A": type = BarcodeLib.TYPE.UPCA; break;
- case "UPC-A (Numbered)": type = BarcodeLib.TYPE.UPCA; break;
- case "UPC-E": type = BarcodeLib.TYPE.UPCE; break;
- case "UPC 2 Digit Ext.": type = BarcodeLib.TYPE.UPC_SUPPLEMENTAL_2DIGIT; break;
- case "UPC 5 Digit Ext.": type = BarcodeLib.TYPE.UPC_SUPPLEMENTAL_5DIGIT; break;
- case "EAN-13": type = BarcodeLib.TYPE.EAN13; break;
- case "JAN-13": type = BarcodeLib.TYPE.JAN13; break;
- case "EAN-8": type = BarcodeLib.TYPE.EAN8; break;
- case "ITF-14": type = BarcodeLib.TYPE.ITF14; break;
- case "Codabar": type = BarcodeLib.TYPE.Codabar; break;
- case "PostNet": type = BarcodeLib.TYPE.PostNet; break;
- case "Bookland/ISBN": type = BarcodeLib.TYPE.BOOKLAND; break;
- case "Code 11": type = BarcodeLib.TYPE.CODE11; break;
- case "Code 39": type = BarcodeLib.TYPE.CODE39; break;
- case "Code 39 Extended": type = BarcodeLib.TYPE.CODE39Extended; break;
- case "Code 93": type = BarcodeLib.TYPE.CODE93; break;
- case "LOGMARS": type = BarcodeLib.TYPE.LOGMARS; break;
- case "MSI": type = BarcodeLib.TYPE.MSI_Mod10; break;
- case "Interleaved 2 of 5": type = BarcodeLib.TYPE.Interleaved2of5; break;
- case "Standard 2 of 5": type = BarcodeLib.TYPE.Standard2of5; break;
- case "Code 128": type = BarcodeLib.TYPE.CODE128; break;
- case "Code 128-A": type = BarcodeLib.TYPE.CODE128A; break;
- case "Code 128-B": type = BarcodeLib.TYPE.CODE128B; break;
- case "Code 128-C": type = BarcodeLib.TYPE.CODE128C; break;
- default: MessageBox.Show("Please specify the encoding type."); break;
- }//switch
-
- try
- {
- if (type != BarcodeLib.TYPE.UNSPECIFIED)
- {
- b.IncludeLabel = this.chkGenerateLabel.Checked;
-
- //===== Encoding performed here =====
- barcode.Image = b.Encode(type, this.txtData.Text.Trim(), this.btnForeColor.BackColor, this.btnBackColor.BackColor, W, H);
- //===================================
-
- //===== Static Encoding performed here =====
- //barcode.Image = BarcodeLib.Barcode.DoEncode(type, this.txtData.Text.Trim(), this.btnForeColor.BackColor, this.btnBackColor.BackColor);
- //==========================================
-
- txtEncoded.Text = b.EncodedValue;
-
- barcode.Width = barcode.Image.Width;
- barcode.Height = barcode.Image.Height;
-
- tsslEncodedType.Text = "Encoding Type: " + b.EncodedType.ToString();
- }//if
-
- barcode.Width = barcode.Image.Width;
- barcode.Height = barcode.Image.Height;
-
- //reposition the barcode image to the middle
- barcode.Location = new Point((this.groupBox2.Location.X + this.groupBox2.Width / 2) - barcode.Width / 2, (this.groupBox2.Location.Y + this.groupBox2.Height / 2) - barcode.Height / 2);
-
- }//try
- catch (Exception ex)
- {
- MessageBox.Show(ex.Message);
- }//catch
- }//btnEncode_Click
-
- private void btnSave_Click(object sender, EventArgs e)
- {
- SaveFileDialog sfd = new SaveFileDialog();
- sfd.Filter = "BMP (*.bmp)|*.bmp|GIF (*.gif)|*.gif|JPG (*.jpg)|*.jpg|PNG (*.png)|*.png|TIFF (*.tif)|*.tif";
- sfd.AddExtension = true;
- if (sfd.ShowDialog() == DialogResult.OK)
- {
- BarcodeLib.SaveTypes savetype = BarcodeLib.SaveTypes.UNSPECIFIED;
- switch (sfd.FilterIndex)
- {
- case 1: /* BMP */ savetype = BarcodeLib.SaveTypes.BMP; break;
- case 2: /* GIF */ savetype = BarcodeLib.SaveTypes.GIF; break;
- case 3: /* JPG */ savetype = BarcodeLib.SaveTypes.JPG; break;
- case 4: /* PNG */ savetype = BarcodeLib.SaveTypes.PNG; break;
- case 5: /* TIFF */ savetype = BarcodeLib.SaveTypes.TIFF; break;
- default: break;
- }//switch
- b.SaveImage(sfd.FileName, savetype);
- }//if
- }//btnSave_Click
-
- private void splitContainer1_SplitterMoved(object sender, SplitterEventArgs e)
- {
- barcode.Location = new Point((this.groupBox2.Location.X + this.groupBox2.Width / 2) - barcode.Width / 2, (this.groupBox2.Location.Y + this.groupBox2.Height / 2) - barcode.Height / 2);
- }//splitContainer1_SplitterMoved
-
- private void btnForeColor_Click(object sender, EventArgs e)
- {
- using (ColorDialog cdialog = new ColorDialog())
- {
- cdialog.AnyColor = true;
- if (cdialog.ShowDialog() == DialogResult.OK)
- {
- this.b.ForeColor = cdialog.Color;
- this.btnForeColor.BackColor = this.b.ForeColor;
- }//if
- }//using
- }//btnForeColor_Click
-
- private void btnBackColor_Click(object sender, EventArgs e)
- {
- using (ColorDialog cdialog = new ColorDialog())
- {
- cdialog.AnyColor = true;
- if (cdialog.ShowDialog() == DialogResult.OK)
- {
- this.b.BackColor = cdialog.Color;
- this.btnBackColor.BackColor = this.b.BackColor;
- }//if
- }//using
- }//btnBackColor_Click
-
- }//class
-}//namespace
\ No newline at end of file
diff --git a/BarcodeLibTest/Form1.resx b/BarcodeLibTest/Form1.resx
deleted file mode 100644
index b245ce4..0000000
--- a/BarcodeLibTest/Form1.resx
+++ /dev/null
@@ -1,149 +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
-
-
- 17, 17
-
-
- 47
-
-
-
-
- AAABAAIAEBAQAAAAAAAoAQAAJgAAACAgEAAAAAAA6AIAAE4BAAAoAAAAEAAAACAAAAABAAQAAAAAAMAA
- AAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAgAAAgAAAAICAAIAAAACAAIAAgIAAAMDAwACAgIAAAAD/AAD/
- AAAA//8A/wAAAP8A/wD//wAA////AA8PAA8PAPDwDw8ADw8A8PAPDwAPDwDw8A8PAA8PAPDwDw8ADw8A
- 8PAPDwAPDwDw8A8PAA8PAPDwDw8ADw8A8PAPDwAPDwDw8A8PAA8PAPDwDw8ADw8A8PAPDwAPDwDw8A8P
- AA8PAPDwDw8ADw8A8PAPDwAPDwDw8A8PAA8PAPDwAAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA
- //8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//ygAAAAgAAAAQAAAAAEABAAAAAAAgAIAAAAA
- AAAAAAAAEAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAwMDAAICAgAAAAP8AAP8AAAD/
- /wD/AAAA/wD/AP//AAD///8ADw/wAP8PDwAP8P8AD/Dw8A8P8AD/Dw8AD/D/AA/w8PAPD/AA/w8PAA/w
- /wAP8PDwDw/wAP8PDwAP8P8AD/Dw8A8P8AD/Dw8AD/D/AA/w8PAPD/AA/w8PAA/w/wAP8PDwDw/wAP8P
- DwAP8P8AD/Dw8A8P8AD/Dw8AD/D/AA/w8PAPD/AA/w8PAA/w/wAP8PDwDw/wAP8PDwAP8P8AD/Dw8A8P
- 8AD/Dw8AD/D/AA/w8PAPD/AA/w8PAA/w/wAP8PDwDw/wAP8PDwAP8P8AD/Dw8A8P8AD/Dw8AD/D/AA/w
- 8PAPD/AA/w8PAA/w/wAP8PDwDw/wAP8PDwAP8P8AD/Dw8A8P8AD/Dw8AD/D/AA/w8PAPD/AA/w8PAA/w
- /wAP8PDwDw/wAP8PDwAP8P8AD/Dw8A8P8AD/Dw8AD/D/AA/w8PAPD/AA/w8PAA/w/wAP8PDwDw/wAP8P
- DwAP8P8AD/Dw8A8P8AD/Dw8AD/D/AA/w8PAPD/AA/w8PAA/w/wAP8PDwDw/wAP8PDwAP8P8AD/Dw8A8P
- 8AD/Dw8AD/D/AA/w8PAPD/AA/w8PAA/w/wAP8PDwDw/wAP8PDwAP8P8AD/Dw8A8P8AD/Dw8AD/D/AA/w
- 8PAPD/AA/w8PAA/w/wAP8PDwDw/wAP8PDwAP8P8AD/Dw8A8P8AD/Dw8AD/D/AA/w8PAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
-
-
-
\ No newline at end of file
diff --git a/BarcodeLibTest/app.config b/BarcodeLibTest/app.config
deleted file mode 100644
index 2fa6e95..0000000
--- a/BarcodeLibTest/app.config
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/BarcodeLib/BarcodeCommon.cs b/BarcodeStandard/BarcodeCommon.cs
similarity index 100%
rename from BarcodeLib/BarcodeCommon.cs
rename to BarcodeStandard/BarcodeCommon.cs
diff --git a/BarcodeStandard/BarcodeLib.Designer.cs b/BarcodeStandard/BarcodeLib.Designer.cs
new file mode 100644
index 0000000..e8e834d
--- /dev/null
+++ b/BarcodeStandard/BarcodeLib.Designer.cs
@@ -0,0 +1,17 @@
+//------------------------------------------------------------------------------
+//
+// 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.
+//
+//------------------------------------------------------------------------------
+
+#pragma warning disable 1591
+
+namespace BarcodeStandard {
+
+}
+
+#pragma warning restore 1591
\ No newline at end of file
diff --git a/BarcodeLib/BarcodeLib.cs b/BarcodeStandard/BarcodeLib.cs
similarity index 94%
rename from BarcodeLib/BarcodeLib.cs
rename to BarcodeStandard/BarcodeLib.cs
index 5f1e904..5fd7e3b 100644
--- a/BarcodeLib/BarcodeLib.cs
+++ b/BarcodeStandard/BarcodeLib.cs
@@ -2,11 +2,11 @@
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
-using System.Drawing.Text;
-using System.Data;
using System.IO;
using System.Drawing.Imaging;
using BarcodeLib.Symbologies;
+using BarcodeStandard;
+using System.Xml.Serialization;
/*
* ***************************************************
@@ -14,7 +14,6 @@
* *
* Written by: Brad Barnhill *
* Date: 09-21-2007 *
- * Last Modified: 03-16-2017 *
* *
* This library was designed to give developers an *
* easy class to use when they need to generate *
@@ -26,13 +25,13 @@ namespace BarcodeLib
#region Enums
public enum TYPE : int { UNSPECIFIED, UPCA, UPCE, UPC_SUPPLEMENTAL_2DIGIT, UPC_SUPPLEMENTAL_5DIGIT, EAN13, EAN8, Interleaved2of5, Standard2of5, Industrial2of5, CODE39, CODE39Extended, CODE39_Mod43, Codabar, PostNet, BOOKLAND, ISBN, JAN13, MSI_Mod10, MSI_2Mod10, MSI_Mod11, MSI_Mod11_Mod10, Modified_Plessey, CODE11, USD8, UCC12, UCC13, LOGMARS, CODE128, CODE128A, CODE128B, CODE128C, ITF14, CODE93, TELEPEN, FIM, PHARMACODE };
public enum SaveTypes : int { JPG, BMP, PNG, GIF, TIFF, UNSPECIFIED };
- public enum AlignmentPositions : int { CENTER, LEFT, RIGHT};
+ public enum AlignmentPositions : int { CENTER, LEFT, RIGHT };
public enum LabelPositions : int { TOPLEFT, TOPCENTER, TOPRIGHT, BOTTOMLEFT, BOTTOMCENTER, BOTTOMRIGHT };
#endregion
///
/// Generates a barcode image of a specified symbology from a string of data.
///
- public class Barcode: IDisposable
+ public class Barcode : IDisposable
{
#region Variables
private IBarcode ibarcode = new BarcodeLib.Symbologies.Blank();
@@ -106,16 +105,16 @@ public string Country_Assigning_Manufacturer_Code
public TYPE EncodedType
{
set { Encoded_Type = value; }
- get { return Encoded_Type; }
+ get { return Encoded_Type; }
}//EncodedType
///
/// Gets the Image of the generated barcode.
///
public Image EncodedImage
{
- get
+ get
{
- return _Encoded_Image;
+ return _Encoded_Image;
}
}//EncodedImage
///
@@ -198,16 +197,16 @@ public bool IncludeLabel
get;
set;
}
-
+
///
/// Alternate label to be displayed. (IncludeLabel must be set to true as well)
///
- public String AlternateLabel
- {
- get;
- set;
+ public String AlternateLabel
+ {
+ get;
+ set;
}
-
+
///
/// Try to standardize the label format. (Valid only for EAN13 and empty AlternateLabel, default is true)
///
@@ -216,7 +215,7 @@ public bool StandardizeLabel
get { return _StandardizeLabel; }
set { _StandardizeLabel = value; }
}
-
+
///
/// Gets or sets the amount of time in milliseconds that it took to encode and draw the barcode.
///
@@ -264,7 +263,7 @@ public byte[] Encoded_Image_Bytes
{
if (_Encoded_Image == null)
return null;
-
+
using (MemoryStream ms = new MemoryStream())
{
_Encoded_Image.Save(ms, _ImageFormat);
@@ -277,14 +276,14 @@ public byte[] Encoded_Image_Bytes
///
public static Version Version
{
- get { return System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;}
+ get { return System.Reflection.Assembly.GetExecutingAssembly().GetName().Version; }
}
#endregion
///
/// Represents the size of an image in real world coordinates (millimeters or inches).
///
- public class ImageSize
+ public class ImageSize
{
public ImageSize(double width, double height, bool metric)
{
@@ -297,7 +296,7 @@ public ImageSize(double width, double height, bool metric)
public double Height { get; set; }
public bool Metric { get; set; }
}
-
+
#region General Encode
///
/// Encodes the raw data into binary form representing bars and spaces. Also generates an Image of the barcode.
@@ -373,15 +372,15 @@ internal Image Encode()
DateTime dtStartTime = DateTime.Now;
//make sure there is something to encode
- if (Raw_Data.Trim() == "")
+ if (Raw_Data.Trim() == "")
throw new Exception("EENCODE-1: Input data not allowed to be blank.");
- if (this.EncodedType == TYPE.UNSPECIFIED)
+ if (this.EncodedType == TYPE.UNSPECIFIED)
throw new Exception("EENCODE-2: Symbology type not allowed to be unspecified.");
this.Encoded_Value = "";
this._Country_Assigning_Manufacturer_Code = "N/A";
-
+
switch (this.Encoded_Type)
{
case TYPE.UCC12:
@@ -482,11 +481,11 @@ internal Image Encode()
_Encoded_Image = (Image)Generate_Image();
this.EncodedImage.RotateFlip(this.RotateFlipType);
+
+ this.EncodingTime = ((TimeSpan)(DateTime.Now - dtStartTime)).TotalMilliseconds;
_XML = GetXML();
- this.EncodingTime = ((TimeSpan)(DateTime.Now - dtStartTime)).TotalMilliseconds;
-
return EncodedImage;
}//Encode
#endregion
@@ -608,7 +607,7 @@ private Bitmap Generate_Image()
if (IncludeLabel)
{
- if ((AlternateLabel == null || RawData.StartsWith(AlternateLabel)) && _StandardizeLabel == true)
+ if ((AlternateLabel == null || RawData.StartsWith(AlternateLabel)) && _StandardizeLabel)
{
// UPCA standardized label
string defTxt = RawData;
@@ -665,7 +664,7 @@ private Bitmap Generate_Image()
}//using
if (IncludeLabel)
{
- if ((AlternateLabel == null || RawData.StartsWith(AlternateLabel)) && _StandardizeLabel == true)
+ if ((AlternateLabel == null || RawData.StartsWith(AlternateLabel)) && _StandardizeLabel)
{
Labels.Label_UPCA(this, bitmap);
}
@@ -707,7 +706,7 @@ private Bitmap Generate_Image()
if (IncludeLabel)
{
- if ((AlternateLabel == null || RawData.StartsWith(AlternateLabel)) && _StandardizeLabel == true)
+ if (((AlternateLabel == null) || RawData.StartsWith(AlternateLabel)) && _StandardizeLabel)
{
// EAN13 standardized label
string defTxt = RawData;
@@ -763,7 +762,7 @@ private Bitmap Generate_Image()
}//using
if (IncludeLabel)
{
- if ((AlternateLabel == null || RawData.StartsWith(AlternateLabel)) && _StandardizeLabel == true)
+ if (((AlternateLabel == null) || RawData.StartsWith(AlternateLabel)) && _StandardizeLabel)
{
Labels.Label_EAN13(this, bitmap);
}
@@ -879,7 +878,7 @@ private Bitmap Generate_Image()
public byte[] GetImageData(SaveTypes savetype)
{
byte[] imageData = null;
-
+
try
{
if (_Encoded_Image != null)
@@ -911,7 +910,7 @@ public void SaveImage(string Filename, SaveTypes FileType)
{
if (_Encoded_Image != null)
{
- System.Drawing.Imaging.ImageFormat imageformat;
+ ImageFormat imageformat;
switch (FileType)
{
case SaveTypes.BMP: imageformat = ImageFormat.Bmp; break;
@@ -924,7 +923,7 @@ public void SaveImage(string Filename, SaveTypes FileType)
((Bitmap)_Encoded_Image).Save(Filename, imageformat);
}//if
}//try
- catch(Exception ex)
+ catch (Exception ex)
{
throw new Exception("ESAVEIMAGE-1: Could not save image.\n\n=======================\n\n" + ex.Message);
}//catch
@@ -940,7 +939,7 @@ public void SaveImage(Stream stream, SaveTypes FileType)
{
if (_Encoded_Image != null)
{
- System.Drawing.Imaging.ImageFormat imageformat;
+ ImageFormat imageformat;
switch (FileType)
{
case SaveTypes.BMP: imageformat = ImageFormat.Bmp; break;
@@ -958,7 +957,7 @@ public void SaveImage(Stream stream, SaveTypes FileType)
throw new Exception("ESAVEIMAGE-2: Could not save image.\n\n=======================\n\n" + ex.Message);
}//catch
}//SaveImage(Stream, SaveTypes)
-
+
///
/// Returns the size of the EncodedImage in real world coordinates (millimeters or inches).
///
@@ -997,36 +996,34 @@ private string GetXML()
{
try
{
- using (BarcodeXML xml = new BarcodeXML())
+ using (SaveData xml = new SaveData())
{
- BarcodeXML.BarcodeRow row = xml.Barcode.NewBarcodeRow();
- row.Type = EncodedType.ToString();
- row.RawData = RawData;
- row.EncodedValue = EncodedValue;
- row.EncodingTime = EncodingTime;
- row.IncludeLabel = IncludeLabel;
- row.Forecolor = ColorTranslator.ToHtml(ForeColor);
- row.Backcolor = ColorTranslator.ToHtml(BackColor);
- row.CountryAssigningManufacturingCode = Country_Assigning_Manufacturer_Code;
- row.ImageWidth = Width;
- row.ImageHeight = Height;
- row.RotateFlipType = this.RotateFlipType;
- row.LabelPosition = (int)this.LabelPosition;
- row.LabelFont = this.LabelFont.ToString();
- row.ImageFormat = this.ImageFormat.ToString();
- row.Alignment = (int)this.Alignment;
+ xml.Type = EncodedType.ToString();
+ xml.RawData = RawData;
+ xml.EncodedValue = EncodedValue;
+ xml.EncodingTime = EncodingTime;
+ xml.IncludeLabel = IncludeLabel;
+ xml.Forecolor = ColorTranslator.ToHtml(ForeColor);
+ xml.Backcolor = ColorTranslator.ToHtml(BackColor);
+ xml.CountryAssigningManufacturingCode = Country_Assigning_Manufacturer_Code;
+ xml.ImageWidth = Width;
+ xml.ImageHeight = Height;
+ xml.RotateFlipType = RotateFlipType;
+ xml.LabelPosition = (int)LabelPosition;
+ xml.LabelFont = LabelFont.ToString();
+ xml.ImageFormat = ImageFormat.ToString();
+ xml.Alignment = (int)Alignment;
//get image in base 64
using (MemoryStream ms = new MemoryStream())
{
EncodedImage.Save(ms, ImageFormat);
- row.Image = Convert.ToBase64String(ms.ToArray(), Base64FormattingOptions.None);
+ xml.Image = Convert.ToBase64String(ms.ToArray(), Base64FormattingOptions.None);
}//using
- xml.Barcode.AddBarcodeRow(row);
-
+ XmlSerializer writer = new XmlSerializer(typeof(SaveData));
StringWriter sw = new StringWriter();
- xml.WriteXml(sw, XmlWriteMode.WriteSchema);
+ writer.Serialize(sw, xml);
return sw.ToString();
}//using
}//try
@@ -1036,15 +1033,36 @@ private string GetXML()
}//catch
}//else
}
- public static Image GetImageFromXML(BarcodeXML internalXML)
+ public static SaveData GetSaveDataFromFile(string fileContents)
{
try
{
- //converting the base64 string to byte array
- Byte[] imageContent = new Byte[internalXML.Barcode[0].Image.Length];
+ XmlSerializer serializer = new XmlSerializer(typeof(SaveData));
+ SaveData saveData;
+ using (TextReader reader = new StringReader(fileContents))
+ {
+ saveData = (SaveData)serializer.Deserialize(reader);
+ }
+ return saveData;
+ }//try
+ catch (Exception ex)
+ {
+ throw new Exception("EGETIMAGEFROMXML-1: " + ex.Message);
+ }//catch
+ }
+ public static Image GetImageFromXML(String internalXML)
+ {
+ try
+ {
+ XmlSerializer serializer = new XmlSerializer(typeof(SaveData));
+ SaveData result;
+ using (TextReader reader = new StringReader(internalXML))
+ {
+ result = (SaveData)serializer.Deserialize(reader);
+ }
//loading it to memory stream and then to image object
- using (MemoryStream ms = new MemoryStream(Convert.FromBase64String(internalXML.Barcode[0].Image)))
+ using (MemoryStream ms = new MemoryStream(Convert.FromBase64String(result.Image)))
{
return Image.FromStream(ms);
}//using
@@ -1194,4 +1212,4 @@ public void Dispose()
#endregion
}//Barcode Class
-}//Barcode namespace
+}//Barcode namespace
\ No newline at end of file
diff --git a/BarcodeLib/BarcodeLib.nuspec b/BarcodeStandard/BarcodeLib.nuspec
similarity index 100%
rename from BarcodeLib/BarcodeLib.nuspec
rename to BarcodeStandard/BarcodeLib.nuspec
diff --git a/BarcodeStandard/BarcodeStandard.csproj b/BarcodeStandard/BarcodeStandard.csproj
new file mode 100644
index 0000000..e8b8536
--- /dev/null
+++ b/BarcodeStandard/BarcodeStandard.csproj
@@ -0,0 +1,59 @@
+
+
+
+ netstandard2.0
+ true
+ 2.0.0
+ BarcodeLib
+ Pnuema Productions
+ BarcodeLib
+ Brad Barnhill
+ This library was designed to give an easy class for developers to use when they need to generate barcode images from a string of data.
+ Copyright 2007-2017 Brad Barnhill
+ https://github.com/bbarnhill/barcodelib/blob/master/LICENSE
+ https://github.com/barnhill/barcodelib
+ https://github.com/barnhill/barcodelib/blob/master/BarcodeStandard/examples/upca.gif
+ https://github.com/barnhill/barcodelib.git
+ git
+
+
+
+
+
+
+
+
+ True
+ True
+ BarcodeLib.nuspec
+
+
+ BarcodeXML.xss
+ True
+ True
+
+
+
+
+
+ MSDataSetGenerator
+ BarcodeLib.Designer.cs
+
+
+ BarcodeXML.xsd
+
+
+ BarcodeXML.Designer.cs
+ MSDataSetGenerator
+
+
+ BarcodeXML.xsd
+ MSDataSetGenerator
+ BarcodeXML.Designer.cs
+
+
+ PreserveNewest
+
+
+
+
diff --git a/BarcodeLib/IBarcode.cs b/BarcodeStandard/IBarcode.cs
similarity index 100%
rename from BarcodeLib/IBarcode.cs
rename to BarcodeStandard/IBarcode.cs
diff --git a/BarcodeLib/Labels.cs b/BarcodeStandard/Labels.cs
similarity index 99%
rename from BarcodeLib/Labels.cs
rename to BarcodeStandard/Labels.cs
index 0cc2e56..0703d77 100644
--- a/BarcodeLib/Labels.cs
+++ b/BarcodeStandard/Labels.cs
@@ -1,9 +1,7 @@
using System;
-using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Text;
-using System.Text;
namespace BarcodeLib
{
diff --git a/BarcodeLib/Release Notes.txt b/BarcodeStandard/Release Notes.txt
similarity index 98%
rename from BarcodeLib/Release Notes.txt
rename to BarcodeStandard/Release Notes.txt
index 5d5a0af..63963dc 100644
--- a/BarcodeLib/Release Notes.txt
+++ b/BarcodeStandard/Release Notes.txt
@@ -1,5 +1,8 @@
Release Notes for BarcodeLib.dll
================================
+2.0.0.0
+- Conversion to .NET Standard 2.0
+- Build nuget package on every build
1.0.0.24
- bug fix with Code 128 START_C char
- add missing EAN-13 country codes
diff --git a/BarcodeStandard/SaveData.cs b/BarcodeStandard/SaveData.cs
new file mode 100644
index 0000000..739b711
--- /dev/null
+++ b/BarcodeStandard/SaveData.cs
@@ -0,0 +1,32 @@
+using System;
+
+namespace BarcodeStandard
+{
+ public class SaveData : IDisposable
+ {
+ public SaveData()
+ {
+ }
+
+ public string Type { get; set; }
+ public string RawData { get; set; }
+ public string EncodedValue { get; set; }
+ public double EncodingTime { get; set; }
+ public bool IncludeLabel { get; set; }
+ public string Forecolor { get; set; }
+ public string Backcolor { get; set; }
+ public string CountryAssigningManufacturingCode { get; set; }
+ public int ImageWidth { get; set; }
+ public int ImageHeight { get; set; }
+ public string Image { get; set; }
+ public System.Drawing.RotateFlipType RotateFlipType { get; set; }
+ public int LabelPosition { get; set; }
+ public int Alignment { get; set; }
+ public string LabelFont { get; set; }
+ public string ImageFormat { get; set; }
+
+ public void Dispose()
+ {
+ }
+ }
+}
diff --git a/BarcodeLib/Symbologies/Blank.cs b/BarcodeStandard/Symbologies/Blank.cs
similarity index 100%
rename from BarcodeLib/Symbologies/Blank.cs
rename to BarcodeStandard/Symbologies/Blank.cs
diff --git a/BarcodeLib/Symbologies/Codabar.cs b/BarcodeStandard/Symbologies/Codabar.cs
similarity index 100%
rename from BarcodeLib/Symbologies/Codabar.cs
rename to BarcodeStandard/Symbologies/Codabar.cs
diff --git a/BarcodeLib/Symbologies/Code11.cs b/BarcodeStandard/Symbologies/Code11.cs
similarity index 100%
rename from BarcodeLib/Symbologies/Code11.cs
rename to BarcodeStandard/Symbologies/Code11.cs
diff --git a/BarcodeLib/Symbologies/Code128.cs b/BarcodeStandard/Symbologies/Code128.cs
similarity index 100%
rename from BarcodeLib/Symbologies/Code128.cs
rename to BarcodeStandard/Symbologies/Code128.cs
diff --git a/BarcodeLib/Symbologies/Code39.cs b/BarcodeStandard/Symbologies/Code39.cs
similarity index 100%
rename from BarcodeLib/Symbologies/Code39.cs
rename to BarcodeStandard/Symbologies/Code39.cs
diff --git a/BarcodeLib/Symbologies/Code93.cs b/BarcodeStandard/Symbologies/Code93.cs
similarity index 100%
rename from BarcodeLib/Symbologies/Code93.cs
rename to BarcodeStandard/Symbologies/Code93.cs
diff --git a/BarcodeLib/Symbologies/EAN13.cs b/BarcodeStandard/Symbologies/EAN13.cs
similarity index 100%
rename from BarcodeLib/Symbologies/EAN13.cs
rename to BarcodeStandard/Symbologies/EAN13.cs
diff --git a/BarcodeLib/Symbologies/EAN8.cs b/BarcodeStandard/Symbologies/EAN8.cs
similarity index 100%
rename from BarcodeLib/Symbologies/EAN8.cs
rename to BarcodeStandard/Symbologies/EAN8.cs
diff --git a/BarcodeLib/Symbologies/FIM.cs b/BarcodeStandard/Symbologies/FIM.cs
similarity index 100%
rename from BarcodeLib/Symbologies/FIM.cs
rename to BarcodeStandard/Symbologies/FIM.cs
diff --git a/BarcodeLib/Symbologies/ISBN.cs b/BarcodeStandard/Symbologies/ISBN.cs
similarity index 100%
rename from BarcodeLib/Symbologies/ISBN.cs
rename to BarcodeStandard/Symbologies/ISBN.cs
diff --git a/BarcodeLib/Symbologies/ITF14.cs b/BarcodeStandard/Symbologies/ITF14.cs
similarity index 100%
rename from BarcodeLib/Symbologies/ITF14.cs
rename to BarcodeStandard/Symbologies/ITF14.cs
diff --git a/BarcodeLib/Symbologies/Interleaved2of5.cs b/BarcodeStandard/Symbologies/Interleaved2of5.cs
similarity index 100%
rename from BarcodeLib/Symbologies/Interleaved2of5.cs
rename to BarcodeStandard/Symbologies/Interleaved2of5.cs
diff --git a/BarcodeLib/Symbologies/JAN13.cs b/BarcodeStandard/Symbologies/JAN13.cs
similarity index 100%
rename from BarcodeLib/Symbologies/JAN13.cs
rename to BarcodeStandard/Symbologies/JAN13.cs
diff --git a/BarcodeLib/Symbologies/MSI.cs b/BarcodeStandard/Symbologies/MSI.cs
similarity index 100%
rename from BarcodeLib/Symbologies/MSI.cs
rename to BarcodeStandard/Symbologies/MSI.cs
diff --git a/BarcodeLib/Symbologies/Pharmacode.cs b/BarcodeStandard/Symbologies/Pharmacode.cs
similarity index 100%
rename from BarcodeLib/Symbologies/Pharmacode.cs
rename to BarcodeStandard/Symbologies/Pharmacode.cs
diff --git a/BarcodeLib/Symbologies/Postnet.cs b/BarcodeStandard/Symbologies/Postnet.cs
similarity index 100%
rename from BarcodeLib/Symbologies/Postnet.cs
rename to BarcodeStandard/Symbologies/Postnet.cs
diff --git a/BarcodeLib/Symbologies/Standard2of5.cs b/BarcodeStandard/Symbologies/Standard2of5.cs
similarity index 100%
rename from BarcodeLib/Symbologies/Standard2of5.cs
rename to BarcodeStandard/Symbologies/Standard2of5.cs
diff --git a/BarcodeLib/Symbologies/Telepen.cs b/BarcodeStandard/Symbologies/Telepen.cs
similarity index 100%
rename from BarcodeLib/Symbologies/Telepen.cs
rename to BarcodeStandard/Symbologies/Telepen.cs
diff --git a/BarcodeLib/Symbologies/UPCA.cs b/BarcodeStandard/Symbologies/UPCA.cs
similarity index 100%
rename from BarcodeLib/Symbologies/UPCA.cs
rename to BarcodeStandard/Symbologies/UPCA.cs
diff --git a/BarcodeLib/Symbologies/UPCE.cs b/BarcodeStandard/Symbologies/UPCE.cs
similarity index 100%
rename from BarcodeLib/Symbologies/UPCE.cs
rename to BarcodeStandard/Symbologies/UPCE.cs
diff --git a/BarcodeLib/Symbologies/UPCSupplement2.cs b/BarcodeStandard/Symbologies/UPCSupplement2.cs
similarity index 100%
rename from BarcodeLib/Symbologies/UPCSupplement2.cs
rename to BarcodeStandard/Symbologies/UPCSupplement2.cs
diff --git a/BarcodeLib/Symbologies/UPCSupplement5.cs b/BarcodeStandard/Symbologies/UPCSupplement5.cs
similarity index 100%
rename from BarcodeLib/Symbologies/UPCSupplement5.cs
rename to BarcodeStandard/Symbologies/UPCSupplement5.cs
diff --git a/BarcodeLib/examples/upca.gif b/BarcodeStandard/examples/upca.gif
similarity index 100%
rename from BarcodeLib/examples/upca.gif
rename to BarcodeStandard/examples/upca.gif
diff --git a/BarcodeLib/nugetpack.cmd b/BarcodeStandard/nugetpack.cmd
similarity index 100%
rename from BarcodeLib/nugetpack.cmd
rename to BarcodeStandard/nugetpack.cmd
diff --git a/BarcodeLib/signingKey.pfx b/BarcodeStandard/signingKey.pfx
similarity index 100%
rename from BarcodeLib/signingKey.pfx
rename to BarcodeStandard/signingKey.pfx
diff --git a/BarcodeLib/signingKey.snk b/BarcodeStandard/signingKey.snk
similarity index 100%
rename from BarcodeLib/signingKey.snk
rename to BarcodeStandard/signingKey.snk
diff --git a/BarcodeStandardExample/App.config b/BarcodeStandardExample/App.config
new file mode 100644
index 0000000..8d23437
--- /dev/null
+++ b/BarcodeStandardExample/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/BarcodeLibTest/Barcode.ico b/BarcodeStandardExample/Barcode.ico
similarity index 100%
rename from BarcodeLibTest/Barcode.ico
rename to BarcodeStandardExample/Barcode.ico
diff --git a/BarcodeStandardExample/BarcodeStandardExample.csproj b/BarcodeStandardExample/BarcodeStandardExample.csproj
new file mode 100644
index 0000000..9c74cfa
--- /dev/null
+++ b/BarcodeStandardExample/BarcodeStandardExample.csproj
@@ -0,0 +1,100 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {411EC0AA-B1A0-4B77-AAAC-19AD20AA5678}
+ WinExe
+ BarcodeStandardExample
+ BarcodeStandardExample
+ v4.6.2
+ 512
+ true
+ true
+
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+ ..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll
+
+
+
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ TestApp.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+ True
+
+
+ TestApp.cs
+
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+
+
+
+ {24b824a4-a4f1-4c31-a935-7ea11304b48b}
+ BarcodeStandard
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BarcodeLibTest/Program.cs b/BarcodeStandardExample/Program.cs
similarity index 88%
rename from BarcodeLibTest/Program.cs
rename to BarcodeStandardExample/Program.cs
index 1686b8d..7be70a1 100644
--- a/BarcodeLibTest/Program.cs
+++ b/BarcodeStandardExample/Program.cs
@@ -1,7 +1,7 @@
-using System;
+using System;
using System.Windows.Forms;
-namespace BarcodeLibTest
+namespace BarcodeStandardExample
{
static class Program
{
@@ -16,4 +16,4 @@ static void Main()
Application.Run(new TestApp());
}
}
-}
\ No newline at end of file
+}
diff --git a/BarcodeLibTest/Properties/AssemblyInfo.cs b/BarcodeStandardExample/Properties/AssemblyInfo.cs
similarity index 58%
rename from BarcodeLibTest/Properties/AssemblyInfo.cs
rename to BarcodeStandardExample/Properties/AssemblyInfo.cs
index bd95fb2..6f662d3 100644
--- a/BarcodeLibTest/Properties/AssemblyInfo.cs
+++ b/BarcodeStandardExample/Properties/AssemblyInfo.cs
@@ -1,32 +1,36 @@
using System.Reflection;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
-// General Information about an assembly is controlled through the following
+// 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("BarcodeLibTest")]
-[assembly: AssemblyDescription("Test application for the BarcodeLib")]
+[assembly: AssemblyTitle("BarcodeStandardExample")]
+[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("BarcodeLibTest")]
-[assembly: AssemblyCopyright("Copyright © Brad Barnhill 2007-present")]
+[assembly: AssemblyProduct("BarcodeStandardExample")]
+[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
+// 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("cd1f6ae5-e88d-4be8-b30d-f30247d8850f")]
+[assembly: Guid("411ec0aa-b1a0-4b77-aaac-19ad20aa5678")]
// Version information for an assembly consists of the following four values:
//
// Major Version
-// Minor Version
+// Minor Version
// Build Number
// Revision
//
-[assembly: AssemblyVersion("1.0.0.3")]
-[assembly: AssemblyFileVersion("1.0.0.3")]
+// 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/BarcodeLibTest/Properties/Resources.Designer.cs b/BarcodeStandardExample/Properties/Resources.Designer.cs
similarity index 93%
rename from BarcodeLibTest/Properties/Resources.Designer.cs
rename to BarcodeStandardExample/Properties/Resources.Designer.cs
index a03a218..91afc6d 100644
--- a/BarcodeLibTest/Properties/Resources.Designer.cs
+++ b/BarcodeStandardExample/Properties/Resources.Designer.cs
@@ -8,7 +8,7 @@
//
//------------------------------------------------------------------------------
-namespace BarcodeLibTest.Properties {
+namespace BarcodeStandardExample.Properties {
using System;
@@ -39,7 +39,7 @@ internal Resources() {
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BarcodeLibTest.Properties.Resources", typeof(Resources).Assembly);
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BarcodeStandardExample.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
diff --git a/BarcodeLibTest/Properties/Resources.resx b/BarcodeStandardExample/Properties/Resources.resx
similarity index 100%
rename from BarcodeLibTest/Properties/Resources.resx
rename to BarcodeStandardExample/Properties/Resources.resx
diff --git a/BarcodeLibTest/Properties/Settings.Designer.cs b/BarcodeStandardExample/Properties/Settings.Designer.cs
similarity index 93%
rename from BarcodeLibTest/Properties/Settings.Designer.cs
rename to BarcodeStandardExample/Properties/Settings.Designer.cs
index 5db282a..babf1ef 100644
--- a/BarcodeLibTest/Properties/Settings.Designer.cs
+++ b/BarcodeStandardExample/Properties/Settings.Designer.cs
@@ -8,11 +8,11 @@
//
//------------------------------------------------------------------------------
-namespace BarcodeLibTest.Properties {
+namespace BarcodeStandardExample.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.6.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.8.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
diff --git a/BarcodeLibTest/Properties/Settings.settings b/BarcodeStandardExample/Properties/Settings.settings
similarity index 100%
rename from BarcodeLibTest/Properties/Settings.settings
rename to BarcodeStandardExample/Properties/Settings.settings
diff --git a/BarcodeLibTest/TestApp.Designer.cs b/BarcodeStandardExample/TestApp.Designer.cs
similarity index 99%
rename from BarcodeLibTest/TestApp.Designer.cs
rename to BarcodeStandardExample/TestApp.Designer.cs
index 0b69fbb..152580e 100644
--- a/BarcodeLibTest/TestApp.Designer.cs
+++ b/BarcodeStandardExample/TestApp.Designer.cs
@@ -1,4 +1,4 @@
-namespace BarcodeLibTest
+namespace BarcodeStandardExample
{
partial class TestApp
{
diff --git a/BarcodeLibTest/TestApp.cs b/BarcodeStandardExample/TestApp.cs
similarity index 94%
rename from BarcodeLibTest/TestApp.cs
rename to BarcodeStandardExample/TestApp.cs
index 3a7d677..d64fe89 100644
--- a/BarcodeLibTest/TestApp.cs
+++ b/BarcodeStandardExample/TestApp.cs
@@ -2,7 +2,7 @@
using System.Drawing;
using System.Windows.Forms;
-namespace BarcodeLibTest
+namespace BarcodeStandardExample
{
///
/// This form is a test form to show what all you can do with the Barcode Library.
@@ -24,7 +24,7 @@ private void TestApp_Load(object sender, EventArgs e)
this.cbBarcodeAlign.SelectedIndex = 0;
this.cbLabelLocation.SelectedIndex = 0;
- this.cbRotateFlip.DataSource = System.Enum.GetNames(typeof(RotateFlipType));
+ this.cbRotateFlip.DataSource = Enum.GetNames(typeof(RotateFlipType));
int i = 0;
foreach (object o in cbRotateFlip.Items)
@@ -234,20 +234,19 @@ private void btnLoadXML_Click(object sender, EventArgs e)
ofd.Multiselect = false;
if (ofd.ShowDialog() == DialogResult.OK)
{
- using (BarcodeLib.BarcodeXML XML = new BarcodeLib.BarcodeXML())
+ string fileContents = System.IO.File.ReadAllText(ofd.FileName);
+ using (BarcodeStandard.SaveData XML = BarcodeLib.Barcode.GetSaveDataFromFile(fileContents))
{
- XML.ReadXml(ofd.FileName);
-
//load image from xml
- this.barcode.Width = XML.Barcode[0].ImageWidth;
- this.barcode.Height = XML.Barcode[0].ImageHeight;
- this.barcode.BackgroundImage = BarcodeLib.Barcode.GetImageFromXML(XML);
+ this.barcode.Width = XML.ImageWidth;
+ this.barcode.Height = XML.ImageHeight;
+ this.barcode.BackgroundImage = BarcodeLib.Barcode.GetImageFromXML(fileContents);
//populate the screen
- this.txtData.Text = XML.Barcode[0].RawData;
- this.chkGenerateLabel.Checked = XML.Barcode[0].IncludeLabel;
+ this.txtData.Text = XML.RawData;
+ this.chkGenerateLabel.Checked = XML.IncludeLabel;
- switch (XML.Barcode[0].Type)
+ switch (XML.Type)
{
case "UCC12":
case "UPCA":
@@ -340,11 +339,11 @@ private void btnLoadXML_Click(object sender, EventArgs e)
default: throw new Exception("ELOADXML-1: Unsupported encoding type in XML.");
}//switch
- this.txtEncoded.Text = XML.Barcode[0].EncodedValue;
- this.btnForeColor.BackColor = ColorTranslator.FromHtml(XML.Barcode[0].Forecolor);
- this.btnBackColor.BackColor = ColorTranslator.FromHtml(XML.Barcode[0].Backcolor); ;
- this.txtWidth.Text = XML.Barcode[0].ImageWidth.ToString();
- this.txtHeight.Text = XML.Barcode[0].ImageHeight.ToString();
+ this.txtEncoded.Text = XML.EncodedValue;
+ this.btnForeColor.BackColor = ColorTranslator.FromHtml(XML.Forecolor);
+ this.btnBackColor.BackColor = ColorTranslator.FromHtml(XML.Backcolor);
+ this.txtWidth.Text = XML.ImageWidth.ToString();
+ this.txtHeight.Text = XML.ImageHeight.ToString();
//populate the local object
btnEncode_Click(sender, e);
diff --git a/BarcodeLibTest/TestApp.resx b/BarcodeStandardExample/TestApp.resx
similarity index 100%
rename from BarcodeLibTest/TestApp.resx
rename to BarcodeStandardExample/TestApp.resx
diff --git a/BarcodeStandardExample/packages.config b/BarcodeStandardExample/packages.config
new file mode 100644
index 0000000..b6c1350
--- /dev/null
+++ b/BarcodeStandardExample/packages.config
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 8ddef11..93e1e8e 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# barcodelib ![Build Status](https://www.travis-ci.org/barnhill/barcodelib.svg?branch=master)
-[Download Latest DLL](http://pnuema.com:2500/job/Barcode%20Library/ws/BarcodeLib/bin/Debug/BarcodeLib.dll)
+[Download Latest DLL](https://github.com/barnhill/barcodelib/releases/latest)
### Overview ###
@@ -37,4 +37,4 @@ Image img = b.Encode(BarcodeLib.TYPE.UPCA, "038000356216", Color.Black, Color.Wh
### Copyright and license ###
-Copyright 2007-2017 Brad Barnhill. Code released under the [Apache License, Version 2.0](https://github.com/bbarnhill/barcodelib/blob/master/LICENSE).
+Copyright 2007-2018 Brad Barnhill. Code released under the [Apache License, Version 2.0](https://github.com/bbarnhill/barcodelib/blob/master/LICENSE).
diff --git a/packages/System.Drawing.Common.4.5.1/.signature.p7s b/packages/System.Drawing.Common.4.5.1/.signature.p7s
new file mode 100644
index 0000000..69915e1
Binary files /dev/null and b/packages/System.Drawing.Common.4.5.1/.signature.p7s differ
diff --git a/packages/System.Drawing.Common.4.5.1/LICENSE.TXT b/packages/System.Drawing.Common.4.5.1/LICENSE.TXT
new file mode 100644
index 0000000..984713a
--- /dev/null
+++ b/packages/System.Drawing.Common.4.5.1/LICENSE.TXT
@@ -0,0 +1,23 @@
+The MIT License (MIT)
+
+Copyright (c) .NET Foundation and Contributors
+
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/packages/System.Drawing.Common.4.5.1/System.Drawing.Common.4.5.1.nupkg b/packages/System.Drawing.Common.4.5.1/System.Drawing.Common.4.5.1.nupkg
new file mode 100644
index 0000000..058e0de
Binary files /dev/null and b/packages/System.Drawing.Common.4.5.1/System.Drawing.Common.4.5.1.nupkg differ
diff --git a/packages/System.Drawing.Common.4.5.1/THIRD-PARTY-NOTICES.TXT b/packages/System.Drawing.Common.4.5.1/THIRD-PARTY-NOTICES.TXT
new file mode 100644
index 0000000..db542ca
--- /dev/null
+++ b/packages/System.Drawing.Common.4.5.1/THIRD-PARTY-NOTICES.TXT
@@ -0,0 +1,309 @@
+.NET Core uses third-party libraries or other resources that may be
+distributed under licenses different than the .NET Core software.
+
+In the event that we accidentally failed to list a required notice, please
+bring it to our attention. Post an issue or email us:
+
+ dotnet@microsoft.com
+
+The attached notices are provided for information only.
+
+License notice for Slicing-by-8
+-------------------------------
+
+http://sourceforge.net/projects/slicing-by-8/
+
+Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved
+
+
+This software program is licensed subject to the BSD License, available at
+http://www.opensource.org/licenses/bsd-license.html.
+
+
+License notice for Unicode data
+-------------------------------
+
+http://www.unicode.org/copyright.html#License
+
+Copyright © 1991-2017 Unicode, Inc. All rights reserved.
+Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Unicode data files and any associated documentation
+(the "Data Files") or Unicode software and any associated documentation
+(the "Software") to deal in the Data Files or Software
+without restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, and/or sell copies of
+the Data Files or Software, and to permit persons to whom the Data Files
+or Software are furnished to do so, provided that either
+(a) this copyright and permission notice appear with all copies
+of the Data Files or Software, or
+(b) this copyright and permission notice appear in associated
+Documentation.
+
+THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
+ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT OF THIRD PARTY RIGHTS.
+IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
+NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
+DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THE DATA FILES OR SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder
+shall not be used in advertising or otherwise to promote the sale,
+use or other dealings in these Data Files or Software without prior
+written authorization of the copyright holder.
+
+License notice for Zlib
+-----------------------
+
+https://github.com/madler/zlib
+http://zlib.net/zlib_license.html
+
+/* zlib.h -- interface of the 'zlib' general purpose compression library
+ version 1.2.11, January 15th, 2017
+
+ Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+ Jean-loup Gailly Mark Adler
+ jloup@gzip.org madler@alumni.caltech.edu
+
+*/
+
+License notice for Mono
+-------------------------------
+
+http://www.mono-project.com/docs/about-mono/
+
+Copyright (c) .NET Foundation Contributors
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the Software), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License notice for International Organization for Standardization
+-----------------------------------------------------------------
+
+Portions (C) International Organization for Standardization 1986:
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+
+License notice for Intel
+------------------------
+
+"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License notice for Xamarin and Novell
+-------------------------------------
+
+Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+Copyright (c) 2011 Novell, Inc (http://www.novell.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+Third party notice for W3C
+--------------------------
+
+"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE
+Status: This license takes effect 13 May, 2015.
+This work is being provided by the copyright holders under the following license.
+License
+By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
+Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications:
+The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
+Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included.
+Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)."
+Disclaimers
+THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT.
+The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders."
+
+License notice for Bit Twiddling Hacks
+--------------------------------------
+
+Bit Twiddling Hacks
+
+By Sean Eron Anderson
+seander@cs.stanford.edu
+
+Individually, the code snippets here are in the public domain (unless otherwise
+noted) — feel free to use them however you please. The aggregate collection and
+descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are
+distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and
+without even the implied warranty of merchantability or fitness for a particular
+purpose.
+
+License notice for Brotli
+--------------------------------------
+
+Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+compress_fragment.c:
+Copyright (c) 2011, Google Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+decode_fuzzer.c:
+Copyright (c) 2015 The Chromium Authors. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+
diff --git a/packages/System.Drawing.Common.4.5.1/lib/MonoAndroid10/_._ b/packages/System.Drawing.Common.4.5.1/lib/MonoAndroid10/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/lib/MonoTouch10/_._ b/packages/System.Drawing.Common.4.5.1/lib/MonoTouch10/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/lib/xamarinios10/_._ b/packages/System.Drawing.Common.4.5.1/lib/xamarinios10/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/lib/xamarinmac20/_._ b/packages/System.Drawing.Common.4.5.1/lib/xamarinmac20/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/lib/xamarintvos10/_._ b/packages/System.Drawing.Common.4.5.1/lib/xamarintvos10/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/lib/xamarinwatchos10/_._ b/packages/System.Drawing.Common.4.5.1/lib/xamarinwatchos10/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/ref/MonoAndroid10/_._ b/packages/System.Drawing.Common.4.5.1/ref/MonoAndroid10/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/ref/MonoTouch10/_._ b/packages/System.Drawing.Common.4.5.1/ref/MonoTouch10/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/ref/xamarinios10/_._ b/packages/System.Drawing.Common.4.5.1/ref/xamarinios10/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/ref/xamarinmac20/_._ b/packages/System.Drawing.Common.4.5.1/ref/xamarinmac20/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/ref/xamarintvos10/_._ b/packages/System.Drawing.Common.4.5.1/ref/xamarintvos10/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/ref/xamarinwatchos10/_._ b/packages/System.Drawing.Common.4.5.1/ref/xamarinwatchos10/_._
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/useSharedDesignerContext.txt b/packages/System.Drawing.Common.4.5.1/useSharedDesignerContext.txt
new file mode 100644
index 0000000..e69de29
diff --git a/packages/System.Drawing.Common.4.5.1/version.txt b/packages/System.Drawing.Common.4.5.1/version.txt
new file mode 100644
index 0000000..6930860
--- /dev/null
+++ b/packages/System.Drawing.Common.4.5.1/version.txt
@@ -0,0 +1 @@
+02b11eeee1fbc5f3ef43a1452fe07efd25fa1715