Commit 0b89863b authored by Tim Falken's avatar Tim Falken
Browse files

Project Import

parent 14ae2ef8
TextAdventure/bin/Debug/TextAdventure_SaveData/

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.168
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PaintLang", "PaintLang\PaintLang.csproj", "{2A6BA18F-BBC8-498B-8361-1DA667656C6F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2A6BA18F-BBC8-498B-8361-1DA667656C6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2A6BA18F-BBC8-498B-8361-1DA667656C6F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2A6BA18F-BBC8-498B-8361-1DA667656C6F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2A6BA18F-BBC8-498B-8361-1DA667656C6F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E1362B46-6350-4684-96C9-C27F1120334D}
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
\ No newline at end of file
namespace PaintLang
{
partial class ColorPicker
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.PaintRedBtn = new System.Windows.Forms.Button();
this.PaintGreenBtn = new System.Windows.Forms.Button();
this.PaintBlueBtn = new System.Windows.Forms.Button();
this.ReadBtn = new System.Windows.Forms.Button();
this.MemoryUpBtn = new System.Windows.Forms.Button();
this.MemoryDownBtn = new System.Windows.Forms.Button();
this.MemoryPlusBtn = new System.Windows.Forms.Button();
this.MemoryMinusBtn = new System.Windows.Forms.Button();
this.BrushLeftBtn = new System.Windows.Forms.Button();
this.BrushRightBtn = new System.Windows.Forms.Button();
this.BrushUpBtn = new System.Windows.Forms.Button();
this.BrushDownBtn = new System.Windows.Forms.Button();
this.TurnButton = new System.Windows.Forms.Button();
this.EraserBtn = new System.Windows.Forms.Button();
this.colorExplainer = new System.Windows.Forms.TextBox();
this.selectedColorDisplay = new System.Windows.Forms.TextBox();
this.turnLeft = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// PaintRedBtn
//
this.PaintRedBtn.Location = new System.Drawing.Point(12, 102);
this.PaintRedBtn.Name = "PaintRedBtn";
this.PaintRedBtn.Size = new System.Drawing.Size(50, 50);
this.PaintRedBtn.TabIndex = 0;
this.PaintRedBtn.Text = "paintRedBtn";
this.PaintRedBtn.UseVisualStyleBackColor = true;
this.PaintRedBtn.Click += new System.EventHandler(this.PaintRedBtn_Click);
//
// PaintGreenBtn
//
this.PaintGreenBtn.Location = new System.Drawing.Point(68, 102);
this.PaintGreenBtn.Name = "PaintGreenBtn";
this.PaintGreenBtn.Size = new System.Drawing.Size(50, 50);
this.PaintGreenBtn.TabIndex = 1;
this.PaintGreenBtn.Text = "paintGreenBtn";
this.PaintGreenBtn.UseVisualStyleBackColor = true;
this.PaintGreenBtn.Click += new System.EventHandler(this.PaintGreenBtn_Click);
//
// PaintBlueBtn
//
this.PaintBlueBtn.Location = new System.Drawing.Point(12, 158);
this.PaintBlueBtn.Name = "PaintBlueBtn";
this.PaintBlueBtn.Size = new System.Drawing.Size(50, 50);
this.PaintBlueBtn.TabIndex = 2;
this.PaintBlueBtn.Text = "PaintBlueBtn";
this.PaintBlueBtn.UseVisualStyleBackColor = true;
this.PaintBlueBtn.Click += new System.EventHandler(this.PaintBlueBtn_Click);
//
// ReadBtn
//
this.ReadBtn.Location = new System.Drawing.Point(68, 158);
this.ReadBtn.Name = "ReadBtn";
this.ReadBtn.Size = new System.Drawing.Size(50, 50);
this.ReadBtn.TabIndex = 3;
this.ReadBtn.Text = "ReadBtn";
this.ReadBtn.UseVisualStyleBackColor = true;
this.ReadBtn.Click += new System.EventHandler(this.ReadBtn_Click);
//
// MemoryUpBtn
//
this.MemoryUpBtn.Location = new System.Drawing.Point(12, 214);
this.MemoryUpBtn.Name = "MemoryUpBtn";
this.MemoryUpBtn.Size = new System.Drawing.Size(50, 50);
this.MemoryUpBtn.TabIndex = 4;
this.MemoryUpBtn.Text = "MemoryUpBtn";
this.MemoryUpBtn.UseVisualStyleBackColor = true;
this.MemoryUpBtn.Click += new System.EventHandler(this.MemoryUpBtn_Click);
//
// MemoryDownBtn
//
this.MemoryDownBtn.Location = new System.Drawing.Point(68, 214);
this.MemoryDownBtn.Name = "MemoryDownBtn";
this.MemoryDownBtn.Size = new System.Drawing.Size(50, 50);
this.MemoryDownBtn.TabIndex = 5;
this.MemoryDownBtn.Text = "MemoryDownBtn";
this.MemoryDownBtn.UseVisualStyleBackColor = true;
this.MemoryDownBtn.Click += new System.EventHandler(this.MemoryDownBtn_Click);
//
// MemoryPlusBtn
//
this.MemoryPlusBtn.Location = new System.Drawing.Point(12, 270);
this.MemoryPlusBtn.Name = "MemoryPlusBtn";
this.MemoryPlusBtn.Size = new System.Drawing.Size(50, 50);
this.MemoryPlusBtn.TabIndex = 6;
this.MemoryPlusBtn.Text = "MemoryPlusBtn";
this.MemoryPlusBtn.UseVisualStyleBackColor = true;
this.MemoryPlusBtn.Click += new System.EventHandler(this.MemoryPlusBtn_Click);
//
// MemoryMinusBtn
//
this.MemoryMinusBtn.Location = new System.Drawing.Point(68, 270);
this.MemoryMinusBtn.Name = "MemoryMinusBtn";
this.MemoryMinusBtn.Size = new System.Drawing.Size(50, 50);
this.MemoryMinusBtn.TabIndex = 7;
this.MemoryMinusBtn.Text = "MemoryMinusBtn";
this.MemoryMinusBtn.UseVisualStyleBackColor = true;
this.MemoryMinusBtn.Click += new System.EventHandler(this.MemoryMinusBtn_Click);
//
// BrushLeftBtn
//
this.BrushLeftBtn.Location = new System.Drawing.Point(124, 102);
this.BrushLeftBtn.Name = "BrushLeftBtn";
this.BrushLeftBtn.Size = new System.Drawing.Size(50, 50);
this.BrushLeftBtn.TabIndex = 8;
this.BrushLeftBtn.Text = "BrushLeftBtn";
this.BrushLeftBtn.UseVisualStyleBackColor = true;
this.BrushLeftBtn.Click += new System.EventHandler(this.BrushLeftBtn_Click);
//
// BrushRightBtn
//
this.BrushRightBtn.Location = new System.Drawing.Point(124, 158);
this.BrushRightBtn.Name = "BrushRightBtn";
this.BrushRightBtn.Size = new System.Drawing.Size(50, 50);
this.BrushRightBtn.TabIndex = 9;
this.BrushRightBtn.Text = "BrushRightBtn";
this.BrushRightBtn.UseVisualStyleBackColor = true;
this.BrushRightBtn.Click += new System.EventHandler(this.BrushRightBtn_Click);
//
// BrushUpBtn
//
this.BrushUpBtn.Location = new System.Drawing.Point(124, 214);
this.BrushUpBtn.Name = "BrushUpBtn";
this.BrushUpBtn.Size = new System.Drawing.Size(50, 50);
this.BrushUpBtn.TabIndex = 10;
this.BrushUpBtn.Text = "BrushUpBtn";
this.BrushUpBtn.UseVisualStyleBackColor = true;
this.BrushUpBtn.Click += new System.EventHandler(this.BrushUpBtn_Click);
//
// BrushDownBtn
//
this.BrushDownBtn.Location = new System.Drawing.Point(124, 270);
this.BrushDownBtn.Name = "BrushDownBtn";
this.BrushDownBtn.Size = new System.Drawing.Size(50, 50);
this.BrushDownBtn.TabIndex = 11;
this.BrushDownBtn.Text = "BrushDownBtn";
this.BrushDownBtn.UseVisualStyleBackColor = true;
this.BrushDownBtn.Click += new System.EventHandler(this.BrushDownBtn_Click);
//
// TurnButton
//
this.TurnButton.Location = new System.Drawing.Point(12, 326);
this.TurnButton.Name = "TurnButton";
this.TurnButton.Size = new System.Drawing.Size(50, 50);
this.TurnButton.TabIndex = 12;
this.TurnButton.Text = "TurnButton";
this.TurnButton.UseVisualStyleBackColor = true;
this.TurnButton.Click += new System.EventHandler(this.TurnButton_Click);
//
// EraserBtn
//
this.EraserBtn.Location = new System.Drawing.Point(124, 326);
this.EraserBtn.Name = "EraserBtn";
this.EraserBtn.Size = new System.Drawing.Size(50, 50);
this.EraserBtn.TabIndex = 13;
this.EraserBtn.Text = "Eraser";
this.EraserBtn.UseVisualStyleBackColor = true;
this.EraserBtn.Click += new System.EventHandler(this.EraserBtn_Click);
//
// colorExplainer
//
this.colorExplainer.Location = new System.Drawing.Point(12, 25);
this.colorExplainer.Multiline = true;
this.colorExplainer.Name = "colorExplainer";
this.colorExplainer.Size = new System.Drawing.Size(162, 71);
this.colorExplainer.TabIndex = 14;
//
// selectedColorDisplay
//
this.selectedColorDisplay.Location = new System.Drawing.Point(12, 6);
this.selectedColorDisplay.MaximumSize = new System.Drawing.Size(162, 20);
this.selectedColorDisplay.Name = "selectedColorDisplay";
this.selectedColorDisplay.ReadOnly = true;
this.selectedColorDisplay.Size = new System.Drawing.Size(162, 20);
this.selectedColorDisplay.TabIndex = 15;
//
// turnLeft
//
this.turnLeft.Location = new System.Drawing.Point(68, 326);
this.turnLeft.Name = "turnLeft";
this.turnLeft.Size = new System.Drawing.Size(50, 50);
this.turnLeft.TabIndex = 16;
this.turnLeft.Text = "turnLeft";
this.turnLeft.UseVisualStyleBackColor = true;
this.turnLeft.Click += new System.EventHandler(this.turnLeft_Click);
//
// ColorPicker
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(186, 391);
this.Controls.Add(this.turnLeft);
this.Controls.Add(this.selectedColorDisplay);
this.Controls.Add(this.colorExplainer);
this.Controls.Add(this.EraserBtn);
this.Controls.Add(this.TurnButton);
this.Controls.Add(this.BrushDownBtn);
this.Controls.Add(this.BrushUpBtn);
this.Controls.Add(this.BrushRightBtn);
this.Controls.Add(this.BrushLeftBtn);
this.Controls.Add(this.MemoryMinusBtn);
this.Controls.Add(this.MemoryPlusBtn);
this.Controls.Add(this.MemoryDownBtn);
this.Controls.Add(this.MemoryUpBtn);
this.Controls.Add(this.ReadBtn);
this.Controls.Add(this.PaintBlueBtn);
this.Controls.Add(this.PaintGreenBtn);
this.Controls.Add(this.PaintRedBtn);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximizeBox = false;
this.Name = "ColorPicker";
this.Text = "ColorPicker";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ColorPicker_FormClosing);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button PaintRedBtn;
private System.Windows.Forms.Button PaintGreenBtn;
private System.Windows.Forms.Button PaintBlueBtn;
private System.Windows.Forms.Button ReadBtn;
private System.Windows.Forms.Button MemoryUpBtn;
private System.Windows.Forms.Button MemoryDownBtn;
private System.Windows.Forms.Button MemoryPlusBtn;
private System.Windows.Forms.Button MemoryMinusBtn;
private System.Windows.Forms.Button BrushLeftBtn;
private System.Windows.Forms.Button BrushRightBtn;
private System.Windows.Forms.Button BrushUpBtn;
private System.Windows.Forms.Button BrushDownBtn;
private System.Windows.Forms.Button TurnButton;
private System.Windows.Forms.Button EraserBtn;
private System.Windows.Forms.TextBox colorExplainer;
private System.Windows.Forms.TextBox selectedColorDisplay;
private System.Windows.Forms.Button turnLeft;
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PaintLang
{
public partial class ColorPicker : Form
{
public Color RedPaint = Color.FromArgb(255, 000, 000);
public Color GreenPaint = Color.FromArgb(000, 255, 000);
public Color BluePaint = Color.FromArgb(000, 000, 255);
public Color Read = Color.FromArgb(128, 128, 128);
public Color MemoryUp = Color.FromArgb(255, 255, 000);
public Color MemoryDown = Color.FromArgb(000, 255, 255);
public Color MemoryPlus = Color.FromArgb(255, 000, 255);
public Color MemoryMinus = Color.FromArgb(128, 128, 000);
public Color BrushLeft = Color.FromArgb(000, 128, 128);
public Color BrushRight = Color.FromArgb(128, 000, 128);
public Color BrushUp = Color.FromArgb(255, 128, 000);
public Color BrushDown = Color.FromArgb(255, 000, 128);
public Color TurnR = Color.FromArgb(128, 000, 255);
public Color TurnL = Color.FromArgb(000, 128, 255);
public Color Eraser = Color.FromArgb(255, 255, 255);
public Color SelectedColor = Color.FromArgb(255, 000, 000);
public ColorPicker()
{
InitializeComponent();
selectedColorDisplay.BackColor = SelectedColor;
PaintRedBtn.BackColor = RedPaint;
PaintGreenBtn.BackColor = GreenPaint;
PaintBlueBtn.BackColor = BluePaint;
ReadBtn.BackColor = Read;
MemoryUpBtn.BackColor = MemoryUp;
MemoryDownBtn.BackColor = MemoryDown;
MemoryPlusBtn.BackColor = MemoryPlus;
MemoryMinusBtn.BackColor = MemoryMinus;
BrushLeftBtn.BackColor = BrushLeft;
BrushRightBtn.BackColor = BrushRight;
BrushUpBtn.BackColor = BrushUp;
BrushDownBtn.BackColor = BrushDown;
TurnButton.BackColor = TurnR;
turnLeft.BackColor = TurnL;
EraserBtn.BackColor = Eraser;
}
private void PaintRedBtn_Click(object sender, EventArgs e)
{
SelectedColor = RedPaint;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Paints the byte at the pointer into the red channel of the pixel under the brush position.";
}
private void PaintGreenBtn_Click(object sender, EventArgs e)
{
SelectedColor = GreenPaint;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Paints the byte at the pointer into the green channel of the pixel under the brush position.";
}
private void PaintBlueBtn_Click(object sender, EventArgs e)
{
SelectedColor = BluePaint;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Paints the byte at the pointer into the blue channel of the pixel under the brush position.";
}
private void ReadBtn_Click(object sender, EventArgs e)
{
SelectedColor = Read;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Gets a single byte from the user, which is inserted into the memory at the pointer.";
}
private void MemoryUpBtn_Click(object sender, EventArgs e)
{
SelectedColor = MemoryUp;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Moves the pointer one position upwards (-1).";
}
private void MemoryDownBtn_Click(object sender, EventArgs e)
{
SelectedColor = MemoryDown;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Moves the pointer one position downwards (+1).";
}
private void MemoryPlusBtn_Click(object sender, EventArgs e)
{
SelectedColor = MemoryPlus;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Increases the byte at the pointer by 1. Loops back to 0x00 when it reaches 0xFF and increases again.";
}
private void MemoryMinusBtn_Click(object sender, EventArgs e)
{
SelectedColor = MemoryMinus;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Decreases the byte at the pointer by 1. Loops back to 0xFF when it reaches 0x00 and decreases again.";
}
private void BrushLeftBtn_Click(object sender, EventArgs e)
{
SelectedColor = BrushLeft;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Moves the output brush one pixel to the left, unless it is already at X0.";
}
private void BrushRightBtn_Click(object sender, EventArgs e)
{
SelectedColor = BrushRight;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Moves the output brush one pixel to the right, expanding the canvas if needed.";
}
private void BrushUpBtn_Click(object sender, EventArgs e)
{
SelectedColor = BrushUp;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Moves the output brush one pixel upwards, unless it is already at Y0.";
}
private void BrushDownBtn_Click(object sender, EventArgs e)
{
SelectedColor = BrushDown;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Moves the output brush one pixel downwards, expanding the canvas if needed.";
}
private void TurnButton_Click(object sender, EventArgs e)
{
SelectedColor = TurnR;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Rotates the direction of the cursor to the right if the byte at the pointer is not 0x00.";
}
private void EraserBtn_Click(object sender, EventArgs e)
{
SelectedColor = Eraser;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Erases a pixel on the canvas, does nothing.";
}
private void ColorPicker_FormClosing(object sender, FormClosingEventArgs e)
{
e.Cancel = true;
}
private void turnLeft_Click(object sender, EventArgs e)
{
SelectedColor = TurnL;
selectedColorDisplay.BackColor = SelectedColor;
colorExplainer.Text = "Rotates the direction of the cursor to the left if the byte at the pointer is not 0x00.";
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>