Skip to content

Commit

Permalink
Add error display to demo project
Browse files Browse the repository at this point in the history
  • Loading branch information
oozcitak committed Sep 5, 2019
1 parent e8f1e1c commit 89c2d75
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 35 deletions.
79 changes: 65 additions & 14 deletions ExifTest/FormMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions ExifTest/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ private void UpdateView()
pgExif.SelectedObject = data;

lvExif.Sort();

txtErrors.Text = "";
foreach(var err in data.Errors)
{
txtErrors.Text += err.Message + Environment.NewLine;
}
}

private void lvExif_SelectedIndexChanged(object sender, EventArgs e)
Expand Down
41 changes: 20 additions & 21 deletions ExifTest/FormMain.resx
Original file line number Diff line number Diff line change
Expand Up @@ -112,45 +112,44 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="fdOpen.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="fdOpen.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="ssExif.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="ssExif.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>326, 17</value>
</metadata>
<metadata name="cmsInterop.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="cmsInterop.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>407, 17</value>
</metadata>
<metadata name="tsExif.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="tsExif.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>246, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="btnSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJvSURBVEhLzZbNTxNBGIf5WzhAxBMhgRse+BMgNqEfS7+2
XdoYUmmPmnAgesAgEjXtSWol3oxiohiFfm5buy0kavmw1dQIAUNADYVY2p8z0xTatKVbkxo2eQ67O/M+
M++8s7Ntbf/j6h+4z18ZeADK84UECoVC04iRbdafQuNVjJs+NBpXGMu+VNPB6YBC4e+nMWi8uoKgmDkV
SJKERpRmGxKpIMgk5woCoTNBM6miAr0hcMEEjdJD35en6OLNoOVr0JIUhcL/V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C8IqnM4EeaEw1OogdLowTCbS
N+T/gcAmCSwWEXq9AI36HnK5raZcuOhHV5cHSqUXKtVTDBsCPxdYrQlotSHyRndZQOepaYbtXABujxeL
SwvYyGZAlpdBBW1tk+juvon+/scYHpYh0OnICLRzdYIH88t4nc1iu/CJhNOSBO3tV9HT48HAwIJ8gVrt
qxOIiXUUdnaxVywdE3R0TBOBW75Ar49gcNBbJ8i82UbxS4lAvv2aKZIlGLFLu5DnV8iXEIPq7OwxgYV/
RqamyGL3DkrYP/jMOC54AqMx2Fhg4ZeZwGSOQqMJYmxMEsTjL8nCriK9voXC7j52Pu4jn/+A/OY7BhV0
nr6G3l43WeRHZB8s1gtqf/rf8LgfyuZkb91P/8+VQvEVmHuIM2yIG38AAAAASUVORK5CYII=
</value>
</data>
<metadata name="fdSave.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="fdSave.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>110, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>45</value>
</metadata>
</root>

0 comments on commit 89c2d75

Please sign in to comment.