Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/WindowsFormsApplication2/WindowsFormsApplication2/Output.cs
diff options
context:
space:
mode:
Diffstat (limited to 'WindowsFormsApplication2/WindowsFormsApplication2/Output.cs')
-rw-r--r--WindowsFormsApplication2/WindowsFormsApplication2/Output.cs46
1 files changed, 46 insertions, 0 deletions
diff --git a/WindowsFormsApplication2/WindowsFormsApplication2/Output.cs b/WindowsFormsApplication2/WindowsFormsApplication2/Output.cs
new file mode 100644
index 0000000..34ca494
--- /dev/null
+++ b/WindowsFormsApplication2/WindowsFormsApplication2/Output.cs
@@ -0,0 +1,46 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using disc1;
+using disc1.XML;
+using System.IO;
+
+namespace MSDNForums
+{
+ public class Output
+ {
+ int row;
+ int column;
+ List<Customer> person = new List<Customer>();
+ public int Row
+ {
+ get { return row; }
+ set { row = value; }
+ }
+ public int Column
+ {
+ get { return column; }
+ set { column = value; }
+ }
+ public List<Customer> Person
+ {
+ get { return person; }
+ set { person = value; }
+ }
+ public void Load(string path)
+ {
+ if (File.Exists(path))
+ {
+ Output o = ObjectXMLSerializer<Output>.Load(path);
+ this.row = o.row;
+ this.column = o.column;
+ this.person = o.person;
+ }
+ }
+ public void Save(string path)
+ {
+ ObjectXMLSerializer<Output>.Save(this, path);
+ }
+ }
+} \ No newline at end of file